ashkir Full Member
Posts: 1,159 Status: Offline Gender: Male Location: Cali! Age: 35 Joined:
pmskypemsnyahoo | Remove mini profile. (17th Feb 11 at 8:52am UTC) | | Hi. I'd like to be able to remove mini profiles from certain boards. Anyone have a script to do this? | |
|
Nick Very Senior Member
Posts: 3,012 Status: Offline Gender: Male Location: vForums Age: 34 Joined:
pmwww | Re: Remove mini profile. (19th Feb 11 at 2:27pm UTC) | | Try this:
<style type="text/css"> <!-- .mini-profile{ display:none; } //--> </style>
It goes in the Global Header, and it has been tested. | |
|
Michael Moderator
Recoding the future Posts: 4,043 Status: Offline Gender: Male Location: UK Joined:
Additional Groups: Coding Team
pmvForum | Re: Remove mini profile. (20th Feb 11 at 2:47am UTC) | | Don't use that, as it doesn't take into account the colSpans of some of the cells...
You could use:
<script> if(location.href.match(/view_topic/)) for(d = get('mini-profile', 'class'), i = 0; i < d.length; i++){ d[i].style.display = 'none'; d[i].nextSibling.colSpan = '2'; } </script>
[Not tested] ...
Use in Board Footer. | |
|
Nick Very Senior Member
Posts: 3,012 Status: Offline Gender: Male Location: vForums Age: 34 Joined:
pmwww | Re: Remove mini profile. (20th Feb 11 at 3:33am UTC) | | Tested it, doesn't work. Check thread I posted above.
edit: But I do see what my code does, it also takes away the Signature too. | |
|