![]() |
display text in whos online but not in online.php
I want to display some text next to the 'Most users ever online was x, 20th January 2008 at 12:53 PM.' text on the index page but do not want it to appear on the /online.php page.
I have written this code but it is showing nothing when implemented into the online phrase: - Code:
Most users ever online was {1}, {2} at {3}. |
Where are you putting that code? I do something similar on my site but I just edited the FORUMHOME template to add it in.
|
this was inside the phrase manager for the most users online.
|
What have you got
Quote:
|
Can you have php code within a phrase? Have you ever done that before? (I am really not sure here.)
|
im not sure - any suggestions?
|
Well, you could just edit the template. I put this before the most ever online phrase text:
Code:
<span style="float:$stylevar[right]">My Extra Stuff</span> |
What template is that? and will that change it on just the index or also on the whos online page?
|
Edit the FORUMHOME template...
AdminCP > Styles & Templates > Style Manager > Edit Templates > Forum Home Templates > FORUMHOME. (You'll be looking for the area around <!-- what's going on box --> comment) |
All times are GMT. The time now is 03:29 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:
|