Page 2 of 2

Re: [2.0.13] No Subject Mod

Posted: Tue Nov 22, 2005 3:24 am
by James78
kulinar wrote:
MOD Database Manager wrote:MOD Description: This mod simply changes blank post subjects to '(No subject)'
Is it possible instead of 'No subject' to be displayed the subject of the first post?

No, the subject of the first post is the subject on the topic (the link you click on when viewing a forum to see that topic)

Posted: Tue Nov 22, 2005 6:44 am
by Peter77sx
Great MOD. 8)

Re: [2.0.13] No Subject Mod

Posted: Fri Sep 07, 2007 9:56 am
by tarotamerica
I have searched the database for about an hour for a similar MOD I think I have seen where the default subject, when left blank, would be the Topic Title.

Anyone seen it or know where I can find it?

This one works fine by the way.

Re: [2.0.13] No Subject Mod

Posted: Fri Sep 07, 2007 10:40 am
by kulinar
This is not exactly a mod, but it is what you serach for:

Code: Select all

OPEN
viewtopic.php

FIND
$post_subject = ( $postrow[$i]['post_subject'] != '' ) ? $postrow[$i]['post_subject'] : '';

REPLACE WITH
$post_subject = ( $postrow[$i]['post_subject'] != '' ) ? $postrow[$i]['post_subject'] : $topic_title;
Cheers.

Re: [2.0.13] No Subject Mod

Posted: Sat Sep 08, 2007 12:59 am
by tarotamerica
Thank you! That works.