habbocms | laravel 5.5 | stripe integration | olschool design
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
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 :blush:
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. not a big deal but uncomment line 14 in /app/Http/Controllers/PasswordGenerator.php
Re: habbocms | laravel 5.5 | stripe integration | olschool design
Re: habbocms | laravel 5.5 | stripe integration | olschool design
You finally released it! Looks great, but the index and register page could be better.
Re: habbocms | laravel 5.5 | stripe integration | olschool design
Wow ! It's so beautiful ! :O BEAUTIFUL !
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 :love:
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 !
Re: habbocms | laravel 5.5 | stripe integration | olschool design
Quote:
Originally Posted by
Konquer
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.
Re: habbocms | laravel 5.5 | stripe integration | olschool design
Quote:
Originally Posted by
Quackster
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
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?
Re: habbocms | laravel 5.5 | stripe integration | olschool design
Quote:
Originally Posted by
Rhys
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
Re: habbocms | laravel 5.5 | stripe integration | olschool design
Nice release, however, would not recommend using. 5/10
Re: habbocms | laravel 5.5 | stripe integration | olschool design
Quote:
Originally Posted by
Dominic
Nice release, however, would not recommend using. 5/10
Reason?