Ragnar Posted June 26, 2008 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
Ragnar Posted June 26, 2008 Author 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
Akash Posted June 26, 2008 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
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.