TOP templates now use @ instead of a pipe. Added exclude list and padding length

This commit is contained in:
mysticbbs 2012-03-04 18:34:13 -05:00
parent 60e266392a
commit 6f9e6f0d71
2 changed files with 73 additions and 59 deletions

View File

@ -15,7 +15,9 @@
; Current abilities: ; Current abilities:
; ;
; - Import FIDONET.NA into Message bases ; - Import FIDONET.NA into Message bases
; - Import FILEBONE.NA into File bases
; - Mass upload files to all file bases (with FILE_ID.DIZ import) ; - Mass upload files to all file bases (with FILE_ID.DIZ import)
; - Generate Top 1 upto 99 Callers, Posters, Downloaders, and Uploaders
; ;
; ========================================================================== ; ==========================================================================
; ========================================================================== ; ==========================================================================
@ -86,36 +88,36 @@
[Import_FILEBONE.NA] [Import_FILEBONE.NA]
; filename of filebone.na ; filename of filebone.na
filename = filebone.na filename = filebone.na
; root directory to create file paths under. when a new filebone echo ; root directory to create file paths under. when a new filebone echo
; is found, mUtil will create a file using "root_dir" + areatag. So ; is found, mUtil will create a file using "root_dir" + areatag. So
; for example if root is "c:\mystic\filebase\" and the areatag is MYSTICBBS ; for example if root is "c:\mystic\filebase\" and the areatag is MYSTICBBS
; it will create "c:\mystic\filebase\MYSTICBBS". This root directory MUST ; it will create "c:\mystic\filebase\MYSTICBBS". This root directory MUST
; exist. ; exist.
root_dir = \code\mystic1\filebase root_dir = \code\mystic1\filebase
; convert tags to lower case for filebase base filename/dir 1=yes ; convert tags to lower case for filebase base filename/dir 1=yes
lowercase_filename = 1 lowercase_filename = 1
; Default values when creating a new file base ; Default values when creating a new file base
dispfile = dispfile =
template = ansiflst template = ansiflst
acs_list = acs_list =
acs_ftp = acs_ftp =
acs_download = acs_download =
acs_upload = acs_upload =
acs_comment = acs_comment =
acs_sysop = s255 acs_sysop = s255
; true/false type values 0=false 1=true (newscan 2=forced) ; true/false type values 0=false 1=true (newscan 2=forced)
free_files = 0 free_files = 0
show_uploader = 1 show_uploader = 1
new_scan = 1 new_scan = 1
@ -148,39 +150,51 @@
[GenerateTopLists] [GenerateTopLists]
; Top list generator can generate up to top 100 for various different ; Top list generator can generate up to top 100 for various different
; statistics. Each individual top file can be enabled or disabled and ; statistics. Each individual top file can be enabled or disabled and
; can each have their own template files that are totally configurable. ; can each have their own template files that are totally configurable.
; ;
; The number of items in each list is determined by the template. It ; The number of items in each list is determined by the template. It
; could be any number between 1 and 99. ; could be any number between 1 and 99.
; ;
; In the templates use |NA01-99 for name and |DA01-99 for numerical data ; In the templates use @NA01-99 for name and @DA01-99 for numerical data
; You can look at the provided template as an example. ; @DE returns the value set as _desc in the configuration. You can look
; ; at the provided template as an example.
; Still need to add better padding options and exclude and some other ;
; stuff before its "done" ; namelen and datalen define the width the MCI code is padded to
;
; exclude list is one name per line text file listing names which should
; not be included in the generated output. lines that begin with a ;
; are considered comments.
exclude_list = mutil.toplist.exclude.txt exclude_list = mutil.toplist.exclude.txt
; configuration for top callers generator ; configuration for top callers generator
top_call = 1 top_call = 1
top_call_template = mutil.toplist.template.txt top_call_template = mutil.toplist.template.txt
top_call_output = topcallers.asc top_call_output = topcallers.asc
top_call_desc = Callers top_call_desc = Callers
top_call_namelen = 30
top_call_datalen = 10
top_dl = 1 top_dl = 1
top_dl_template = mutil.toplist.template.txt top_dl_template = mutil.toplist.template.txt
top_dl_output = topdownload.asc top_dl_output = topdownload.asc
top_dl_desc = Downloaders top_dl_desc = Downloaders
top_dl_namelen = 30
top_dl_datalen = 10
top_ul = 1 top_ul = 1
top_ul_template = mutil.toplist.template.txt top_ul_template = mutil.toplist.template.txt
top_ul_output = topupload.asc top_ul_output = topupload.asc
top_ul_desc = Uploaders top_ul_desc = Uploaders
top_ul_namelen = 30
top_ul_datalen = 10
top_post = 1 top_post = 1
top_post_template = mutil.toplist.template.txt top_post_template = mutil.toplist.template.txt
top_post_output = topposts.asc top_post_output = topposts.asc
top_post_desc = Posters top_post_desc = Posters
top_post_namelen = 30
top_post_datalen = 10

View File

@ -1,15 +1,15 @@
|15Top 10 |DE |15Top 10 @DE
|08--- --------------------------- ----------|07 |08--- --------------------------- ----------|07
1. |NA01 |DA01 1. @NA01 @DA01
2. |NA02 |DA02 2. @NA02 @DA02
3. |NA03 |DA03 3. @NA03 @DA03
4. |NA04 |DA04 4. @NA04 @DA04
5. |NA05 |DA05 5. @NA05 @DA05
6. |NA06 |DA06 6. @NA06 @DA06
7. |NA07 |DA07 7. @NA07 @DA07
8. |NA08 |DA08 8. @NA08 @DA08
9. |NA09 |DA09 9. @NA09 @DA09
10. |NA10 |DA10 10. @NA10 @DA10
|PA |PA