![]() |
Set Avatar Link
1 Attachment(s)
This small change will automatically add a "Set Avatar" link under a users avatar area when no avatar is detected.
In this you have two options A link or a noavatar image. No Avatar Image Demo can be found http://cc-designs.co.uk/index.php?styleid=1 just view the main forum post "Welcome". Firstly Download the ZIP file below. Upload the contents to your forums root directory (or your image directory) basically you want to upload the picture to YOURBOARD/images/misc Now in ACP > Style Manager > Edit Templates > postbit OR postbit_legacy find: Code:
<if condition="$show['avatar']"><td class="alt2"><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a></td> Code:
<else /> Demo can be found http://cc-designs.co.uk/index.php?styleid=16 just view the main forum post. Here is what you have to do, there is no need to download any files. Go to ACP > Style Manger and choose either postbit or postbit_legacy (whichever you are using). Next find this Code:
<if condition="$show['avatar']"><td class="alt2"><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a></td> Code:
<td class="alt2"> As you can see this is only a simple edit but I saw it on a forum once and I thought that it would be a nice edition to those that want it. A PSD has also been included in the ZIP file, Thanks, Connor :cool: |
thx man for this add-ons
|
No Problem :D
|
I prefer like this, marked as installed anyway...
PHP Code:
|
lol thanks peleh marked as installed anyway..
|
used peleh's coding. installed
|
it's not clear to me --- does this show for EVERYONE viewing a thread, or only to the individuals who don't have an avatar?
for instance, I only want it to show up for the person that can actually set it... Mike http://forum.bigmiketrading.com |
All times are GMT. The time now is 12:59 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:
|