[TH] Editor Post Templates [Deleted]

Nice add-on and thank you so much.
However, how can we add an icon to the editor button?

It comes with a default icon working in the standard XenForo skin. If you're using any third-party skin, addon or custom modification that alters the editor icons, you either need to adapt those changes to also affect this icon or contact the creator to ask how he did it.
 
It comes with a default icon working in the standard XenForo skin. If you're using any third-party skin, addon or custom modification that alters the editor icons, you either need to adapt those changes to also affect this icon or contact the creator to ask how he did it.

I'm using font awesome icons so it's maybe the reason.
IS it possible to just add an awesome icon?
 
Would it be possible to force a template for a new post on whole forum section? For example you click create a new thread and it automatically has the template in place.

I would use something like for like applications and etc.
 
Hi, I really like this addon but is not working for me... the options in the CP are ok, I see them and I have already created some templates. But I never get to see any template editor icon when creating posts. I tried with default xenforo skin and also with the UI.X skin that I have in my forum.

Any help?
 
I think is already ok...

Im testing with Administrative usergroup all green (permission yes) Im Admin of course, and there is no luck with the icon... Also tried with the registered usergroup but nothing.

Only that 3 permissions can be set right?

unbenannt-8-jpg.116546
 
Hi :)

first thank you for that cool addon.
Today i noticed something with JavaScript related this addon.
i disabled the addon and the errors gone away, it seems this comes up from it:

SCRIPT5009: "showtemplatebutton" is undefined
Seems to be here in extend.js : !function(b,k,f,d){if(showtemplatebutton)b(f).on("EditorInit",fu....

and a syntaxerror for this: <script>var showtemplatebutton = ;</script>

This errors coming up on most Forum pages + including Forum list.
 
Please help me ? =)

Zend_Db_Statement_Mysqli_Exception: Mysqli statement execute error : Incorrect string value: '\xC4\xB1s\xC4\xB1[...' for column 'content' at row 1 -library/Zend/Db/Statement/Mysqli.php:214
tarafından oluşturuldu: xxxxx, 6 dakika önce
Stack Trace
#0 /var/www/vhosts/seninolsun.net/httpdocs/library/Zend/Db/Statement.php(297): Zend_Db_Statement_Mysqli->_execute(Array)
#1 /var/www/vhosts/seninolsun.net/httpdocs/library/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Statement->execute(Array)
#2 /var/www/vhosts/seninolsun.net/httpdocs/library/Zend/Db/Adapter/Abstract.php(574): Zend_Db_Adapter_Abstract->query('INSERT INTO `xf...', Array)
#3 /var/www/vhosts/seninolsun.net/httpdocs/library/XenForo/DataWriter.php(1624): Zend_Db_Adapter_Abstract->insert('xf_kl_ept_post_...', Array)
#4 /var/www/vhosts/seninolsun.net/httpdocs/library/XenForo/DataWriter.php(1613): XenForo_DataWriter->_insert()
#5 /var/www/vhosts/seninolsun.net/httpdocs/library/XenForo/DataWriter.php(1405): XenForo_DataWriter->_save()
#6 /var/www/vhosts/seninolsun.net/httpdocs/library/KL/EditorPostTemplates/ControllerAdmin/Editor.php(190): XenForo_DataWriter->save()
#7 /var/www/vhosts/seninolsun.net/httpdocs/library/XenForo/FrontController.php(351): KL_EditorPostTemplates_ControllerAdmin_Editor->actionSave()
#8 /var/www/vhosts/seninolsun.net/httpdocs/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#9 /var/www/vhosts/seninolsun.net/httpdocs/admin.php(13): XenForo_FrontController->run()
#10 {main}
Request State
array(3) {
["url"] => string(47) "http://www.xxxx.net/admin.php?kl-ept/save"
["_GET"] => array(1) {
["kl-ept/save"] => string(0) ""
}
["_POST"] => array(13) {
["title"] => string(20) "Senin olsun diyenler"
["category_id"] => string(1) "1"
["position"] => string(2) "10"
["active"] => string(1) "1"
["forums"] => string(5) "0.all"
["resource_manager_categories"] => string(5) "0.all"
["template_id"] => string(0) ""
["content"] => string(871) "


["_xfRelativeResolver"] => string(47) "http://xxxx.net/admin.php?kl-ept/edit"
["_xfToken"] => string(8) "********"
["_xfRequestUri"] => string(22) "/admin.php?kl-ept/edit"
["_xfNoRedirect"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}
 
I need a little bit more input then just a thrown in error message please. The only thing I can read out of that is that you had some trouble saving a template in the backend, probably because you used some charset the table could not work with.
 
Top Bottom