Difference between revisions of "Topic, What's New & E-mail Settings"

From GeeklogWiki
Jump to: navigation, search
 
 
Line 1: Line 1:
 +
{| border=1 cellspacing=0
 +
!Variable
 +
!Default Value
 +
!Description
 +
|-
 +
|sortmethod
 +
|sortnum
 +
|alpha = Sort topics in topic list alphabetically<br>sortnum = Sort topics in topic list by sort number
 +
|-
 +
|showstorycount
 +
|1
 +
|Show the number of stories in a topic in the Sections block (0=no, 1=yes)
 +
|-
 +
| showsubmissioncount showsubmissioncount
 +
|1
 +
|Show the number of story submissions for a topic in the Sections block (0=no, 1=yes)
 +
|-
 +
|hide_home_link
 +
|0
 +
|Hide the "Home" link from the Sections block (0=no, 1=yes)
 +
|-
 +
|showemptysearchresults
 +
|0
 +
|Show empty result blocks even when search returned no hits for stories, events, links, etc. (0=no, 1=yes)
 +
|-
 +
|whosonline_threshold
 +
|300
 +
|How long, in seconds, users can be idle before removing them from the whosonline block
 +
|-
 +
|emailstories
 +
|0
 +
|Let users get stories e-mailed to them (0=no, 1=yes), aka Daily Digest. Please note that this requires cron and the use of PHP as a shell script.
 +
|-
 +
|emailstorieslength
 +
|1
 +
|When emailstories (above) is enabled, send only the title and the link to the new stories (0), or send the entire introtext (1) or send the first <i>n</i> characters from the introtext (where <i>n</i> = any other number)
 +
|-
 +
|emailstoriesperdefault
 +
|0
 +
|When set to 1, new users will be subscribed to the daily digest automatically when they register with the site.
 +
|-
 +
|newstoriesinterval
 +
|86400
 +
|Stories are "new" if they are this many seconds old.
 +
|-
 +
|newcommentsinterval
 +
|172800
 +
|Comments are "new" if they are this many seconds old.
 +
|-
 +
|newlinksinterval
 +
|1209600
 +
|Links are "new" if they are this many seconds old.
 +
|-
 +
|hidenewstories
 +
|0
 +
|Set to 1 to hide new stories from What's New block.
 +
|-
 +
|hidenewcomments
 +
|0
 +
|Set to 1 to hide new comments from What's New block.
 +
|-
 +
|hidenewlinks
 +
|0
 +
|Set to 1 to hide new links from What's New block.
 +
|-
 +
|hidenewplugins
 +
|0
 +
|Set to 1 to hide new entries by plugins from the What's New block.
 +
|-
 +
|copyrightyear
 +
|<i>(commented out)</i>
 +
|Set this to the year you want to appear in the copyright notice of your site's footer. If not set, Geeklog will use the current year.
 +
|-
 +
|allow_username_change
 +
|0
 +
|If set to 1, users will be allowed to change their username (login name). Stories and comments posted under the old username will automatically show the new username.
 +
|-
 +
|allow_account_delete
 +
|0
 +
|If set to 1, users will be allowed to delete their accounts. Stories and comments posted under that account will be kept and show up as being posted by "Anonymous".
 +
|-
 +
|passwordspeedlimit
 +
|300
 +
|Minimum delay between two requests for a new password, in seconds.
 +
|}
 
;[[The_Geeklog_Configuration_File|Back to The Geeklog Configuration File]]
 
;[[The_Geeklog_Configuration_File|Back to The Geeklog Configuration File]]

Latest revision as of 08:35, 7 July 2004

Variable Default Value Description
sortmethod sortnum alpha = Sort topics in topic list alphabetically
sortnum = Sort topics in topic list by sort number
showstorycount 1 Show the number of stories in a topic in the Sections block (0=no, 1=yes)
showsubmissioncount showsubmissioncount 1 Show the number of story submissions for a topic in the Sections block (0=no, 1=yes)
hide_home_link 0 Hide the "Home" link from the Sections block (0=no, 1=yes)
showemptysearchresults 0 Show empty result blocks even when search returned no hits for stories, events, links, etc. (0=no, 1=yes)
whosonline_threshold 300 How long, in seconds, users can be idle before removing them from the whosonline block
emailstories 0 Let users get stories e-mailed to them (0=no, 1=yes), aka Daily Digest. Please note that this requires cron and the use of PHP as a shell script.
emailstorieslength 1 When emailstories (above) is enabled, send only the title and the link to the new stories (0), or send the entire introtext (1) or send the first n characters from the introtext (where n = any other number)
emailstoriesperdefault 0 When set to 1, new users will be subscribed to the daily digest automatically when they register with the site.
newstoriesinterval 86400 Stories are "new" if they are this many seconds old.
newcommentsinterval 172800 Comments are "new" if they are this many seconds old.
newlinksinterval 1209600 Links are "new" if they are this many seconds old.
hidenewstories 0 Set to 1 to hide new stories from What's New block.
hidenewcomments 0 Set to 1 to hide new comments from What's New block.
hidenewlinks 0 Set to 1 to hide new links from What's New block.
hidenewplugins 0 Set to 1 to hide new entries by plugins from the What's New block.
copyrightyear (commented out) Set this to the year you want to appear in the copyright notice of your site's footer. If not set, Geeklog will use the current year.
allow_username_change 0 If set to 1, users will be allowed to change their username (login name). Stories and comments posted under the old username will automatically show the new username.
allow_account_delete 0 If set to 1, users will be allowed to delete their accounts. Stories and comments posted under that account will be kept and show up as being posted by "Anonymous".
passwordspeedlimit 300 Minimum delay between two requests for a new password, in seconds.
Back to The Geeklog Configuration File