How would I get pages in pages on custom pages, instead of already built ones in vB. Thread:
https://vborg.vbsupport.ru/showthread.php?t=62164
Quote:
Originally Posted by Gary King
----------------------------------
Also if you want to create your own pages 'within' current vBulletin files, do the following:
Open the file you want, and then right before the final ?> in the source code, add the following:
PHP Code:
if ($_REQUEST['do'] == 'xxx')
{
eval('print_output("' . fetch_template('TEMPLATE_XXX') . '");');
}
Replace 'xxx' with whatever you want ?do= in the query string to be (for example, replace 'xxx' with 'showprofile' so then someone would type in example.php?do=showprofile to view this template.) Then of course, change TEMPLATE_XXX to your template name, it's that simple!
|
If you don't get what I mean, how would I make a custom page have multiple pages in it I tried the above on it, but no luck.