Script47 Posted December 23, 2013 Share Posted December 23, 2013 I got bored so I coded this, post any bugs on here. Enjoy! Suggestion Box (PasteBin) suggestionBox.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. SQLs You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Slap this link where you want it to show up. Normally in mainmenu.php under line 100. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote Link to comment Share on other sites More sharing options...
Dayo Posted December 23, 2013 Share Posted December 23, 2013 looks good, but i would remove the HTML from before the globals include, may show PHP errors if PHP is set ti display errors, also may mess up the html of there theme Quote Link to comment Share on other sites More sharing options...
Jason-x Posted December 23, 2013 Share Posted December 23, 2013 Nice little script, code could be a little cleaner, quite a few echos You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. but not a bad little addition to a game Quote Link to comment Share on other sites More sharing options...
Script47 Posted December 23, 2013 Author Share Posted December 23, 2013 Nice little script, code could be a little cleaner, quite a few echos You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. but not a bad little addition to a game Personally I have it like that because I think it's cleaner because as it's all separate. Quote Link to comment Share on other sites More sharing options...
Dayo Posted December 23, 2013 Share Posted December 23, 2013 Its pretty much what style of coding you prefer, most of the times i will use only 1 for a blob of text but if it is a large peice of html with multiple divs i will use Multiple echos. Im sure there wont be m,uch speed issues with doing it like this ... well especially for a McCodes game Quote Link to comment Share on other sites More sharing options...
Seker Posted December 23, 2013 Share Posted December 23, 2013 well especially for a McCodes game That's not a very informed statement. 1) A game in general garners lots of clicking and should very much be optimised everywhere you can pull an inch of a KB out. 2) MC, ESPECIALLY, is horribly inefficient straight out of the gate. Quote Link to comment Share on other sites More sharing options...
Djkanna Posted December 23, 2013 Share Posted December 23, 2013 Personally I have it like that because I think it's cleaner because as it's all separate. That's fine, but printing empty strings, why? Quote Link to comment Share on other sites More sharing options...
Script47 Posted December 24, 2013 Author Share Posted December 24, 2013 That's fine, but printing empty strings, why? Empty strings are meant to be <br/> but MWG has an error so it's shows up like that, that's why I put the pastebin link. Quote Link to comment Share on other sites More sharing options...
Djkanna Posted December 24, 2013 Share Posted December 24, 2013 Empty strings are meant to be <br/> but MWG has an error so it's shows up like that, that's why I put the pastebin link. I didn't even check the Pastebin, my fault sorry. :) Quote Link to comment Share on other sites More sharing options...
Uridium Posted December 24, 2013 Share Posted December 24, 2013 Hasn't this been done on several occiasions Quote Link to comment Share on other sites More sharing options...
Script47 Posted December 24, 2013 Author Share Posted December 24, 2013 Hasn't this been done on several occiasions The mod? Erm probably but I've not seen one recently, so I thought why not. Quote Link to comment Share on other sites More sharing options...
benlucraft Posted April 20, 2014 Share Posted April 20, 2014 I seem to be missing the file to add a new suggestion? Quote Link to comment Share on other sites More sharing options...
Script47 Posted April 20, 2014 Author Share Posted April 20, 2014 I seem to be missing the file to add a new suggestion? You can't be, it's all in one file. Quote Link to comment Share on other sites More sharing options...
Newbie Posted April 20, 2014 Share Posted April 20, 2014 line 58 you have a small typo exiit but looks good :) Quote Link to comment Share on other sites More sharing options...
Script47 Posted April 20, 2014 Author Share Posted April 20, 2014 line 58 you have a small typo exiit but looks good :) Thanks, that would have been quite bad if you never pointed it out. :) Quote Link to comment Share on other sites More sharing options...
Newbie Posted April 21, 2014 Share Posted April 21, 2014 no problem :) someone would of noticed it eventually ;) rest of code looks good bit to many echo statements for me but hey everyone does it there own way thanks for the free modification don't get to much free stuff lately. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.