vForums Support > Programming & Coding :: Code Requests & Support :: > Remove mini profile.

Remove mini profile. - Posted By ashkir (ashkir) on 17th Feb 11 at 8:52am
Hi. I'd like to be able to remove mini profiles from certain boards. Anyone have a script to do this?

Re: Remove mini profile. - Posted By Nick (nickb) on 19th Feb 11 at 2:27pm
Try this:

<style type="text/css">
<!--
.mini-profile{
display:none;
}
//-->
</style>

It goes in the Global Header, and it has been tested. {Smile}

Re: Remove mini profile. - Posted By Michael (wrighty) on 20th Feb 11 at 2:47am
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.

Re: Remove mini profile. - Posted By Nick (nickb) on 20th Feb 11 at 3:33am
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. {Unsure}