vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Major Additions - 8WayRun.Com - Media Library (https://vborg.vbsupport.ru/showthread.php?t=240677)

Xencored 05-14-2010 12:05 PM

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
0.7 worked great so am guessing its somethign in the new one

Thanks

Footman 05-14-2010 12:41 PM

Quote:

Originally Posted by weetabx (Post 2036865)
ok this will only submit to the said thread when you tick the box when you are submitting media

see below


http://www.akkiko.net/akkikouser/auto.jpg

Ah ha! never saw that... thanks bro.

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'

Mulle 05-14-2010 12:57 PM

Quote:

Originally Posted by Jaxel (Post 2036594)
Did you CHMOD your customVID/thumbs directory correctly?

Do you mind PMing me your FTP information so I can test some things?

Now it works!
Probably nothing wrong with the mod, I contacted my host, and they have done something...


Thanks anyway! Great mod!

Jaxel 05-14-2010 01:05 PM

Quote:

Originally Posted by Animemike (Post 2036877)
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
0.7 worked great so am guessing its somethign in the new one

Thanks

Please read update notes before you post errors.

Jaxel 05-14-2010 01:05 PM

Quote:

Originally Posted by dbigras (Post 2036746)
When adding comments, it doesn't support french characters and turns them into weird characters..

But when adding a video with french characters in the title of the description, it works fine.

I think this has to do with the AJAX, please temporarily turn off AJAX on your forum and see if french characters start posting correctly.

Xencored 05-14-2010 02:00 PM

Quote:

Originally Posted by Jaxel (Post 2036916)
Please read update notes before you post errors.

Ok very sorry feel like a idiot now....
All working now but bbcode error is still there
guess its some other mod
None the less still using this with it off

Thanks

dbigras 05-14-2010 07:37 PM

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

Jaxel 05-14-2010 08:27 PM

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.

dbigras 05-14-2010 08:54 PM

Oh great.. I will let them know.. Thanks for the great information.

What can be done?

Btw, it's 50$. ;-)

DragonByte Tech 05-14-2010 09:31 PM

Quote:

Originally Posted by Jaxel (Post 2037074)
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.

Thanks for the input there =)

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:

Originally Posted by Jaxel (Post 2037074)
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.

Hmm, Only one library is redeclared, in order to overcome a small shortcoming in the default vB library.

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:

Originally Posted by Jaxel (Post 2037074)
What makes this even worse is that DBTech charges $250 for a pro version of this mod.

P.S, as pointed out above, our shoutbox is not $250 – Not sure if you're deliberately mis-representing things to detract attention from your own shortcomings, or if you actually went to the wrong site, read the wrong code and the wrong price. Thats the only other alternative I can think of?

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
  • Page Generation 0.03385 seconds
  • Memory Usage 1,757KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete