Boilerplates for posts V3.0

Started by Do2, October 28, 2009, 07:10:26 PM

Previous topic - Next topic

Bruno36

Bruno36 the French
SMF 2.0.9

Do2

#21
OK. I didn't found a mistake in the files.

Do2

NEW: VERSION 2.0.1

Changes:

  • Fixed a bug in ManagePost.php!

  • Some changes in code and DB!

Please install this version as far as possible!

TomW

This mod sounds interesting.  Can templates (boilerplate) be created for each board ?  I have boards which are general discussion, and others that are classifieds, and need two different templates.

rjckE

Great and useful mod! Thank you!
Does it support Line breaks in boilerplates??..

Regards

Do2

#25
Quote from: TomW on December 30, 2009, 12:33:14 AM
This mod sounds interesting.  Can templates (boilerplate) be created for each board ?  I have boards which are general discussion, and others that are classifieds, and need two different templates.

At the moment different templates aren't supported! You can group the boilerplates in a simple way. For example it could look like this:

-----------
boilerplate for general 1
boilerplate for general 2
-----------
boilerplate for sth. other 1
boilerplate for sth. other 2

Quote from: rjckE on December 31, 2009, 06:14:35 AM
Great and useful mod! Thank you!
Does it support Line breaks in boilerplates??..

Regards

Thank you. :)

No. I will see what i can do. ;)

Oh, wait! I was wrong, it is possible. You can use the BBC tag [br] or if HTML is allowed <br  />. ;)

~DS~

Problem...If I enable  boilerplates, the smileys and BBcodes will disappear. Images attached.
"There is no god, and that's the simple truth. If every trace of any single religion were wiped out and nothing were passed on, it would never be created exactly that way again. There might be some other nonsense in its place, but not that exact nonsense. If all of science were wiped out, it would still be true and someone would find a way to figure it all out again."
~Penn Jillette – God, NO! – 2011

Do2

OK, I don't know why this happens.

Please attach the Post.template.php, GenericControls.template.php and the editor.js.

~DS~

Quote from: Do² on January 03, 2010, 03:49:05 PM
OK, I don't know why this happens.

Please attach the Post.template.php, GenericControls.template.php and the editor.js.
Here you are:
"There is no god, and that's the simple truth. If every trace of any single religion were wiped out and nothing were passed on, it would never be created exactly that way again. There might be some other nonsense in its place, but not that exact nonsense. If all of science were wiped out, it would still be true and someone would find a way to figure it all out again."
~Penn Jillette – God, NO! – 2011

Do2

OK, no problems with the files.
Maybe you could create a testaccount for me, so that i can use boilerplates.

~DS~

Quote from: Do² on January 03, 2010, 04:25:50 PM
OK, no problems with the files.
Maybe you could create a testaccount for me, so that i can use boilerplates.
Ok Pm'ed you.
"There is no god, and that's the simple truth. If every trace of any single religion were wiped out and nothing were passed on, it would never be created exactly that way again. There might be some other nonsense in its place, but not that exact nonsense. If all of science were wiped out, it would still be true and someone would find a way to figure it all out again."
~Penn Jillette – God, NO! – 2011

Do2

New Version 2.0.2!

Link to Mod

Changelog:

!Fixed a bug in Generic.Controls.template.php (2.0 RC2) that could broke the editor!
!Fixed a bug in editor.js (2.0 RC2) that inserts HTML code wrong!
!Fixed a bug while installation! (2.0 RC1.2, PersonalMessage.template.php)
!Fixed two bug in Admin.templte.php (2.0 RC1.2)!
!Fixed a bug in PersonalMessage.template.php and Post.template.php (2.0 RC1.2)!
!Fixed a bug that pemissions are deleted while installation!

A special thanks to Dismal Shadow for reporting bugs.

~DS~

Quote from: Do² on January 04, 2010, 02:49:27 PM
New Version 2.0.2!

Link to Mod

Changelog:

!Fixed a bug in Generic.Controls.template.php (2.0 RC2) that could broke the editor!
!Fixed a bug in editor.js (2.0 RC2) that inserts HTML code wrong!
!Fixed a bug while installation! (2.0 RC1.2, PersonalMessage.template.php)
!Fixed two bug in Admin.templte.php (2.0 RC1.2)!
!Fixed a bug in PersonalMessage.template.php and Post.template.php (2.0 RC1.2)!
!Fixed a bug that pemissions are deleted while installation!

A special thanks to Dismal Shadow for reporting bugs.
;D
"There is no god, and that's the simple truth. If every trace of any single religion were wiped out and nothing were passed on, it would never be created exactly that way again. There might be some other nonsense in its place, but not that exact nonsense. If all of science were wiped out, it would still be true and someone would find a way to figure it all out again."
~Penn Jillette – God, NO! – 2011

Do2

While fixing your bug, i found many others. :D Thanks again.

Groundhog

Great Mod  Do². Very useful for the way that I use SMF

Many Thanks

James89

Hi there,

For some reason this mod seems to work in Internet Explorer (version 8.0.700), but doesn't appear to work in Firefox (I'm running 3.5.7)? Not quite sure why this might be?

Cheers

James

Do2

Hi,

that's strange. I'm using Firefox 3.5.7 too and it works fine. If you want i can have a look to your forum and test it.

kat

* Kat thinks we could do with this mod, here.  :)

becometa

#38
Amazing modification!

But i have a little problem.
Could you add something like "enter".

Ex.
When I select boilerplate, we will see... attach 1
Users are lazy, as we know, so I would like to make it looks like attach2 ;D

This will facilitate work and improve the appearance of design  :)
PS: [ br] & <br> doesn't solve problem.

Do2

Thank you for feedback. ;)

I'm sorry, but i won't bring a update for this issue, because i think it's unnecessary or important and at the moment i have no time for that.

Advertisement: