![]() |
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; } |
I am assuming this Code should parse BBCode in Titles of sticky Threads?
|
Quote:
|
You can try this
threadbit_process PHP Code:
|
Thanks Kirby, but is this safe?
|
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; } |
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 :D Thanks for the thread Kirby. Tip: if you are pulling from an external database, don't mix your variables!! |
Quote:
Kirby, it's not working for me... where exacty am i supposed to insert this code? |
Quoting myself:
Quote:
|
Quote:
|
All times are GMT. The time now is 01:57 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|