MyBB Community Forums

Full Version: Code this short php file?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
So I have an idea which I will outline, I would do it myself but I really am bad with PHP.

What I need is the following, done for free as I don't have any sort of online currency.

I need a PHP file that has two text boxes and a submit button.
So it should look like the following;
[Image: KFiVK.png]

When Submit is pressed, the php script checks mybb_tableuserfields for the code that is entered, if it finds the code in the table, it inserts the inputted UserID into the mybb_tablebannedusers table. Then displays the message "User remotely banned".

As I said I'm not webmaster savvy so I'm not sure if you need any website specific details so if you do, please put an example down so i cna change it later on.

Thanks in advance Smile

-SG