Added a character page:
The reason that I didn't add reborns yet is that I realized I need to make a configuration option that says whether the server is a rebirth based server, or a level based server. This update will come later today, or early tomorrow.
edit: jk, took a lot less time than I thought. Feature added.
![]()
Last edited by greenelfx; 05-01-14 at 06:17 PM.
GD v144.3?? :O Link?
Oww Ok.
Just pushed out some minor updates which should ensure compatibility for users without .htaccess
I haven't been notified about any bugs for a few days now, which means that hopefully things are running well. Since school has started again, I'll be pushing out updates less frequently during the week, and more frequently on the weekends.
PS: Custom Pages and Vote Modals are coming back to MapleBit!
Edit for Custom Pages (first major feature!):
Note that adding a custom page automatically adds it to the navigation bar. Unlike the old Cype, this is all done through the database. I believe that this is a safer and more efficient way of creating custom pages. I have also introduced HTMLPurifier, and integration throughout the CMS is planned.
Last edited by greenelfx; 10-01-14 at 12:33 AM.
Thanks :)
I've updated MapleBit today. I do consider this update to be a "major" update, which means that if you wish to update to this version, I strongly advise that you do a clean install of MapleBit.
Here's some changes I've made today:
Hide/Show Custom Pages on the navigation bar:
Changed WYSIWYG Editor to CKEditor:
Note that the other pages that use text areas, such as the news, events, and gmblog pages have been updated to use CKEditor. They also support clean HTML output via HTMLPurifier.
Enjoy the update, and please report any bugs here!
EDIT: I am aware of the news/events/gmblog comment bug.
EDIT2: Resolved.
Last edited by greenelfx; 10-01-14 at 11:54 PM.
Hmm could you integrate, events and news connected to the forums? So it takes the updates you post on the forums on the website thanks.
Thanks!
This is not going to happen, as it removes the whole content creation part of the "content" management system. I do plan on generating a RSS/XML feed from the News, events, and GM Blog, which would make it possible to import that into your forum.
--
My current project for the next couple days is to revamp the admin interface to accommodate for the growing number of configuration and data that admins can manage.
bootstrap *-*
Man, finaly i saw something good in this forum. Theres a lot of shit here and everybody says "good work, very nice". They only can be crazy.
Your design looks really good, the only problem i saw is because you did not used images. This is not a "very nice" website for a game. Games usually have a website with a lot of images and things moving.
Heres a example of a good website of "elsword" http://levelupgames.uol.com.br/elsword/
People can add their own backgrounds, banners, etc through the admin panel. I'm not too motivated to add images to the CMS right now, but it may be added later in beta. Currently focused on adding more features.
EDIT: Added CKEditor abilities for users in their profile info box, and in the news/events/gmblog comments section. Now you might be thinking that allowing users to put in HTML tags isn't safe, but it turns out this is much safer than what I had been doing earlier. Here's what it looks like:
As you can see, only a few tag buttons are available for users. But of course, users could put in their own tags. So before inserting, the content is escaped. Then, when displaying the content, HTMLPurifier only allows a few tags to be rendered. Here's the code:
This lets users post comments like this:PHP Code:
$commentconfig = HTMLPurifier_Config::createDefault();
$commentconfig->set('HTML.Allowed', 'p, b, u, s, ol, li, ul, i, em, strong');
$commentpurifier = new HTMLPurifier($commentconfig);
while($c = $gc->fetch_assoc()){
$clean_comment = $commentpurifier->purify($c['comment']);
without anything harmful happening!
EDIT2: After some major github problems, I was able to get back on track. I've added comment quoting (which took a very long time)
![]()
Last edited by greenelfx; 11-01-14 at 08:10 PM.