RevCMS Forum Plugin
Postponed Development
(Read more at the end of the thread)
Hello guys, i'm going to be releasing a real nice forum plug-in coded by myself for RevCMS (only). Installation steps, images and features will all be listed further down the post! Note, this is still in development stages - however I wanted to get it released so others can find bugs, and suggest ideas on what to be added in the next version.
Let's begin!
Feature List: -> Full (easy to manage) category structure in the database
-> Forum location (so you can easily navigate around the forum easily)
-> Keep tracks of all of your threads you have created (latest poster & time)
-> Editable signature
-> Users can be muted from the forum, refraining them to comment & create threads
-> Leaderboards - check whos got the most posts (top 10)
-> Commenting on threads
-> Post Count increases
-> Inbox (minimail system) - still under development!
-> Administrator Panel (manage your forum efficiently) - at the moment everything has to be changed through the database. This isn't efficient enough so soon an admin panel will be released
-> Want to see more? Post your suggestions down below!
Installation Steps: 1 - Extract the ZIP into your RevCMS skin
2 - Execute the SQL file into your database (dbforum.sql)
2.5 - Copy the class.forum.php to your /app/ folder where class.core.php and class.engine.php locate
3 - Add to your htaccess the following:
$core = new Rev\core(); $engine = new Rev\engine(); $users = new Rev\users(); $forum = new Rev\forum(); $template = new Rev\template(); $template->form = new Rev\forms(); $template->html = new Rev\html(); $template->css = new Rev\css(); $template->js = new Rev\js();
Already have an editted global.php? Just add this or replace where necessary! Thanks to Sledmore!
PHP Code:
//app require_once A . 'class.core.php'; require_once A . 'class.engine.php'; require_once A . 'class.users.php'; require_once A . 'class.template.php'; require_once A . 'class.forum.php';
PHP Code:
//OBJ $core = new Rev\core(); $engine = new Rev\engine(); $users = new Rev\users(); $template = new Rev\template(); $forum = new Rev\forum();
-> When your not signed in and you navigate to /forum it sees yourself as a Guest (this can cause too many errors with the forum). Open the spoiler for the fix!
Spoiler:
To resolve this, you need to open up class.core.php and find:
PHP Code:
case "me": case "account": case "news": header('Location: '.$_CONFIG['hotel']['url'].'/index'); exit; break;
And then replace it with this:
PHP Code:
case "me": case "account": case "news": case "forum": //ibennish case "forumaccount": //ibennish case "forumstats": //ibennish case "inbox": //ibennish case "myposts": //ibennish header('Location: '.$_CONFIG['hotel']['url'].'/index'); exit; break;
The comments just show what has been updated to the code!
---
If you have any problems with this please let me know (with a print screen would be easier to resolve your issue) and I will fix it as soon as I know! Please give me some suggestions & feedback on this too!
THE DEVELOPMENT HAS BEEN POSTPONED
THE CURRENT RELEASE VERSION IS V0.247
THE RELEASE IS NOT STABLE
Development on this has been postponed due to too many errors & bugs found, you can install the forum to your CMS, however any problems with it (which you will have) I won't help until I have released the new version which includes the most stable version out of the previous versions. If you want you can check here every now and then, but I will bump the thread if I continue with development. By all means continue with the development yourself, just remember to give me some credit if you re-release!
13-01-13
Ddos Attack
Re: [DEV] RevCMS - Forum Plugin
This looks cool. Shame I don't use Rev, because this looks awesome :)
13-01-13
iBennish
Re: [DEV] RevCMS - Forum Plugin
Thanks:), just realised whilst turning my PC off I have forgotten another snippet of code which redirects users who are not signed in. Will update that tomorrow morning! Sorry for the inconvenience;D
13-01-13
Muffmuncher
Re: [DEV] RevCMS - Forum Plugin
Minimail system shouldn't be part of this plugin should it? Also "Latest threads" doesn't blend in so well with the page tbh, other than that this plugin is perfect! What you could look into now is adding achievements really.
13-01-13
TinyBuilder
Re: [DEV] RevCMS - Forum Plugin
Awesome release! Thanks for sharing it with us.
13-01-13
Find
Re: [DEV] RevCMS - Forum Plugin
This looks like it will be great to use and edit to my liking
13-01-13
PrinceOren
Re: [DEV] RevCMS - Forum Plugin
Nice ! I've been waiting for this released :3
Thanks for released it! :thumbup:
13-01-13
Vrop93
[DEV] RevCMS - Forum Plugin
Nice release :D makes me wish I didn't stop using RevCMS :3
Sent from an unbroken iPod with tapatalk
13-01-13
Flare
Re: [DEV] RevCMS - Forum Plugin
this is nice, i might use it.
13-01-13
noobforlunc
Re: [DEV] RevCMS - Forum Plugin
For some reason I get a weird error, can you help me with this?
Fatal error: Call to a member function getUserData() on a non-object in C:\xampp\htdocs\Betahotel\app\tpl\skins\Habbo\forum.php on line 12
13-01-13
The General
Re: [DEV] RevCMS - Forum Plugin
Hmm, lemme see if I can use this in my UberCMS edit.
13-01-13
iBennish
Re: [DEV] RevCMS - Forum Plugin
Quote:
Originally Posted by noobforlunc
For some reason I get a weird error, can you help me with this?
Fatal error: Call to a member function getUserData() on a non-object in C:\xampp\htdocs\Betahotel\app\tpl\skins\Habbo\forum.php on line 12
Could you give me a printscreen? I'll be able to correct the error quicker. Edit: download version 0.247 (it should fix your problem!)
Quote:
Originally Posted by Muffmuncher
Minimail system shouldn't be part of this plugin should it? Also "Latest threads" doesn't blend in so well with the page tbh, other than that this plugin is perfect! What you could look into now is adding achievements really.
Thanks for the feedback, what can I do to fix up the Latest threads design? The minimail system idea was for users to be able to inbox each other through the site, but still be linked in through the minimail, but I could just make it so it's just a Forum Inbox, and thats that. Also, the idea of achievements has been noted for the upcoming releases so thanks for that:), what sort of achievements would you like to see?
Please refer to the original post for Updates & Fixes for the plugin
(They will be important to check daily!)
13-01-13
Sledmore
Re: [DEV] RevCMS - Forum Plugin
This is pretty cool, nice release. - You might want to add that they need to require the class in global.php like below:
PHP Code:
//app
require_once A . 'class.core.php';
require_once A . 'class.engine.php';
require_once A . 'class.users.php';
require_once A . 'class.template.php';
require_once A . 'class.roleplay.php';
require_once A . 'class.forum.php';
PHP Code:
//OBJ
$core = new Rev\core();
$engine = new Rev\engine();
$users = new Rev\users();
$template = new Rev\template();
$roleplay = new Rev\roleplay();
$forum = new Rev\forum();
(I pasted the whole of mine so people get the idea). - But yeah, otherwise it will not work (uhuh if you included this in the release, but I didn't see it). - Very nice though, keep it up.
13-01-13
iBennish
Re: [DEV] RevCMS - Forum Plugin
Quote:
Originally Posted by Sledmore
This is pretty cool, nice release. - You might want to add that they need to require the class in global.php like below:
PHP Code:
//app
require_once A . 'class.core.php';
require_once A . 'class.engine.php';
require_once A . 'class.users.php';
require_once A . 'class.template.php';
require_once A . 'class.roleplay.php';
require_once A . 'class.forum.php';
PHP Code:
//OBJ
$core = new Rev\core();
$engine = new Rev\engine();
$users = new Rev\users();
$template = new Rev\template();
$roleplay = new Rev\roleplay();
$forum = new Rev\forum();
(I pasted the whole of mine so people get the idea). - But yeah, otherwise it will not work (uhuh if you included this in the release, but I didn't see it). - Very nice though, keep it up.
Completely missed that, there's always something I missed I've updated the thread - Version 0.242 now includes my global.php
Thanks for your feedback :D
13-01-13
r63
Re: [DEV] RevCMS - Forum Plugin
I could tell this was going to be brilliant when you started coding it, everything about it is perfect.