How to disable postprofile and both Avatar for certain Rank.
3 posters
Page 1 of 1
How to disable postprofile and both Avatar for certain Rank.
Come along with This problem of yayayes has been solved.
Is there anyway that I can disable not only postprofile but everything.
People with a certain Rank will be disable everything, the only thing appears now is their Rank.
Please help.
Edit: My forum using phpBB2
Is there anyway that I can disable not only postprofile but everything.
People with a certain Rank will be disable everything, the only thing appears now is their Rank.
Please help.
Edit: My forum using phpBB2
Last edited by Yuushishio on November 12th 2014, 7:58 pm; edited 1 time in total
Re: How to disable postprofile and both Avatar for certain Rank.
Hello,
Try to use this CSS code.
Try to use this CSS code.
- Code:
.postdetails {
display: none;
}
Re: How to disable postprofile and both Avatar for certain Rank.
Hi there, thanks for your helping, but that not what I want.
Changing CSS like that I'll disable all the members, but I only want it happens to certain member according to their Ranks
Just like the same as yayayes and problem I mentioned above.
Changing CSS like that I'll disable all the members, but I only want it happens to certain member according to their Ranks
Just like the same as yayayes and problem I mentioned above.
Re: How to disable postprofile and both Avatar for certain Rank.
Hello Yuushishio,
Could you provide a link to your forum and the rank title you want to achieve this ?
Thanks
Could you provide a link to your forum and the rank title you want to achieve this ?
Thanks
Re: How to disable postprofile and both Avatar for certain Rank.
Here is my forum
http://sharetheworld.forumvi.com/
The Rank tittle I want to achieve this is Blackout
I use
http://sharetheworld.forumvi.com/
The Rank tittle I want to achieve this is Blackout
I use
- Code:
<b>Blackout</b>
Re: How to disable postprofile and both Avatar for certain Rank.
Replace your rank title by this :
Then go to Administration Panel > Modules > JavaScript codes management > Create a new script
Title : Your choice
Placement : In the topics
Paste the code below and submit :
Also, there is an error coming from one of your scripts. Find this in JS management :
and remove it, or replace it by this :
Otherwise, the script I gave you may not function properly.
- Code:
<b class="blackout">Blackout</b>
Then go to Administration Panel > Modules > JavaScript codes management > Create a new script
Title : Your choice
Placement : In the topics
Paste the code below and submit :
- Code:
$(function(){ var a = '.postdetails.poster-profile:has(.blackout)'; $(a).css('display','none'); $(a).find('.blackout').insertBefore(a) });
Also, there is an error coming from one of your scripts. Find this in JS management :
- Code:
<script language=JavaScript><!--var message="Tắt RC";function clickIE4(){if(event.button==2){alert(message);return false}}function clickNS4(e){if(document.layers||document.getElementById&&!document.all){if(e.which==2||e.which==3){alert(message);return false}}}if(document.layers){document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS4}else if(document.all&&!document.getElementById){document.onmousedown=clickIE4}document.oncontextmenu=new Function("alert(message);return false")</script>
and remove it, or replace it by this :
- Code:
$(function() {
var message="Tắt RC";function clickIE4(){if(event.button==2){alert(message);return false}}function clickNS4(e){if(document.layers||document.getElementById&&!document.all){if(e.which==2||e.which==3){alert(message);return false}}}if(document.layers){document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS4}else if(document.all&&!document.getElementById){document.onmousedown=clickIE4}document.oncontextmenu=new Function("alert(message);return false")
});
Otherwise, the script I gave you may not function properly.
Re: How to disable postprofile and both Avatar for certain Rank.
Thank you so much for your help.
I've already removed the error code.
Second, I've applied your code for disable, but it only disable the postprofile. Will you please help me disable both Avatar and Username too?
I've already removed the error code.
Second, I've applied your code for disable, but it only disable the postprofile. Will you please help me disable both Avatar and Username too?
Re: How to disable postprofile and both Avatar for certain Rank.
Replace the script by this :
- Code:
$(function(){ var a = '.postdetails.poster-profile:has(.blackout)'; $(a).css('display','none'); $(a).find('.blackout').insertBefore(a); $('.blackout').parent().find('*:not(.blackout)').css('display','none'); });
Re: How to disable postprofile and both Avatar for certain Rank.
YES! Thank you very much!
It succeeded perfectly!
It succeeded perfectly!
Re: How to disable postprofile and both Avatar for certain Rank.
You're welcome
Topic archived
Have a nice day.
Topic archived
Have a nice day.
Similar topics
» How to disable postprofile for a certain rank?
» center avatar, rank title and rank image phpbb3
» Phbb2 Edit Rank/Rank Image Below Avatar?
» How to place the avatar rank(badge) above the avatar?
» Disable Avatar
» center avatar, rank title and rank image phpbb3
» Phbb2 Edit Rank/Rank Image Below Avatar?
» How to place the avatar rank(badge) above the avatar?
» Disable Avatar
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum