And how do you define them? ;)
|
Quote:
PHP Code:
|
Kirby, how would one go about adding this to the FAQ manager?
|
In my case I had to use the following code:
Code:
GLOBAL $parser; |
Well, I've fiddled with all the suggestions here for the last 2 hours and I still can't get anything to work! Here's the errors I get:
Fatal error: Call to a member function on a non-object in /home/httpd/vhosts/biorust.com/subdomains/forums/httpdocs/includes/class_bbcode.php on line 181 Fatal error: Call to a member function on a non-object in /home/httpd/vhosts/biorust.com/subdomains/forums/httpdocs/includes/functions.php on line 4308 |
Wrong Thread.
Please post a new Thread in vB 3.5 Modification Questions and attach the Code you are using. These errors mean that the vBulletin Registry Object ($vbulletin) does not have a valid reference for the database object. |
Quote:
|
Quote:
It will not parse simply by including the variables. |
I'm trying to get an index page (www.ultimatemetal.com) to work with the same code I used to have. It worked fine in 3.0.7 . The only issue is the bbcode stuff (which is why I am in this thread :) ). I exchanged the code I had:
require_once('includes/functions_bbcodeparse.php'); with the code at the beginning of this post: require_once('includes/class_bbcode.php'); $parser =& new vB_BbCodeParser($vbulletin, fetch_tag_list()); $parsed_text = $parser->do_parse($text, $do_html, $do_smilies, $do_bbcode, $do_imgcode, $do_nl2br, $cachable);; I get this same error message with both: Quote:
Am I brainfarting on something here? Quote:
|
Well, the parse_bbcode() call needs to be $parser->do_parse() instead :)
|
All times are GMT. The time now is 11:50 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|