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)

wizardan 10-21-2007 03:55 PM

Quote:

Originally Posted by Tulsa (Post 1365156)
Instead of finding this...

Code:

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

Find this...

Code:

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


Bing!
Thanks Tulsa.

MiahBeSmokin420 10-21-2007 03:59 PM

Quote:

Originally Posted by wizardan (Post 1365153)
I am asked to find this in vBTube.php
Code:

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

Someone show me where that is now???:D

What I see now is this...
Code:

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




Hey Im Not Realy Sure On How Good You Are At Coding And Stuff Like That For Site

But I Want To Teach You A Lil Trick I Do All The Time

And This Should ot Be Takeing As A Insult Or AnyThing Like That

But When SomeOne Tells You To Find Such And Such Code


For Example:

Code:

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


If You Cant Find That Code In A Template, .php File, Or What Ever

Try Taking Part Of The Code Off

So Like Since You Couldnt Find That Code I Would Have Searched For:

Code:

if ((!$_GET['do'] || $_GET['do'] == ''))
Then Just Press Search Again Just To Make Sure There Is No Other Code Like That In The Template, .php File, Or What Ever.

Chances Are The Part That You Find Is Part Of What You Are Looking For.

Now Lets Say You Found The Same Thing 2 Times.

What I Would Do Is Compleatly Copy Everything In That template, .php File, Or What Ever. And Copy It Into A Text Document So You Dont Mess Things Up. (aka Ghetto Back Up lol)

Then Just Mod What Ever Part Looks Closest To What You Were Looking For In The First Place. Chances Are What You Find Is What You Are Looking For.


HopeFully That Will Help You Out In Later Times

efc9 10-21-2007 04:01 PM

Quote:

Originally Posted by SBlueman (Post 1365146)
http://gridironfans.com/forums/vBTube.php

Updated to the latest version. I am SOOOOO looking forward to 1.3 when I won't have to edit vbTube.php and the templates over and over!

Yeah v1.3 is on the horizon.. (Nov 5th is the ETA now)

MiahBeSmokin420 10-21-2007 04:09 PM

Hold Up What The Heck Is A Play List Id?

I Thought It Was Like The UserName Of A YouTube Member But That Aint It

What The Pooper Scooper Is It?

unitedpunjab 10-21-2007 04:10 PM

Updated to 1.2.6 And Working like a Champ

http://www.unp.co.in/vBTube.php

efc9 10-21-2007 04:13 PM

As a user, you can create a playlist of your favourite clips, when you do that, the playlist has a custom id, enter that and voila you get all the movies in the playlist..

MiahBeSmokin420 10-21-2007 04:15 PM

i see humm kinda useless unless you have a good memory lol

efc9 10-21-2007 04:19 PM

kinda.. but then isn't most things in life ;)

unitedpunjab 10-21-2007 04:38 PM

How to Add playlist for VBTUBE home page.

I mean how i can show videos from my playlist on my vbtube page.

efc9 10-21-2007 04:52 PM

To Make the default start page your playlist..

in vBTube.php find:
Code:

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

and change to:
Code:

if ((!$_GET['do'] || $_GET['do'] == ''))
{
                $pid='<playlistid>';
        $_GET['do'] = 'playlist';
}

replace <playlistid> with your playlist id

or you can edit the vBTube template and add a link to:
Code:

vBTube.php?do=playlist&pid=<playlistid>
replace <playlistid> with your playlist id


All times are GMT. The time now is 12:44 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.01488 seconds
  • Memory Usage 1,744KB
  • 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
  • (9)bbcode_code_printable
  • (3)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