vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=327251

VB4 Post Editor, is there an update or mod?
by BlackxRam
03 May 2019 09:50

Is there an update to the VB4 wysiwyg editor or possibly a mod that gives it better functionality?

In Omnibus 03 May 2019 13:25

There are no updates of any kind for vB4. Development on it stopped quite some time ago.

The CKEditor is open source but vBulletin always uses a customization of it so you can't simply replace the existing one with the newest version. It would require substantial coding.

Meister2017 14 May 2019 20:45

There is a manual in German for an update to 3.6.6.2. If necessary, use Google Translate.

Beim CkEditor gab es viele und auch einige Wichtige Updates:
https://svn.ckeditor.com/CKEditor/trunk/CHANGES.html

vBulletin 4.2.5 hat standardmäßig CkEditor 3.2

Diese Änderungen wurden getestet mit:
PHP 7.2.4 u. 7.2.3
PHP 7.0.22
Unter PHP 7.1 müsste es also auch funktionieren.

CkEditor 3.6.6.2 runterladen: https://download.cksource.com/CKEdit...or_3.6.6.2.zip

Alles außer:
_samples
_source
adapters
CHANGES.html
ckeditor.asp
ckeditor.pack
ckeditor_basic_source.js
ckeditor_php4.php
config.js
content.css
ISTALL.html
LICENSE.html

kopieren nach clientscript/ckeditor/
Hinweis: Im Ordner Plugins würde es sich empfehlen auch nur die zu kopieren, welche in vB schon vorhanden sind.


Nicht notwendig:
https://davidwalsh.name/prevent-xss-ckeditor einbauen wer mag:
Den Code in clientscript/ckeditor/ckeditorChange.js packen (Datei neu erstellen)

in /clientscript/ckeditor/ckeditor_php5.php

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

und drunter hinzufügen:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

und in /vb/ckeditor.php
in der Funktion getJsIncludes() auch wieder die ckeditorChange.js hinzufügen.



Wieder notwendig:

clientscript/ckeditor/ckeditor.js
suche:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


ersetzte mit:




in clientscript/ckeditor/ckeditor_php5.php

alle
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

durch
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

ersetzten.
Bsp.1:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

durch

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Bsp.2:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

durch

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.




Wer Probleme mit UTF-8 hat kann noch benötigen:

includes/functions.php in Z. 7093 einfügen:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


und vor Zeile 7319

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

hinzufügen

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


final kaoss 14 May 2019 21:10

Did you write that yourself or is there a source article that you can attribute that to?

scottkoz20 14 May 2019 22:06

looks like there is something here - https://forum.vbdev.de/showthread.ph...or-3-2-3-6-6-2 (in german - translated to English)

however, something I will call out immediately is the following

vBulletin 4.2.5 defaults to CkEditor 3.2

These changes have been tested with:
PHP 7.2.4 u. 7.2.3
PHP 7.0.22
It should work under PHP 7.1.


I'm running php 5.6.40 on my vB4.2.5 site. Not sure how many vB4 sites are using php7.1+ at this point.

Meister2017 14 May 2019 22:29

These changes are from "kleinerzwerg" and also work under php 5.6. I recommend to use at least php 7.0 because the board runs a lot faster:).

Mattwhf 23 May 2019 15:46

Quote:

Originally Posted by In Omnibus (Post 2599224)
There are no updates of any kind for vB4. Development on it stopped quite some time ago.

The CKEditor is open source but vBulletin always uses a customization of it so you can't simply replace the existing one with the newest version. It would require substantial coding.

I agree with this, and that is why I didn't update vB editor while I really wanted to do that.

z3r0 13 Jun 2019 14:07

Has anybody tried this yet?

CodeStache 13 Jun 2019 16:29

We have sucessfully integrated CKEditor 5 into vBulletin 3 & 4 and it's currently the editor we use in our development area. Since vBulletin default's CKEditor is deeply embedded, we're still working to make the new editor as less modification as possible.

It supports all features of vBulletin, smoother, mobile compatible and of course looks better.

Here is how it looks like:
https://i.imgur.com/b7unkMn.png

z3r0 13 Jun 2019 18:42

That looks great, will you be releasing it?

CodeStache 13 Jun 2019 21:43

Quote:

Originally Posted by z3r0 (Post 2599533)
That looks great, will you be releasing it?

Yes, we will release it.

At first, we planned to charge for it, but then we decided that it will be for free.
Being a small team that's been with vBulletin since version 2 until now, we think that this community deserves better support.

z3r0 14 Jun 2019 10:51

That's great news, even if it was a premium product I would certainly be interested.

Do you have any idea on a timescale for release?

CodeStache 14 Jun 2019 15:46

Quote:

Originally Posted by z3r0 (Post 2599544)
That's great news, even if it was a premium product I would certainly be interested.

Do you have any idea on a timescale for release?

We're trying to get it finished by the end of the month.

Meister2017 24 Jul 2019 06:59

is there any news here? can you also integrate CKEditor 4 + Kama Skin? https://ckeditor.com/cke4/addon/kama
I like the original style. Or you can install this skin in CKEditor 5?

Hostboard 20 Aug 2019 23:49

Would absolutely be interested in this. I am assuming that any current plugin that calls the CKeditor will be broken unless updated?


All times are GMT. The time now is 06:17.

Powered by vBulletin® Version 3.8.12
Copyright © 2019, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.