How to disable postprofile for a certain rank?
2 posters
Page 1 of 1
How to disable postprofile for a certain rank?
Hello guys, I was just wondering if it's possible to disable postprofile for a certain rank? Not a group please.
Any help would be appreciated, thanks!
My Forum: http://www.thelosteden.com/
Forum Version: Invision
Any help would be appreciated, thanks!
My Forum: http://www.thelosteden.com/
Forum Version: Invision
Last edited by yayayes on November 9th 2014, 9:01 am; edited 1 time in total
yayayes- Forumember
- Posts : 49
Reputation : 1
Language : Thai
Location : Bangkok, London & Hong Kong
Re: How to disable postprofile for a certain rank?
Hello yayayes,
So, for example : If someone has the rank "New" they would not have profile fields ?
So, for example : If someone has the rank "New" they would not have profile fields ?
Re: How to disable postprofile for a certain rank?
Hello Ange Tuteur and yes! I was thinking of "Admin". Do you think it's possible?
yayayes- Forumember
- Posts : 49
Reputation : 1
Language : Thai
Location : Bangkok, London & Hong Kong
Re: How to disable postprofile for a certain rank?
Of course ! I have a question for the rank :
Are you using text or an Image for the rank, and could you provide the Image/Text ?
Thanks
Are you using text or an Image for the rank, and could you provide the Image/Text ?
Thanks
Re: How to disable postprofile for a certain rank?
It's: <span class="admin"></span>
I put this as a name for the rank with no image.
I put this as a name for the rank with no image.
yayayes- Forumember
- Posts : 49
Reputation : 1
Language : Thai
Location : Bangkok, London & Hong Kong
Re: How to disable postprofile for a certain rank?
Okay, try this :
Administration Panel > Modules > JavaScript codes management > Create a new script
Title : Your choice
Placement : In the topics
Paste the code below :
Administration Panel > Modules > JavaScript codes management > Create a new script
Title : Your choice
Placement : In the topics
Paste the code below :
- Code:
$(function(){$('.postprofile:has(.admin)').find('dd:has(.label)').css('display','none')});
Re: How to disable postprofile for a certain rank?
It doesn't work.. sorry
yayayes- Forumember
- Posts : 49
Reputation : 1
Language : Thai
Location : Bangkok, London & Hong Kong
Re: How to disable postprofile for a certain rank?
Try replacing it with this :
- Code:
$(function(){$('.postprofile:has(.admin)').find('div:has(.label)').css('display','none')});
Re: How to disable postprofile for a certain rank?
Now it's working. Thanks Ange Tuteur! ><b
yayayes- Forumember
- Posts : 49
Reputation : 1
Language : Thai
Location : Bangkok, London & Hong Kong
Similar topics
» How to disable postprofile and both Avatar for certain Rank.
» Link Field in Postprofile
» Profile Fields Variables for Postprofile
» How to center link in postprofile?
» phpBB3 postprofile border
» Link Field in Postprofile
» Profile Fields Variables for Postprofile
» How to center link in postprofile?
» phpBB3 postprofile border
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum