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?

Daryn 23 Aug 2019 01:02

Consider me very interested in this as well. A modern editor for vb4 would be a really nice thing to have.

scottkoz20 23 Aug 2019 03:27

Quote:

Originally Posted by Daryn (Post 2600333)
Consider me very interested in this as well. A modern editor for vb4 would be a really nice thing to have.

does not appear he's been around in the last couple of months... hopefully they are stealth reading this thread

Meister2017 24 Aug 2019 19:53

We can still hope for Dave to complete his search operation successfully.:D

In Omnibus 24 Aug 2019 19:55

From the brief look I've given it I can't imagine anyone coding this and releasing it free. The amount of work involved is bordering on astronomical.

Meister2017 24 Aug 2019 20:03

maybe CKEditor 4 can be better adapted? it is still supported until 2023.

Dave 24 Aug 2019 20:28

Maybe this will make it clear on why it's so hard and time consuming. The first issue is that newer versions are not backwards compatible with any of the existing vBulletin and BBCode plugins. All plugins that provide custom implementations into the editor will break and there's nothing that can be done about it aside from porting their CKEditor implementation to the new version. There is no global fix for that. Additionally you'd be required to overwrite existing vBulletin files but since there are no updates anymore that is probably not a big deal.

We basically have 2 options:
1. Editor that is not connected to vBulletin's options and internal code, no attachment manager, no image uploader, etc. Only used to submit simple posts with just text. Probably a few days of work.

2. Editor that implements vBulletin's BBCode to provide support for permission manager, attachment manager and image uploader, etc. Along with that we'd have to make sure that implementations from old plugins need to be rejected since it could break the editor. Probably several weeks of work.

Since no one in their right mind will work on it non-stop and putting a hold on their actual job that gives them money, it will probably take months. Then what will the payoff be? Since vBulletin is not as popular as it used to be it will probably be a couple users saying thank you and the rest leeching off the download and never seeing them again, as expected.

Could it be made into a premium plugin? Probably, but personally I wouldn't do that.

Meister2017 24 Aug 2019 20:41

From another post you had written that you already finished Variant 1. The question is how long does your search campaign take and when do you have time to search for variant 1 in your security file?

Maybe someone else can take care of variant 2.

Dave 24 Aug 2019 21:14

I'd rather wait for an update of the user CodeStache before I waste any time on it since they claimed their version will support all features.

https://vbulletin.org/forum/showpost...32&postcount=9
https://vbulletin.org/forum/showpost...5&postcount=11

If they don't release it or provide an update on their progress within the next 1-2 months then I'll find my non-completed version of it and post it in this thread.

Meister2017 24 Aug 2019 21:40

I would not wait 1 months more. CodeStache registered on June 11 and was back online just 8 days later. He wrote in late June it will probably be ready, but now we have the end of August and no sign of life from him.

Maybe you have the opportunity to find out more about it through his email. Enter the mail at google. Maybe you will find his homepage. or contact him about it.

Mike-D 26 Aug 2019 10:08

Quote:

Originally Posted by Meister2017 (Post 2600378)
I would not wait 1 months more. CodeStache registered on June 11 and was back online just 8 days later. He wrote in late June it will probably be ready, but now we have the end of August and no sign of life from him.

Maybe you have the opportunity to find out more about it through his email. Enter the mail at google. Maybe you will find his homepage. or contact him about it.

Da gebe ich Dir absolut Recht :up: Schade, das niemand hier das Wissen hat, den CKEditor entsprechend anzupassen. Derjenige soll es ja auch nicht umsonst tun :) Sehr sehr schade das ganze :(

Dave 26 Aug 2019 13:07

Quote:

Originally Posted by Mike-D (Post 2600388)
Da gebe ich Dir absolut Recht :up: Schade, das niemand hier das Wissen hat, den CKEditor entsprechend anzupassen. Derjenige soll es ja auch nicht umsonst tun :) Sehr sehr schade das ganze :(

Please keep all posts in English, not everyone understands German. :)

CodeStache 26 Aug 2019 14:48

Well, guys, I have nothing else to say except that I'm really sorry for the wait.

The thing is, yes, it does need a huge amount of works to actually get the CKEditor 5 to be able to embed to vBulletin while allowing people to edit the codes as less as possible. There are tons of codes that needed to be edited directly from the files, which we think is really not good at all for general forum owners.

Good news is, we have found several helpful developers as partners to get this sorted in a much better way. Some are currently not using this board, while one is available here, BetoPho, which is a great vBulletin developer that is working together with us on this one.

We decided to discard CKEditor 5 and use another editor, which is Summernote, while less advanced and powerful compared to CKEditor, but is guaranteed to keep this project alive, bringing more features to the editor, following up with modern coding standards, and most important, keeping it free of charge.

I'm asking BetoPho to post some updates so perhaps we will see some of it shortly.

Mike-D 26 Aug 2019 17:26

Quote:

Originally Posted by Dave (Post 2600391)
Please keep all posts in English, not everyone understands German. :)

It means in your language...

Too bad that no one here has the knowledge to adjust the CKEditor accordingly. He should not do it for nothing, that means I'm willing to pay for it and it should be not a problem. Sad to see that no one is willing to do that :(

--------------- Added 26 Aug 2019 at 17:32 ---------------

Quote:

Originally Posted by CodeStache (Post 2600392)
Well, guys, I have nothing else to say except that I'm really sorry for the wait.

The thing is, yes, it does need a huge amount of works to actually get the CKEditor 5 to be able to embed to vBulletin while allowing people to edit the codes as less as possible. There are tons of codes that needed to be edited directly from the files, which we think is really not good at all for general forum owners.

Good news is, we have found several helpful developers as partners to get this sorted in a much better way. Some are currently not using this board, while one is available here, BetoPho, which is a great vBulletin developer that is working together with us on this one.

We decided to discard CKEditor 5 and use another editor, which is Summernote, while less advanced and powerful compared to CKEditor, but is guaranteed to keep this project alive, bringing more features to the editor, following up with modern coding standards, and most important, keeping it free of charge.

I'm asking BetoPho to post some updates so perhaps we will see some of it shortly.

That's it what I have been waiting for and it sounds great :up: How about a Paypal account where everyone can spend a amount of $'s to appreciate your work? I'm in for sure :) :up::D

Meister2017 26 Aug 2019 19:29

Hello,

I have some questions about that. What about plugin compatibility? For example Hide Hack or Post Thank You Hack. Can you restore the original style? https://ckeditor.com/cke4/addon/kama

Did you also consider ckeditor 4? Or is version 4 just as difficult to customize?

best regards

In Omnibus 26 Aug 2019 20:34

Quote:

Originally Posted by CodeStache (Post 2600392)
Well, guys, I have nothing else to say except that I'm really sorry for the wait.

The thing is, yes, it does need a huge amount of works to actually get the CKEditor 5 to be able to embed to vBulletin while allowing people to edit the codes as less as possible. There are tons of codes that needed to be edited directly from the files, which we think is really not good at all for general forum owners.

Good news is, we have found several helpful developers as partners to get this sorted in a much better way. Some are currently not using this board, while one is available here, BetoPho, which is a great vBulletin developer that is working together with us on this one.

We decided to discard CKEditor 5 and use another editor, which is Summernote, while less advanced and powerful compared to CKEditor, but is guaranteed to keep this project alive, bringing more features to the editor, following up with modern coding standards, and most important, keeping it free of charge.

I'm asking BetoPho to post some updates so perhaps we will see some of it shortly.

vBulletin 5 hasn't even upgraded to CKEditor 5 yet because of how substantial the core code changes are between 4 and 5. It's not even coded in the same JS. CKE5 uses ES6.

scottkoz20 26 Aug 2019 22:21

I can only really speak for myself, but I think others will concur, thanks for the updates Stache.

Meister2017 13 Jul 2020 11:57

Quote:

Originally Posted by scottkoz20 (Post 2600403)
I can only really speak for myself, but I think others will concur, thanks for the updates Stache.

Thanks for what? He hasn't delivered anything yet and I don't think there will be.


All times are GMT. The time now is 20:22.

Powered by vBulletin® Version 3.8.14
Copyright © 2021, 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.