![]() |
1 Attachment(s)
Hey oki i upgraded to 0.9 and now
i get this error on all videos Attachment 117093 Also if bb code is on my main url gives this errror Code:
Fatal error: Cannot redeclare handle_bbcode_media() (previously declared in /home/**/public_html/includes/class_bbcode.php(2982) : eval()'d code:23) in /home/**/public_html/includes/class_bbcode.php(2982) : eval()'d code on line 23 Thanks |
Quote:
I thought it was a default setting. I figured it would be a good idea for it to be default since I bet most users won't necessarily care if it's posted in the forum or not, where as we, as forum owners, like the extra posts. Good for making the board more 'active' |
Quote:
Probably nothing wrong with the mod, I contacted my host, and they have done something... Thanks anyway! Great mod! |
Quote:
|
Quote:
|
Quote:
All working now but bbcode error is still there guess its some other mod None the less still using this with it off Thanks |
It breaks DragonTech's VBShout.
http://www.dragonbyte-tech.com/threa...working-in-5.2 They say it's a problem in the plugin. When I click on the Archives link, it gives me this error: Fatal error: Cannot redeclare handle_bbcode_media() (previously declared in /[path]/dbtech/vbshout/includes/libs/shoutbox.php(2781) : eval()'d code:24) in /[path]/dbtech/vbshout/includes/libs/shoutbox.php(2781) : eval()'d code on line 54 |
Wow... looking through DBTech's code for their Shoutbox, all I can do is put my head down in shame that they call themselves programmers. Apparently, their shoutbox redeclares several built in vbulletin libraries, rather than actually use the ones that are built into vbulletin. And people wonder why so many mods are so bloated? Its easy to see when you have mods like this that pretty much double up the size of the code.
So since the shoutbox declares the custom handle_bbcode_media function a SECOND time, you get the cannot redeclare error. Also, technically this makes DBTech's Shoutbox an illegal mod, as it reproduces built in vBulletin code (vB is visible source, not OPEN source... I have seen other mods deleted for using FAAAAAARRRR less vBulletin code than this mod). What makes this even worse is that DBTech charges $250 for a pro version of this mod. |
Oh great.. I will let them know.. Thanks for the great information.
What can be done? Btw, it's 50$. ;-) |
Quote:
Oh a little advice, you might want to try wrapping your function declarations in function_exists(). If you do not, then errors occur if the function is declared more than once. It's standard practice for most coders. Please do let us know if theres a good reason not to do this though, we're always happy to learn more efficient ways of coding. For instance, your code will also produce errors if vBulletin's fetch_tag_list() function is called once, and then again with $force_all set to true. Just a little heads up on that for you =) Quote:
You seem to be having some issues reading the code, If you have any questions on how to do this, or on how to properly wrap functions, we'd be happy to help you out. Quote:
Regardless, Hope that clears things up for you, Good luck with your mods =) Iain |
All times are GMT. The time now is 12:33 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:
|