
02-01-2003, 11:05 PM
|
 |
|
|
Join Date: Sep 2002
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally posted by PlurPlanet
Mono - Something like that could be done fairly easily. I know I already explained how to do it somewhere in this thread, but I couldn't find it by searching, so I'll just explain it again. 
If you'll open your myvbindex.php file and look for this line:
// News
Right above that you'll want to place some coding like this:
PHP Code:
if ($action=="newpage") {
eval("\$newsbits = \"".gettemplate('index_newpage')."\";");
} else {
Then you'll want to look for this line:
PHP Code:
$DB_site->free_result($getnews);
unset($news);
}
Right below that you will want to add another }
Then you'll want to create a template called index_newpage (of course you can call it whatever you'd like, just be sure to change the name in the code above).
Then to link to that page, you would use the url http://yoursite.com/myvbindex.php?s=$session[sessionhash]&action=newpage
And again the "newpage" part after the action can be changed to whatever you'd like, just be sure to change that in your coding as well.
|
Thank you oh so much
and before I forget ... *clicks install*
|