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


All times are GMT. The time now is 01:39 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.01485 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
  • (7)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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