![]() |
Thanks Logician. I may have to get the search query from you as I don't trust myself! I've upgraded to the new Beta and it's all ok so far. I'll PM you some suggestions when I've played with it for a couple of days.
|
Logician, please reply me :)
I can create main homepage with news (from first forum), poll (from second forum), login panel, information about PM and small help for newbie - By means of it hack? |
Quote:
|
How to make, that at enter on MY_FORUM_URL user saw one of web templates? And how in web template to insert contents of another web template?
|
don't work Advanced Page Design
[[ ($user_usergroupid==6) ]] (without spaces) I see [[ (6==6) ]] (without spaces) Help me, please |
inetd,
Quote:
However you can use webtemplates to design other pages (non main page) of your site with efficiency. So for example if you have a page which you want to display to only usergroup X, registered members, user with more than Y posts or user older than X days you can use webtemplates.. Quote:
PHP Code:
Quote:
|
Logician, i see vBindex, vbHome(Lite) and vbPortal. But i don't want make many changes in my vB :)
Quote:
And say please, how to make, that at enter on MY_FORUM_URL user saw one of web templates? |
Quote:
Quote:
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.. |
Logician,
Thanks for this great hack. It has given me so many idea's. It is working on www.gamblingforums.net (except i cannot get my referrals working) |
Logician, you the best vBhacker! Sorry for my bad English also there can be a dullness, I am simple very badly I understand in mySQL and PHP. Thank you huge!
|
All times are GMT. The time now is 03:54 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|