waynew Posted March 2, 2009 Share Posted March 2, 2009 As mentioned in another topic, I'm modding a MyBB forum for a client. Now, the editing of the HTML has gone fine, however, I'm a little bit iffy when it comes to editing the backend. Basically, I need to create a few more textfields on the New Thread that will allow the user to enter in: Year, Make, Model, Engine Size, Auto/Man Trans & Mileage. Now, I figured that the best way was to avoid messing around with the database and just concactenate those textfields onto the main thread message, which comes front a textarea called 'message'... Anyway, here is the PHP for posting a new thread. Can anyone find the place where the code grabs the text from the textarea? I see multiple occasions where the variable 'message' is being used but I'm pretty unsure about where I should join it with my custom fields. You can view the code here Quote Link to comment https://forums.phpfreaks.com/topic/147564-solved-adding-new-fields-to-new-thread-page/ Share on other sites More sharing options...
waynew Posted March 2, 2009 Author Share Posted March 2, 2009 Should I just join the strings at the very top of the file? Quote Link to comment https://forums.phpfreaks.com/topic/147564-solved-adding-new-fields-to-new-thread-page/#findComment-774650 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.