- You are here:
- Main › Forum › Suggestions and Proposals
Games Mod Portal Block
7 posts
• Page 1 of 1
-
- cossielee
- Posts: 28
- Joined: Fri Oct 12, 2012 11:40 am
- Location: Glasgow
Sun Oct 14, 2012 8:16 pm • via Web
Hi, iv got a mod called Games_Mod added to my site that, though now, abandoned works perfectly well, included in this mod are the files for a portal block for board3 portal, i cant get it to work, any chance you could work your magic and convert it please
Iv attached the install and root files.
Iv attached the install and root files.
- Games_Owned Block.zip
- (9.07 KB) Downloaded 299 times
- IvanPF
- Administrator
- Posts: 2010
- Joined: Fri Jun 17, 2011 12:15 am
- Location: España (Spain)
Mon Oct 15, 2012 4:26 pm • via Web
Hi,
I adapted the codes that you have provided me to cBB Blockgets but as I not having the full mod code, I could not test well.
I've only tested through simulations.
If you have any errors, please let me know.
Attachment deleted
I adapted the codes that you have provided me to cBB Blockgets but as I not having the full mod code, I could not test well.
I've only tested through simulations.
If you have any errors, please let me know.
Attachment deleted
-
- cossielee
- Posts: 28
- Joined: Fri Oct 12, 2012 11:40 am
- Location: Glasgow
Mon Oct 15, 2012 6:30 pm • via Web
Hi, many thanks for doing this, i have tried installing and everything went well on admin side but get the following error when trying to view portal.
Iv had to add the game mod folder in 2 parts due to it being to big.
Many thanks, Lee
- Code: Select all
Fatal error: Call to a member function sql_query() on a non-object in MY_SITE/blockgets/block/games_addon.php on line 48
Iv had to add the game mod folder in 2 parts due to it being to big.
- Games_Mod Part1.zip
- (228.93 KB) Downloaded 272 times
- Games_Mod Part2.zip
- (35.87 KB) Downloaded 283 times
Many thanks, Lee
- IvanPF
- Administrator
- Posts: 2010
- Joined: Fri Jun 17, 2011 12:15 am
- Location: España (Spain)
Mon Oct 15, 2012 11:33 pm • via Web
cossielee wrote:Hi, many thanks for doing this, i have tried installing and everything went well on admin side but get the following error when trying to view portal.
- Code: Select all
Fatal error: Call to a member function sql_query() on a non-object in MY_SITE/blockgets/block/games_addon.php on line 48
Many thanks, Lee
To solve this error, open /blockgets/block/games_addon.php
Find:
- Code: Select all
global $phpbb_root_path, $user, $config, $template, $phpEx;
Replace with:
- Code: Select all
global $phpbb_root_path, $db, $user, $config, $template, $phpEx;
If the addon don't run well with this change, I check all the code to full test the addon.
-
- cossielee
- Posts: 28
- Joined: Fri Oct 12, 2012 11:40 am
- Location: Glasgow
Tue Oct 16, 2012 8:17 am • via Web
Admin wrote:To solve this error, open /blockgets/block/games_addon.php
Find:
- Code: Select all
global $phpbb_root_path, $user, $config, $template, $phpEx;
Replace with:
- Code: Select all
global $phpbb_root_path, $db, $user, $config, $template, $phpEx;
If the addon don't run well with this change, I check all the code to full test the addon.
Fantastic, works perfect now, one thing though, not sure if this can be done, when you turn off one of the games sections within the block admin it still shows that header name, can we get that to dissapear when that section has been set to Not Show??
heres an image of it
Many Thanks for getting this working, keep up the good work, its the best portal iv used.
- IvanPF
- Administrator
- Posts: 2010
- Joined: Fri Jun 17, 2011 12:15 am
- Location: España (Spain)
Tue Oct 16, 2012 6:15 pm • via Web
Hi,
I uploaded the addon again.
This new file included the fix for the error fixed previously and the changed to don't show the categories if you disable from the ACP.
Simply, upload the new files
I uploaded the addon again.
This new file included the fix for the error fixed previously and the changed to don't show the categories if you disable from the ACP.
Simply, upload the new files
- Attachments
-
- cbb-blockgets-games-addon-1.0.0.zip
- (67.27 KB) Downloaded 279 times
-
- cossielee
- Posts: 28
- Joined: Fri Oct 12, 2012 11:40 am
- Location: Glasgow
Wed Oct 17, 2012 8:26 am • via Web
You sir, are a legend It now works 100%, many thanks, for doing this.
7 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 0 guests
- External Links
- phpBB Official
- phpBB Official (Spanish)
- Raul Arroyo Monzo
- PasionReef
- About CaniDev
- Terms of use
- Privacy Policy
- About Us
- Contact
- © 2011-2024 CaniDev