![]() |
Error help Needed with BBCode
Guys and gals,
I tried to add the bbCode from this thread on vB.com.... Anchors in posts using vbcode ....but, for some strange reason I got the following error message after clicking on "save" while trying to add the first BBCode... Fatal error: Cannot redeclare handle_bbcode_video() (previously declared in /home/avarona/domains/waltdisneyboards.com/public_html/includes/class_bbcode.php(2430) : eval()'d code:34) in /home/avarona/domains/waltdisneyboards.com/public_html/includes/class_bbcode.php(2430) : eval()'d code on line 63 ....anyone have any ideas as to what I could/should do to fix this? Thanks in advance :up: FYI: Since it stated something about 'video' in the error, I disabled the AME mod that I have, but it still wouldn't install. :( |
Hey Arny,
First, do you understand the use of anchors? It's only really necessary for long posts. If you followed his steps exactly, you should have no problems using it. BBCode shouldn't conflict with anything as it's parsed separately. Go back over his tutorial and read it step-by-step and see if you implemented it correctly, then try and use it. I see nothing wrong with this code as it's just using href's to denote parts of the post. Off-topic: It's a nice little piece of code, I might need to use this myself ;) |
Hey James,
I followed the steps exactly (have done it three times now) and even copy and pasted the exact text into the exact fields as described. But, I get that same error message :( Does the error message give us any sort of indication of what could be wrong? |
Hey Arny,
I'm not experienced in PHP but it says it cannot redeclare handle_bbcode_video. Do you have any modifications that use/affect BBCodes in any way? (i.e. BBCode permission handler etc)? Try disabling modifications using: PHP Code:
If this doesn't work, report back to us. |
James, do I add that in the config file or another php file?
|
In the config.php file
|
Quote:
Yeah, add to config.php (thanks redline!) |
No problem ;)
|
Okay, did the disable hooks deal and the BBCode installed with no problem. So, I've got something with a conflict somewhere. Hopefully I can work on disabling these one by one to figure out the issue down the road.
I'm going to test the BBCode for the anchor now. :) Thanks for the help folks :up: |
1 or more of your modifications are conflicting with the BBCode.
I suggest just disable them all then enable them 1 by 1 until you find the conflict. Then either fix a patch or delete it. |
Thanks James :up:
Here's a thread with the example of the anchor working. Still have lots of info to put on that actual thread, but it's working for now :D http://www.waltdisneyboards.com/disn...om-villas.html |
All times are GMT. The time now is 04:59 PM. |
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:
|