PDA

View Full Version : How to get editior


flame_hiro
09-07-2014, 11:19 AM
I want to use the editor in my website for commenting for consistency purposes.

Anyone know if there is a solution for this (or am I just going to have to extract somehow from newreply.php or newthread.php)?

I have sessions already working in my website by including global.php in my header of my website.

ozzy47
09-07-2014, 11:39 AM
Can you clarify what it is you are trying to accomplish, your question is a but vague.

flame_hiro
09-07-2014, 12:58 PM
Sorry, I will try to clarify.

I want to enable commenting on my website. I can do it no problem just using text, I was wondering if it's possible to use the vbulletin text editor that my forum has. That way I can use the similes, fonts etc instead of just plain boring text.

I was wondering if there was already a solution to this (I looked couldn't find).

ozzy47
09-07-2014, 01:05 PM
Where is this commenting taking place? Is it from a mod?

flame_hiro
09-07-2014, 01:09 PM
From the main website (non forum portion).

ozzy47
09-07-2014, 01:10 PM
That still don't help much, what is it you are using for your main page?

flame_hiro
09-07-2014, 01:17 PM
Basically there are articles in my website.

I want to allow registered users to comment on them.

I'm just trying to figure out how to get the vbulletin editor that my forum uses instead of the just a simple text area for commenting.

I haven't started on the commenting feature yet since I'm on the planning stage.

I hope this helps!

ozzy47
09-07-2014, 01:24 PM
What is the script you are using for showing/commenting on the articles?

flame_hiro
09-07-2014, 01:35 PM
The articles are generated from wordpress.

I would have to create the script for the rest.

Here is my plan for showing the comments

1) I would create a new table in my vbulletin database for the comments.

2) Then I would edit the editor to write to that database instead of the forum database.

3) I would then have to cycle back and find out how to display the comments properly (decode the bb code)

4) Display the comments.

I need help with 3 and 4. I can do 1 and 4 myself.

ozzy47
09-07-2014, 01:38 PM
Not exactly sure this mod handles that, but you can try it out, https://vborg.vbsupport.ru/showthread.php?t=29681

If not then you would need to add the ckeditor to wordpress manually I assume, http://docs.ckeditor.com/#!/guide/dev_installation