CheerCMS New Improved RevCMS

Page 1 of 2 12 LastLast
Results 1 to 15 of 17
  1. #1
    Alpha Member Glee is offline
    MemberRank
    Jun 2009 Join Date
    Niagara Falls,Location
    2,225Posts

    CheerCMS New Improved RevCMS

    CheerCMS

    Today I want to bring a good CMS to the community that is Based off RevCMS with lots of Features.

    Planned:

    - Nice Theme 100%
    - Proper Housekeeping 85% (want to add more features)
    - Manageable Site via housekeeping
    - Header. 90%
    - SubNavi. 0%

    Screen Shots:





    Snippets:

    Header.php

    PHP Code:
    <div id="header-container">
                <div id="header" class="clearfix">
                    <h1><a href="{url}/"></a></h1>
                    <div id="subnavi" class="narrow">
                           <div id="subnavi-search"> 
                                <div id="subnavi-search-upper">
                                      <ul id="subnavi-search-links">
                                    <?php
                                    
    if(isset($_SESSION['user']['id']))
                                    echo 
    '<li><a href="#" target="habbohelp" style="color:#fc6204">CheerValues</a></li>';
                                    else
                                    {
                                    echo 
    '';
                                    }
                                    
    ?>
    PHP Code:
    <ul id="navi">
            <?php
            
    if ($navigatorID == 1)
                echo 
    '<ul id="navi"><li class="metab selected"><strong>{username}</strong><span></span></li>';
            else if (isset(
    $_SESSION['user']['id']))
                echo 
    '<li class=""><a href="{url}/me">{username}</a><span></span></li>';
            else if (!isset(
    $_SESSION['user']['id']))
                echo 
    '<li id="tab-register-now"><a href="{url}/register">Guest-Register</a><span></span></li>';;
    subnavi.php

    PHP Code:
    <?php
    if ($navigatorID == 1)
    {
        if (
    $subNavigatorID == 1)
            echo 
    '<li class="selected">Home</li>';
        else
            echo 
    '<li class=""><a href="{url}/me">{username}</a></li>';
    Due Date: Nov. 1st 2015


  2. #2
    Evil Italian Overlowrd Droppy is offline
    [Internal Coder]Rank
    Feb 2012 Join Date
    /home/droppyLocation
    2,047Posts

    Re: CheerCMS New Improved RevCMS

    Approved, good luck!

  3. #3
    "(still lacks brains)" NoBrain is offline
    MemberRank
    Sep 2011 Join Date
    United KingdomLocation
    2,658Posts

    Re: CheerCMS New Improved RevCMS

    You may as well just build it from scratch rather than build upon RevCMS, depending on how far you have got.

  4. #4
    Loyalty Vaulient is offline
    MemberRank
    May 2012 Join Date
    MalaysiaLocation
    1,796Posts

    Re: CheerCMS New Improved RevCMS

    I agree with what nobraim has to say , but however your development is looking clean and sleek. Good luck , I hope to see a fair amount of progress from this

  5. #5
    Account Upgraded | Title Enabled! PR0 is offline
    MemberRank
    Mar 2007 Join Date
    1,207Posts

    Re: CheerCMS New Improved RevCMS

    Your if statements look odd to me. I'm aware that people sometimes don't use the classic syntax:
    if () {};


    For the header snippet, don't you need to put "endif" somewhere at the end of the if statement?

  6. #6
    "(still lacks brains)" NoBrain is offline
    MemberRank
    Sep 2011 Join Date
    United KingdomLocation
    2,658Posts

    Re: CheerCMS New Improved RevCMS

    There is a typo in your second example block:

    Code:
                echo '<li id="tab-register-now"><a href="{url}/register">Guest-Register</a><span></span></li>';;
    You have put double semi-colon.

    Along with that, you are inconsistent with your if statements. One minute you are using braces, the next you aren't. Please pick one style of if statement, and use that instead of constantly switching it up. However, I would recommend that you stick to one of if statement syntaxes I have shown below due to the fact that some PHP editors automatically add in the braces and it can become fairly difficult to read the code without them if you have a large block of code.

    Code:
    if ($a = 1) {
    
    } else {
    
    }
    or

    Code:
    if ($a = 1) 
    {
    
    } 
    else
    {
    
    }
    Whatever floats your boat. If you do decide to stick to the non-braces syntax, just be careful you don't cause syntax errors. ;)

    Now, as for this:

    Code:
    <div id="header-container"> 
                <div id="header" class="clearfix"> 
                    <h1><a href="{url}/"></a></h1> 
                    <div id="subnavi" class="narrow"> 
                           <div id="subnavi-search">  
                                <div id="subnavi-search-upper"> 
                                      <ul id="subnavi-search-links"> 
    <?php 
                                    if(isset($_SESSION['user']['id'])) 
                                    echo '<li><a href="#" target="habbohelp" style="color:#fc6204">CheerValues</a></li>'; 
                                    else 
                                    { 
                                    echo ''; 
                                    } 
                                    ?>
    Please, please, please do not combine PHP and HTML. Just use variables.

  7. #7
    apt-get install xcowsay 3M1L is offline
    MemberRank
    Jul 2012 Join Date
    SwedenLocation
    268Posts

    Re: CheerCMS New Improved RevCMS

    Would be nice if you converted it to either PDO or MySQLi.

    Edit: Is this just a bunch of plugins smashed together in revCMS?

  8. #8
    Account Upgraded | Title Enabled! asesinato is offline
    MemberRank
    Aug 2014 Join Date
    601Posts

    Re: CheerCMS New Improved RevCMS

    Apart from a new Housekeeping, what's so great about this CMS which will make other people use it?

  9. #9
    iiiiiiiiiii Brought is offline
    MemberRank
    Aug 2013 Join Date
    469Posts

    Re: CheerCMS New Improved RevCMS

    Oh god, here comes another Habbo Theme RevCMS edit.

    You should consider creating a custom design or at least creating the CMS from scratch rather than basing it on Rev. Ya gotta' give people some sort of reason to even want to use this compared to the other billion Habbo Theme Rev edits.

  10. #10
    ◝(⁰▿⁰)◜Smile◝ (⁰▿⁰)◜ Taiga is offline
    DeveloperRank
    May 2007 Join Date
    InternetLocation
    2,464Posts

    Re: CheerCMS New Improved RevCMS

    Quote Originally Posted by ησвяαιη View Post

    Now, as for this:

    Code:
    <div id="header-container"> 
                <div id="header" class="clearfix"> 
                    <h1><a href="{url}/"></a></h1> 
                    <div id="subnavi" class="narrow"> 
                           <div id="subnavi-search">  
                                <div id="subnavi-search-upper"> 
                                      <ul id="subnavi-search-links"> 
    <?php 
                                    if(isset($_SESSION['user']['id'])) 
                                    echo '<li><a href="#" target="habbohelp" style="color:#fc6204">CheerValues</a></li>'; 
                                    else 
                                    { 
                                    echo ''; 
                                    } 
                                    ?>
    I would use this (it doesn't fit on the screen properly tough):
    Code:
    echo (isset($_SESSION['user']['id'])) ? '<li><a href="#" target="habbohelp" style="color:#fc6204">CheerValues</a></li>':'';
    Last edited by Taiga; 20-09-15 at 05:19 AM.

  11. #11
    Account Upgraded | Title Enabled! iRetro™ is offline
    MemberRank
    Feb 2010 Join Date
    United KingdomLocation
    558Posts

    Re: CheerCMS New Improved RevCMS

    Why have you renamed a CMS and stated its in development? When clearly RevCMS is already fully functional.

    What makes this different from RevCMS?

    Is it because:
    You've edited/added some files?
    You've added some different style?

    I think you should maybe call it a Theme for RevCMS (or a slight edit of it) You shouldn't rename a CMS, you basically trying to get credit for a CMS but you haven't coded A CMS, You've edited a few files?

  12. #12
    Alpha Member Glee is offline
    MemberRank
    Jun 2009 Join Date
    Niagara Falls,Location
    2,225Posts

    Re: CheerCMS New Improved RevCMS

    At one point RevCMS hasn't fully developed properly that Is why I'm re-coding it! Making it properly functional with proper housekeeping

  13. #13
    "(still lacks brains)" NoBrain is offline
    MemberRank
    Sep 2011 Join Date
    United KingdomLocation
    2,658Posts

    Re: CheerCMS New Improved RevCMS

    Quote Originally Posted by Glee View Post
    At one point RevCMS hasn't fully developed properly that Is why I'm re-coding it! Making it properly functional with proper housekeeping
    Everyone uses RevCMS, there is just no public competition to promote proper development. You're essentially just reinforcing RevCMS' grasp on the community when there are better alternatives available or ones that could be created.

    My recommendation would be to just ignore the main website and develop a universal Housekeeping that supports multiple databases for different emulators with essential features since the community is just missing a half-decent Housekeeping.

    Whatever floats your boat though.

  14. #14
    Gaby is offline
    MemberRank
    Apr 2013 Join Date
    Viva HollandiaLocation
    1,607Posts

    Re: CheerCMS New Improved RevCMS

    Why do you echo out all the HTML? It's seriously a bad practice to do, since you can also just write it as HTML and not rely on PHP for it. Also this is kind of unnecessary:

    Code:
    if ($navigatorID == 1) 
    { 
        if ($subNavigatorID == 1) 
            echo '<li class="selected">Home</li>';
    Just some suggestions.

  15. #15
    Proficient Member Xesause is offline
    MemberRank
    Feb 2015 Join Date
    181Posts

    Re: CheerCMS New Improved RevCMS

    May I give you an advice?
    Stop trying to improve Rev. The gain is not worth the pain. Start something from scratch, that makes life easier



Page 1 of 2 12 LastLast

Advertisement