Quote:
Originally Posted by ACentral
Would it be too much trouble for someone to whip up a quick mod to show an icon or link in postbit for those users who have webpages? I tried myself but with no luck.
|
http://www.vbulletintemplates.com/mo...ead.php?t=5957
this is the +gender hack+
I think you can modify it for your problem---
AdminCP > Profile Fields > Add new proofile field > Single Select Menu >
Title > Homempage (or any other one)
Description > Please select
Options:
Undisclosed
yes
no
Default Option: No, but not blank
make note of the field id
Template edit:
in postbit(_legacy)
find
HTML Code:
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon]</div>
add under
HTML Code:
<if condition="$post[fieldX] != Undisclosed"><div>Homepage: $post[fieldX] <img src="$stylevar[imgdir_misc]/homepage_$post[fieldX].gif" alt="$post[fieldX]" /> </div></if>
x is the ID of your homepage profile fields
For the images to work you would need to upload
images/misc/homepage_yes.gif and homepage_no.gif
++++++++++++++++
I don?t try this...
frage