samerton / NamelessMC

A complete Minecraft-related PHP website package. Please note this is an old repository, a link to the new repo is in the readme
https://github.com/NamelessMC/Nameless
MIT License
39 stars 17 forks source link

Login redirect page? #13

Closed Lilmac12312 closed 9 years ago

Lilmac12312 commented 9 years ago

Hey, Just a suggestion and bug I want to send in, I'll be posting anymore I find via this.

Firstly the suggestion is to add in a redirect page. This will be used for so say you're not logged in & looking at the forums, you go to login and then it brings you to a redirect area, "you have logged in successfully! please wait % of seconds while we redirect you to users previous viewing area

Lastly the bug was, when I tried to view my donation page via your forum software (using BuyCraft) it gave me a blank screen, mainly because I wasn't logged in, takes me to the login screen and then when I went to login nothing apart from a white screen it shown, can be viewed from here: http://prntscr.com/6xjaoc

Regards, Lilmac12312

P.s: If you need any help with the software I'd be happy to help, such could be advertising it(own a youtube with 1.9k) so on so forth.

samerton commented 9 years ago

Hi,

I've added the redirect page to the todo list.

As for the blank page on the Donate page, could you please enable error reporting in inc/init.php and see if an error message then appears on the Donate page?

Thanks, Sam.

Lilmac12312 commented 9 years ago

@samerton How exactly do I enable the error reporting within the inc/init.php?

Edit: Never mind got it working.

Lilmac12312 commented 9 years ago

Gives me this on donate page when I'm not logged in: http://prntscr.com/6xxqnj

Gives me this on the donate page when I'm logged in: http://prntscr.com/6xxqt6

samerton commented 9 years ago

Fixed the fatal error in latest commit. Please replace the contents of your pages/donate.php with the contents of this file.

As for the notice and warning errors, you'll need to head into the Donate tab of the Admin panel and click "Synchronise with Web Store". This will populate the donate page with your webstore's packages.

Lilmac12312 commented 9 years ago

Seems to be working fine now. Also @samerton http://prntscr.com/6y5bl2

samerton commented 9 years ago

@Lilmac12312 Fixed in this commit. Again, please replace the contents of pages/donate.php with this code. Thanks for spotting these!

Lilmac12312 commented 9 years ago

No problem man. Did you ever read or think about what I said about help with the software?

samerton commented 9 years ago

Indeed, I'd really appreciate it if you were able to help spread the word about the software. Thanks for the offer!