[3.2][RC] 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!
Scam Warning
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: 44
Joined: Wed Mar 19, 2014 1:16 pm

Re: [3.2][BETA] Topic Template

Post by php-bb3-user »

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 »

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: 44
Joined: Wed Mar 19, 2014 1:16 pm

Re: [3.2][BETA] Topic Template

Post by php-bb3-user »

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: 18
Joined: Mon Sep 28, 2009 3:08 pm
Location: Netherlands
Name: John Leeuwis
Contact:

Re: [3.2][BETA] Topic Template

Post by John Leeuwis »

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 »

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: 799
Joined: Thu Jul 31, 2014 8:23 am
Location: Belgium

Re: [3.2][BETA] Topic Template

Post by martti »

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: 63
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 »

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: 305
Joined: Wed Dec 20, 2006 10:34 pm
Name: Rıza
Contact:

Re: [3.2][BETA] Topic Template

Post by pikachuturkey »

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

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

Re: [3.2][BETA] Topic Template

Post by ivailo95 »

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: 799
Joined: Thu Jul 31, 2014 8:23 am
Location: Belgium

Re: [3.2][BETA] Topic Template

Post by martti »

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
Jr. Extension Validator
Posts: 3903
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Bel ... gium

Re: [3.2][BETA] Topic Template

Post by warmweer »

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)
We should embrace problems, without which there wouldn't be any solutions.

VileAce
Registered User
Posts: 1
Joined: Wed Oct 16, 2019 2:13 pm

Re: [3.2][BETA] Topic Template

Post by VileAce »

Great extension. Does exactly what it is supposed to, clean, easy to use. If you need a tool to add a template to a topic, or a reply with his other extension, there is no reason not to use this extension.

One small suggestion. Your instructions state
* Create `marttiphpbb/topictemplate` in the `ext` directory.
* Download and unpack the repository into `ext/marttiphpbb/topictemplate`
This is not correct, The Zip file is packed with all files in a direcory 'phpbb-ext-topictemplate-master' and in the case of Reply Template phpbb-ext-replytemplate-master. Just a heads up to change the instructions or the zip.

CD130
Registered User
Posts: 90
Joined: Thu Nov 13, 2014 2:09 pm

Re: [3.2][BETA] Topic Template

Post by CD130 »

Why this extension is still in beta? It works fine right?
Many thanks for the great work @martti!

User avatar
david63
Registered User
Posts: 17246
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: [3.2][BETA] Topic Template

Post by david63 »

CD130 wrote:
Sun Dec 15, 2019 8:12 am
Why this extension is still in beta?
Because it is an Extension Development Tool and as such would not be accepted into the CDB
CD130 wrote:
Sun Dec 15, 2019 8:12 am
It works fine right?
Yes
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

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

Re: [3.2][BETA] Topic Template

Post by martti »

david63 wrote:
Sun Dec 15, 2019 8:27 am
CD130 wrote:
Sun Dec 15, 2019 8:12 am
Why this extension is still in beta?
Because it is an Extension Development Tool and as such would not be accepted into the CDB
It's not a development tool. Maybe you're mixing up with another extension (of me). It could go to RC I think. I haven't seen any bugs since the publishing.

edit: changed to [RC]

Post Reply

Return to “Extensions in Development”