Hello & Welcome to our community. Is this your first visit? Register

Page 1 of 3 123 LastLast
Results 1 to 15 of 33
  1. #1
    Registered

    Rank
    Member
    Join Date
    Jan 2013
    Posts
    21

    [DEV] RevCMS - Forum Plugin [0.247]

    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!

    Pictures:
    Spoiler:










    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:
    Code:
    RewriteRule ^forum/f([a-zA-Z0-9_-]+)(|/)$ index.php?url=forum&view=category&id=$1
    RewriteRule ^forum/thread/([a-zA-Z0-9_-]+)(|/)$ index.php?url=forum&view=thread&id=$1
    RewriteRule ^forum/newthread/f([a-zA-Z0-9_-]+)(|/)$ index.php?url=forum&view=newthread&id=$1
    4 - Navigate to yoursite/forum
    5 - Installed!

    Downloads:
    [Current] Version 0.247: Forum Plugin [RevCMS-0.247].zip
    Version 0.242: Forum Plugin [RevCMS-0.242].zip
    Version 0.239: Forum Plugin [RevCMS-0.239].zip
    Version 0.237: Forum Plugin [RevCMS-0.237].zip
    Version 0.235: Forum Plugin [RevCMS-0.235].zip

    Do you like it? Please post your suggestions & ideas down below, also like my thread! :-)

    ---
    Updates & Patches
    Please check this daily (its important!)

    -> dbforum.sql (missed a default value) [Patched in 0.247]
    Spoiler:
    Fixes the error on the /forum The column 'muted_reason' does not have a default value. Execute this query into your database:
    Code:
    ALTER TABLE `forum_users` CHANGE `muted_reason` `muted_reason` VARCHAR(255) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL DEFAULT 'NULL'


    -> Global.php miss! (Fixes some issues) [Released in Version 0.242]
    Spoiler:
    This is the error where some of the global issues error out, here is the fix (just replace your global.php with this!)
    Spoiler:

    PHP Code:
    <?php


        
    // Special Functions
        
        
    function filter($var)
        {
            return 
    mysql_real_escape_string(stripslashes(htmlspecialchars($var)));
        }


    if(!
    defined('IN_INDEX')) { die('Sorry, you cannot access this file.'); }
    if(isset(
    $_SERVER['HTTP_CF_CONNECTING_IP'])) { $_SERVER['REMOTE_ADDR'] = $_SERVER['HTTP_CF_CONNECTING_IP']; }
    error_reporting(E_ALL E_NOTICE);


    define('A''app/');
    define('I''interfaces/');
    define('M''management/');
    define('T''tpl/');




    //REVOLUTION


    use Revolution as Rev;




        
    //INTERFACES
        
            
    require_once 'interface.core.php';
            
            require_once 
    'interface.engine.php';
        
            require_once 
    'interface.users.php';
        
            require_once 
    'interface.template.php';
            
            
    //TPL
            
                
    require_once 'interface.forms.php';
                
                
    //HTML
                
                    
    require_once 'interface.html.php';
                    
                
    //CSS
                    
                    
    require_once 'interface.css.php';
                    
                
    //JS
                    
                    
    require_once 'interface.js.php';
                    
        
        
    //CLASSES
        
            //app
        
            
    require_once 'class.core.php';
            
            require_once 
    'class.engine.php';
            
            require_once 
    'class.users.php';
            
            require_once 
    'class.template.php';


            require_once 
    'class.forum.php';
            
            
    //MANAGEMENT
            
                
    require_once 'config.php';
                
                require_once 
    'recaptchalib.php';
                    
            
    //TPL
            
                
    require_once 'class.forms.php';
                
                
    //HTML
                    
                    
    require_once 'class.html.php';
                    
                
    //CSS
                    
                    
    require_once 'class.css.php';
                    
                
    //JS
                    
                    
    require_once 'class.js.php'
            
            
        
    //OBJ
        
        
    $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();
            
        
    //START    
        
        
    session_start();
        
    $engine->Initiate();
        
    $template->Initiate();
        
    ?>


    Already have an editted global.php? Just add this or replace where necessary! Thanks to Sledmore!
    PHP Code:
            //app
            
    require_once 'class.core.php';
            require_once 
    'class.engine.php';
            require_once 
    'class.users.php';
            require_once 
    'class.template.php';
            require_once 
    '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!

    Attached Thumbnails Attached Thumbnails Screenshot (4).png   Screenshot (5).png   Screenshot (6).png   Screenshot (7).png   Screenshot (8).png  

    Last edited by iBennish; 13-01-13 at 06:30 PM. Reason: Postponed Development
    I'm not new here, I haven't been into Habbo developments in a while, and I have forgot my old account details.


  2.  
  3. #2
    Run, but I'll find you. Ddos Attack's Avatar

    Rank
    True Member
    Join Date
    Jan 2011
    Location
    Australia
    Posts
    888

    Re: [DEV] RevCMS - Forum Plugin

    This looks cool. Shame I don't use Rev, because this looks awesome :)

  4. #3
    Registered

    Rank
    Member
    Join Date
    Jan 2013
    Posts
    21

    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
    I'm not new here, I haven't been into Habbo developments in a while, and I have forgot my old account details.

  5. #4
    Hardcore Member

    Rank
    Member
    Join Date
    Nov 2011
    Posts
    144

    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.

  6. #5
    Member TinyBuilder's Avatar

    Rank
    Member
    Join Date
    Aug 2012
    Location
    India
    Posts
    55

    Re: [DEV] RevCMS - Forum Plugin

    Awesome release! Thanks for sharing it with us.
    Me + Ragezone =

  7. #6
    Member Find's Avatar

    Rank
    Member
    Join Date
    Jun 2012
    Posts
    52

    Re: [DEV] RevCMS - Forum Plugin

    This looks like it will be great to use and edit to my liking

  8. #7
    Hardcore Member PrinceOren's Avatar

    Rank
    Member
    Join Date
    Jul 2010
    Posts
    115

    Re: [DEV] RevCMS - Forum Plugin

    Nice ! I've been waiting for this released :3
    Thanks for released it!


    Story Of Evil ♥

  9. #8
    Planning Stuff Since 2013 Vrop93's Avatar

    Rank
    True Member
    Join Date
    Jan 2012
    Location
    Grocery Store
    Posts
    319

    [DEV] RevCMS - Forum Plugin

    Nice release :D makes me wish I didn't stop using RevCMS :3


    Sent from an unbroken iPod with tapatalk

  10. #9
    Account Upgraded | Title Enabled! HabflareH's Avatar

    Rank
    True Member
    Join Date
    Jun 2012
    Posts
    260

    Re: [DEV] RevCMS - Forum Plugin

    this is nice, i might use it.

  11. #10
    Registered

    Rank
    Member
    Join Date
    Mar 2012
    Location
    Dixon, Illinois
    Posts
    6

    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

  12. #11
    RaGECRAFT.in Admin The General's Avatar

    Rank
    The Omega
    Join Date
    Aug 2011
    Location
    The Netherlands
    Posts
    6,031

    Re: [DEV] RevCMS - Forum Plugin

    Hmm, lemme see if I can use this in my UberCMS edit.

  13. #12
    Registered

    Rank
    Member
    Join Date
    Jan 2013
    Posts
    21

    Re: [DEV] RevCMS - Forum Plugin

    Quote Originally Posted by noobforlunc View Post
    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 View Post
    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!)
    Last edited by iBennish; 13-01-13 at 12:36 PM.
    I'm not new here, I haven't been into Habbo developments in a while, and I have forgot my old account details.

  14. #13
    Purple subscription Sledmore's Avatar

    Rank
    Subscriber
    Join Date
    Jun 2009
    Posts
    1,079

    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 'class.core.php';
            
            require_once 
    'class.engine.php';
            
            require_once 
    'class.users.php';
            
            require_once 
    'class.template.php';
            
            require_once 
    'class.roleplay.php';
            
            require_once 
    '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.

  15. #14
    Registered

    Rank
    Member
    Join Date
    Jan 2013
    Posts
    21

    Re: [DEV] RevCMS - Forum Plugin

    Quote Originally Posted by Sledmore View Post
    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 'class.core.php';
            
            require_once 
    'class.engine.php';
            
            require_once 
    'class.users.php';
            
            require_once 
    'class.template.php';
            
            require_once 
    'class.roleplay.php';
            
            require_once 
    '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
    Last edited by iBennish; 13-01-13 at 11:51 AM.
    I'm not new here, I haven't been into Habbo developments in a while, and I have forgot my old account details.

  16. #15
    @r63b on Twitter

    Rank
    True Member
    Join Date
    Jan 2012
    Location
    php.net
    Posts
    420

    Re: [DEV] RevCMS - Forum Plugin

    I could tell this was going to be brilliant when you started coding it, everything about it is perfect.

    Boris Johnson Very Nice - YouTube

 

 
Page 1 of 3 123 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HyperFilter
Sponsored by HyperFilter , secured by Incapsula , powered by LiteSpeed.
Mods by DBTech. All times are GMT +1. The time now is 12:33 AM.
Powered by vBulletin® Copyright , Jelsoft Enterprises Ltd.