Status
Not open for further replies.

dbigras

Customer
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
 
That's a bug caused by poor programming in the modification that implements that function.
To fix it, open the plugin bbcode_fetch_tags in that modification (it'll most likely have something to do with Media in the title) and find:
PHP:
function handle_bbcode_media(
add before
PHP:
if (!function_exists('handle_bbcode_media')) {

Find the } that closes the function handle_bbcode_media(
add after
PHP:
}
 
Strange, it's possible the code has some odd syntax or something, or the bracket has ended up in the wrong position, if you PM me with an admin login with plugin access i can take a look for you :)
 
Last edited by a moderator:
Here's the coder's reply:

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.

http://www.vbulletin.org/forum/showpost.php?p=2037074&postcount=788

What can be done?

Something changed since 5.0.x.
 
Last edited:
What changed since 5.0.x was that I implemented per-usergroup BBCode permissions.
But instead of being petty and resort to personal attacks like this guy, I'll take the extra effort to hopefully find a way to make this work :)

Stay tuned :)
 
Status
Not open for further replies.

Similar threads

Legacy vBShout

vBulletin 3.8.x vBulletin 4.x.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
3,179
Customer rating
5.00 star(s) 1 ratings
Back
Top