Posting template

All new MODs released in our MOD Database will be announced in here. All support for released MODs needs to take place in the Customisations Database.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTICE: This forum is only for the announcement of new releases and/or updates of MODs. Any MOD support should be obtained through the Customisations Database in the support area designated for each MOD.

A direct link to support for each MOD is in the first post of the respective topic.
vonhazey
Registered User
Posts: 89
Joined: Wed Dec 02, 2009 2:43 pm

Re: Posting template

Post by vonhazey » Mon Jan 18, 2010 6:56 pm

Installed and working fine.
Image

User avatar
darkonia
Registered User
Posts: 1901
Joined: Tue May 13, 2008 1:10 pm
Location: Munich, Germany
Contact:

Re: Posting template

Post by darkonia » Sun Jan 24, 2010 12:37 pm

very nice mod, thx a lot :mrgreen:
MMOG-Heaven - Das Gaming Portal
Community bedeutet Gleichgesinnte finden - MMOG-Heaven ist Deine Community! Von Spielern für Spieler bietet Dir dieses Portal genau das, was ein Spieler braucht. Bleibe ständig informiert, finde die neuesten MMORPGs, oder suche die frischesten News aus der Welt des Online Gamings - dieses und vieles mehr erwartet Dich auf MMOG-Heaven.

juicedNL
Registered User
Posts: 4
Joined: Tue Feb 02, 2010 11:29 pm

Re: Posting template

Post by juicedNL » Tue Feb 02, 2010 11:33 pm

Hi there,

I've edited everything as you explained it in the install.xms file.. Only i dind't know what to do with this:
SQL

Code: Select all

ALTER TABLE phpbb_forums ADD forum_post_tpl TEXT DEFAULT '' NULL;
And If this is done, where could i find the setting to put my stuff in? @ forum management?

Hope someone could help me to understand this.. So i can learn from it.

Regards, JuicedNL

juicedNL
Registered User
Posts: 4
Joined: Tue Feb 02, 2010 11:29 pm

Re: Posting template

Post by juicedNL » Wed Feb 03, 2010 2:47 am

Hiyaa!

Can someone tell me, where and what i need to open for the SQL code?

Regards, juicedNL

updown
Registered User
Posts: 542
Joined: Sat Jan 05, 2008 6:53 am

Re: Posting template

Post by updown » Wed Feb 03, 2010 9:24 am

juicedNL wrote:Can someone tell me, where and what i need to open for the SQL code?
http://www.phpbb.com/community/viewtopi ... 9&t=724145

juicedNL
Registered User
Posts: 4
Joined: Tue Feb 02, 2010 11:29 pm

Re: Posting template

Post by juicedNL » Thu Feb 04, 2010 9:40 pm

Ok i've done it all, now where can i find the post template? So i can edit the tekst etc..?
ACP index -> ?

Regards, juiced

User avatar
Cr33per
Registered User
Posts: 366
Joined: Mon Aug 13, 2007 6:29 pm
Location: Illinois
Contact:

Re: Posting template

Post by Cr33per » Thu Feb 04, 2010 11:11 pm

Installed to on 3.0.6
Can i use html in the box?

wired076
Registered User
Posts: 1441
Joined: Mon May 21, 2007 10:19 am

Re: Posting template

Post by wired076 » Fri Feb 05, 2010 3:25 am

Cr33per wrote:Installed to on 3.0.6
Can i use html in the box?
Html in what box?

phpBB in its native form does not allow html to be used across the site. I think you will need to use BBCode to do what you want to achieve.

bipenett
Registered User
Posts: 90
Joined: Sun Nov 15, 2009 2:01 am

Re: Posting template

Post by bipenett » Thu Feb 18, 2010 1:53 am

juicedNL wrote:Ok i've done it all, now where can i find the post template? So i can edit the tekst etc..?
ACP index -> ?

Regards, juiced
Hi juiced. Actually you are going to find the settings for this MOD when you are CREATING a new forum. Under the "description" field you are going to see the "posting template" field.

bipenett
Registered User
Posts: 90
Joined: Sun Nov 15, 2009 2:01 am

Re: Posting template

Post by bipenett » Thu Feb 18, 2010 1:57 am

Hey EVIL...

I am getting this error message when I try to still this mod in my board:

Error:BLOB/TEXT column 'forum_post_tpl' can't have a default value
ALTER TABLE phpbb_forums ADD forum_post_tpl TEXT DEFAULT '' NULL


I saw that you recomended thru some replies that in this case you should make some changes like set the final part of the second line to something like TEXT DEFAULT '' NOT NULL. But how do I make this changes?

User avatar
Cr33per
Registered User
Posts: 366
Joined: Mon Aug 13, 2007 6:29 pm
Location: Illinois
Contact:

Re: Posting template

Post by Cr33per » Thu Feb 18, 2010 6:24 am

From what I've read you need to run this in your sql

Code: Select all

ALTER TABLE phpbb_forums ADD forum_post_tpl TEXT NOT NULL

ricjonhay
Registered User
Posts: 247
Joined: Tue Feb 16, 2010 6:08 pm

Re: Posting template

Post by ricjonhay » Fri Mar 05, 2010 8:53 pm

Very useful mod, installed this evening and works fine with phpBB 3.0.7.

arrow816
Registered User
Posts: 78
Joined: Fri Dec 05, 2008 7:14 pm
Name: Steven Costello
Contact:

Re: Posting template

Post by arrow816 » Thu Mar 11, 2010 10:54 pm

bipenett wrote:Hey EVIL...

I am getting this error message when I try to still this mod in my board:

Error:BLOB/TEXT column 'forum_post_tpl' can't have a default value
ALTER TABLE phpbb_forums ADD forum_post_tpl TEXT DEFAULT '' NULL


I saw that you recomended thru some replies that in this case you should make some changes like set the final part of the second line to something like TEXT DEFAULT '' NOT NULL. But how do I make this changes?
All you have to do is update the install file:

open install.xml and find:

Code: Select all

<sql>ALTER TABLE phpbb_forums ADD forum_post_tpl TEXT DEFAULT '' NULL;</sql>
and replace with:

Code: Select all

<sql>ALTER TABLE phpbb_forums ADD forum_post_tpl TEXT NOT NULL;</sql>

Vityas
Registered User
Posts: 23
Joined: Mon Mar 15, 2010 11:19 am

Re: Posting template

Post by Vityas » Mon Mar 15, 2010 11:28 am

Hi! When I click FORUMS in the admin control panel I get this error:

Code: Select all

[phpBB Debug] PHP Notice: in file /includes/acp/acp_forums.php on line 2026: array_merge() [function.array-merge]: Argument #1 is not an array
[phpBB Debug] PHP Notice: in file /adm/index.php on line 150: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3525)
[phpBB Debug] PHP Notice: in file /adm/index.php on line 152: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3525)
[phpBB Debug] PHP Notice: in file /adm/index.php on line 153: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3525)
[phpBB Debug] PHP Notice: in file /adm/index.php on line 154: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3525)
language/en/acp/forums.php:

Code: Select all

2021 //-- mod : Posting Template ------------------------------------------------------------
2022//-- add
2023$lang = array_merge($lang, array(
2024	'FORUM_POST_TPL'					=> 'Posting template',
2025	'FORUM_POST_TPL_EXPLAIN'			=> 'The posting template is the text that appears in the textarea when starting a new topic in this forum. If you don\'t wish to use it, just leave it blank.',
2026));
2027//-- fin mod : Posting Template --------------------------------------------------------

Vityas
Registered User
Posts: 23
Joined: Mon Mar 15, 2010 11:19 am

Re: Posting template

Post by Vityas » Mon Mar 15, 2010 3:37 pm

Sorry :) all working now!

Locked

Return to “[3.0.x] MOD Database Releases”