vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Add-On Releases - vBTube 1.2.9 (CSRF protection added) (https://vborg.vbsupport.ru/showthread.php?t=173083)

NeverBored 03-26-2008 10:07 PM

Would it be a good idea for people to set their own DEV Id in the vbtube.php file? Or does it matter?

DoB Rhapsody 03-27-2008 04:44 AM

Quote:

Originally Posted by NeverBored (Post 1475408)
Would it be a good idea for people to set their own DEV Id in the vbtube.php file? Or does it matter?

Good question. Maybe we will get content specific to the country we are in?

Playa82 03-27-2008 05:58 AM

Quote:

Originally Posted by NeverBored (Post 1475408)
Would it be a good idea for people to set their own DEV Id in the vbtube.php file? Or does it matter?

if u can do that, go ahead. it's up to you

slowphantom 03-27-2008 08:16 PM

nice hace dude thx
good work realy
but i want ask about the search
is there is any way to make it search in youtube with onther thing but not english

cz i try to search in arabic but he cant find any video

thx

NeverBored 03-30-2008 01:59 AM

I found a small error... When you view a users profile, the next/previous links to the pages with their videos takes you back to the main video pages, the links are missing the variables for the specific user.

bigtime 03-31-2008 05:05 AM

Quote:

Originally Posted by NeverBored (Post 1478046)
I found a small error... When you view a users profile, the next/previous links to the pages with their videos takes you back to the main video pages, the links are missing the variables for the specific user.

Here is how I fixed that on my site:

Open vBTube/includes/user.php.

On line 69 find this:



Change it to this:

PHP Code:

if ($pages != 1) { $pre '&nbsp;<b>&laquo;</b>&nbsp;<a href="vBTube.php?page='.$previous.'&amp;do=user&amp;uname='.$uname.'">previous</a>'; } 


Find this:

PHP Code:

if ($pages $totalpages) { $nex '&nbsp;<a href="vBTube.php?page='.$next.'" >next</a>&nbsp;<b>&raquo;</b>&nbsp;'; } 

Change it to this:

PHP Code:

if ($pages $totalpages) { $nex '&nbsp;<a href="vBTube.php?page='.$next.'&amp;do=user&amp;uname='.$uname.'" >next</a>&nbsp;<b>&raquo;</b>&nbsp;'; } 


Find this:

PHP Code:

$cur .= '&nbsp;<a href="vBTube.php?page='.$tmp.'" ><strong>'.$tmp.'</strong></a>'


Change it to this:

PHP Code:

                $cur .= '&nbsp;<a href="vBTube.php?page='.$tmp.'&amp;do=user&amp;uname='.$uname.'" ><strong>'.$tmp.'</strong></a>'


Find this:

PHP Code:

                $cur .= '&nbsp;<a href="vBTube.php?page='.$tmp.'" >'.$tmp.'</a>'

Change it to this:

PHP Code:

                $cur .= '&nbsp;<a href="vBTube.php?page='.$tmp.'&amp;do=user&amp;uname='.$uname.'" >'.$tmp.'</a>'

You can see my edits in action at http://www.defend.net/deluxeforums/vBTube.php

Hope that helps,

Tim

bigtime 03-31-2008 05:07 AM

Quote:

Originally Posted by NeverBored (Post 1475408)
Would it be a good idea for people to set their own DEV Id in the vbtube.php file? Or does it matter?

I added my own dev id and I don't have any problems with the foreign video issue.

Tim

NeverBored 03-31-2008 06:24 AM

Quote:

Originally Posted by bigtime (Post 1478849)
Here is how I fixed that on my site:

Open vBTube/includes/user.php.

Tim

That worked, thanks

NeverBored 03-31-2008 06:27 AM

Ok so I tried putting in a DEV id of my own, but it causes an error, and videos are no longer displayed in any cats/search etc... Is there anything else that must be changed when changing the ID?

Tom_S 03-31-2008 06:49 PM

I found an issue that if I type in the name of my website in the search..(which wasn't my goal to find my website but I was looking for a specific offroad video of ours that is on youtube) it brings up a page full of broken images with the dreaded red x's.

EDIT:
Hmmm..It isn't just my site..I did it on http://www.defend.net/deluxeforums/vBTube.php website when I checked out his updates and it does it there too so it has something to do with my website name. I am not using .com just kma offroad

Magnumutz 04-01-2008 06:13 AM

What does the Update contain?

Playa82 04-01-2008 05:32 PM

Quote:

Originally Posted by Magnumutz (Post 1479775)
What does the Update contain?

check number 6

Tom_S 04-01-2008 06:08 PM

Did you check the issue I spoke of? That makes no sense to me.

Tom_S 04-01-2008 06:15 PM

Quote:

Originally Posted by bigtime (Post 1478849)
Here is how I fixed that on my site:

Open vBTube/includes/user.php.

On line 69 find this:



Change it to this:

PHP Code:

if ($pages != 1) { $pre '&nbsp;<b>&laquo;</b>&nbsp;<a href="vBTube.php?page='.$previous.'&amp;do=user&amp;uname='.$uname.'">previous</a>'; } 


That don't make sense. Find what on line 69? It has "else" on it but you have a blank there. Confused :confused:

Playa82 04-01-2008 06:23 PM

Quote:

Originally Posted by Tom_S (Post 1480240)
Did you check the issue I spoke of? That makes no sense to me.

i don't see the problem. i got no error

Quote:

Originally Posted by Tom_S (Post 1480244)
That don't make sense. Find what on line 69? It has "else" on it but you have a blank there. Confused :confused:

i already fixed that...

Tom_S 04-01-2008 06:34 PM

Quote:

Originally Posted by Playa82 (Post 1480246)
i don't see the problem. i got no error

Type in kma offroad in the search box


i already fixed that...

scroll up and look...blank as it can be. What do you think I quoted?

Playa82 04-01-2008 06:47 PM

Quote:

Originally Posted by Tom_S (Post 1480254)
scroll up and look...blank as it can be. What do you think I quoted?

just type offroad. i think that's a search issue. i try to fix that in the next version

Tom_S 04-01-2008 06:53 PM

cool...I know it won't work if I type in our website name..it go boom! LOL

NeverBored 04-02-2008 05:54 AM

Any thoughts on why it stops working when I put in my own DEV ID?

This is the error, no videos are displayed

Warning: Invalid argument supplied for foreach() in [path]/vBTube/includes/today.php on line 11

Same for clicking on categories, searching etc

Warning: Invalid argument supplied for foreach() in [path]/vBTube/includes/cat.php on line 18
Warning: Invalid argument supplied for foreach() in [path]/vBTube/includes/popular.php on line 11

bigtime 04-02-2008 03:19 PM

Quote:

Originally Posted by NeverBored (Post 1478886)
Ok so I tried putting in a DEV id of my own, but it causes an error, and videos are no longer displayed in any cats/search etc... Is there anything else that must be changed when changing the ID?

I didn't change anything else. Try getting a new id and see if that helps.

marcossalazar 04-03-2008 05:11 PM

How is this not in violation of YouTube's TOS?

NeverBored 04-03-2008 08:12 PM

Quote:

Originally Posted by marcossalazar (Post 1482150)
How is this not in violation of YouTube's TOS?

Youtube provides and supports the resources to do this. http://youtube.com/dev

marcossalazar 04-03-2008 08:28 PM

coo. thanks for the info

rizelim 04-05-2008 08:30 AM

Thanks

ArbStar 04-05-2008 05:51 PM

The Add-on is too complicated and difficult to use.
Another comment, There's no control panel.
I hope in the next version it be better.

Best regards,
Ibrahim Moh'd Hadid

Playa82 04-05-2008 06:10 PM

Quote:

Originally Posted by ArbStar (Post 1483752)
The Add-on is too complicated and difficult to use.
Another comment, There's no control panel.
I hope in the next version it be better.

Best regards,
Ibrahim Moh'd Hadid

u don't need a control panel, it takes the videos direct from youtube. what u wanna do with your control panel ?

CrashPush 04-06-2008 06:50 AM

So basically there's nothing to control. All you do is search videos from your site into YouTube and get results. I like it anyway. Nice job! https://vborg.vbsupport.ru/external/2011/01/19.gif

Peterpan002 04-09-2008 11:52 PM

Very cool hack, thanks installed fine on 3.7.0 RC2. :up:

One cautionary observation, you tube restricts access to certain adult content videos by requiring the user to login and confirm birth date. Yep no kids going to let that stop them right! but it is there. With this hack it is not so on forums which allow minors entrance this could cause a few raised eyebrows :rolleyes:

and one question is it possible to make the new today/most popular categories additionally keyworded so most popular music vids? :erm:

NeverBored 04-10-2008 03:16 AM

It appears this has stopped work again. Categories display the Warning: Invalid argument supplied for foreach() in [path]/vBTube/includes/cat.php on line 18, and searching returns no results. Confirmed on the demo site posted as well.

Tom_S 04-10-2008 04:08 AM

Mine too

Playa82 04-10-2008 04:26 AM

Quote:

Originally Posted by NeverBored (Post 1487199)
It appears this has stopped work again. Categories display the Warning: Invalid argument supplied for foreach() in [path]/vBTube/includes/cat.php on line 18, and searching returns no results. Confirmed on the demo site posted as well.

looks like an error at youtube, it was working the last days...

Peterpan002 04-10-2008 07:30 AM

Mine category searches all return no results although latest and new still work ??

schlottkej 04-10-2008 03:06 PM

figure out why the vids aren't showing?

Playa82 04-10-2008 06:48 PM

i can't find the error, maybe youtube made a new code...

maybe somebody can help out to find the error...

NeverBored 04-11-2008 03:55 AM

Looks like it's working again magically. LOL

Playa82 04-11-2008 04:20 AM

Quote:

Originally Posted by NeverBored (Post 1488026)
Looks like it's working again magically. LOL

lol, yes. that was what i thought. a error from youtube... :D

nighthalk 04-13-2008 11:53 PM

can you select the category's you would like to show?

Playa82 04-14-2008 04:19 AM

Quote:

Originally Posted by nighthalk (Post 1490042)
can you select the category's you would like to show?

look at the left side, u can select one of the categories

nighthalk 04-14-2008 04:29 AM

Yeah but can I set the category to show. Like say I only want billiard videos.

Playa82 04-14-2008 05:55 AM

Quote:

Originally Posted by nighthalk (Post 1490167)
Yeah but can I set the category to show. Like say I only want billiard videos.

not at the moment. when i got enough time, i try to add the code to change it like you want it.


All times are GMT. The time now is 02:25 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.01629 seconds
  • Memory Usage 1,840KB
  • 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
  • (8)bbcode_php_printable
  • (18)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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