Hi folks,
I have categories my forum into 3 sets of pages; index pages, forum pages and info pages.
index pages - index.php, adv_index
forum pages - forumdisplay, showthread
info pages - who's online, usercp, members list, etc.
On index pages, I want to show forum stats.
On forum pages, I want to show info relative to the forum/thread (RRs in vbseo)
On info pages, I want to show nothing.
So far I have...
This works well with the index pages and info pages.Code:<if condition="THIS_SCRIPT=='index' OR THIS_SCRIPT=='adv_index'"> <strong>Forum Statistics:</strong> <br /> Discussions: $totalthreads | Messages: $totalposts <br /> Total Members: $numbermembers | Online Now: $totalonline <br /> Our Newest Member : <a href="$vboptions[bburl]/member.php?u=$newuserid"><strong>$newusername</strong></a> (Welcome!) <else /> </if>
This is what I have for the forum pages...
But nothing is shown on forumdisplay or showthread. I am using RRs in a different place and they are showing the thread and forum information correctly. Can I use them in two places or only one?Code:<if condition="THIS_SCRIPT=='index' OR THIS_SCRIPT=='vaispy' OR THIS_SCRIPT=='adv_index'"> <strong>Forum Statistics:</strong> <br /> Discussions: $totalthreads | Messages: $totalposts <br /> Total Members: $numbermembers | Online Now: $totalonline <br /> Our Newest Member : <a href="$vboptions[bburl]/member.php?u=$newuserid"><strong>$newusername</strong></a> (Welcome!) <elseif condition="THIS_SCRIPT=='forumdisplay' OR THIS_SCRIPT=='showthread'"> <!--VBSEO_RR_1--> <else /> </if>
Can anyone assist please?
Thanks!![]()



LinkBack URL
About LinkBacks






Reply With Quote