The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Force-changing editor type with a plugin
I would like to force the non-wysiwyg version of CKEditor for users of a certain browser, using this plugin code:
Code:
if (is_browser('whatever') { $vbulletin->userinfo[showvbcode]=0; } Any idea where to put this? |
#2
|
||||
|
||||
Mark, did you mean to put this in the vB3 forum?
|
#3
|
|||
|
|||
No it should be vB4, sorry. Late at night.
|
#4
|
||||
|
||||
Moved.
Maybe editor_toolbar_start? |
#5
|
|||
|
|||
Thanks Lynne; I found that the only way to reliably force the change was actually to hack the includes_editor.php file and put it in there, can't see any hooks near to where I placed the code but at least it works.
I don't mind the odd file edit, I've got about a dozen now anyhow. |
#6
|
||||
|
||||
File edits - oh noooooos!
LOL. That is the way we used to have to always install mods, as you know. |
#7
|
|||
|
|||
editor_wysiwyg_compatible
PHP Code:
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|