vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   How to get editior (https://vborg.vbsupport.ru/showthread.php?t=314162)

flame_hiro 09-07-2014 11:19 AM

How to get editior
 
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


All times are GMT. The time now is 03:29 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00989 seconds
  • Memory Usage 1,725KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete