Post models

Post your MODs, receive and provide feedback!
Topics in this forum are not for MOD support, they are for giving the author feedback.
Forum rules
The topics in this forum are not for general MOD support, they are for giving the MOD author some feedback, ideas and bug reports.
Elglobo
Past Contributor
Past Contributor
Posts: 119
Joined: 15 Jul 2008, 19:42

Post models

Post by Elglobo »

MOD title: Post models
MOD description: This MOD allows to create post models, usable in post or private message. In ACP, a module is added to create, edit or delete your post models.
This MOD add 3 new permissions:
The first to use the post models in a specific forum; the second to use the post models in private messaging; and the third to manage the post models in ACP.
You can create for each language installed a different model. An authorized user will have the choice in his post/PM to display the models of each language.

MOD version: 1.0.1
phpBB version: 3.0.2

Development stage: Stable - under validation on phpBB.com

MOD Format: MODx

MOD download: no available until the validation is finished.

Demo:
[url=http://img150.imageshack.us/my.php?image=postmodels01cb8.gif][img]http://img150.imageshack.us/img150/9614/postmodels01cb8.th.gif[/img][/url]

[url=http://img151.imageshack.us/my.php?image=postmodels02qf5.gif][img]http://img151.imageshack.us/img151/8413/postmodels02qf5.th.gif[/img][/url]

[url=http://img170.imageshack.us/my.php?image=postmodels03rs8.gif][img]http://img170.imageshack.us/img170/1421/postmodels03rs8.th.gif[/img][/url]

[url=http://img297.imageshack.us/my.php?image=postmodels04hj9.gif][img]http://img297.imageshack.us/img297/6651/postmodels04hj9.th.gif[/img][/url]

[url=http://img300.imageshack.us/my.php?image=postmodels05sl1.gif][img]http://img300.imageshack.us/img300/5568/postmodels05sl1.th.gif[/img][/url]

[url=http://img297.imageshack.us/my.php?image=postmodels06du9.gif][img]http://img297.imageshack.us/img297/1032/postmodels06du9.th.gif[/img][/url]

[url=http://img300.imageshack.us/my.php?image=postmodels07dj1.gif][img]http://img300.imageshack.us/img300/7986/postmodels07dj1.th.gif[/img][/url]

[url=http://img300.imageshack.us/my.php?image=postmodels08el5.gif][img]http://img300.imageshack.us/img300/8120/postmodels08el5.th.gif[/img][/url]

[url=http://img297.imageshack.us/my.php?image=postmodels09ev7.gif][img]http://img297.imageshack.us/img297/7766/postmodels09ev7.th.gif[/img][/url]
Last edited by Elglobo on 12 Jan 2015, 23:59, edited 5 times in total.
Reason: Locked by staff. If MOD author would like the topic unlocked, please PM Obsidian.
phpBB-Services.com: L'hébergement et l'assistance de votre forum phpBB en toute tranquillité.

Myff.fr - My First forum, créer votre forum phpBB3 facilement !
igorw
Past Contributor
Past Contributor
Posts: 1967
Joined: 01 Jun 2006, 20:48
Real name: Igor

Re: Post models

Post by igorw »

Is this like a "canned reply" (pre-defined post content) that gets inserted into the textarea with javascript?
Elglobo
Past Contributor
Past Contributor
Posts: 119
Joined: 15 Jul 2008, 19:42

Re: Post models

Post by Elglobo »

Yes Igor, I use the insert_text function of phpBB3. This MOD allows admin to create for example moderation posts, that a user authorized, in my example a moderator, will be abble to use in his post.

By default, the user will have a dropdown list of all models which he will be abble to use in his default language.
To change the language, I use Ajax techonology in order not to reload completely the page ;)
phpBB-Services.com: L'hébergement et l'assistance de votre forum phpBB en toute tranquillité.

Myff.fr - My First forum, créer votre forum phpBB3 facilement !
igorw
Past Contributor
Past Contributor
Posts: 1967
Joined: 01 Jun 2006, 20:48
Real name: Igor

Re: Post models

Post by igorw »

Okay, that's cool! I planned on creating something this myself once. In fact my mind was changed by John Hjorth. I was talking to him about canned messages, and he said he didn't like them, because they make moderation less personal. And i have to agree. But that's a personal opinion and in some cases canned messages can definately make sense. :)

Ooh, ajax. I would however suggest you preload the data and use javascript only. I'd only use ajax if it's too expensive to preload it, which is not really the case here. The thing is that using ajax is quite complex, so it should be avoided. Mind you, i havn't seen the code yet, this is just a general thought of mine.
Elglobo
Past Contributor
Past Contributor
Posts: 119
Joined: 15 Jul 2008, 19:42

Re: Post models

Post by Elglobo »

eviL<3 wrote:and he said he didn't like them, because they make moderation less personal. And i have to agree.

It's true. But moderator posts was an example as an another. You can have some other utilities with post models.

I used this cool feature on phpBB2, and Patrick on phpBBhacks.com opened one day this [url=http://www.phpbbhacks.com/forums/add-drop-down-to-new-pm-screen-that-adds-text-to-message-vt72959.html]MOD request[/url]. So I thrust myself 8-)

Ooh, ajax. I would however suggest you preload the data and use javascript only. I'd only use ajax if it's too expensive to preload it, which is not really the case here. The thing is that using ajax is quite complex, so it should be avoided. Mind you, i havn't seen the code yet, this is just a general thought of mine.

I am completely agree with you on this general point.
At the beginning, I wanted to do as you say, but I used Ajax in this case, for two main reasons:

- The first: On posting form, if I would have to preload, there were several things to keep. (message and subject field, files attachments, box options ...)
In addition, if I used the preload solution, my code would be more complicated, I would have to do more modifications in the phpBB3 core, whereas with Ajax, all the MOD is controlled in a file function. I only need to include my file function and launch my function to generate the dropdown list ;)

- The second: With Ajax, the MOD is much faster to use. When you write a post and that you need to include a model, it's very nice to switch very quickly between each language.

I hope that you will be abble have the time to take a quick look on my code, to give me your comments ;)
phpBB-Services.com: L'hébergement et l'assistance de votre forum phpBB en toute tranquillité.

Myff.fr - My First forum, créer votre forum phpBB3 facilement !
Elglobo
Past Contributor
Past Contributor
Posts: 119
Joined: 15 Jul 2008, 19:42

Re: Post models

Post by Elglobo »

Hi all,

Following the first validation on phpBB.com, this MOD proceed to v1.0.1.

Some corrections was done and I improved the adding/editing form in ACP:
[url=http://img151.imageshack.us/my.php?image=postmodels02qf5.gif][img]http://img151.imageshack.us/img151/8413/postmodels02qf5.th.gif[/img][/url]

[url=http://img170.imageshack.us/my.php?image=postmodels03rs8.gif][img]http://img170.imageshack.us/img170/1421/postmodels03rs8.th.gif[/img][/url]

Have a good day ;)
phpBB-Services.com: L'hébergement et l'assistance de votre forum phpBB en toute tranquillité.

Myff.fr - My First forum, créer votre forum phpBB3 facilement !
anne
New member
New member
Posts: 7
Joined: 08 Feb 2008, 20:08

Re: Post models

Post by anne »

Hello, I keep on waiting for this mod to appear on the Released Mods forum on phpbb.com. Since... xx weeks ago. How is the validation going?

I can't wait to have your mod installed. Thank you.
Elglobo
Past Contributor
Past Contributor
Posts: 119
Joined: 15 Jul 2008, 19:42

Re: Post models

Post by Elglobo »

Hi Anne,

I am sorry but it's a bit long at phpBB.com for validation. Surely, others priorities for the MOD team.
Since 3 weeks, several of my MODs are in hold.

I keep you informed in this topic when the MOD will be approve ;)
phpBB-Services.com: L'hébergement et l'assistance de votre forum phpBB en toute tranquillité.

Myff.fr - My First forum, créer votre forum phpBB3 facilement !
anne
New member
New member
Posts: 7
Joined: 08 Feb 2008, 20:08

Re: Post models

Post by anne »

Thank you very much. I'll keep checking the Released Mods on phpbb.com and hope one of these days Post models will be one of them.

:oops:
User avatar
abpphpbb3
New member
New member
Posts: 9
Joined: 30 Jun 2007, 10:11
Location: france

Re: Post models

Post by abpphpbb3 »

hello,

any news ?.........validated ?

good week-end
bernard
Eelke
New member
New member
Posts: 1
Joined: 07 Jan 2009, 08:38
Real name: Eelke Blok
Location: Bussum, NL
Contact:

Re: Post models

Post by Eelke »

Is this the same type of MOD as the Post Template?

No, I don't thinks so. If I understand correctly, the post template MOD you linked to acts as a starting point for every post in a particular forum, while this MOD allows the user to pick and choose the template.

I would also like to know what the status of this MOD is, I am looking into using this for canned moderator replies (I can see the point of replies getting less personal, but writing a well formulated and friendly response from scratch every time takes a lot of time, which is leading to quick and short replies sometimes, which in turn leaves many users feeling that moderators are sometimes disrespectful towards them (which of course is not the intention, but I'm sure you're familiar how written word can sometimes give a different impression than intended) - obviously, that's a lot worse than the reply getting a little impersonal because the wording is always the same).

Lastly, I have a feature suggestion: it would be nice if you could include "variables" in a model, such as {SENDER} and {RECIPIENT} for PMs. That way, you could create a model looking like this:

Code: Select all

Dear {RECIPIENT},

I really like the MOD you made, it's great.

Regards,

{SENDER}


and it would be placed in the edit screen like:

Dear Elglobo,

I really like the MOD you made, it's great.

Regards,

Eelke
User avatar
abpphpbb3
New member
New member
Posts: 9
Joined: 30 Jun 2007, 10:11
Location: france

Re: Post models

Post by abpphpbb3 »

hello,

have a nice end of week-end

what about the validation of the mod? I'm really interested with this mods which sounds really great

please give me ( and us) some news

best regards
bernard
Bruno36
New member
New member
Posts: 2
Joined: 30 Jan 2008, 15:04

Re: Post models

Post by Bruno36 »

Le mod avance ????? :beer:
Dakin Quelia
New member
New member
Posts: 49
Joined: 12 Nov 2008, 01:26
Real name: Daniel
Location: Belgique

Re: Post models

Post by Dakin Quelia »

Hello,

The mod's author is waiting the validation from phpBB.com. ;)

See you soon,
User avatar
abpphpbb3
New member
New member
Posts: 9
Joined: 30 Jun 2007, 10:11
Location: france

Re: Post models

Post by abpphpbb3 »

hello,

good evenning

could it be possible to test-it, while it is under validation ?

friendly
bernard
Post Reply