The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
![]()
this is what i've got so far ... it works.
<?php error_reporting(7); include ("../../mainfile.php"); $index = 1; global $Pmenu,$breadcrumb; $Pmenu=""; $breadcrumb="Account Activation"; $defaultmessage = "Your message here... \n\n - $bbuserinfo[username]"; $defaultemail = "$bbuserinfo[email]"; getvbpvars(); include("header.php"); //OpenTable(); if (!$bbuserinfo[userid] || $bbuserinfo[usergroupid]==1 || $bbuserinfo[usergroupid]==3 || $bbuserinfo[usergroupid]==11) { eval("dooutput(\"".gettemplate('contact_error')."\ ");"); } else { eval("dooutput(\"".gettemplate('contact')."\");"); } //CloseTable(); include("footer.php"); ?> whats the difference between what i have done and what your saying ? does yours mean : if userid equals 2, get error template ... or does yours mean, if userid equals 2, continue ? |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|