[RELEASE] Pokeworld - a major improved Pokémon-SKY spinoff

@d3nniL I imagine it was mostly just the fact it's using mysql rather than mysqli or PDO functions, mysql functions were deprecated after PHP 5.5/5.6. Part of the reason I haven't tested. I might have my own spin off in future that's updated in terms of PHP and will run in newer versions. But that'll be a long way off as there's a lot of code to make :).
 
Last edited:
@d3nniL I imagine it was mostly just the fact it's using mysql rather than mysqli or PDO functions, mysql functions were deprecated after PHP 5.5/5.6. Part of the reason I haven't tested. I might have my own spin off in future that's updated in terms of PHP and will run in newer versions. But that'll be a long way off as there's a lot of code to make :).

I stopped with PHP when those mysql functions has been changed.... long time ago now.
Anyway even if it seems to look like it would work, I still couldn`t login yet because I can`t get this captcha working.... I pasted the api-key but the captcha is still not showing. Anyone mind to explain how to fix the captcha?
Meanwhile I translated some of the files... :P
 
I stopped with PHP when those mysql functions has been changed.... long time ago now.
Anyway even if it seems to look like it would work, I still couldn`t login yet because I can`t get this captcha working.... I pasted the api-key but the captcha is still not showing. Anyone mind to explain how to fix the captcha?
Meanwhile I translated some of the files... :P

On localhost google recaptcha isn't working, the best you can do is open up register.php and replace the following line:
Code:
[COLOR=#CC7832][B]if [/B][/COLOR][COLOR=#A9B7C6](intval([/COLOR][COLOR=#9876AA]$responseKeys[/COLOR][COLOR=#A9B7C6][[/COLOR][COLOR=#6A8759]"success"[/COLOR][COLOR=#A9B7C6]]) !== [/COLOR][COLOR=#6897BB]1[/COLOR][COLOR=#A9B7C6]) {[/COLOR]

to this:
Code:
[COLOR=#CC7832][B]if [/B][/COLOR][COLOR=#A9B7C6](intval([/COLOR][COLOR=#9876AA]$responseKeys[/COLOR][COLOR=#A9B7C6][[/COLOR][COLOR=#6A8759]"success"[/COLOR][COLOR=#A9B7C6]]) !== [/COLOR][COLOR=#6897BB]1 [/COLOR][COLOR=#A9B7C6]&& [/COLOR][COLOR=#6897BB]1[/COLOR][COLOR=#A9B7C6]==[/COLOR][COLOR=#6897BB]2[/COLOR][COLOR=#A9B7C6]) {[/COLOR]

I've also added a major update today, be sure to remove your global definitions file and update the database before opening your website.
 
On localhost google recaptcha isn't working, the best you can do is open up register.php and replace the following line:
Code:
[COLOR=#CC7832][B]if [/B][/COLOR][COLOR=#A9B7C6](intval([/COLOR][COLOR=#9876AA]$responseKeys[/COLOR][COLOR=#A9B7C6][[/COLOR][COLOR=#6A8759]"success"[/COLOR][COLOR=#A9B7C6]]) !== [/COLOR][COLOR=#6897BB]1[/COLOR][COLOR=#A9B7C6]) {[/COLOR]

to this:
Code:
[COLOR=#CC7832][B]if [/B][/COLOR][COLOR=#A9B7C6](intval([/COLOR][COLOR=#9876AA]$responseKeys[/COLOR][COLOR=#A9B7C6][[/COLOR][COLOR=#6A8759]"success"[/COLOR][COLOR=#A9B7C6]]) !== [/COLOR][COLOR=#6897BB]1 [/COLOR][COLOR=#A9B7C6]&& [/COLOR][COLOR=#6897BB]1[/COLOR][COLOR=#A9B7C6]==[/COLOR][COLOR=#6897BB]2[/COLOR][COLOR=#A9B7C6]) {[/COLOR]

I've also added a major update today, be sure to remove your global definitions file and update the database before opening your website.

Ohhh okay... Updated the files and db.... removed the global definitions file and removed it from index file.

But if I change the lines like you said and I try to register an account he only goes back to the index if you press on "Register".
 
Ohhh okay... Updated the files and db.... removed the global definitions file and removed it from index file.

But if I change the lines like you said and I try to register an account he only goes back to the index if you press on "Register".

Yes, it should log you in once you create an account.
 
how to delete captcha ?
darkshifty - [RELEASE] Pokeworld - a major improved Pokémon-SKY spinoff - RaGEZONE Forums
 

Attachments

  • ScreenShot_20170919103559 - [RELEASE] Pokeworld - a major improved Pokémon-SKY spinoff - RaGEZONE Forums
    ScreenShot_20170919103559.webp
    16.1 KB · Views: 446
i already enable short tag and save the document and restart the xampp server but still gives me this error: Parse error: syntax error, unexpected '}' in C:\xampp5.6\htdocs\pokeworld\index.php on line 638

 
Can anyone explain me how to install this?
This is so complicate...
Thank you so much.
 
Thanks for sharing the files darkshifty, also nice work in supporting the community Mugaru :D. If I had the time I'd have changed all the functions and such but as I'm sure you're finding, there's a lot to change to PDO :).



Thanks for sharing the files darkshifty, also nice work in supporting the community Mugaru :D. If I had the time I'd have changed all the functions and such but as I'm sure you're finding, there's a lot to change to PDO :).
 
Thanks for sharing the files darkshifty, also nice work in supporting the community Mugaru :D. If I had the time I'd have changed all the functions and such but as I'm sure you're finding, there's a lot to change to PDO :).



Thanks for sharing the files darkshifty, also nice work in supporting the community Mugaru :D. If I had the time I'd have changed all the functions and such but as I'm sure you're finding, there's a lot to change to PDO :).

Its a pleasure :-)! And yes, there is a lot to change to PDO! But i like to do it :-)
 
Back