[3.3][BETA] Post Form Templates

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)
User avatar
stone23
Registered User
Posts: 177
Joined: Sat Nov 02, 2019 4:44 pm
Location: France

Re: [3.3][BETA] Post Form Templates

Post by stone23 »

I just downloaded and installed the latest Github version and it fixes the bug I mentioned.
Thank you very much and if I notice any other bugs I will let you know.
THANKS :D
encreuse.net
Forum version : 3.3.11
php version : 8.2.10

Excuse my English, I'm French...
User avatar
stone23
Registered User
Posts: 177
Joined: Sat Nov 02, 2019 4:44 pm
Location: France

Re: [3.3][BETA] Post Form Templates

Post by stone23 »

Hello,
I noticed a small problem with the translation of a button for adding a form template.
This parameter is managed in the file: postformtemplates/styles/all/template/event/posting_editor_subject_after.html on line 118:

Code: Select all

		<input type="submit" accesskey="s" tabindex="6" name="post" value="Post template"
Can the value of the Post template be embedded in one of the language files to translate the button?

Thank you for your work on this extension :thumbsup:
Last edited by stone23 on Thu Sep 21, 2023 5:07 pm, edited 1 time in total.
encreuse.net
Forum version : 3.3.11
php version : 8.2.10

Excuse my English, I'm French...
Mzr
Registered User
Posts: 62
Joined: Sun Jan 26, 2003 9:58 am

Re: [3.3][BETA] Post Form Templates

Post by Mzr »

Hi,

I'm very insteresting on this mod. I test to install it but after uplod files in EXT/PHPBB/TOXYY/postformtemplates-version-0.0.2 nothing appeared on customised tab...

phpbb 3.3.10 and PHP 7 or 8 tested.

Do I forgot anything ?

Thx.

EDIT : I placed the folder in EXT/PHPBB ...
User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 6731
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James

Re: [3.3][BETA] Post Form Templates

Post by HiFiKabin »

only phpbb extensions go into the phpbb directory

The correct path is

ext/toxxy/postformtemplates

NOTE -version-0.0.2 is not part of the extensions name

Also please remember that extensions still in development are not recommended for a live board
User avatar
stone23
Registered User
Posts: 177
Joined: Sat Nov 02, 2019 4:44 pm
Location: France

Re: [3.3][BETA] Post Form Templates

Post by stone23 »

Hello,
I can't find the file where the word "rows" is translated in all the files of the extension...
Could a language key be missing?

Image
encreuse.net
Forum version : 3.3.11
php version : 8.2.10

Excuse my English, I'm French...
DeannaB
Registered User
Posts: 9
Joined: Wed May 22, 2019 11:44 pm

Re: [3.3][BETA] Post Form Templates

Post by DeannaB »

Good evening, I am attempting to use this extension in my development environment. Installs with no problem. Was able to follow the instructions to create a new Category and then the desired template within that category. Assigned to the forum to which I wish the Template to be used. All items in the template have the 'Display on Posting Page' enabled. Also selected "Add Post Template Button" and "Hide Postfields". Template status is 'unlocked'. All permissions granted to registered users.

Unfortunately, the template is not showing up (as per the images in the initial post for this Beta extension) when creating a new post in the 'forum' to which it was assigned. Suspecting that it might be related to one of the styles, I switched back to ProSilver and the template still does not appear.

No errors are being logged that I have been able to locate.

Any guidance would be most welcome. I am really looking forward to this extension as it will solve many issues for my client.

Deanna
User avatar
Toxyy
Registered User
Posts: 960
Joined: Mon Oct 24, 2016 3:22 pm
Location: Namek

Re: [3.3][BETA] Post Form Templates

Post by Toxyy »

stone23 wrote: Sun Sep 24, 2023 5:12 pm Hello,
I can't find the file where the word "rows" is translated in all the files of the extension...
Could a language key be missing?
I'll look into it, thanks.
DeannaB wrote: Tue Sep 26, 2023 11:59 pm Good evening, I am attempting to use this extension in my development environment. Installs with no problem. Was able to follow the instructions to create a new Category and then the desired template within that category. Assigned to the forum to which I wish the Template to be used. All items in the template have the 'Display on Posting Page' enabled. Also selected "Add Post Template Button" and "Hide Postfields". Template status is 'unlocked'. All permissions granted to registered users.

Unfortunately, the template is not showing up (as per the images in the initial post for this Beta extension) when creating a new post in the 'forum' to which it was assigned. Suspecting that it might be related to one of the styles, I switched back to ProSilver and the template still does not appear.

No errors are being logged that I have been able to locate.

Any guidance would be most welcome. I am really looking forward to this extension as it will solve many issues for my client.

Deanna
In general, there are three possibilities:
- make sure that the category/template has display forums set in their settings
- make sure you have permissions set for the category/template in template permissions
- make sure your entries have "display on posting" checked

You did set the permissions within template permissions in the extensions tab, right? If so, then it sounds like #2: make sure that you've selected display forums.

If all of this already set, send me a PM for your forum, and screenshots of your category/template/template permissions would help. Currently I've confirmed it's working on prosilver and Milk v2.

Also, try clearing your cache.
I am a web developer/administrator, specializing in forums. If you have work you need done or are too lazy to do, pm me!

Some of my extensions:
[3.3][BETA] Post Form Templates || [3.3][BETA] Anonymous Posts || [3.2][3.3][BETA] ACP Merge Child Forums || [3.2][BETA] Sticky Ad || [3.2][DEV] User Delete Topics || [3.3][DEV] Moderate While Searching || [3.3][RC] Short Number Twig Extension
DeannaB
Registered User
Posts: 9
Joined: Wed May 22, 2019 11:44 pm

Re: [3.3][BETA] Post Form Templates

Post by DeannaB »

Good morning ! Thank you for responding so quickly to my 'challenges'. I have discovered the issue ... the Template Category did not have permissions set, only the Form Template within the category had the permissions set. After setting the permissions on the Template Category it appears to be functioning correctly !

Most of the styles I used are derivatives of ProSilver ... also have Milk V2 and BBoots ...

Will start 'testing' ... hoping this moves from Beta to RC to full release in the near future. I believe this would address a client's concerns very nicely !

Thank you again,

Deanna
Mzr
Registered User
Posts: 62
Joined: Sun Jan 26, 2003 9:58 am

Re: [3.3][BETA] Post Form Templates

Post by Mzr »

Hi,

Is the a way to force template using without hav to select it ?

I would like to assign a template on a forum and after clicink reply or new topic the template is automaticaly displayed.

Thx.
User avatar
Toxyy
Registered User
Posts: 960
Joined: Mon Oct 24, 2016 3:22 pm
Location: Namek

Re: [3.3][BETA] Post Form Templates

Post by Toxyy »

Mzr wrote: Thu Sep 28, 2023 9:56 am Is the a way to force template using without hav to select it ?
Currently no, but I can think of how to do so, shouldn't be hard to implement. Currently chasing down a couple bugs from my client, but I'll consider adding this feature as well.
I am a web developer/administrator, specializing in forums. If you have work you need done or are too lazy to do, pm me!

Some of my extensions:
[3.3][BETA] Post Form Templates || [3.3][BETA] Anonymous Posts || [3.2][3.3][BETA] ACP Merge Child Forums || [3.2][BETA] Sticky Ad || [3.2][DEV] User Delete Topics || [3.3][DEV] Moderate While Searching || [3.3][RC] Short Number Twig Extension
User avatar
stone23
Registered User
Posts: 177
Joined: Sat Nov 02, 2019 4:44 pm
Location: France

Re: [3.3][BETA] Post Form Templates

Post by stone23 »

Hello,
I just downloaded and installed the latest Github version and with this version 0.0.3, on an online test forum in php 8.2, as well as on a local test forum in php 8.1, I can create a form but I cannot respond to the form...
I didn't have this problem with php 8.2 on version 0.0.2

Nevertheless, this extension is very interesting :thumbsup:
encreuse.net
Forum version : 3.3.11
php version : 8.2.10

Excuse my English, I'm French...
User avatar
stone23
Registered User
Posts: 177
Joined: Sat Nov 02, 2019 4:44 pm
Location: France

Re: [3.3][BETA] Post Form Templates

Post by stone23 »

I don't understand everything but despite what I said previously, it works... :oops:

EDIT:Disregard this message...
Last edited by stone23 on Fri Sep 29, 2023 5:11 pm, edited 1 time in total.
encreuse.net
Forum version : 3.3.11
php version : 8.2.10

Excuse my English, I'm French...
User avatar
Toxyy
Registered User
Posts: 960
Joined: Mon Oct 24, 2016 3:22 pm
Location: Namek

Re: [3.3][BETA] Post Form Templates

Post by Toxyy »

stone23 wrote: Thu Sep 28, 2023 7:10 pm Hello,
I just downloaded and installed the latest Github version and with this version 0.0.3, on an online test forum in php 8.2, as well as on a local test forum in php 8.1, I can create a form but I cannot respond to the form...
Keep in mind the v0.0.3 on github is not the actual v0.0.3 release, just differentiating it from the released v0.0.2.

When you mean you can't respond to the form, you're saying that the form pops up, you fill it in, make the post, but then when you try to reply to that topic again, you're unable? Perhaps you have the hide postfields option set to yes in the extension general settings? Currently if this is enabled, the postfields will be hidden the entire time, even for replies - I need to change the code so that they're hidden either when a form is selected, and possibly when making a topic. Currently if that option is enabled, if there are forms enabled within a particular form, there is no way to make replies (other than quick reply, I believe).

Is that the issue?
I am a web developer/administrator, specializing in forums. If you have work you need done or are too lazy to do, pm me!

Some of my extensions:
[3.3][BETA] Post Form Templates || [3.3][BETA] Anonymous Posts || [3.2][3.3][BETA] ACP Merge Child Forums || [3.2][BETA] Sticky Ad || [3.2][DEV] User Delete Topics || [3.3][DEV] Moderate While Searching || [3.3][RC] Short Number Twig Extension
Mzr
Registered User
Posts: 62
Joined: Sun Jan 26, 2003 9:58 am

Re: [3.3][BETA] Post Form Templates

Post by Mzr »

Toxyy wrote: Thu Sep 28, 2023 6:57 pm
Mzr wrote: Thu Sep 28, 2023 9:56 am Is the a way to force template using without hav to select it ?
Currently no, but I can think of how to do so, shouldn't be hard to implement. Currently chasing down a couple bugs from my client, but I'll consider adding this feature as well.
Any tips to try myself before your official modification ? Thx for all
User avatar
Toxyy
Registered User
Posts: 960
Joined: Mon Oct 24, 2016 3:22 pm
Location: Namek

Re: [3.3][BETA] Post Form Templates

Post by Toxyy »

Mzr wrote: Fri Sep 29, 2023 8:29 am Any tips to try myself before your official modification ? Thx for all
It would require me adding a setting to select a default template per forum in the ACP and then calling that setting to modify the new topic/post reply URLs within that forum to include additional vars to have the template loaded in automatically. I'll also need to make sure this doesn't do anything for groups that don't have permissions/templates that aren't displayed on that forum - it shouldn't but just a thing I'd need to check for if this feature is added. A non trivial commit for an extension, unfortunately, but I know how it should be done. I'll be sure to quote you if/when I decide to add that.
I am a web developer/administrator, specializing in forums. If you have work you need done or are too lazy to do, pm me!

Some of my extensions:
[3.3][BETA] Post Form Templates || [3.3][BETA] Anonymous Posts || [3.2][3.3][BETA] ACP Merge Child Forums || [3.2][BETA] Sticky Ad || [3.2][DEV] User Delete Topics || [3.3][DEV] Moderate While Searching || [3.3][RC] Short Number Twig Extension

Return to “Extensions in Development”