Quote:
Originally posted by inetd
Logician, i see vBindex, vbHome(Lite) and vbPortal. But i don't want make many changes in my vB 
You can quote these messages? Please 
|
here you go:
https://vborg.vbsupport.ru/showthrea...481#post273481
Quote:
And say please, how to make, that at enter on MY_FORUM_URL user saw one of web templates?
|
You have 2 options to make a webtemplate your main page:
1- You can edit your .htaccess file and make a redirection so that whenever your main page (=index.htm or index.html) is called, server opens your webtemplate. A sample redirection line is that:
Redirect /index.html
http://www.yoururl.com/forum/show.php?pg=your_template
Please search keywords ".htaccess+redirect" for more info about .htaccess redirection
2- You can assign your homepage as "index.php" instead of index.html (this can require .htaccess editing either), then inside this file you can "include" your webtemplate. So whenever index.php is called, your webtemplate will be displayed.
To include your webtemplate inside your index.php you need to use this line in the begining of index.php:
<?php include ("http://www.yourdomain.com/forum/show.php?pg=your_template"); ?>
Choose either way and you can make your webtemplate your site's main page..
However I want to mention again that, this hack is not meant to be "site main page" alternative..