The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Inferno Shoutbox - Show thread prefix
I was looking to have prefix show up when messages are posted in infernoshoutbox. I wen't through the xml file and found the following:
Code:
if ($infernoshout->vbulletin->options['ishout_bbcodes'] & 64) { $titleprefix = '[thread=' . $threadid . ']'; $titlesuffix = '[/thread]'; } $shout =& new shout; $shout->silent = true; $shout->process('/me posted the thread ' . $titleprefix . unhtmlspecialchars($this->thread['title']) . $titlesuffix); } |
#2
|
||||
|
||||
You'll need to grab the prefixid in the query for the thread. Then you may use something like this code to create the prefix (it's an example! Modify it for your own needs). If you need further help, you will have to ask in the modification thread since they will know the correct place to add the code and how to add to the query.
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:
|