Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding a game doesn't show any confirmation message #16

Open
vendethiel opened this issue Nov 4, 2014 · 3 comments
Open

Adding a game doesn't show any confirmation message #16

vendethiel opened this issue Nov 4, 2014 · 3 comments
Labels

Comments

@vendethiel
Copy link
Collaborator

When you submit the "add a game" form, it just shows the IP credits, but nothing else.
The game has been added, though, and is visible in "edit games"

@vendethiel vendethiel reopened this Aug 24, 2016
@vendethiel vendethiel changed the title [Activity] Adding a game doesn't show any confirmation message Adding a game doesn't show any confirmation message Aug 29, 2016
@MWE001
Copy link
Contributor

MWE001 commented Aug 30, 2016

I got this to give a game added successfully message tonight. Bad news is, it don't add the game when you add the game. The only game add I can get to work is bulk add.

I can push you the code if you want and you can give it a try.

@MWE001
Copy link
Contributor

MWE001 commented Aug 30, 2016

As a matter of fact, here ya go man. I am not even sure I placed the code properly, but even without the edits, the games still would not save by using the add a game link. Only if I used Bulk add games would they get added.

Here is the code to get a successful message.

Open lang_activity.php

Find

$lang['admin_game_repaired'] = "Games Repaired<br /><br />";

Add After

$lang['admin_game_saved'] = "Game Saved Successfully<br /><br />";

Open admin_activity.php

Find

if ($game_delete)

Before Add

$message = $lang['admin_game_saved']; $message .= sprintf($lang['admin_return_activity'], '<a href="' . append_sid('admin_activity.' . PHP_EXT) . '">', '</a>') . '<br /><br />' . sprintf($lang['Click_return_admin_index'], '<a href="' . append_sid(IP_ROOT_PATH . ADM .'/index.' . PHP_EXT . '?pane=right') . '">', '</a>'); message_die(GENERAL_MESSAGE, $message, '', __LINE__, __FILE__, $sql);

That will get you this:

screenshot_19

But notice, I just added this game and got success and cleared cache and F5 both and still it says 1 game to add and it is the very same one I just added.

screenshot_20

I tried fellas, that is the closest I could get to a success. I hope that helps out some.

@MWE001
Copy link
Contributor

MWE001 commented Aug 30, 2016

And I saw very late last night in some code somewhere that a fix has been put in place for adding games and them not showing up in the games list. Maybe that bug has come back again?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants