View Full Version : Displaying usergroup specific message in header?
TrickyD
09-30-2005, 05:55 AM
I want to put a line of text specific to banned members either in my header or in the navbar template. Could someone please give me the heads up on the if statement necessary (if that is all there is to it) to accomplish this?
Thanks in advance.
<if condition="$bbuserinfo['usergroupid'] == 3">
<br />
<div align="left" style="color: red; background-color: white; border: 1px solid black; padding:2px">Your account is awaiting email confirmation. Please click the activation link in the email you were sent, or visit <a href="register.php?$session[sessionurl]do=requestemail">this page</a> to resend the activation email. If you did not receive the email then it's possible it was blocked by your email client. In this case you can either disable your blocker software or enter a new email address in <a href="profile.php?$session[sessionurl]do=editpassword">your profile</a>.</div>
</if>
Is what I use in the header...
TrickyD
09-30-2005, 04:24 PM
Yep that did it, much thanks!
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.