The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
variables won't show
I cannot get $numbermembers, $totalposts, or any variables to show like this on my forum. They do show however in the default "What's going on?" box
I have tried to put them in the ad locations and also in the ultimate side column hack blocks. I simply want to write: "join our $numbermembers members" but it will only output "join our members" Any help would be appreciated. |
#2
|
||||
|
||||
They show where they are supposed to because they are actually defined there. If you want them to show somewhere else, you need to make sure to put the code on that other page that defines the variables.
|
#3
|
|||
|
|||
Could you please give me one example of how to do that? I will take it from there..
|
#4
|
||||
|
||||
A plugin to add something to FORUMHOME template:
PHP Code:
|
#5
|
||||
|
||||
We're talking VB3.x here.
|
#6
|
||||
|
||||
Oh dear... this is one of those times it would help if vb4 threads had a different style than vb3 threads.
Ignore that code I posted since it is vB4 related. You'd want something more like... PHP Code:
|
#7
|
|||
|
|||
I still need help please.
I added to my template this code but it still doesn't work.. Any ideas? $numbermembers = vb_number_format($vbulletin->userstats['numbermembers']); --------------- Added [DATE]1283628314[/DATE] at [TIME]1283628314[/TIME] --------------- Ok I got this working for myself with this product. I don't know if this was the "right" way to do things but it works for me... https://vborg.vbsupport.ru/showthread.php?t=124094 |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|