The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Default Avatar - How and help
Hello.
I would like to implement defult avatars (so when user has no avatar, image x is used). My requirements was it also to work with only some usergroups. I read this tutorial, by a Vbull team member. I am using postbit, and when I do so, this happens: The RBC logo should be to the left of the Username. How would I go around correcting this. Thanks Adam |
#2
|
||||
|
||||
Take a look at the code for the default postbit and see how they position the avatar and then do the same thing with the default avatar.
|
#3
|
|||
|
|||
Thanks, I now have it configured correctly.
Now, I am asking another question. How would I restrict the default avatar to certain usergroups (ie Usergroups 2,57 have a default avatar if no avatar, the others dont) I tried adding Code:
<if condition="is_member_of($vbulletin->userinfo, 2, 5, 7)"> The problem is that this dose not restrict it to those usergroups, rather usergroups 2,5,7 are the only ones who see default avatars. How would I implement what I want (avatars only to usergroups 2,5,7) |
#4
|
||||
|
||||
<a href="https://vborg.vbsupport.ru/showthread.php?t=223078" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=223078</a>
here is a mod which can be of any help to you |
#5
|
||||
|
||||
If it's in the postbit, and you are talking about the usergroup of the person who made the post (as opposed to the usergroup of the person viewing the posts), then you would do:
HTML Code:
<if condition="is_member_of($post, 2, 5, 7)">
|
#6
|
|||
|
|||
THank you
But I have already installed and tried that mod. (its currently disabled The reason I am not using it is because it does not have a usergroup feature (such as only working on x usergroups) I tried the code version, becasue I though the if condition would work. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|