The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
All guests/unregistered users directed to certain page
I have made a .php page called mysite.com/forum/startpage.php
Now here is what I want to do, i want to have any guests and unlogged in members to go my new startpage.php , even if for example they clicked on a link like mysite.com/forum/showthread.php?t=2598, so any url to my site would bring guests (not logged in people) to startpage.php. Then from the startpage.php people can login, register, etc. and ill put some information up there. By the way I used https://vborg.vbsupport.ru/showthrea...ht=create+page to create my php page Could this be achieved using an HTML page? I know you can put external login code on HTML pages. I tried searching about how to do this but just confused myself more... thanks in advance to anyone who can answer this seemingly simple question. |
#2
|
|||
|
|||
I guess you would have a conditional within the home page of your forum.
Heres a quick list of conditionals i've got and you could add them to your site 1. How to setup a conditional to show some information only to 1 usergroup. 2. How to setup a conditional to show some information to multiple usergroups. Code:
<if condition="is_member_of($bbuserinfo, X, Y, Z)"> Code:
<if condition="$bbuserinfo[userid] == X"> Code:
<if condition="in_array($bbuserinfo[userid], array(X,Y,Z))"> Code:
<if condition="!is_member_of($bbuserinfo, X)"> Code:
<if condition="!is_member_of($bbuserinfo, X, Y, Z)"> Code:
<if condition="$bbuserinfo[userid] == X"> Code:
<if condition="!in_array($bbuserinfo[userid], array(X,Y,Z))"> Code:
<if condition="$forumid == X"> Code:
<if condition="in_array($forumid, array(X,Y,Z))"> Code:
<if condition="$forumid != X"> Code:
<if condition="!in_array($forumid, array(X,Y,Z))"> |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|