PHPBB2 Related!
I feel real stupid asking this, especially considering the flaming hoops I jumped through today. I thought I could figure it out, but alas, I suck, so help is what I will now rely on.
Summary of my need(s);
I am doing a World of Warcraft site for our guild. The forums are working just fine, and all is well.
Problem is we have a lot of members, and many of them are kids that like to invite friends to register on the site that are not actually in the guild, so I came up with a solution.
Within the game, I wrote an addon that pulls guild information, including members, and a lot of other fields for each member. I took that savedvariable file and uploaded it to my site. Using that file, I parsed it and converted it to a PHP array. Now there, that data was used to populate a database for our roster information. It works great!
Now, I want to use that database to compare the new member's username with during registration. If there is nothing found in the Guild Roster database, that means they aren't a member, and deny the registration. I just can't figure how to wedge that into the usercp_register.php file. Can anyone help me with this?
I don't need complete code. Obviously, if I populated my Guild Roster database, and used it to check to see if the record existed, I have what I need to access that database, and use the information in it. All that work is done. I just need to know how I can block registration if there isn't the register candidate's username in my Guild Roster database, and maybe direct to a page that states why they were not allowed.
I hope I gave enough information for someone to suggest what I need to do.
Thanks again for all the help. I try not to ask unless I'm hopelessly stuck.
Hop