Jump to content
MakeWebGames

Recommended Posts

Posted

Couldnt think of any other name for the subject other than usernames..

How many links like these do you think are scattered around your scripts

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

and when your viewing your userlist everyones name is the same colour which kinda makes it hard to decipher whos who...

Insert the code below into your global_func.php file and you can now make like easier for yourself

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Now when you come across a statement like

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

change it to

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

It will also colour co-ordinate the user so other users can see whos an ADMIN, SEC, MOD, or NPC and those that have donator days you can change the colours as you wish..

Posted

as ive never had the need for a SEC or MOD on my test site im not sure what the actual user_level is so if someone could post up the user_level numbers with what they are for it would be great,,,

i know

0 = NPC

1 = User

2 = ADMIN

not sure about rest

Posted

Not really jordan you have to concider how many files link back to a users profile this method will insert the url for the user in one move

". finduser($r[userid]) ."

so when ever you have a mention of say $username by adding the above it will instantly become a link

Posted

This is a nice idea, I'd use something along these lines though,

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

*Forgive any error, half asleep but you get the idea.

You could also add Gang Tag support within it too :/

Anyway nice one Illusions.

Posted

I think the only difference with mine apart from DJ's is if a users account gets deleted from the system instead of an error for that user appearing it will class his/her link as Invalid User and their name becomes unclickable without the need of an if statement in any pages that try to locate users. just cleans things up a bit more and saves hassle later on,

  • 6 months later...
Posted
Look in staff list, nothing about irc mods, no irc, why would it have irc mods then :S

From staff_special.php

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

I have no idea why...

Posted

LMAO danny you actually though 4 was just nothing? Don't think anyone would of thought it wasn't used...

IRC op/Mod i've known that since i started working with mc because i familiarised myself with the script and functions immediately...

Nice work dom;)

Love your version DJK similar to mine on CG

Posted

I too familerized myself with mccodes, but were not all gods like you are we paul -.-

Also, I knew it was something, just seems pointless. even games with an irc wont use the userlevel 4.

Posted

Gods... :P nice thanks lol

well user_level 4 would only notify people on game that the user is a irc mod in irc... pointless really because they would only have authority in irc chat but still it's there get over it :)

Posted

There is afew things in Class which isn't used ie: microtime, start_clock, stop clock, unhtmlize, nohtml, easy_insert and afew more but they could be used if people actually looked at it some of the functions could be good

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...