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)

Gamelobby 02-26-2010 04:17 PM

Quote:

Originally Posted by Digital Jedi (Post 1990889)
Actually, his way is much easier. I take it you've never used the Phrase Manager before?

Admin CP >> Languages & Phrases >> Search in Phrases

When you went here, what did you find? You're just searching for the phrase video_directory and then editing it to say what you want. That's actually easier than a template edit.

Template edits seem easier for me. lol
Why dont people just add a spot in the ACP options for what they want it to read in the navbar.?


But i do have a weird issue going on.. I get "Database Error" emails sent to me from the site..?

This is what the email says..
Code:

Database error in vBulletin 3.8.4:

Invalid SQL:
SELECT * FROM youtube_playlists WHERE userid IN (0, 0) ORDER BY listname;

MySQL Error  : Table 'NCJB327.youtube_playlists' doesn't exist
Error Number  : 1146
Request Date  : Thursday, February 25th 2010 @ 05:09:40 PM
Error Date    : Thursday, February 25th 2010 @ 05:09:40 PM
Script        : http://mysite.com/forums/yt.php?v=Z2ullkbVCL8&feature=youtube_gdata
Referrer      :
IP Address    : 216.129.119.14
Username      : Unregistered
Classname    : vB_Database
MySQL Version :

Is this caused by people trying to upload things incorrectly or is it automatically trying to do something that causes this.?


Thanks

Digital Jedi 02-27-2010 12:18 AM

Because phrasing it makes it global, which makes it easier to make translations, which means you already have one place in the ACP where you can change it. Once you learn what that does, it's pretty simple to change any phrase globally on your forum, rather then editing every instance of it in the templates, which then need to be reverted after every upgrade and you'd have to make the change again. Not so with phrases.

The error suggests that an unregistered user, probably a crawl bot, is accessing features it shouldn't have access to. You can try editing the robots.txt file to try and block them from accessing the directory.

Mark Fortune 02-28-2010 06:14 AM

:up:This is definitely one of my favorite mods for 3.8.4 Are there any plans to upgrade this to be used with VB4?

Gamelobby 02-28-2010 06:53 AM

1 Attachment(s)
That makes a lot of sense.. DJ. (& i'll check out the txt file)

-----


New problem, different board. lol

The first video posted (at the bottom) set up correctly: Info is on the right, description is on the left, but then the next 3 videos added have all the info all mashed together on the right.. When the description should be on the left where the yellow X's are.

Any ideas.?



(disregard the smaller, thicker yellow circle around the "Add Video" button, i was explaining something to someone else. :))

Gamelobby 02-28-2010 07:10 AM

PS. Also it only does the info wrong for other people, not when i add a video. (admin)

Gamelobby 02-28-2010 05:34 PM

Another thing I've noticed is that it looks fine in Google Chrome.!?
How would it only screw up other peoples posts, & not mine if it was a browser thing.!?

Digital Jedi 02-28-2010 06:42 PM

Quote:

Originally Posted by Gamelobby (Post 1993488)
That makes a lot of sense.. DJ. (& i'll check out the txt file)

-----


New problem, different board. lol

The first video posted (at the bottom) set up correctly: Info is on the right, description is on the left, but then the next 3 videos added have all the info all mashed together on the right.. When the description should be on the left where the yellow X's are.

Any ideas.?



(disregard the smaller, thicker yellow circle around the "Add Video" button, i was explaining something to someone else. :))

Looks to me like maybe invalid HTML somewhere, possible not even related to that section. Something is definitely not closed right on that page. If your not familiar with the Validator, check the link to the article in my signature and scroll down to the section where I take about validation. I'm afraid, this may take you a while to root out.

Gamelobby 02-28-2010 07:08 PM

That could be a great asset to any site eh..!!
I would hope that i could get any/all of my boards to pass. :)


I went here - http://validator.w3.org
And found - 9 Errors, 2 warning(s)

But they dont really say where to find these codes.? (which template or where to look)
or does that check only the front page..?
Do i need to type in the url of each page individually.!? (that will take some time. lol)


Holy Crap.. 56 Errors, 7 warning(s) on Video Page. :eek:

Actually its not as bad as it seems a lot of them are
Quote:

end tag for element "br" which is not open
Just used to space. :)

Digital Jedi 02-28-2010 07:16 PM

Go to your Admin CP >> vBulletin Options >> vBulletin Options >> General Settings >> Add Template Name in HTML Comments. Tick this to Yes. vB will now put comments in the Source Code where each of your templates begin and end.

Rerun the Validator with the Show Source option selected. This will create links in the error messages that jump down the page to where your Source Code is being displayed, right to the line it detected the error on. Remember that it only detects the error in this vicinity. It could be that something before that is incorrect. You'll need to look around and possibly do some Google searches to understand what each means. Start with the top one first, as errors tend to cascade. Fixing one can fix a bunch below, or reveal others that the Vaildator couldn't previously detect.

You're fortunate, you only have 9 errors. When I started learning about Validation, I had over 600. At the very least, you can say that page is vaild when your done.

Gamelobby 02-28-2010 07:28 PM

That box is already checked "Yes" ?

Should we take this somewhere else, i hate to clutter up this thread.?

berben4 03-01-2010 03:21 PM

Is there a way to get this mod to download the videos and store them locally in case the remote site deletes the video in the future?

Teemberland 03-02-2010 12:04 AM

How do you create another category? I dowloaded the latest file and I can't find the settings to create another category. Please help.

EDIT:

NEVERMIND! :D

earlyriders 03-02-2010 03:37 PM

Please help,
1) How do I add video GameTrailers ?
2) Can show how random video CMS Portal (vbadvanced)
Thanks in advance for answers :)

Digital Jedi 03-02-2010 04:27 PM

Quote:

Originally Posted by berben4 (Post 1994536)
Is there a way to get this mod to download the videos and store them locally in case the remote site deletes the video in the future?

No, this is not any kind of downloader. This just duplicates the sites' embed code in a forum directory.


Quote:

Originally Posted by earlyriders (Post 1995328)
Please help,
1) How do I add video GameTrailers ?
2) Can show how random video CMS Portal (vbadvanced)
Thanks in advance for answers :)

1. You'd have to make your own hosting XML, which would require some coding knowledge.
2. There are already mods on this site for that. Just do a search for video directory.

kyle 03-03-2010 12:31 AM

Any plans or equvalent of this hack for the new VB 4.0 ?

Katelynn 03-03-2010 11:34 AM

I've been waiting to find out if they have ANY attempt to make this for vB 4.0??

Please .. just a heads up?

kyle 03-03-2010 01:59 PM

same here, even interested if someone can "$" code and migrate our current 3.8 version into 4.0

ChopSuey 03-08-2010 08:13 PM

I get this error when posting a video
Code:

Warning: fopen([path]/videothumbnails/YouTube/1mNMrBm_WmA.jpg) [function.fopen]: failed to open stream: Permission denied in [path]/includes/videoserviceapi/class_youtube.php on line 91

Warning: fwrite(): supplied argument is not a valid stream resource in [path]/includes/videoserviceapi/class_youtube.php on line 92

Warning: fclose(): supplied argument is not a valid stream resource in [path]/includes/videoserviceapi/class_youtube.php on line 93

I made the folders writeable....

Also thumbnails are not showing up. http:///www.mediatechies.net/forum/video.php

EquinoxWorld 03-08-2010 08:18 PM

Hello, I was wondering if with this mod you can add your own videos ? Let's say uploading them to your server for instance. I have a collection of videos I want to make available to my members. If not I would like to create and xml hoster script for my own video page @ http://aniworlds.net/videochannel . I do have it to allow other sites to embed and link my videos but have no idea where to begin to start the xml. Any idea or feedback with this issue wold be greatly appreciated. Thanks again. And may I say my members cold not live without this mod, Im expanding my website to include more a youtube interface but the video directory will still remain as an archive. Please help.

Digital Jedi 03-09-2010 05:25 AM

Quote:

Originally Posted by ChopSuey (Post 2000032)
I get this error when posting a video
Code:

Warning: fopen([path]/videothumbnails/YouTube/1mNMrBm_WmA.jpg) [function.fopen]: failed to open stream: Permission denied in [path]/includes/videoserviceapi/class_youtube.php on line 91

Warning: fwrite(): supplied argument is not a valid stream resource in [path]/includes/videoserviceapi/class_youtube.php on line 92

Warning: fclose(): supplied argument is not a valid stream resource in [path]/includes/videoserviceapi/class_youtube.php on line 93

I made the folders writeable....

Also thumbnails are not showing up. http:///www.mediatechies.net/forum/video.php

It almost sounds like your missing files. And are you sure you ran the last upgrade, because that fixed the thumbnails for me. Also, make sure you ran the troubleshooting tip. Also, too, and furthermore, your directory is blocked from guest viewing.

Yurified 03-11-2010 08:31 PM

Ok we have tried to do this but we have some problems.
This is what i have got:

https://vborg.vbsupport.ru/

And above this i have these codings:
Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: video_catbit_small in [path]/includes/functions.php on line 3932

Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: video_home in [path]/includes/functions.php on line 3932

Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: VIDEO_SHELL_SIDE in [path]/includes/functions.php on line 3932

Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: navbar in [path]/includes/functions.php on line 3932

Parse error: syntax error, unexpected T_STRING in /home/yurified/public_html/video.php(903) : eval()'d code on line 1

Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: VIDEO_SHELL in [path]/includes/functions.php on line 3932

I also have this in profile: Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: video_profile in [path]/includes/functions.php on line 3932

please help?

Digital Jedi 03-11-2010 09:05 PM

Quote:

Originally Posted by Yurified (Post 2001745)
Ok we have tried to do this but we have some problems.
This is what i have got:

https://vborg.vbsupport.ru/

And above this i have these codings:
Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: video_catbit_small in [path]/includes/functions.php on line 3932

Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: video_home in [path]/includes/functions.php on line 3932

Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: VIDEO_SHELL_SIDE in [path]/includes/functions.php on line 3932

Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: navbar in [path]/includes/functions.php on line 3932

Parse error: syntax error, unexpected T_STRING in /home/yurified/public_html/video.php(903) : eval()'d code on line 1

Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: VIDEO_SHELL in [path]/includes/functions.php on line 3932

I also have this in profile: Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: video_profile in [path]/includes/functions.php on line 3932

please help?

Are you trying to install this on vB 4?

Stefanus 03-12-2010 05:11 PM

Quote:

Originally Posted by Katelynn (Post 1995973)
I've been waiting to find out if they have ANY attempt to make this for vB 4.0??

Please .. just a heads up?

Quote:

Originally Posted by kyle (Post 1996096)
same here, even interested if someone can "$" code and migrate our current 3.8 version into 4.0


Jaxel
Coder

Last Activity: 31 Jan 2010

Does not look like this is going to happen :mad:

Digital Jedi 03-12-2010 05:29 PM

Quote:

Originally Posted by Stefanus (Post 2002279)
Jaxel
Coder

Last Activity: 31 Jan 2010

Does not look like this is going to happen :mad:

Jaxel had marked all his other mods as unsupported, that I saw. I think he just overlooked marking this one.

Yurified 03-12-2010 06:33 PM

Quote:

Originally Posted by Digital Jedi (Post 2001758)
Are you trying to install this on vB 4?

Yeah i am , is that wrong?

david01130 03-12-2010 09:56 PM

Still having trouble posting comments. Any help please??

Digital Jedi 03-13-2010 02:12 AM

Quote:

Originally Posted by Yurified (Post 2002328)
Yeah i am , is that wrong?

It's the cause of your error messages. The old vB3 template system isn't compatible with vB4.

Digital Jedi 03-13-2010 02:14 AM

Quote:

Originally Posted by david01130 (Post 2002453)
Still having trouble posting comments. Any help please??

What was your issue?

david01130 03-13-2010 03:51 AM

When I try to enter a comment an error comes up and says "Invalid video specified"

Digital Jedi 03-14-2010 01:12 AM

Quote:

Originally Posted by david01130 (Post 2002591)
When I try to enter a comment an error comes up and says "Invalid video specified"

I read that this is related to SEO rewrite rules. You say you've already turned this off?

dtv100 03-14-2010 01:53 AM

Quote:

Originally Posted by Digital Jedi (Post 2003162)
I read that this is related to SEO rewrite rules. You say you've already turned this off?

having same issue and i have vbseo .
any way around this ?

david01130 03-14-2010 03:01 AM

I have not done anything yet. How do you turn off SEO rewrite rules?

Digital Jedi 03-14-2010 06:25 PM

Quote:

Originally Posted by dtv100 (Post 2003184)
having same issue and i have vbseo .
any way around this ?

Quote:

Originally Posted by david01130 (Post 2003213)
I have not done anything yet. How do you turn off SEO rewrite rules?

I assume it would be in your vBSEO control panel, or where ever rewrites for custom pages is controlled. In other words, it's not something directly related to the modification.

david01130 03-14-2010 07:55 PM

Below are my rewrite rules. If I delete 1 or 2 of them the comments seem to work. But there are still a few problems. I cannot seem to delete the comments. Sometimes it lets me and other times it doesnt. It does seem to be a problem with the rewrite rules. Anyone know how to adjust these rules to be able to post comments and delete them?

HTML Code:

//Video-Directory
'^video\.php\?do=viewrecent'=>'videos/recent-videos.html'
'^video\.php\?do=viewtag&tag=(.*)'=>'tags/$1/'


'^video\.php\?do=viewcategory&categoryid=(\d+)&categorytitle=(.*)&sort=dateline&order=DESC&page=(\d+)'=>'videos/$2-$1/page-$3/'
'^video\.php\?do=viewdetails&categoryid=(\d+)&categorytitle=(.*)&videoid=(\d+)&videotitle=(.*)'=>'videos/$2-$1/$4-$3.html'
'^video\.php\?do=viewcategory&categoryid=(\d+)&categorytitle=(.*)&page=(\d+)'=>'technique/$2-$1/$3/'
'^video\.php\?do=viewcategory&categoryid=(\d+)&categorytitle=(.*)'=>'videos/$2-$1/'
'^video\.php'=>'videos/'


EquinoxWorld 03-17-2010 11:21 AM

By any chance does anyone know how to re-arrange the view video page? For example I want the description section with all the details of the video to appear on top of the video instead of on the bottom. I've looked in the video directory templates but can't seem to pinpoint what I have to change. Any ideas or feedback would be a tremendous help. Thanks alot.

plumbingskool 03-19-2010 04:26 AM

Hi,

For some reason, my video thumbs do not show up, I just see links....

I have made sure the /thumbs was there and everything was chmodded to 777 like it said above,

I also rebuilt the custom avatars bit still no luck, I only see anchor text / links where the thumbs would be,....

Any other ideas what I am doing wrong?

GREAT plugin, :)

Digital Jedi 03-19-2010 05:49 AM

Quote:

Originally Posted by plumbingskool (Post 2006269)
Hi,

For some reason, my video thumbs do not show up, I just see links....

I have made sure the /thumbs was there and everything was chmodded to 777 like it said above,

I also rebuilt the custom avatars bit still no luck, I only see anchor text / links where the thumbs would be,....

Any other ideas what I am doing wrong?

GREAT plugin, :)

That sounds like the thumbs folder might be in the wrong location.

plumbingskool 03-19-2010 12:16 PM

Quote:

Originally Posted by Digital Jedi (Post 2006293)
That sounds like the thumbs folder might be in the wrong location.

Hi,

Thanks for the response.

What should I check?

I do think I have all the /thumbs in the right place,

Please let me know what to check, everything else works BTW

Thanks so much

Joseph:)

Jaxel 03-25-2010 09:48 PM

Okay... I have just purchased VB4... so the rewrite work for this mod will begin next month.

EquinoxWorld 03-26-2010 11:13 AM

Thank you a million times Jaxel. This is by far the best mod ever for vbulletin and my members live by it. We have over 10,000 videos over 25 mins each. Thank you for taking this to the next level. I'm sure everyone here will be looking forward to another awsome chapter in the video directory mod. My members will be thrilled!! Thanks again Jaxel.!


All times are GMT. The time now is 01:14 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.03270 seconds
  • Memory Usage 1,853KB
  • 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
  • (3)bbcode_code_printable
  • (1)bbcode_html_printable
  • (19)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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