Welcome Guest [Log In] [Register]
  • Pages:
  • 1
Remove 'Forum led by: ...' text
Topic Started: Jul 19 2004, 07:14 PM (5,786 Views)
Stefan
Member Avatar

Code:
 
<script type='text/javascript'>
<!--
// remove 'Forum led by:...'
// code by ticlo, http://ifsz.net/

e = document.getElementsByTagName('SPAN')
for (n = 0; n < e.length; n++) {
if (e[n].className == 'desc') {
as = e[n].getElementsByTagName('A')
for (i = 0; i < as.length; i++) {
a = as[i].previousSibling
if (a &&
    a.nodeName == '#text' &&
    a.nodeValue.match(/Forum Led by:/) &&
    a.previousSibling &&
    a.previousSibling.nodeName == 'BR') {
p = a.parentNode
for (a = a.previousSibling; a.nextSibling;) p.removeChild(a.nextSibling)
p.removeChild(a)
break
}}}}
// -->
</script>

If you have moderators assigned to a forum, the forum description will show something like this:
Quote:
 
Forum Led by: somemoderator

If you don't want this, put this code in Admin CP->Board Wrappers->Header & Body directly after the <% BOARD %> thing, and it will be removed

Preview
deviantART | last.fm | flickr | photoblog
Goto Top
 
Stefan
Member Avatar

Thank You

Your modification(s) have been reviewed and successfully processed. They will now be moved to the Javascript Database forum.

Thank you for your contribution to the Skin Zone and we urge you to keep on creating more excellent modifications.

Skin Zone Modifications Team
deviantART | last.fm | flickr | photoblog
Goto Top
 
ARMS
Unpacked
lol he did it again
When I was a kid I used to pray every night for a new bike. Then I realized that The Lord doesn't work that way, so I stole one and asked him to forgive me
You can find more of my topics @
MY SITE

All songs have Hardcore potential, just get it right!
Goto Top
 
LordAdriel
New Member
eek it's javascript...

do you know if there's a way to change it so only like 1 out of 3 members is listed there?
Goto Top
 
Stefan
Member Avatar

LordAdriel
Jul 21 2004, 08:53 PM
eek it's javascript...

do you know if there's a way to change it so only like 1 out of 3 members is listed there?

:lol: Scary, eh?

One specific member, or the first, or....
Can you give some more detail on how you want it?

@ARMS: you're spamming. Don't do that or you'll be warned.
deviantART | last.fm | flickr | photoblog
Goto Top
 
xTREME gAMER DBGTFAN
TZ Obsessed
hey u moved it youreself.
Anyway I love that code :lol:
DELETE THIS ACCOUNT YOU MOTHER****ERS!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Goto Top
 
Ryan
Member Avatar
dood
Congratulations!

Your modification(s) have been reviewed and successfully processed. They will now be moved to the Top Rated forum.

Thank you for your contribution to the Skin Zone and we urge you to keep on creating more excellent modifications.

Skin Zone Modifications Team
Discover new music at Last.fm
Join the IF Skin Zone on Whatpulse
Posted Image
Goto Top
 
mattd89
New Member
Nice code ticlo, I like it :)
Goto Top
 
digz
Member Avatar
Want to be a sex bunny?
thank you so much for this one :D
My Portfolio
Posted Image
Goto Top
 
nsu
New Member
How are members meant to know who is moderating each forum, without going to the moderating team page?
Goto Top
 
Cigil
Member Avatar
TZ Frequent
nice, i like how you ajusted it to our staff and regulars and visitors, that was cool
Posted Image
God doesn't exist? Look at the human body, work of science? Or of a wonderful creator
Goto Top
 
the alagala
Unpacked
ooh this is a nice one...always have wanted to remove that dumb thing
Goto Top
 
Skorpfly
TZ Addict
Thanks i really needed this :)
Spoiler: click to toggle
Goto Top
 
canucks_fan
Member Avatar
Settled In
How do I just change the text?
Instead of " Forum Lead by" make it "Moderators"
Posted Image
NHL CENTRAL- Premier NHL Discussion Forum
Goto Top
 
Versis
Member Avatar
squeee
It doesnt work on IPB 2.0 think you can change it somehow to work on it? You would think it would work its based on the same coding and all
www.TutorialCreate.com - Tutorial Management Script, get this affordable script and become a big competitor with sites such as Good Tutorials, Pixel2Life, Greycobra and other big name sites!

If you build it...The tutorials will come!
Goto Top
 
chawk
Member Avatar
aka Kman / Xanthom
thanks, i used this :0
Posted Image

My former username here and on other template design sites was Kman, but for several reasons I have changed it on the SZ to chawk. If you have one of my skins and the copyright is still addressed to Kman, it would be great if you could change the copyright holder from "Kman" to "chawk". Thanks.
Goto Top
 
Hero of Dreams
1 Peter 3:15
Great code Stefan :D
I'm using it on my forum! It's very helpful, thanks and goodjob B)
Posted Image
Goto Top
 
Blackx10
New Member
It's a very cool code and is useful to me just now.
Thanks :D
Curiosity killed the Kat.
Goto Top
 
UltraMegaGigaBowser
Unpacked
WORKS 4 ME!!! NICE CODE!!!! B)
Birdies... PARROTS!!!
R U Gullible? Well we have a great new formula that can fix that!!! Just send $1000 to...

Did you know that Neptune is made of Methane Gas and would blow up if you droped a match on it?
<img src="http://img194.echo.cx/img194/4516/bowser1de.jpg" border="0" width="610" alt="Image Hosted by ImageShack.us" />

Goto Top
 
Fire_Spinner
Dangerous
Nice code, thanks.
Posted Image

I have a Skin Maintitle ready for GFX-PP all I need now is someone to do the rest of the skin, PM me if interested, thanks.
Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
Go to Next Page
« Previous Topic · Codes & Modifications · Next Topic »
  • Pages:
  • 1