2014-08-08, 08:30 PM
I am looking to create another newthread.php. Basically when a user makes a post, i want the thread fields to be different for each one. This would be made possible by editing which template it calls for in the file. I have managed that however, if the user forgets to enter a title, or any required field and clicks submit, it will redirect them back to the original newthread.php and alert them saying they need to fill in the information.
So basically I am wondering what code in newthread2.php needs to be edited so it will redirect back to newthread2.php instead of newthread.php
Also, would it be possible to limit the newthread2.php to a specific forum?
Because you could just go to domain.com/newthread2.php?fid=1 or 2 or 3 or 4 etc and you would be given the same new thread page. However I want to make sure that it works only for fid=3.
So basically I am wondering what code in newthread2.php needs to be edited so it will redirect back to newthread2.php instead of newthread.php
Also, would it be possible to limit the newthread2.php to a specific forum?
Because you could just go to domain.com/newthread2.php?fid=1 or 2 or 3 or 4 etc and you would be given the same new thread page. However I want to make sure that it works only for fid=3.