habbocms | laravel 5.5 | stripe integration | olschool design

Results 1 to 12 of 12
  1. #1
    o/ Konquer is offline
    True MemberRank
    Apr 2014 Join Date
    353Posts

    habbocms | laravel 5.5 | stripe integration | olschool design


    RaGEZONE Recommends

    RaGEZONE Recommends

    Whipped this together a couple of months back for a hotel and received some nice requests to release it, so here goes.

    Requires php >= 7

    Screenies
    Spoiler:


























    Should work fine with any revcms/plus/butterfly or similar setup if you add these tables:
    habbocms sql


    Download:
    habbocms


    Unless it's a question strictly towards me, please post it in this section
    http://forum.ragezone.com/f333/


    Apologies for the foreign language



    EDIT:
    I commented out two middlewares from the password creation controller when i logged in to take screenshots and forgot to uncomment it before releasing. This allows players with all ranks to go to yourdomain.com/hashpass/some_random_pw to generate a password hash for that input. I'm no hashing wizard, but it may be possible to decode the application key through this, so please uncomment line 14 in /app/Http/Controllers/PasswordGenerator.php
    Last edited by Konquer; 3 Weeks Ago at 09:00 PM. Reason: informing about a security flaw
    Lurking around


  2. #2
    Registered Roanoke is offline
    MemberRank
    Nov 2017 Join Date
    24Posts

    Re: habbocms | laravel 5.5 | stripe integration | olschool design

    awesome and nostalgic!!

  3. #3
    Ultimate Member Yesser is offline
    MemberRank
    Aug 2010 Join Date
    160Posts

    Re: habbocms | laravel 5.5 | stripe integration | olschool design

    You finally released it! Looks great, but the index and register page could be better.
    "The difference between masters [Maritnmine, Leon] and a beginner is simple to explain. Masters has failed more times than the beginner has even tried."

    - Sir Yesser, nominated for presidency 2020

  4. #4
    Member pipitt05000 is offline
    MemberRank
    Feb 2009 Join Date
    44Posts

    Re: habbocms | laravel 5.5 | stripe integration | olschool design

    Wow ! It's so beautiful ! :O BEAUTIFUL !

  5. #5
    o/ Konquer is offline
    True MemberRank
    Apr 2014 Join Date
    353Posts

    Re: habbocms | laravel 5.5 | stripe integration | olschool design

    Some faq's i've been getting over pm regarding this:

    Q: Where do I configure stuff and connect to the database?
    A: Database configuration is in the .env file in the upmost directory, everything else is in config/hotel.php

    Q: How do I disable recaptcha on the register page?
    A: comment out line 64 in app/Http/Controllers/Auth/RegisterController.php

    Q: How should this be set up?
    A: E.g. if your webserver has the following directories var/www/html/public the public folder should be the public folder that is included in the cms. Everything else should be in the html directory (so that no one can access those files through the browser).

    Q: Where do I edit the design?
    A: resources/views/the_file_you_want_to_edit.blade.php

    Q: Staffpage, news etc doesn't update when i manually edit it in the db
    A: The cms caches next to everything for some time to lower requests to the db. You can manually flush the cache by visiting yourdomain.com/cache/clear with an admin account.

    Q: One of my users lost their password, how can i set a new one for them?
    A: You can generate a new salted password hash through yourdomain.com/hashpass/password_to_hash

    Thank you for all the kind words
    Lurking around

  6. #6
    I use to love it more! Jmandupree is offline
    True MemberRank
    Oct 2009 Join Date
    /ragezone/homeLocation
    1,005Posts

    Re: habbocms | laravel 5.5 | stripe integration | olschool design

    HOLY SH*T , The feels man this is dope about to test this out. Index is ugly but no hard to be changed !

  7. #7
    Moderator Quackster is offline
    ModeratorRank
    Dec 2010 Join Date
    AustraliaLocation
    3,134Posts

    Re: habbocms | laravel 5.5 | stripe integration | olschool design

    Quote Originally Posted by Konquer View Post
    Q: How do I disable recaptcha on the register page?
    A: comment out line 64 in app/Http/Controllers/Auth/RegisterController.php
    That's probably one of the worst things you can do to compromise the security of the hotel. By disabling that, you're making it incredibly easy for people to create bot raids on these servers by allowing mass automated account registration.

  8. #8
    o/ Konquer is offline
    True MemberRank
    Apr 2014 Join Date
    353Posts

    Re: habbocms | laravel 5.5 | stripe integration | olschool design

    Quote Originally Posted by Quackster View Post
    That's probably one of the worst things you can do to compromise the security of the hotel. By disabling that, you're making it incredibly easy for people to create bot raids on these servers by allowing mass automated account registration.
    Absolutely not recommending it, but that's the question I received the most besides how the folder structure works. The registration won't work out of the box (unless locally) as it is using api keys whitelisted for my specific domains.

    I don't think I need to explain how to get your own keys, but here's the first link from google after searching recaptcha if anyone is in doubt of where to look https://www.google.com/recaptcha/admin#list
    Lurking around

  9. #9
    Lana Del Rey > Life. Rhys is offline
    True MemberRank
    Jul 2008 Join Date
    AustraliaLocation
    289Posts

    Re: habbocms | laravel 5.5 | stripe integration | olschool design

    Could someone be so kind & post a database..?
    Getting errors about columns in cms_news & users that I could fix, but now it's asking for

    SQLSTATE[42S02]: Base table or view not found: 1146 Table 'habbo.hcms_commits' doesn't exist (SQL: select `date_added` from `hcms_commits` group by `date_added` order by `date_added` desc)

    which wasn't provided?
    lana del rey > life.

  10. #10
    o/ Konquer is offline
    True MemberRank
    Apr 2014 Join Date
    353Posts

    Re: habbocms | laravel 5.5 | stripe integration | olschool design

    Quote Originally Posted by Rhys View Post
    Could someone be so kind & post a database..?
    Getting errors about columns in cms_news & users that I could fix, but now it's asking for

    SQLSTATE[42S02]: Base table or view not found: 1146 Table 'habbo.hcms_commits' doesn't exist (SQL: select `date_added` from `hcms_commits` group by `date_added` order by `date_added` desc)

    which wasn't provided?
    Here's cms_news and hcms_commits
    missing_tables

    Let me know if there's anything else missing and i'll provide it
    Lurking around

  11. #11
    Demi-god. Dominic is offline
    True MemberRank
    Aug 2012 Join Date
    DenmarkLocation
    571Posts

    Re: habbocms | laravel 5.5 | stripe integration | olschool design

    Nice release, however, would not recommend using. 5/10

  12. #12
    Programmer cyberinferno is offline
    True MemberRank
    Jun 2009 Join Date
    BangaloreLocation
    469Posts

    Re: habbocms | laravel 5.5 | stripe integration | olschool design

    Quote Originally Posted by Dominic View Post
    Nice release, however, would not recommend using. 5/10
    Reason?
    Have a look at my simple Discord bot https://github.com/cyberinferno/discord-chum




Advertisement