The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
if statment for avatars?
Can I use an "if" statement, if the membergroup is not allowed to have avatars or profile pics, but they already uploaded them before the change, so they are showing in the postbit and view profile page, to let them show "if" in a usergroup that allows them.... or have them not show "if" in a usergroup without the permission.... if so, would someone be so kind as to tell me how to do that?
Thanks! |
#2
|
|||
|
|||
Go to ACP-> Styles & Templates -> Edit Templates ->postbit ot postbit_legacy.
Now, find the code for the avatars. In the postbit template it's this: PHP Code:
PHP Code:
|
#3
|
|||
|
|||
Great thanks!!
Can you post what the replacement is for postbit_legacy, it looks different than that... And also, if you could if possible, post the replacement I could use on the profile page for the avatr and profile pic? Thanks! |
#4
|
|||
|
|||
In the postbit_legacy template it's this:
PHP Code:
PHP Code:
Ok, mistake fixed. Ok, edit template MEMBERINFO. Find: PHP Code:
PHP Code:
PHP Code:
PHP Code:
Please let me know if it did work, or didn't |
#5
|
|||
|
|||
Wow, you are awesome...
I'm going to try this now... THANKS! |
#6
|
|||
|
|||
No problemo .
If it doesn't work, please tell me, and I will take a closer look at it. |
#7
|
|||
|
|||
PS, can usergroup(s) be separated by comma? (I will add banned members too, if so)
|
#8
|
|||
|
|||
I have updated my post, now you can!
Just replace the X's with the usergroups you want, and if you wish you can add/remove more numbers! Examples: PHP Code:
PHP Code:
PHP Code:
PHP Code:
|
#9
|
|||
|
|||
I tried what you gave me (original legacy postbit), and everyone's disappeared.
|
#10
|
|||
|
|||
Are you sure you added only the banned usergroup?
And the very first code is wrong, it will only display it to banned members. Very wrong, heh. Use the code from this post (ie my other post) |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|