The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Removing a comma
Trying to get the hang of the plugin system. I'm trying to remove the comma that separates the moderators on the moderator column. Eg it outputs mod1, mod2, mod3; basically i want to remove the comma and space for something I'm trying to accomplish. The thing is I do not want to do a file edit.
Here is the code from the function_forumlist.php PHP Code:
PHP Code:
PHP Code:
Thanks! |
#2
|
|||
|
|||
Just do whatever code you need in the hook, and use the continue statement, it will break out of the loop before doing the default vBulletin code.
|
#3
|
||||
|
||||
Quote:
Code:
Fatal error: Cannot break/continue 1 level in /home2/cmforums/public_html/includes/functions_forumlist.php(351) : eval()'d code on line 12 |
#4
|
|||
|
|||
Ahhh it is probably the eval affecting it...hm...
Is there a hook after it somewhere? You could explode the string, and format it as you want before the template is evaled.. |
#5
|
||||
|
||||
Yea there is one actually, thats a good idea, I'll try that.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|