View Single Post
  #9  
Old 08-13-2009, 09:40 PM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
Quote:
Originally Posted by Ronnie View Post
Quick Note:
Not sure if this is just an error on my side, but I found out that if you have an already global guild name, and try to check a guild name that isnt the same case as one of the global guilds stored but is the same exact text, It will say it is not a global guild.

I.e say I use btk and see if it is a global guild (The case is actually BTK)
It will return as no it's not a global guild.
If don't want it to be case sensitive replace the originals up top with these functions:

PHP Code:
function onRecordGuild(gidgname) {
  
this.("guildid_" gid) = gname.lower();
  
this.("guildname_" gname.lower()) = gid;
}

public function 
getGuildID(gname) {
  return 
this.("guildname_" gname.lower());

You'll have to reset the DB and let it reload the guild lists though.
__________________
Quote:
Reply With Quote