The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
PHP Code:
How can i do this script work? |
|
#2
|
||||
|
||||
|
Have you tried looking at some of the example widgets and blocks that people have put in the mods forum here? Go see their syntax (you shouldn't be using mysql_connect). And, you should not be using echo, but instead outputing to a variable or using return, depending on if you are writing a block or widget.
|
|
#3
|
|||
|
|||
|
So for widget it must be like this:
PHP Code:
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|