Board Logo

 Username:    Password:    Stay logged in: Welcome Guest. Please Login or Register.  Mar 18th, 2018, 06:38am

Board Hacks
Important News
Please read the notes posted with any codes carefully, as they will usually tell you where they need to go.
Welcome to the Conforums Hacks Board!

All codes here have been tested but we accept no responsibility if these codes do not work on your board, or have an adverse effect when used in combination with other codes.

This board is read only. Any queries or requests for codes should be made on the Coding Forum

Helpful sites
Dynamic Drive

The Staff

« Previous Topic | Next Topic »
Pages: 1  Notify Send Topic Print
 thread  Author  Topic: Different Colored MiniProfile Text for Groups  (Read 4451 times)
I've always wanted one of these wink
Conforums Administrator

member is offline


Mr Fixit...

Homepage PM

Gender: Male
Posts: 17662
xx Different Colored MiniProfile Text for Groups
« Thread started on: Feb 5th, 2004, 3:16pm »

Code submitted by InvaderJello

This code will change the Miniprofile text color depending on the User's Member Group

/*Change MiniProfile Color for Groups by Jello
This code may not be posted anywhere without permission of its creator */
function MiniPro(Group,Color){
var TD = document.getElementsByTagName("TD")
if(TD[t].width=="20%" && TD[t].vAlign=="top"){

//Global Moderator Color is HERE!
if(TD[t].innerHTML.match('stargmod.gif')){var Color="blue"}

var Link = TD[t].getElementsByTagName("A")[0]
Link.innerHTML="<font color='" + Color + "'>" + Link.innerHTML + "</font>"

//Add Titles as needed

MiniPro("New Member","yellow")
MiniPro("Junior Member","orange")
MiniPro("Full Member","pink")
MiniPro("Senior Member","purple")

A few notes.. if you changed your member group names.. change them here too.. make them match.. change the colors as you please... Change the Global Moderator were it says to make that group work right.. if you edited you Global Mod stars.. just change the stargmod.gif to match it...Board Footers...ENJOY!

Preview = Here
User IP Logged

Have you read the FAQ or checked the Hacks board before posting?
Then please do so...
Pages: 1  Notify Send Topic Print
« Previous Topic | Next Topic »

Back To Top
| |

This forum powered for FREE by Conforums ©
Terms of Service | Privacy Policy | Conforums Support | Parental Controls