PDA

View Full Version : Making forumhome variables available in footer template


tbathgate
11-15-2008, 12:18 AM
Hi All,

Can anyone help me.

I have changed my skin of vbulletin and have included a right colum that has the login box/member info, adverts and then forum stats. Its the hack that starts the right column in the header and then the content and closer go in the footer.

I am having problems with the following variables:
$totalonline
$totalthreads
$vbphrase[posts]: $totalpost,
$vbphrase[members]: $numbermembers

Also the newest member section:
<phrase 1="member.php?$session[sessionurl]u=$newuserid" 2="$newusername">$vbphrase[welcome_to_our_newest_member_x]</phrase>

also from the login box:
<phrase 1="$pmbox[lastvisitdate]" 2="$pmbox[lastvisittime]">$vbphrase[last_visited_x_at_y]</phrase>

the pm stats seem to work fine.

I am not a php programmer and am really lost with this.

I've searched this forum for hours and found nothing that actually helps. There are posts saying to add to teh global_start hook but I've no idea what i am supposed to add or alter.

I am on vbulleting v 3.7.3 patch level 1

Anyone that can put me out of my misery would be a huge help1

Thanks in advance

T