Welcome Guest [Log In] [Register]
We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
How to remove the portal link
Topic Started: May 8 2009, 04:22 PM (337 Views)
Im STUPID
Member
 *   *  
i know there's a code out that does this
Offline Profile Quote Post Goto Top
 
~kato~
Member Avatar
A.K.A Mankato
 *   *   *   *   *   *   *  
Try this code.
Offline Profile Quote Post Goto Top
 
Im STUPID
Member
 *   *  
doesnt work
Offline Profile Quote Post Goto Top
 
GopherIce
Member Avatar
Member
 *   *  
This goes in Header & Body below <% BOARD HEADER %>

Quote:
 
<script type='text/javascript'>
<!--
// remove portal link
// code by Stefan

e = document.getElementById('submenu')
if (e && e.tagName == 'TABLE') {
e = e.rows[0].cells[0].getElementsByTagName('A')
for(n = 0; n < e.length && !e[n].href.match(/act=site/); n++);
if (e[n]){
pnt = e[n].parentNode;
for (nod = e[n].previousSibling; nod && nod.tagName != 'A'; nod = nod.previousSibling);
for (;nod.nextSibling && nod.nextSibling.tagName != 'A'; pnt.removeChild(nod.nextSibling));
pnt.removeChild(nod.nextSibling)
}}

// -->
</script>
Offline Profile Quote Post Goto Top
 
~kato~
Member Avatar
A.K.A Mankato
 *   *   *   *   *   *   *  
Im STUPID
May 8 2009, 09:33 PM
doesnt work
If you read the whole post you would have seen the code that works.
It was listed below the first code.
Offline Profile Quote Post Goto Top
 
GopherIce
Member Avatar
Member
 *   *  
Oops...I hope that I did not overstep your reply kato. I just posted the code that I use on my boards and it happens to be the exact one that you directed stupid to go to.
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · zIFBoards Support & Galleries · Next Topic »
Add Reply