Ragnar Posted June 26, 2008 Share Posted June 26, 2008 Is there any way to force a topic name for a forum thread? You can leave that blank and the thread get's created but...no title = no link to the thread. If not, is there a way to create a title by editing the original post? Giving it a 'Subject' doesn't edit the thread title. Quote Link to comment Share on other sites More sharing options...
Ragnar Posted June 26, 2008 Author Share Posted June 26, 2008 Re: Force a 'Topic Name' in forum thread? replacing function newtopic() { global $ir, $c, $userid, $h, $bbc, $db; $q=$db->query("SELECT * FROM forum_forums WHERE ff_id={$_GET['forum']}"); $r=$db->fetch_row($q); with function newtopic() { global $ir, $c, $userid, $h, $bbc, $db; $q=$db->query("SELECT * FROM forum_forums WHERE ff_id={$_GET['forum']}"); $r=$db->fetch_row($q); if(strlen($_POST['ft_name']) < 4) { die("Add a title."); } in forums.php did it. Quote Link to comment Share on other sites More sharing options...
Akash Posted June 26, 2008 Share Posted June 26, 2008 Re: Force a 'Topic Name' in forum thread? Also Ragnar...with your way, we could simply add 4 spaces, which would make a title...like this: :) 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.