The Arcive of vBulletin Modifications Site. |
|
ZH - Global Variables Details »»
|
|||||||||||||||||||||||||
This modification was brought to you by KXDesign http://www.kxdesign.com/ ~Hack name Global Variables ~Hack description Allows you to use some variables in any template you want for example when adding $zhmemberstotal it will display the number of members you have in total.:cross-eyed: ~Hack options
~Hack info File uploads: 0 Template edits: 0 Templates: 0 File edits: 0 Plugins: 1 SQL Queries: 0 Phrases: 3 Settings: 1 Install time: 3 sec Install level: Easy ~Hack installation Step 1: Import Product ~Hack screenshots None ~Hack copyright This may not be distributed,released or claimed as your work without author's permission. Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
Variables:
$zhmemberstotal >>>>> Number of members in total. $zhthreadtotal >>>>> Number of threads in total. $zhposttotal >>>>> Number of posts in total. $zhpolltotal >>>>> Number of polls in total. $zhsmilietotal >>>>> Number of smilies in total. $zhforumtotal >>>>> Number of forums in total. $zheventtotal >>>>> Number of events in total. $zhattachmenttotal >>>>> Number of attachments in total. |
|
#3
|
||||
|
||||
|
This is not goode for the Performace, ist adds 8 Queries to each page. (global).
If you have a slow Server or many members, this is not good for the Perforace ... Greetings SUrviver |
|
#4
|
||||
|
||||
|
Yes I know.
|
|
#5
|
||||
|
||||
|
very poor...
My Forum : Session Timeout 900 seconds Online User : 400
|
|
#6
|
|||
|
|||
|
Why not make the ability to turn each one on/off?
|
|
#7
|
||||
|
||||
|
Will do.Wait a minute,Great idea anyways
|
|
#8
|
|||
|
|||
|
very nice waitng for you to update it so you can turn things on and off
|
|
#9
|
||||
|
||||
|
1.0.1 released
Options for every variable edit so you can shutdown the query. |
|
#10
|
||||
|
||||
|
This is what the datastore is for. Have these queries run via cron and store them in the datastore... no point running them on every page!
|
![]() |
|
|