The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How do I get this code to work with vb3.5?
In forumdisplay.php:
Find: if ($thread['sticky']) { $threadbit = &$threadbits_sticky; } Replace with: if ($thread['sticky']) { require_once('./includes/functions_bbcodeparse.php'); $thread['threadtitle'] = parse_bbcode($thread['threadtitle']); $threadbit = &$threadbits_sticky; } |
#2
|
||||
|
||||
I am assuming this Code should parse BBCode in Titles of sticky Threads?
|
#3
|
|||
|
|||
Quote:
|
#4
|
||||
|
||||
You can try this
threadbit_process PHP Code:
|
#5
|
|||
|
|||
Thanks Kirby, but is this safe?
|
#6
|
|||
|
|||
Old Code I got and used on vbulletin 3.07 Doesnt work anymore.
In forumdisplay.php: Find: if ($thread['sticky']) { $threadbit = &$threadbits_sticky; } Replace with: if ($thread['sticky']) { require_once('./includes/functions_bbcodeparse.php'); $thread['threadtitle'] = parse_bbcode($thread['threadtitle']); $threadbit = &$threadbits_sticky; } |
#7
|
||||
|
||||
I'm having the same problems since the bbcode parser seems to have changed into some sort of class, rather than just being an available function we used to use before
Good in the long run I guess, it just b0rked our old news system from the forums to the main site. Got it fixed now Thanks for the thread Kirby. Tip: if you are pulling from an external database, don't mix your variables!! |
#8
|
|||
|
|||
Quote:
Kirby, it's not working for me... where exacty am i supposed to insert this code? |
#9
|
||||
|
||||
Quoting myself:
Quote:
|
#10
|
|||
|
|||
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|