![]() |
IF Conditions
Not really a hack, more of a modification.
In the postbit_legacy template I have this code; Code:
<a href="$userinfo[homepage]" target="_blank"><img src="$stylevar[imgdir_button]/home.gif" border="0"></a> Also, I would be greatful if there's one for the email button to. Code:
<a href="sendmessage.php?$session[sessionurl]do=mailmember&u=$userinfo[userid]"><img src="$stylevar[imgdir_button]/email.gif" border="0"></a> |
Code:
<if condition="$userinfo[homepage] != '' "> |
Thanks :) Any idea about the email one?
|
I'm not too sure what the variable name is for whether or not the user accepts e-mail. Give me 5 mins and I'll check...
Did the first one work? |
Yup the first one worked like a charm :)
|
I can't find a way to use an if conditional there mate, maybe I'm missing something completely.
|
I couldn't find anything to represent it either :( Thanks anyway, much appreciated.
|
All times are GMT. The time now is 04:19 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:
|