![]() |
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. |
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.
|
Could you please give me one example of how to do that? I will take it from there..
|
A plugin to add something to FORUMHOME template:
PHP Code:
|
Quote:
|
Quote:
Ignore that code I posted since it is vB4 related. You'd want something more like... PHP Code:
|
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 |
All times are GMT. The time now is 03:53 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|