Jump to content

How can I diable CKeditor / WYSIWYG for a usergroup?

Featured Replies

Posted

I want a usergroup to not post any formation (guest usergroup). How can I disable the editor and just show a plain text area. Disabling the view of every button is a mess and the usergroup can still paste formated text. Also they can use BBCode tags because the editor converts them too. :(

  • Author

Ahhhhhh, I realized that guests can post 

[img]AN IMAGE URL[/img]

.

I really need to disable this (better completely every formation)! Before this I can't switch from vBulletin to IPS4. :cry:

This is not exactly what you want but a good workaround. Go to Posting > Profanity filters and add [ img ] there.

  • Author

No, this will disable the code to all usergroups.

Well you could change the HTML so that the element itself does not show for users who are not logged in. :) 

  • Author

I do not unterstand... So with your solution guests are allowed to post formations, images, URLs, videos and so on but I should set it (by the way: how?!) that they will not see the result? And other usergroups will see what guest are posted (and of course can quote it, so guests may see their real post in a quote)? Uff...

This is not possible without customization, however it is possible. One would need to make a plugin that provides a code hook extending \IPS\forums\Topic, overloading the commentFormElements method inherited from \IPS\Content\Item, and swapping in an \IPS\Helpers\Form\TextArea instead if the user is a guest.

  • Author

Uff...

:cry:

Archived

This topic is now archived and is closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.