vb.org Archive

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

jasculs 10-19-2007 01:54 PM

Quote:

Originally Posted by BadgerDog (Post 1363729)
Hi... :)
Code:

<a href="vBTube.php?do=search&search=<Enfield%20Rifle></a><br>
I wonder if the admin who runs the Gridiron site you referred me to would share his version so I can customize off of that?

You have to put in in like this:

Just write the word with the space and it will work...it worked for me.

Code:

<a href="vBTube.php?do=search&search=Enfield Rifle</a><br>

BadgerDog 10-19-2007 02:10 PM

Quote:

Originally Posted by jasculs (Post 1363731)
You have to put in in like this:

Just write the word with the space and it will work...it worked for me.

Code:

<a href="vBTube.php?do=search&search=Enfield Rifle</a><br>

Thanks... :)

I tried that literally, cut and paste....

Nothing appears on the line after the double arrow...

Regards,
Badger

jasculs 10-19-2007 02:15 PM

Quote:

Originally Posted by BadgerDog (Post 1363747)
Thanks... :)

I tried that literally, cut and paste....

Nothing appears on the line after the double arrow...

Regards,
Badger

It's because the code above was missing an ">. And doesn't have words to show it Try this:

<a href="vBTube.php?do=search&search=Enfield Rifle">Enfield Rifle</a><br>

BadgerDog 10-19-2007 02:20 PM

Quote:

Originally Posted by jasculs (Post 1363749)
It's because the code above was missing an ">. And doesn't have words to show it Try this:

<a href="vBTube.php?do=search&search=Enfield Rifle">Enfield Rifle</a><br>

Yup.... thanks... :)

Here what I finally got working...

Code:

<a href="vBTube.php?do=search&search=Enfield%20Rifle">Enfield Rifle</a><br>
Appreciate your help... :up:

Regards,
Badger

BadgerDog 10-19-2007 02:48 PM

Does anyone else fine "searching" YouTube a LOT slower using this mod to do it, versus logging into YuoTube under their own personal account and doing it?

I find it just grinds along using this, but if I log directly into Youtube, it's much higher performance? :confused:

Thanks... :)

Regards,
Badger

efc9 10-19-2007 03:18 PM

Quote:

Originally Posted by BadgerDog (Post 1363771)
Does anyone else fine "searching" YouTube a LOT slower using this mod to do it, versus logging into YuoTube under their own personal account and doing it?

I find it just grinds along using this, but if I log directly into Youtube, it's much higher performance? :confused:

Thanks... :)

Regards,
Badger

In my testing I've not noticed any real difference between performance on youtube and performance on this mod, but I'll look into this.

BadgerDog 10-19-2007 06:45 PM

Quote:

Originally Posted by efc9 (Post 1363785)
In my testing I've not noticed any real difference between performance on youtube and performance on this mod, but I'll look into this.

Thanks.... :)

Question: Is there a place to set (or patch) the code with a string so that the default "New Today" comes up with one of our searches instead of the YouTube default?

Regards,
Badger

yoyoyoyo 10-19-2007 06:59 PM

Quote:

Originally Posted by BadgerDog (Post 1363771)
Does anyone else fine "searching" YouTube a LOT slower using this mod to do it, versus logging into YuoTube under their own personal account and doing it?

I find it just grinds along using this, but if I log directly into Youtube, it's much higher performance? :confused:

Thanks... :)

Regards,
Badger

nope - seems just as quick on my site as youtube :)

DrussRob 10-19-2007 07:26 PM

Great stuff! Thanks for your work :)

elmati 10-19-2007 08:41 PM

@BadgerDog

as i think this feature comes in the next major version :)

btw if you really need it you need to edit some files:

in vBTube.php find :
PHP Code:

if ((!$_GET['do'] || $_GET['do'] == ''))
{
    
$_GET['do'] = 'today';


change by:
PHP Code:

if ((!$_GET['do'] || $_GET['do'] == ''))
{
    
$_GET['do'] = 'mysearch';


Find:
PHP Code:

if ($_GET['do'] == 'search') {
include(
"vBTube/includes/search.php");


add below:
PHP Code:

if ($_GET['do'] == 'mysearch') {
$search='my_search_terms'//here you can add you search criteria
include("vBTube/includes/mysearch.php");




Now in vBTube/includes take search.php make a copy and rename into mysearch.php

And now create a new link in template vBTube called "My Videos" o whatever you want... and link into:
Code:

<a href="vBTube.php?do=mysearch">My Videos</a>
i think this may work :)

remember change mysearch by whatever you want and "My Videos" too...
tell me if it works.. :)


All times are GMT. The time now is 02:23 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.01367 seconds
  • Memory Usage 1,758KB
  • 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
  • (5)bbcode_code_printable
  • (4)bbcode_php_printable
  • (7)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
  • (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