The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
|||
|
|||
Dang Bart thought you hit the jackpot till Lynne replied
Awaiting to hear how to do this or give the wiget to others in the mod section. |
#12
|
|||
|
|||
Lol someone will get it to work
|
#13
|
|||
|
|||
We nominated you to be "The One"
|
#14
|
|||
|
|||
|
#15
|
||||
|
||||
Did anybody try it? It really is just that code with a couple of tweaks - must include functions_bigthread and also make $vbulletin and $db global. It gets spit out as a list on my site now cuz I didn't do anything css-wise, but it works.
|
#16
|
||||
|
||||
welll tryed using the forum.php code
and then print_output a template with only one line i took from the whats goin on box.. Php widget PHP Code:
yeah its a mess, and needs cleanup, lots of wasted features, but just took the code from forum.php figureing makeing that work, it would be better to clean up later. Template : [EOnlinebox] Code:
<!-- logged-in users --> {vb:rawphrase there_are_x_online, {vb:raw totalonline}} {vb:rawphrase x_members_and_y_guests, {vb:raw numberregistered}, {vb:raw numberguest}} <!-- end logged-in users --> - cleared entire cms page and only wrote the online line - added errors ontop of the cms page where the widget is placed - result in db errors so kinda clueless to makeing it work in a widget, and cant find any php widgets to download and see how they work as a eksample.. |
#17
|
|||
|
|||
$vbulletin and $db global? aeeeeeehm pls not use vB::$db-> and vB::$vbulletin-> in widgets
|
#18
|
|||
|
|||
Quote:
Can you post the code you used that worked for you ? so i can test it . |
#19
|
||||
|
||||
Quote:
I'll try to put it together (need to put together an install text file) and post it in the widget mods area if no one else does sooner. |
#20
|
|||
|
|||
yea, sounds nice
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|