MyBB Community Forums

Full Version: Homeade MyPlaza Mod Gone Bad
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Well, my file is apparently bad, as it knocked out the plugins system.
MyBB v1.4.11
So I was wondering if someone could look at it for me.

It's a script that should make a few input boxes, and then uses the get method to make a url for them to send me.
Then I just take out of the URL what would be in the text box, and I go from there.

The point of the script is to make a site for users, and the textboxes allow me to know what to do.

http://www.jammingames.uk.to/forum
This should be in Plugin & Code Modification's sub-forum Discussion & Support.
Nevermind, I just decided not to do a form since that appeared like it was not going to work at all.
Yeah, you're thinking far too simplistically.
// this function handles what is done when buying an item
function simpledemo_run($item) {
	// add 1000 to the user's post count :)
	global $mybb;
	
	<form action="index2.html" method="get">
	Forum Name <input type="text" name="fname" />
	SiteName <input type="text" name="name" />
	Main Color <input type="text" name="main" />
	Secondary Color <input type="text" name="second" />
	Type of Site <input type="text" name="type" />
	<input type="submit" />
	</form>
	<p>Send the URL given to you as a PM to Br3aklngS0uI</p>
	
	return true;
	
	?>
Unfortunately, you can't mix PHP and HTML like that. Plus you need some back-end handling feature, which you haven't defined anywhere, unless it happens to be handled by index2.html (somehow).