Adding a warning into the PM compose page

Gizmo

Chief Mogwai Officer
Package Team
Joined
Nov 3, 2010
Messages
28,667
Reaction score
8,127
FP$
1,969
What template file do I edit if I want to add a warning message into the PM compose page? This is for PhpBB. I only want it on the compose page.
 
I think it might be:

your site URL/{FOURM_DIRECTORY}/includes/ucp/ucp_pm_compose.php
 
Nope. 😉 There needs to be an actual style file.
 
You need the posting_editor.html file, the same one used for posting topics. You'll need to edit the IF S_PRIVMSGS section.
 
Or if you don't want to play about with IF statements, you can edit the posting_pm_layout.html file, just simply find:

Code:
	<!-- DEFINE $EXTRA_POSTING_OPTIONS = 1 -->

and add your message before it 😉
 
Fluffybunny said:
Oh right. Thanks 🙂

If you have enough posts to send PMs on Chatting Time, you can go into your Inbox to see the kind of warning we put in. I think this forum has something similar as well.
 
Ashley said:
Fluffybunny said:
Oh right. Thanks 🙂

If you have enough posts to send PMs on Chatting Time, you can go into your Inbox to see the kind of warning we put in. I think this forum has something similar as well.

The forum does have something similar, except it's added globally on the PM area, and on the compose page, and to add it to the compose page, you can follow the instructions on my post above 😉
 
I've added a little something to my board with a whole new HTML style template. 🙂 Saves trying to look for the whole HTML coded part.
 
Back
Top Bottom