Adding code to posting_body.tpl

This forum is now closed. Please ask all styles-related questions in the phpBB 3.0 Styles Support & Discussion Forum.
Registered User
Posts: 13
Joined: Sun Feb 02, 2003 2:01 pm
Location: Leeds

Adding code to posting_body.tpl

Post by BenPollinger » Sat Jan 07, 2006 11:06 pm

Hello all,

I'd like to edit my board to show a message on the posting pages (i.e. posting.php?mode=newtopic and posting.php?mode=reply), in the body of the page.

However, I'm not sure how to edit posting_body.tpl to do this as it has switches to serve various functions. If I just put it in the body it seems it will show on the private message pages too which I don't want.

Is there a switch function to do what I'm aiming at?

Thanks for your help,

Freestyle XL
Registered User
Posts: 1608
Joined: Sun Jul 31, 2005 4:09 pm

Post by Freestyle XL » Sun Jan 08, 2006 2:44 pm


Checkbox "Notify me when a reply is posted" is not available for private messages, so you can use switch switch_notify_checkbox for your purpose.
»AcidTech« »Counter-Strike« »Flower Power« »Getaway« »GreenTech« »Jet«

All styles are updated for phpBB 2.0.21


Return to “[2.0.x] Styles Development & Discussion”