If you are seeing this message, it is possible the page did not load properly. Please hit reload/refresh on your browser.
If you still see this message, you probably do not have a browser that supports web standards, although its content is accessible to any browser or Internet device.

Cool Tips & Tricks Cool Tips & Tricks

Help Communities:
Help Forums Bug Base
<< Prev Topic | Next Topic >>
Cool Tips & Tricks ::: Javascripts and Java ::: I have a question about the Admin/Mod/Regular code...
New Topic    Add Reply
Topic: I have a question about the Admin/Mod/Regular code...  (?)  Click to receive email notification of replies Click to stop receiving email notification of replies email this topic to a friend
Jared Damodred

Registered User
Posts: 1
Posted: 12/6/05 12:23 am    
I have a question about the Admin/Mod/Regular code...
p079.ezboard.com/fcooltip...=102.topic

I was wondering if it was possible to change that code so that all it will do is tell you when an admin or Mod is on the board but doesn't doany color changes. I would like a code like that because I already have a Glow Code on my site and I like it but this code overrides it. If you could help that would be a big help.

Thanks,
Jason

P.S.
Here is a link to my site in case you want to see it.

p100.ezboard.com/bshadowswaiting52772


  reply to this message

Nutrocker

ezboard Moderator
ezSupporter
Posts: 16633
Posted: 12/6/05 3:25 pm    
Re: I have a question about the Admin/Mod/Regular code...
Hello and welcome.

So, all you want is...

Quote:
Administrators (1 Now Online!) - Moderators (1 Now Online!)


That bit?

One of the Javascript experts might be able to assist with this, I have not got the skills to edit the script to work the way you want.


  reply to this message

Jared Damodred

Registered User
Posts: 2
Posted: 12/6/05 5:44 pm    
Re: I have a question about the Admin/Mod/Regular code...
Yeah,that is all I want.

I hope someone can. I'd be grateful for the help.:)


  reply to this message

chrish18

Registered User
ezSupporter
Posts: 2296
Posted: 12/7/05 12:38 pm    
Re: I have a question about the Admin/Mod/Regular code...
Just change these two lines at the beginning of the script
 
adminDesc = "<font color=\"" + adminColor + "\"><b>" + adminDisplay + "</b></font>";

modDesc = "<font color=\"" + modColor + "\"><b>" + modDisplay + "</b></font>";
to
 
adminDesc = "<b>" + adminDisplay + "</b>";

modDesc = "<b>" + modDisplay + "</b>";
If you dont want custom names via this script remove these two lines (not next to each other, but they are in close proximity)
 
dl[k].innerHTML = "<font color=\"" + modColor + "\"><b>" + modNames[j] + "</b></font>";

dl[k].innerHTML =  "<font color=\"" + adminColor + "\"><b>" + adminNames[l] + "</b></font>";
Or replace them with this to disable the colours
 
dl[k].innerHTML = "<b>" + modNames[j] + "</b>";

dl[k].innerHTML =  "<b>" + adminNames[l] + "</b>";


  reply to this message

Jared Damodred

Registered User
Posts: 3
Posted: 12/7/05 7:42 pm    
Re: I have a question about the Admin/Mod/Regular code...
Alright,thank you very much.I have put the code in and made the changes and it is working perfectly.

Thank you again,
Jason


  reply to this message

Click to receive email notification of replies Click to stop receiving email notification of replies email this topic to a friend

New Topic    Add Reply

jump to:
Topic Control Image::: Topic Commands
<< Prev Topic | Next Topic >>

Icon Legend

reply button:::Reply to Post Button   edit button:::Edit Post Button  delete button:::Delete Post Button (Moderator Only)

subscribe/unsubscribe to thread button:::Subscribe to Thread Button   email to friend button:::Email to Friend Button  



- Cool Tips & Tricks - Javascripts and Java -

Communitiesezboard Help Communities:

Help Forums Help Forums Bug Base Bug Base





Powered By ezboard® Ver. 7.32
Copyright ©1999-2007 ezboard, Inc.