vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Major Additions - Video-Directory Remixed (https://vborg.vbsupport.ru/showthread.php?t=200819)

JacquiiDesigns 06-24-2015 04:23 AM

Quote:

Originally Posted by blind-eddie (Post 2548507)
Deal finished, stay tuned.

Awesome. Was it an easy fix?
And really cool that you're sharing the fix with the community dude! https://vborg.vbsupport.ru/external/2015/06/1.gif

J.

blind-eddie 06-24-2015 11:04 AM

Waiting for email with files and read me.
You know I can not post files or a product. Those that will use it will need to edit whatever files that need edited. Unless you secretly pm me and I will send you the files, wink wink....

JacquiiDesigns 06-24-2015 08:37 PM

1 Attachment(s)
Quote:

Originally Posted by blind-eddie (Post 2548530)
Waiting for email with files and read me.
You know I can not post files or a product. Those that will use it will need to edit whatever files that need edited. Unless you secretly pm me and I will send you the files, wink wink....

Just wanted to say thanks. And keep getting:
https://vborg.vbsupport.ru/attachmen...1&d=1435185345

Anyway - Your efforts & generosity are certainly appreciated!
Cheers!

J.

blind-eddie 06-24-2015 11:44 PM

This is working for the most part, the gentleman that worked on this for us is looking into a few issues I mentioned and will email me when he is finished.
This is loaded on my site, feel free to register and test how it is working now, but be ready to add video title and description for it to work... oh and you can now use https or http://.

Or pm me and I wilkl set up an account for you to use...

blind-eddie 06-25-2015 02:34 AM

1 Attachment(s)
Here you go...
Thank you to AliMadkour for fixing this issue for me so I could share it with you, so you can continue to use it.
The includes/videoserviceapi/class_youtube.php has been re-written to show videos and thumbs in you video directory. Works great.

This now works just as it did the day I installed it years ago.

With this fix, you will need to get a youtube API and add the the api number to the class_youtube.php as per readme.

Enjoy!

EDIT: Duration has been corrected, time will now show on video thumb.
Don't forget to add your API code before overwriting.

BlackxRam 06-25-2015 04:02 AM

You are awesome man, nice!

BlackxRam 06-25-2015 04:02 AM

Can we request a MOD to add this fix to the main post?

blind-eddie 06-25-2015 11:46 AM

FYI: Tags is not supported in API 3 version. And the duration format changed also so for now, you will see "???" below the video thumbnail for duration, AliMadkour is looking into a fix for this and will email me when and if a fix is found.

Either way, I am just happy its working again.

BlackxRam 06-25-2015 09:15 PM

Absolutely, when this broke when youtube changed things i massacred my site lol.

There is another little bug I noticed when outputting the creation of a video page to a forum. There seems to be a random <object> tag that appears just before the "Video:" area of that post. I am not sure if thats only with my forum or if its on a random template but I can't locate it in any of my style sheets or the plugins.

Does this do it for you? It causes almost the entire Blockquote from the youtube info to be clickable and therefore if clicked leads to an error page load.

That new object tag does not appear in any of my old posts before the fix. So I assume its related to the data on the php file somewhere.

blind-eddie 06-25-2015 10:06 PM

Nope, I don't have that issues at all.
We know the tags no longer work with api3, waiting on duration fix.
Video comments have never worked properly.
I may comment out the comment code and set it to automatically post the video in a thread without needing to check a box to make it happen.

Feel free to stop by and test it.

Code:

http://northamericancarclub.com/video.php
Login: Some Dude
Password: racecar123.com



All times are GMT. The time now is 05:08 AM.

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.05541 seconds
  • Memory Usage 1,738KB
  • 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
  • (1)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (3)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