Log in

View Full Version : How do I shut off the "subject" line being repeated in the 1st post?


dwh
07-08-2001, 01:06 AM
With the feature of adding a "reply" subject in posts, now even the first post has the subject displayed, I'd like to remove it and only show it on the "thread bar" above the posts.... THEN if someone has a "reply subject", I want it to show on THAT post.

dwh
07-08-2001, 01:07 AM
:o

dwh
07-08-2001, 01:07 AM
see what I mean? The subject is on the navbar already, I don't need it on post number 1...thanx.

The Prohacker
07-08-2001, 02:01 AM
Ok, as you seen when you didn't reply with a subject it just didn't show up, so in the template:
newreply

Find:

<tr>
<td bgcolor="{secondaltcolor}"><normalfont><b>Post subject:</b></normalfont></td>
<td bgcolor="{secondaltcolor}"><normalfont><input type="text" class="bginput" name="title" value="$title" size="40" maxlength="85" tabindex="1"></normalfont> <smallfont>(Optional)</smallfont></td>
</tr>



Now before the <tr> put a <!-- so it looks like <!-- <tr> and put a --> after the </tr>, so it looks like this </tr> -->


This will just feed a null topic to the php and not allow users to see the subject input...

dwh
07-08-2001, 02:53 AM
I didn't explain myself properly.

I don't want to show it on post 1.

I DO want to show it on post 2-3-4 and so on...

Freddie Bingham
07-08-2001, 03:59 PM
Change this line in newthread.php $DB_site->query("INSERT INTO post (postid,threadid,title,username,userid,dateline,at tachmentid,pagetext,allowsmilie,showsignature, ipaddress,iconid,visible) VALUES (NULL,'$threadid','".addslashes(htmlspecialchars($subject))."','".addslashes($postusername)."','$bbuserinfo[userid]','".time()."','$attachmentid','".addslashes($message)."','$allowsmilie','$signature','$ipaddress','$iconi d','1')"); to $DB_site->query("INSERT INTO post (postid,threadid,username,userid,dateline,attachme ntid,pagetext,allowsmilie,showsignature, ipaddress,iconid,visible) VALUES (NULL,'$threadid','".addslashes($postusername)."','$bbuserinfo[userid]','".time()."','$attachmentid','".addslashes($message)."','$allowsmilie','$signature','$ipaddress','$iconi d','1')");

dwh
07-09-2001, 06:37 AM
It worked excellent. Now if only the "replytopic" was included in the moderator emails, this feature would be complete in my eyes. :D