The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Creating a new vb template...
I'm trying to make a template for vb named 'gallery_stats'
Its basically the stats of my photopost gallery, i want this to be shown at the bottom of the 'whats going on' box My vb & pp databases are combined btw... I created a new template named 'gallery_stats' would i be right to call it up in my forumhome template with the line : $gallery_stats ? I tried just altering the forumhome template to show the PP strings like this : $totalphotos - but nothing showed up, must i somehow call upon or identify these PP strings first? below it my gallery_stats template Please advise cheers -b6 <tbody id="collapseobj_forumhome_stats" style="$vbcollapse[collapseobj_forumhome_stats]"> <tr> <td class="alt2"><img src="$stylevar[imgdir_misc]/stats.gif" alt="<phrase 1="$vboptions[bbtitle]">Gallery Statistics" border="0" /></td> <td class="alt1"> <div class="smallfont"> <div>Photos- $totalphotos, comments: $posttotal, views: $totalviews</div> <div><phrase 1="member.php?$session[sessionurl]u=$newuserid" 2="$newusername">diskspace : $diskspace, Views : $totalviews</phrase> </div> </div> </td> </tr></tbody> |
#2
|
||||
|
||||
Add this:
PHP Code:
PHP Code:
PHP Code:
|
#3
|
||||
|
||||
thankyou, i'll try it later, cheers
-b6 |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|