The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Does anyone think they could put the code together so that members who do not have an avatar secleted when they post it will show the no avatar selected avatar. Also when guests post on the forum as their avatar it shows the guest avatar? I know this doesn'tm ake much sense but I'm very tired, any help would be great, I know this will not be great for bandwith but please. Thanks!
|
#2
|
||||
|
||||
In functions.php, find this:
Code:
if ($post[hascustomavatar] and $avatarenabled) { $avatarurl="avatar.php?userid=$post[userid]&dateline=$post[avatardateline]"; } else { $avatarurl=""; } Now replace this: Code:
$post[posts]="N/A"; $post[avatar]=""; Code:
$post[posts]="N/A"; $avatarurl="[high]your avatar url![/high]"; if ($avatarurl=="" or ($bbuserinfo[userid]>0 and !($bbuserinfo[showavatars]))) { $post[avatar]=""; } else { eval("\$post[avatar] = \"".gettemplate("postbit_avatar")."\";"); } |
#3
|
|||
|
|||
Thanks Chen! I'll try it out right away! Thanks Again!
|
#4
|
|||
|
|||
Ok well it worked great, but when a guest goes to post it still has options to email them and add sig, how can I remove those from postbit if it's a guest? what code would that take. Or should I post another request cause you have helped me already, and thanks Chen! your always a great help.
|
#5
|
||||
|
||||
It shouldn't show these links - was it that way even before you applied this hack?
|
#6
|
|||
|
|||
I never looked at it nor allowed guests to post on my board. So when I went I was surprised to see those there because they have no email on the board entered nor would they have a signature.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|