help how do i make it public so others can get on my website
help how do i make it public so others can get on my website
Hi guys, I have setup the website (Huge thanks to OP btw) but I am unable to log in to any of my accounts in my database but I am able to register new ones. I also can not work out how to access the admin account, is it the same as the admin account on my database..?
Are your passwords in your database plaintext, or are they SHA-1 (or SHA-512/whatever MapleBit uses now if they changed it)? I wouldn't be surprised if it doesn't like plaintext passwords and only compares encrypted passwords.. and yes, it reads from your 'accounts' table in your database. If you're set as an admin in the database, you should be able to access the admin panel.
MapleBit will check SHA-1 or SHA-512, but will not check plaintext. @Lowbobs should verify that his accounts have passwords that have been hashed (not encrypted ;P). To make yourself a webadmin, change your account in MySQL to have webadmin=1. You will need to logout and log back in to view the admin panel.
Thanks so much for your help! Really appreciate what you've done :D
When registering an account why not set the nx column to 0 instead of leaving it as null? Therefore, users can vote before logging in for the first time.
Good question, this has been brought up before. The issue with this is that it makes account registration reliant on the fact that the web admin has properly configured the CMS to use the correct columns. I want MapleBit to be as "idiot proof" as possible, so I'm not sure if adding unnecessary dependence is the best idea. If you are looking to fix this issue, you can simply set your NX column to have the default value of 0 in MySQL.
What version of PHP and MySQL are you running?
8/13/2016:
Had some free time, rewrote registration!
The new refreshed page is much cleaner, and implements a validation library so that errors are more consistent and intuitive than before. Users will no longer have to "go back" and refill in the registration form, as those values are preserved. Finally, the registration code is much cleaner and logical, so web admins can make changes as needed. If this "experiment" goes well, I can see about implementing the library site-wide (I also said this for pagination, but never got around to doing that site-wide.. ;P)
Pages left that need a full/partial rewrite include:
public/news, public/events, public/gmblog, public/vote, public/ticket, account-settings, [STRIKE]profile-edit[/STRIKE], [STRIKE]profile-name[/STRIKE], admin/manage-*, admin/ticket, admin/voteconfig, gmcp/manage-blog
Not sure if I'll ever get around to rewriting the bigger pages (news/events/gmblogs and management pages).
Last edited by greenelfx; 14-08-16 at 03:45 PM.
I resolved the issue:
I didn't have the package mysqli.
Hey, not sure if there's an actual fix for this, my account logged in to the CMS when I registered it, went in-game and got stuck, I like to test features of a CMS, so as I was logging in it appears after we hit in-game the logins are incorrect.
My version of MapleBit is quite new.
why did god curse us with the abilities to make search engines but not give us the knowledge on how to use them?
-
https://mapleme.me/
The memes of the Maple community all in one place.