The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
whats the vb code for if id = it redirects to google?
Thanks Ross |
|
#2
|
|||
|
|||
|
<if condition="$bbuserinfo[userid] == XX">
/* Redirect browser */ header("Location: http://www.domain.com"); /* Make sure that code below does not get executed when we redirect. */ exit; <else/> your whole page code here </if> I'm not 100% sure about that. Its the Php redirection code. |
|
#3
|
||||
|
||||
|
this works fine placed at the top of the header template
Code:
<if condition="$bbuserinfo['userid'] == X"> <meta HTTP-EQUIV="REFRESH" content="0; url=http://www.google.com"> </if> |
![]() |
|
|