Disable subject field for replies

Looking for a MOD? Have a MOD request? Post here for help. (Note: This forum is community supported; phpBB does not have official MOD authors)
Get Involved
Locked
Amezis
Registered User
Posts: 116
Joined: Sun Jul 24, 2005 9:10 am
Location: Oslo, Norway
Contact:

Disable subject field for replies

Post by Amezis »

I really don't need the subject field for replies. Is there a way to hide it when users post new replies, quote posts and edit their replies? The subject field must be visible when editing the first post in a topic, but not replies.

Any advice would be good. I could write a mod for it myself, but it must be possible to edit the topic's title, and I can't figure out how to disable the field for editing replies while still displaying it when editing the first post in a topic.
Amezis

Wise men talk because they have something to say; fools, because they have to say something. -Plato
User avatar
Locou
Registered User
Posts: 80
Joined: Wed Apr 30, 2008 11:47 am
Location: Germany

Re: Disable subject field for replies

Post by Locou »

I'm looking for the same mod. ;)
Amezis
Registered User
Posts: 116
Joined: Sun Jul 24, 2005 9:10 am
Location: Oslo, Norway
Contact:

Re: Disable subject field for replies

Post by Amezis »

Great to see that there are other people with the same problem. Somebody surely must have made a mod for it already?
Amezis

Wise men talk because they have something to say; fools, because they have to say something. -Plato
User avatar
ProAktiv
Registered User
Posts: 30
Joined: Thu Oct 02, 2008 11:44 am

Re: Disable subject field for replies

Post by ProAktiv »

I am joining you with this request.

Regards
Rudolf
Agent F
Registered User
Posts: 201
Joined: Fri Sep 15, 2006 3:28 am
Location: phpbb_users

Re: Disable subject field for replies

Post by Agent F »

It's not exactly what you're looking for, but maybe it can help you out. Knowledge Base - Remove RE: from replies That way, all the replies in the thread will by default have the same subject as the first post of the thread.
Image
User avatar
ProAktiv
Registered User
Posts: 30
Joined: Thu Oct 02, 2008 11:44 am

Re: Disable subject field for replies

Post by ProAktiv »

Dear fellow sufferers,

I tried to hide the subject field like this in theme/content.css:

Search for

Code: Select all

.postbody h3 {
	/* Postbody requires a different h3 format - so change it here */
	font-size: 1.5em;
	padding: 2px 0 0 0;
	margin: 0 0 0.3em 0 !important;
	text-transform: none;
	border: none;
	font-family: "Trebuchet MS", Verdana, Helvetica, Arial, sans-serif;
	line-height: 125%;
}
Change font-size to 0.0em and you are done!

Maxbe this solution works for you as well.

Regards
Rudolf
User avatar
EnjoyNIRVANA!
Registered User
Posts: 376
Joined: Mon Apr 18, 2005 12:57 pm
Location: Germany
Contact:

Re: Disable subject field for replies

Post by EnjoyNIRVANA! »

For prosilver:

Open posting_editor.html

FIND

Code: Select all

<!-- IF S_POST_ACTION or S_PRIVMSGS or S_EDIT_DRAFT -->
AFTER ADD

Code: Select all

<!-- IF S_NEW_MESSAGE or S_EDIT_POST or S_PRIVMSGS -->
FIND

Code: Select all

<!-- IF S_CONFIRM_CODE -->
BEFORE ADD

Code: Select all

<!-- ENDIF -->
Last edited by EnjoyNIRVANA! on Wed Feb 25, 2009 3:00 pm, edited 1 time in total.
User avatar
RMcGirr83
Former Team Member
Posts: 21688
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: Disable subject field for replies

Post by RMcGirr83 »

FWIW, that will also affect PM's (eg no subject if not new or edit).
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then buy me a beerImage
User avatar
EnjoyNIRVANA!
Registered User
Posts: 376
Joined: Mon Apr 18, 2005 12:57 pm
Location: Germany
Contact:

Re: Disable subject field for replies

Post by EnjoyNIRVANA! »

Overseen it, thanks. Fixed it.
Locked

Return to “[3.0.x] MOD Requests”