[3.2][BETA] Topic Template

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Ideas Centre
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
php-bb3-user
Registered User
Posts: 41
Joined: Wed Mar 19, 2014 1:16 pm

Re: [3.2][BETA] Topic Template

Post by php-bb3-user » Thu May 24, 2018 8:05 am

Thanks.
But first of all, I want to get informed about how to migrate my forum from 5.6 --> 7.x php version.
Assumption causes many times lots of trouble.

User avatar
jan_2017
Registered User
Posts: 148
Joined: Sun May 07, 2017 3:39 pm

Re: [3.2][BETA] Topic Template

Post by jan_2017 » Thu May 24, 2018 8:27 am

I'm using php 7.0.28 and phpbb 3.2.0. ..... works great.
I have a german web provider.

But i use this: https://www.phpbb.com/customise/db/exte ... emplate_4/

Bye Jan

php-bb3-user
Registered User
Posts: 41
Joined: Wed Mar 19, 2014 1:16 pm

Re: [3.2][BETA] Topic Template

Post by php-bb3-user » Thu May 24, 2018 9:00 am

Great, thanks Jan.
Yet, my provider is still in the process of testing php version 7 and they will migrate before the end of this year as support ends for php version 5.6 at 31-12-2018.
While waiting for the migration to come any time soon, I'll give the older version a try and see what it does.
I then will have to upgrade/migrate to the newer version later on.
Assumption causes many times lots of trouble.

John Leeuwis
Registered User
Posts: 11
Joined: Mon Sep 28, 2009 3:08 pm
Location: Netherlands
Name: John Leeuwis
Contact:

Re: [3.2][BETA] Topic Template

Post by John Leeuwis » Tue Sep 25, 2018 3:54 pm

Would it be possible to make the template definite in a post?
What I mean is that members cannot alter the template during their input (if you know what I mean).

This...
Merk:
Model:
Type:
Motor:
Bouwjaar:
Overige:

But without the code.

User avatar
jan_2017
Registered User
Posts: 148
Joined: Sun May 07, 2017 3:39 pm

Re: [3.2][BETA] Topic Template

Post by jan_2017 » Tue Sep 25, 2018 4:44 pm

John Leeuwis wrote:
Tue Sep 25, 2018 3:54 pm
Would it be possible to make the template definite in a post?
What I mean is that members cannot alter the template during their input (if you know what I mean).

This...
Merk:
Model:
Type:
Motor:
Bouwjaar:
Overige:

But without the code.
Just in case, use this.

viewtopic.php?f=456&t=2400921&p=14882381#p14882381

Here, no defaults can be changed by the user.

User avatar
martti
Registered User
Posts: 749
Joined: Thu Jul 31, 2014 8:23 am
Location: Belgium

Re: [3.2][BETA] Topic Template

Post by martti » Tue Sep 25, 2018 5:17 pm

John Leeuwis wrote:
Tue Sep 25, 2018 3:54 pm
Would it be possible to make the template definite in a post?
What I mean is that members cannot alter the template during their input (if you know what I mean).

This...
Merk:
Model:
Type:
Motor:
Bouwjaar:
Overige:

But without the code.
The users can alter. That's why it's called a template.

genshijin
Registered User
Posts: 40
Joined: Fri Nov 09, 2018 2:03 pm
Location: Uk and sometimes Japan
Name: andy duggan
Contact:

Re: [3.2][BETA] Topic Template

Post by genshijin » Fri Nov 09, 2018 3:43 pm

I had problems with php 7 and phpbb 3.2 - maybe other extensions crashing the site so I need to run a test checking each mod. The older version (posting template) works for me though.
Very happy with it!

User avatar
pikachuturkey
Registered User
Posts: 290
Joined: Wed Dec 20, 2006 10:34 pm
Name: Rıza
Contact:

Re: [3.2][BETA] Topic Template

Post by pikachuturkey » Fri Nov 09, 2018 4:27 pm

Turkish (tr) translation for "[3.2][BETA] Topic Template" version 0.1.0

phpbb-ext-topictemplate/language/tr/acp.php

Code: Select all

<?php
/**
* phpBB Extension - marttiphpbb Topic Template
* @copyright (c) 2015 - 2018 marttiphpbb <info@martti.be>
* @license GNU General Public License, version 2 (GPL-2.0)
*/
if (!defined('IN_PHPBB'))
{
	exit;
}
if (empty($lang) || !is_array($lang))
{
	$lang = [];
}
$lang = array_merge($lang, [
	'ACP_MARTTIPHPBB_TOPICTEMPLATE'			=> 'Konu Şablonu',
	'ACP_MARTTIPHPBB_TOPICTEMPLATE_EXPLAIN'	=> 'Bir konuyu başlatırken, metin editörü bu "Konu Şablonu" ile önceden doldurulacak. Bunu kullanmak istemiyorsanız boş bırakın. Bu işlevsellik "Konu Şablonu" eklentisinden geliyor.',
]);
Health For Everyone ==> www.saglikforum.org

ivailo95
Registered User
Posts: 704
Joined: Tue Sep 05, 2017 8:00 am
Location: Bulgaria
Name: Ivailo
Contact:

Re: [3.2][BETA] Topic Template

Post by ivailo95 » Thu Jan 24, 2019 9:01 pm

I suggest to make this ext not only for newest create forum or sub-forum
i think better if make it for currently created forums

User avatar
martti
Registered User
Posts: 749
Joined: Thu Jul 31, 2014 8:23 am
Location: Belgium

Re: [3.2][BETA] Topic Template

Post by martti » Thu Jan 24, 2019 9:06 pm

ivailo95 wrote:
Thu Jan 24, 2019 9:01 pm
I suggest to make this ext not only for newest create forum or sub-forum
i think better if make it for currently created forums
I don't understand your point.

User avatar
warmweer
Registered User
Posts: 2149
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Belt ... well actually Belgium

Re: [3.2][BETA] Topic Template

Post by warmweer » Thu Jan 24, 2019 9:28 pm

martti wrote:
Thu Jan 24, 2019 9:06 pm
ivailo95 wrote:
Thu Jan 24, 2019 9:01 pm
I suggest to make this ext not only for newest create forum or sub-forum
i think better if make it for currently created forums
I don't understand your point.
Neither do I, but perhaps ivailo95 would like this extension to be available in all forums, and not (as he thinks) only in forums created after the extension is installed.
As far as I can see, the moment the extension is installed, the Topic Template will automatically be inserted when creating a topic.
There is no point in expanding the extension to add the Topic Template to already existing topic first posts, since it's a template and it would be pointless to add the template without data.

What could be usefull, is a feature allowing including the template when editing an "untemplated" topic_first post. (but for things like that I just have the template in a file open for copying)
My board's not broken, it just went peculiar

Post Reply

Return to “Extensions in Development”