[2.0.13] No Subject Mod

The cleanup is complete. This forum is now read only.

Rating:

Excellent!
2
50%
Very Good
0
No votes
Good
0
No votes
Fair
1
25%
Poor
1
25%
 
Total votes: 4

User avatar
James78
Registered User
Posts: 811
Joined: Sat Jul 30, 2005 4:54 pm
Location: Washington, USA
Contact:

Re: [2.0.13] No Subject Mod

Post by James78 » Tue Nov 22, 2005 3:24 am

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)

Peter77sx
Registered User
Posts: 3257
Joined: Wed Nov 09, 2005 2:51 pm

Post by Peter77sx » Tue Nov 22, 2005 6:44 am

Great MOD. 8)

User avatar
tarotamerica
Registered User
Posts: 230
Joined: Thu Feb 22, 2007 10:30 am
Contact:

Re: [2.0.13] No Subject Mod

Post by tarotamerica » Fri Sep 07, 2007 9:56 am

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.
Coincidences are God's way of remaining anonymous
—Albert Einstein

kulinar
Registered User
Posts: 651
Joined: Thu Feb 17, 2005 7:31 pm
Contact:

Re: [2.0.13] No Subject Mod

Post by kulinar » Fri Sep 07, 2007 10:40 am

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.

User avatar
tarotamerica
Registered User
Posts: 230
Joined: Thu Feb 22, 2007 10:30 am
Contact:

Re: [2.0.13] No Subject Mod

Post by tarotamerica » Sat Sep 08, 2007 12:59 am

Thank you! That works.
Coincidences are God's way of remaining anonymous
—Albert Einstein

Post Reply

Return to “[2.0.x] MOD Database Cleanup”