Juicy ASE for Revcms [Development]

Results 1 to 12 of 12
  1. #1
    Proficient Member Leon Retros is offline
    MemberRank
    Nov 2012 Join Date
    174Posts

    Juicy ASE for Revcms [Development]





    Features

    Has fontawesome for icons (so it becomes more unique)
    The design is modern & flat so it gets a professional look
    Powered by bootstrap (so you have alot of basic codes included such as Alerts.)

    So the basic idea of Juicy ASE is that it should be compatible to all and i repeat all versions of retros
    (from r63 - r63A) with that said my main focus on this project is to make it compatible with Azure, Gold tree & Skywave. If everything goes as planned it will be released in the end of july.

    The other basic concept of this is that it should be easy to manage your retro, therefore this will be a very simple Housekeeping/ASE so you do not have to lift a finger.

    Is there a base of this housekeeping?
    Yes the base of this ASE will be GrapeAse or atleast some codes, another base if you can call you that is that the design was sent to me by a friend so I just took it and made it into css3. Everthing that I haven't done in this ASE will be credited

    Snippets?
    In the Dasboard there is a count of how much dollars you have made
    It has also Included a User count in total!
    PHP Code:
    <?php
      
    // Cost of VIP membership (in Dollars)
      
    $y 5;
      
      
    // Fetching the amount of VIP members times how much VIP costs gives you the current profit DONT change the codes
      
    $profit mysql_query("SELECT COUNT(*) AS profit FROM users WHERE rank = 7") or die(mysql_error());
      
      
    $money_profit mysql_fetch_assoc($profit);
      
      
    // Fetching the amount of registered users 
      
    $count mysql_query("SELECT COUNT(*) AS count FROM users") or die(mysql_error());
      
      
    $user_count mysql_fetch_assoc($count);

      echo 
    '<div class="btn-controls">';
      
      echo 
    '<div class="btn-box-row row-fluid">';
      
      echo 
    '<a href="#" class="btn-box big span4">';
      
      echo 
    '<i class=" icon-random"></i>';
      
      echo 
    '<b> 65% </b>';
      
      echo 
    '<p class="text-muted">';
      
      echo 
    'Growth';
      
      echo 
    '</p>';
      
      echo 
    '</a>';
      
      echo 
    '<a href="#" class="btn-box big span4">';
      
      echo 
    '<i class="icon-user"></i>';
      
      echo 
    '<b>';
      
      print 
    $user_count['count']; //How to print out the amount of users of the hotel
      
      
    echo'</b>';
      
      echo 
    '<p class="text-muted">';
      
      echo 
    'Registered Users';
      
      echo 
    '</p>';
      
      echo 
    '</a>';
      
      echo 
    '<a href="#" class="btn-box big span4">';
      
      echo 
    '<i class="icon-money"></i>';
      
      echo 
    '<b>';
      
      print 
    $y $money_profit['profit']; // How to check the profit
      
      
    echo '</b>';
      
      echo 
    '<p class="text-muted">';
      
      echo 
    'Profit';
      
      echo 
    '</p>';
      
      echo 
    '</a>';
      
      echo 
    '</div>';

      echo 
    '</div>';
    ?>
    [/I]

    Screenshot:
    Klick here to view.

    Thanks for taking the time reading through this thread , be sure to post what you think should be included and what you think about this idea! In the end everyones oppinion matter, but a thing I would not like to see is "this is ugly af" etc. You can just write that you disliked it if you did.

    Ps. I will be updating this every week / every other day depending how far I get with it


    Last edited by Leon Retros; 19-07-15 at 05:40 PM.


  2. #2
    Typescript XOXO LeChris is offline
    MemberRank
    Sep 2011 Join Date
    749Posts

    Re: Juicy ASE for Revcms [Development]

    So right now you are showcasing a template layout...

  3. #3
    Proficient Member Leon Retros is offline
    MemberRank
    Nov 2012 Join Date
    174Posts

    Re: Juicy ASE for Revcms [Development]

    Well I wrote this thread about a week ago so right now I have done some basic work on it and I will post the Snippets as soon as I have checked the querys etc so they are right and then I will post it here. Other features that will be included in this is the following; Add values/edit values, Add Emblem to emblem shop (both emblem shop script and hk script will be included once i put it up for download) and there will be more stuff such as filter a news comment word etc.

  4. #4
    Account Upgraded | Title Enabled! Jamal7 is offline
    MemberRank
    Dec 2013 Join Date
    547Posts

    Re: Juicy ASE for Revcms [Development]

    Good luck with your project.

    I have only two things to say to you:

    Why all in a echo? I really don't like that why?
    - HTML within a PHP echo statement won't engage intellisense, so you'll be typing all that HTML by hand.
    - Code coloring.

  5. #5
    git bisect -m ovflowd is offline
    MemberRank
    Sep 2011 Join Date
    2,191Posts

    Re: Juicy ASE for Revcms [Development]

    Exactly, is really bad write in this way.

  6. #6
    Proficient Member Leon Retros is offline
    MemberRank
    Nov 2012 Join Date
    174Posts

    Re: Juicy ASE for Revcms [Development]

    Quote Originally Posted by Sir Jamal View Post
    Good luck with your project.

    I have only two things to say to you:

    Why all in a echo? I really don't like that why?
    - HTML within a PHP echo statement won't engage intellisense, so you'll be typing all that HTML by hand.
    - Code coloring.
    Quote Originally Posted by bi0s View Post
    Exactly, is really bad write in this way.
    So I Write everything in a <?php echo'' ?> because I find it easier later on to find codes etc and edit things on the actual file and not have to look through lots and lots of messy html coding when I can just write it whitin a echo to easy find the code im looking for later on an example can be

    <div class="my messy class">
    <div class="another messy class">
    <span class="text spawner">Lel </span>
    </div>
    </div>

    When I can Easier do
    <?php
    echo'<div class="this is neat">';

    echo '<div class="another neat row">';

    echo '<span class="text spawner neat">';

    echo 'my neat message';

    echo'</span>';

    echo '</div>';

    echo '</div>';

    ?>

    And Sir Jamal Thank you!

  7. #7
    git bisect -m ovflowd is offline
    MemberRank
    Sep 2011 Join Date
    2,191Posts

    Re: Juicy ASE for Revcms [Development]

    No, that is really bad. This will consumpt more memory. You DON'T MUST put every html tag in a echo. That is really bad!

  8. #8
    Proficient Member Leon Retros is offline
    MemberRank
    Nov 2012 Join Date
    174Posts

    Re: Juicy ASE for Revcms [Development]

    Quote Originally Posted by bi0s View Post
    No, that is really bad. This will consumpt more memory. You DON'T MUST put every html tag in a echo. That is really bad!
    As I said before I am well aware of this taking more "memory" but I want i to be neat so I can edit the codes, Of course I will think of the one using it first before I put my own desires at hand that's why I will only be realasing normal html mixed with PHP (normal structure of hks) because of this. But for my own personal use I am going to use this.

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

    Re: Juicy ASE for Revcms [Development]

    Looks good, but I got some points maybe worth looking at. If you need any help, you can PM me. (reply not guaranteed, I'll leave for holiday soon, maybe no internet there...)

    1. FontAwesome doesn't make it unique, just awesome. :P
    2. Apple's old UIs looked professional as well, though weren't flat.
    3. Okay, that's cool. Does this matter for users?
    4. Thats a really great feature, which I have often tried to achieved, but... How are you going to do this? Many different versions and their emulators have different database schemes. A possible approach would be having a type of configuration file, where you can enter table/field names that your emulator uses. You can also go for an OOP abstraction system.
    5. Will you add speech recognition? :D
    6. You appear to be using mysql_* functions. By the end of this year, when a stable version of PHP7 gets released, no-one will support it. It also lacks a bunch of MySQL features already. Maybe go for mysqli or PDO?
    7. I see you are hardcoding rank 7 to be the admin rank. Hardcoding isn't good, as it makes customization and integration a whole lot more difficult.
    8. You can combine the count queries into one:
    SELECT (SELECT COUNT(*) FROM users WHERE rank = ...) AS profit, (SELECT COUNT(*) FROM users) AS usercount
    9. Using a template engine such as Twig makes the system more modular and makes the code a whole lot clearer.
    10. When you chose to just keep HTML and PHP in the same file, don't use echo statements all the time. They slow down.

  10. #10
    .io developer JPride is offline
    MemberRank
    Sep 2013 Join Date
    The Next LegendLocation
    481Posts

    Re: Juicy ASE for Revcms [Development]

    Good luck I guess :P

  11. #11
    ignition sequence start Unphased is offline
    MemberRank
    Jul 2012 Join Date
    DeniedLocation
    1,860Posts

    Re: Juicy ASE for Revcms [Development]

    Quote Originally Posted by bi0s View Post
    Exactly, is really bad write in this way.
    Pretty sure the majority of your work is spaghetti...

    I'd like to see this finished. Good luck!

  12. #12
    Ask me about Daoism FullmetalPride is offline
    MemberRank
    Nov 2010 Join Date
    2,172Posts

    Re: Juicy ASE for Revcms [Development]

    Seriously, how the hell does that make it easier to read? Learn to use an IDE properly..stop arguing against changing it.

    Your example is NOT neat!! It's incredibly hard to read! The HTML you posted is perfect and neat :)

    @Unphased regardless, I'd prefer spaghetti to this..besides. His code is fine.



Advertisement