The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
CMS Widget/Forum Block Same Code Different Problems
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:
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|