The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
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> |
|
#2
|
||||
|
||||
|
Code:
<if condition="$userinfo[homepage] != '' "> <a href="$userinfo[homepage]" target="_blank"><img src="$stylevar[imgdir_button]/home.gif" border="0"></a> </if> |
|
#3
|
|||
|
|||
|
Thanks
Any idea about the email one?
|
|
#4
|
||||
|
||||
|
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? |
|
#5
|
|||
|
|||
|
Yup the first one worked like a charm
|
|
#6
|
||||
|
||||
|
I can't find a way to use an if conditional there mate, maybe I'm missing something completely.
|
|
#7
|
|||
|
|||
|
I couldn't find anything to represent it either
Thanks anyway, much appreciated.
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|