The Arcive of vBulletin Modifications Site. |
|
Details »»
|
|||||||||||||||||||||||||
I have the 'Users Online' on my board, but I want to make it so that where it says says the number of guests, I want to add another 20 "Guests". Even though there is maybe 10, it will say 30.
Do you understand what I'm saying? If so, is it possible to do so? Like in the $usersonline template, maybe have it say +20 ? No idea how to do it. Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
In index.php, change:
PHP Code:
PHP Code:
|
|
#3
|
|||
|
|||
|
That should work, but I wouldn't recommend you doing that though.
Reason is that people will tell since there will always be 20 guests online ![]() The way I would do is by multiplying the number of current guests, for example: PHP Code:
|
|
#4
|
|||
|
|||
|
I'm still running 1.1.4 - is it the same code? Cause I cant seem to find it.
|
|
#5
|
|||
|
|||
|
That code destroyed my index. Whats going on? I put it back to normal, without youre edit, and it's still messed.
I get this error: Code:
Parse error: parse error in /home/truthugs/forum/index.php3 on line 1 |
|
#6
|
|||
|
|||
|
I found out. The code you guys told me was vBulletin 2.0.
I was running 1.1.4 still (Want to upgrade once the final is released), so here's what I had to edit: PHP Code:
PHP Code:
Thanks guys. |
|
#7
|
|||
|
|||
|
Cool!
How can we expand the number of posts listed on the front page also? Version 2.0 |
|
#8
|
|||
|
|||
|
In index.php, find:
PHP Code:
Do the same for the Thread code which is directly under this code. By the way, this is for vBulletin 1.x.x - I haven't got vBulletin 2.0 beta yet, but it's probably the same thing. Mayeb a couple different variables. |
|
#9
|
|||
|
|||
|
I changed it, and it didn't effect my postcount at all
Weird |
|
#10
|
||||
|
||||
|
That would only work if you had 0 posts to begin with. (if totalposts=blank then make it = 0). Try this:
PHP Code:
|
![]() |
|
|