The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Enabling the WYSIWYG editor!
Hello,
Is there a chance of making a mod that will enable the WYSIWYG editor for guests\unregistered group? (when making new thread\topic) Thank you in advance! |
#2
|
|||
|
|||
You can already do this with the permission system. Just alter the "unregistered" user-group permissions.
|
#3
|
||||
|
||||
Quote:
http://www.vbulletin.com/forum/forum/vbulletin-4/vbulletin-4-questions-problems-and-troubleshooting/4149555 |
#4
|
|||
|
|||
Hmm, I will have to see how I did it then. On my daughter's board during the registration process I allow an initial single message to a registration forum using the WYSIWYG editor with almost no features. I must have made a small modification. If I can figure out what I did, I will post it.
Well, maybe it won't work. Now that I think about they do have a username by the time they leave a message, they are just unregistered at the time they leave the message. Oh well. --------------- Added 17 Sep 2014 at 03:04 --------------- Here you go, I just worked this up. Please be careful as this can open up your board to all sorts of nasty things if implemented unwisely. Create the following plugin at hook: "editor_wyswyg_compatible" Code:
// TBWORLD - Enable CKeditor Wysiwyg Mode on 'Unregistered' usergroup // HOOK: editor_wysiwyg_compatible // - UserGroup Manager - Thread Permissions should be set. // - Forum Manager - BB Code Permissions should be set. // - Custom BB Codes are enabled, so be careful! // - Clear caches after changing setting. // Unregistered User Group Only //---------------------------------------------- if (is_member_of($vbulletin->userinfo, 1)) { // CKeditor mode // $choice (0 = simple, 1 = standard, 2 = wysiwyg) $choice = 2; } |
Благодарность от: | ||
ku-med |
#5
|
||||
|
||||
tbworld
Thank you very much! <3 you've made my day! thank you for your time & effort! |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|