https://www.icyphoenix.com/viewtopic.php?f=2&t=9623 ----------------------------------- MWE_001 Wed 10 Aug, 2016 10:39 Activity Mod Fixes ----------------------------------- First, trophy king feature is in place but don't work? No biggie, one less sql query the way I see it ;-) Next, on submitting a score, it went to an all white page with some html parsed on it. No css at all what so ever. [img]http://www.icyphoenix.com/files/images/11665/screenshot_2.jpg[/img] And here it is with the following fix in place [img]http://www.icyphoenix.com/files/images/11665/screenshot_3.jpg[/img] Here is the fix: OPEN [b]plugins/activity/templates/default/saved_body.tpl[/b] FIND [codeblock]
[/codeblock] ADD BEFORE [codeblock][/codeblock] FIND [codeblock]
[/codeblock] AFTER ADD [codeblock][/codeblock] CLOSE AND SAVE FILE Now your no css problem is fixed after you clear the cache. The next issue is if you do not have enough credits to play a game , (ONLY if you have Cash Mod installed and enabled in Activity Mod), it takes you to a page that nicely explains you do not have enough credits or what ever to play the game. It has a Javascript Close Page link that does not work. Here is the fix for English and Italian versions. OPEN [b]plugins/activity/language/lang_english/lang_activity.php[/b] FIND LINE 121 [codeblock][Close Window][/codeblock] REPLACE WITH [codeblock][Return To Games][/codeblock] FIND LINE 122 [codeblock][Close Window][/codeblock] REPLACE WITH [codeblock][Return To Games][/codeblock] CLOSE AND SAVE FILE OPEN [b]plugins/activity/language/lang_italian/lang_activity.php[/b] FIND LINE 122 [codeblock][Chiudi Finestra][/codeblock] REPLACE WITH [codeblock][Return To Giochi][/codeblock] FIND LINE 123 [codeblock][Chiudi Finestra][/codeblock] REPLACE WITH [codeblock][Return To Giochi][/codeblock] CLOSE AND SAVE FILE And that will fix your pages from not closing and returning you to the games page. PLEASE NOTE: My fixes are not official. That is up to MG to decide what is right. This is just what worked for me :-) Take care and have a great night all. Off to bed I go. I'm tired. ----------------------------------- Mighty Gorgon Wed 10 Aug, 2016 11:10 Re: Activity Mod Fixes ----------------------------------- Thank you for reporting problem and fix, very well done. I'll check your fix and report. ----------------------------------- MWE_001 Tue 16 Aug, 2016 02:48 Re: Activity Mod Fixes ----------------------------------- I found another bug and got it fixed. This bug was when viewing the games on activity.php it has a few links that you can interact with. Examples: • No Comments • Challenge • Highscores • Info • Played: 1 • Cost: 5 • Jackpot: 100 • Edit When clicking the edit link, it went to a 404 error page. It was not linking back to the plugin properly thus not allowing a admin to edit the games from activity.php. Instead, the admin would have to go all the way in to the ACP to do a simple edit to a game. Here is the fix I came up with. Open activity.php Find (\'' . ADM . '/admin_activity.' . PHP_EXT . Replace with (\'' . ACTIVITY_ROOT_PATH . ADM . '/admin_activity.' . PHP_EXT . CLOSE AND SAVE FILE Open plugins/activity/activity_daily.php Find (\'' . ADM . '/admin_activity.' . PHP_EXT . Replace with (\'' . ACTIVITY_ROOT_PATH . ADM . '/admin_activity.' . PHP_EXT . CLOSE AND SAVE FILE Open plugins/activity/activity_newest.php Find (\'' . ADM . '/admin_activity.' . PHP_EXT . Replace with (\'' . ACTIVITY_ROOT_PATH . ADM . '/admin_activity.' . PHP_EXT . CLOSE AND SAVE FILE ----------------------------------------------------------------------------------------------------------------- As always folks, these edits are what worked for me. The final say for fixes is up to MG. Use at your own discretion or wait until MG gives the go ahead. Enjoy! ----------------------------------- Mighty Gorgon Sat 20 Aug, 2016 22:38 Re: Activity Mod Fixes ----------------------------------- I have implemented all your suggestions. Just a note: [c]ACTIVITY_ROOT_PATH . ADM[/c] => [c]ACTIVITY_ADM_PATH[/c] [b]ACTIVITY_ADM_PATH[/b] contains also the trailing slash at the end... ----------------------------------- MWE_001 Sun 21 Aug, 2016 04:58 Re: FIXED Activity Mod Fixes ----------------------------------- Ahh thank you for the correction. That is why I thought it wise to add the disclaimer to take it for what it was worth until the ol mighty MG approved! :mricy: Thanks my friend. I will gladly update my notes. And not sure if anyone is interested or not, but I have LOADS of games for activity mod. **EDIT** Hey Informpro, I do have a load of games as I was saying. I will take a look at my hosting package and see if I have enough room left on my disc space to upload them. If not I may be able to use drop box. As a matter of fact, let me see if I can use drop box. I really have limited bandwith on my hosting package. I'll get back to you here shortly with a link to the games. Here you go. [url=https://www.dropbox.com/s/pk5t2c8a6mhrqy5/Amod.rar?dl=0]Activity Mod Games Now in this folder you will notice some games that have 2 folders. For example, one might be tetris and then another one called tetris_data. The ones with the _data originally went in a folder called game_root. If you didn't place these folders accordingly, the games would not work. I am not sure how it is going to work in IP as I have not yet tried. If they don't, I guess we don't use them :mrblue: Wait, I just looked, we put the games in game_root now anyhow so lets hope for the best. Enjoy! ----------------------------------- mort Mon 22 Aug, 2016 01:36 Re: FIXED Activity Mod Fixes ----------------------------------- [quote user="MWE_001" post="60776"]And not sure if anyone is interested or not, but I have LOADS of games for activity mod.[/quote] Pretty sure that these game packages are still relevant too.. http://www.origon.dk/phpBB3/index.php :twisted: ----------------------------------- MWE_001 Mon 22 Aug, 2016 04:36 Re: FIXED Activity Mod Fixes ----------------------------------- Ohhh will those games work on Activity mod Plus? :shock: If so, JACKPOT! Thanks for that Mort! The ones I linked to were the oldies that Austin released on the old phpbb-amod site many years ago. ----------------------------------- Mighty Gorgon Sun 28 Aug, 2016 11:03 Re: FIXED Activity Mod Fixes ----------------------------------- Wow! Did you download all of them @origon as well? ----------------------------------- MWE_001 Sun 28 Aug, 2016 22:32 Re: FIXED Activity Mod Fixes ----------------------------------- No. I registered at origon and it said admin had to approve me. I never got approved. The ones I linked to are all the ones that were available back int he day at phpbb-Amod.com before Austin Inc. closed shop. **EDIT** Sorry to report this guys but if you have not got the game packs off of my server yet in the download link I provided, You may want to soon. I have to delete that file. I have run out of disc space on my server and got a warning from my host. :( I could possibly add it to my drop box but I'm not sure how long the link will be good for? I am new to drop box and not sure how it works yet. I'll be removing the arcade games by tomorrow at 8pm UTC. If anyone has a clue about drop box please let me know and I will re up. I think the public has a right to download these games for the activity mod if they choose. There is some great games in it that provide endless fun for our awesome activity mod. Any other solutions maybe? **EDIT** The link in my other post has been updated with my dropbox link for the games pack. I will add it to my github as well... if I can. ----------------------------------- Informpro Thu 08 Sep, 2016 23:18 Re: FIXED Activity Mod Fixes ----------------------------------- Fine with me, I downloaded it "day one" :P.