![]() |
April Fools Joke
Would this coding still work in vb 3.8.x?
Code:
just add something like $newavatar = mt_rand(1, 10); in postbit_display_start hook, (if you have 10 random avatars to display) |
This would be kinda kewl. Subscribing...
|
Quote:
|
That's what I did last year.
In a hugely replublican/conservative forum, I replaced user avatars, with democrat/liberal politicians and celebrities, with some funny messages as user ranks. It proved to be a great prank. |
No need to do any template edits. Just do it all in a plugin:
PHP Code:
|
Would this work with 4.1.2?
|
Quote:
it's a plugin, right? What Hook Location I must select? //edit: Nevermind, is something like this for vb 4??? |
Just use postbit_display_complete.
It's just php, so it works with 3.x and 4.x |
Thanks <3
|
How do you make a plugin?
|
All times are GMT. The time now is 04:10 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:
|