Simple Machines Community Forum

Customizing SMF => Graphics and Templates => Topic started by: lithanual on May 17, 2005, 05:14:56 PM

Title: All available functionality?
Post by: lithanual on May 17, 2005, 05:14:56 PM
I'm looking for all the available functionality of custom templates.

I mean like, how many users there are in the db, how many posts there are, new replies since your last visit, etc etc.
Title: Re: All available functionality?
Post by: A.M.A on May 17, 2005, 05:44:43 PM
am afraid there is no complete list yet but they can be found in index.template.php , mainly in the first part of it template_main_above
There are lots of comments to guide you throughout this file.

how many users there are in the db = ', $modSettings['memberCount'], '
how many posts there are = ', $modSettings['totalMessages'], '
new replies since your last visit = ', $txt['unread_since_visit'], '
Title: Re: All available functionality?
Post by: lithanual on May 17, 2005, 05:54:35 PM
Quote from: A.M.A on May 17, 2005, 05:44:43 PM
am afraid there is no complete list yet but they can be found in index.template.php , mainly in the first part of it template_main_above
There are lots of comments to guide you throughout this file.

how many users there are in the db = ', $modSettings['memberCount'], '
how many posts there are = ', $modSettings['totalMessages'], '
new replies since your last visit = ', $txt['unread_since_visit'], '

tyvm :)

+1