Quote:
Originally Posted by wizardan
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???
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