본문 영역
Gnuboard & Youngcart
YeongCart is a plugin within GnuBoard, you can apply it by following these steps.
TIP Quick Setup Guide
- Download on Mong9 Editor for Gnuboard & Youngcart GitHub.
- Upload the
mong9-editor
folder to the~/plugin
directory. - Move the
mong9-editor.extend.php
file from the~/plugin
folder to the~/extend
folder. - Edit the
/lib/common.lib.php
file.
Screenshot of Gnuboard
- Available for writing on all user/admin pages.
- Currently, it is integrated with three editors:
cheditor5
,smarteditor2
, andckeditor4
./li> - Accessible only to the Super Admin and member grade 10 (highest level).
- If you want to make it available for other member levels, you can modify the
MONG9_LEVEL_PERMISSION
in the/extend/mong9-editor.extend.php
file.
- Not available in admin email writing (styling gets removed when sending emails, so it's only possible within the site).
Installation Guide
1. Download the Mong9 Editor plugin file, and extract it on your computer.
After extracting, a folder named gnuboard-plugin-mong9-editor
will be created.
Rename the folder to mong9-editor
.
2. Connect to the server using an FTP client or other file transfer method.

Like the picture above if you see folders like /extend
, /plugin
, /lib
, you're in Gnuboard top (root) directory.
Finding this main folder is important
3. Upload the mong9-editor
folder to /plugin
.

Mong9 Editor is a plugin, so upload the mong9-editor
folder to the /plugin
folder.
Place the mong9-editor
folder inside the /plugin
folder, like in image above
4. Upload mong9-editor.extend.php
to the /extend
folder.

Like the image above, Upload the mong9-editor.extend.php
file into the/extend
folder.
mong9-editor.extend.php
file is inside the /plugin
folder. Copy or cut it and move it to /extend
folder.
mong9-editor.extend.php
file is an executable file to run the Mong9 Editor in Gnuboard. (Connection work)
In versions prior to Gnuboard 5.4, this work was not necessary.
But Gnuboard 5.4 and above, plugins work through HOOK
.
Files in /extend
run every time when pages load. So, it is to upload the minimum files in the /extend
folder for speed and ease of management, so please follow it even if it is complicated.
5. Add code to the /lib/common.lib.php
file.

Open the /lib/common.lib.php
file and find the html_purifier()
function on line 580.
Depending on your version, the line numbers are all different.
The key point is to insert the code $purifier = new HTMLPurifier($config); directly above it.
If this code is not inserted, the document created with the Mong9 editor will be broken.
(Mong9 editor properties are deleted from Gnuboard)

Change it like the source above and save it. Copy and use the code below