[ABD] Shop Mod v.1.0 Beta 5

Any abandoned MODs will be moved to this forum.

WARNING: MODs in this forum are not currently being supported or maintained by the original MOD author. Proceed at your own risk.
Forum rules
IMPORTANT: MOD Development Forum rules

WARNING: MODs in this forum are not currently being supported nor updated by the original MOD author. Proceed at your own risk.
Locked
Adrian1
Registered User
Posts: 630
Joined: Tue Jul 15, 2008 11:21 am
Contact:

Re: [Beta] Shop Mod v.1.0 Beta 4

Post by Adrian1 »

Anyasha wrote:When I do the viewtopic edits, every post has the "This post is waiting for approval" notice. When I do the memberlist edits, I get:

Call to a member function sql_build_query() on a memberlist.php on line 2075. Line 2075 is:
// Read out config data
$sql_array = array(
'SELECT' => 'config_name, config_value',
'FROM' => array(
SHOP_CONFIG => 'c',
),
);
$sql = $db->sql_build_query('SELECT', $sql_array);
$result = $db->sql_query($sql);
I am using 3.0.5. Perhaps this is because I am not able to set any settings since the ACP part isn't working?
hmm strangem anybody have the same error or not?
Because i have not have this error at testing

Edit: i have found the problem, i will reupload the files in 10-15 min, the change will be in install instruction.
Sorry again.
RPG MOD for phpbb3
Adrian1
Registered User
Posts: 630
Joined: Tue Jul 15, 2008 11:21 am
Contact:

Re: [Beta] Shop Mod v.1.0 Beta 4

Post by Adrian1 »

i have fix this(it was a phpbb 3.0.5 specific error, i have tested it on 3.0.4) redownload it, the change are in viewtopic and memberlist in instal.xml
RPG MOD for phpbb3
Anyasha
Registered User
Posts: 704
Joined: Mon Aug 07, 2006 4:02 am
Name: Anyasha

Re: [Beta] Shop Mod v.1.0 Beta 4

Post by Anyasha »

I still can't access Shop Logs, Shop Info, or Shop FAQ. I had the same problems on a 3.0.4 board as well as the 3.0.5.

This part in viewtopic:

Code: Select all

'USE_SHOP'   => ($Points['points_enable'] && $shop_config['shop_enabled'] && $auth->acl_get('u_use_points') && $auth->acl_get('u_use_shop')),
was changed to this:

Code: Select all

'USE_SHOP'   => ($shop_config['shop_enabled'] && $auth->acl_get('u_use_shop')),
because I don't use your points mod, I use UPM...so you may want to fix that since you are allowing your mod to work with other point systems. Nonetheless, the items show in the inventory but they DO NOT show on memberlist.php...yes the shop is enabled and permissions are set correctly. The problem is that it's calling $config['shop_enabled'] instead of $shop_config['shop_enabled'], so that needs to be changed too.

Also, your instructions for special items say to enter shop/shop_special.php?action=_____ in the "special link" field, but there is no "special link" field. Do you mean to enter it in the "item location" field instead?

Regardless, when I go to shop/shop_special.php?action=_____ it says "Shop is closed" even though it is not. The shop is open, other items can be bought.
Kiss me, I'm Polish!
Adrian1
Registered User
Posts: 630
Joined: Tue Jul 15, 2008 11:21 am
Contact:

Re: [Beta] Shop Mod v.1.0 Beta 4

Post by Adrian1 »

In new version was added a new permission a_shop so check and that.

All the reported bugs was fixed and mod reuploaded, change are in:
special_shop.php
acp_shop.php
install.xml(instruction for viewtopic and memberlist)
update instruction
-----------------------------

For how to use special item you have a full tutorial in Shop FAQ.
RPG MOD for phpbb3
Anyasha
Registered User
Posts: 704
Joined: Mon Aug 07, 2006 4:02 am
Name: Anyasha

Re: [Beta] Shop Mod v.1.0 Beta 4

Post by Anyasha »

With the update, I am now able to view all the ACP modules in the ACP! :) But shop items still don't show in memberlist_view.html.

Also, I still can't access any modes in shop_special.php. It says "No direct acces!" And there is still no "special link" field so I don't know where to put it.

A few more nit-picky things: All occurances of &item= in shop.php, shop_actions.php, shop_bs.php, and shop_inventory.php need to be replaced with &item=. The same with &shop= (&shop=) and &searchid= (&searchid=).

In viewtopic_body and memberlist_view, <a href="./shop.php?action=inventory&searchid={USER_ID}"> should become <a href="./shop.php?action=inventory&searchid={USER_ID}">.

In overall_header, <link href="{T_THEME_PATH}/js_color_picker_v2.css" rel="stylesheet" type="text/css" media="screen, projection"> should be <link href="{T_THEME_PATH}/js_color_picker_v2.css" rel="stylesheet" type="text/css" media="screen, projection" />.

In viewtopic_body, I changed <!-- IF USE_SHOP --> to <!-- IF USE_SHOP and postrow.ITEMS --> so that the "Shop item:" link doesn't display unless they have items. Otherwise there are empty links sitting around in viewtopic.
Kiss me, I'm Polish!
User avatar
-CoS-
Registered User
Posts: 65
Joined: Tue Mar 20, 2007 7:59 pm

Re: [Beta] Shop Mod v.1.0 Beta 4

Post by -CoS- »

Hi Adrian1. I'm going to install this and your points mod in my board. What kind of permissions can you give to a item? I've seen this list reading a post in your board:
Permission Codes.
Bank = u_use_bank
Lottery = u_use_lottery
Robbery = u_use_robbery
Remove Warning = u_use_warn
Colored Names = u_use_colored_name
Is it possible now to create items that give access to specific forums?

Thank you for your work!
Adrian1
Registered User
Posts: 630
Joined: Tue Jul 15, 2008 11:21 am
Contact:

Re: [Beta] Shop Mod v.1.0 Beta 4

Post by Adrian1 »

-CoS- wrote:Hi Adrian1. I'm going to install this and your points mod in my board. What kind of permissions can you give to a item? I've seen this list reading a post in your board:
Permission Codes.
Bank = u_use_bank
Lottery = u_use_lottery
Robbery = u_use_robbery
Remove Warning = u_use_warn
Colored Names = u_use_colored_name
Is it possible now to create items that give access to specific forums?

Thank you for your work!
Theoretical yes, search for the full lis of standart phpbb permission.
RPG MOD for phpbb3
User avatar
woipi90
Registered User
Posts: 908
Joined: Mon Feb 16, 2009 5:32 pm
Location: Austria

Re: [Beta] Shop Mod v.1.0 Beta 4

Post by woipi90 »

would be great to include the full phpbb permissions list in the acp shop faq....


grz woipi
My mods: Ultimate Board Clubs
Support: only for the UBCS!
-----
function be_friends($uid, $u){return ($u == $user->['user_id']) ? false : true;}
$this->be_friends($uid, $user->['user_id']) ? $allow_pm : echo "You failed again";
Mircea007
Registered User
Posts: 74
Joined: Mon Jun 15, 2009 9:24 pm

Re: [Beta] Shop Mod v.1.0 Beta 4

Post by Mircea007 »

what else can they get ? only permissions ?
Flash Games like you never seen before
Adrian1
Registered User
Posts: 630
Joined: Tue Jul 15, 2008 11:21 am
Contact:

Re: [Beta] Shop Mod v.1.0 Beta 4

Post by Adrian1 »

Mircea007 wrote:what else can they get ? only permissions ?
Mircea, use a search on my forum to view all future, you will see them there.
RPG MOD for phpbb3
Mircea007
Registered User
Posts: 74
Joined: Mon Jun 15, 2009 9:24 pm

Re: [Beta] Shop Mod v.1.0 Beta 4

Post by Mircea007 »

Adrian1 wrote:
Mircea007 wrote:what else can they get ? only permissions ?
Mircea, use a search on my forum to view all future, you will see them there.

i was looking for a complete list of feature but i can't find it

can you create items for people to buy ?

if you can give me the ling with all the features that would be greatly apreciated

thank you
Flash Games like you never seen before
azzam
Registered User
Posts: 345
Joined: Sat May 03, 2008 11:33 am

Re: [Beta] Shop Mod v.1.0 Beta 4

Post by azzam »

hamm after updating to beta 4 from beta 3... I got blank page on shop.php. And all modules are not displaying for shop. :(

What i have done wrong ??
Azzam Malik
I love mods :)
Adrian1
Registered User
Posts: 630
Joined: Tue Jul 15, 2008 11:21 am
Contact:

Re: [Beta] Shop Mod v.1.0 Beta 4

Post by Adrian1 »

Mircea007 wrote:
Adrian1 wrote:
Mircea007 wrote:what else can they get ? only permissions ?
Mircea, use a search on my forum to view all future, you will see them there.

i was looking for a complete list of feature but i can't find it

can you create items for people to buy ?

if you can give me the ling with all the features that would be greatly apreciated

thank you
First of all have you at least read the first post of this topic? because there you have a few feture listed.
RPG MOD for phpbb3
azzam
Registered User
Posts: 345
Joined: Sat May 03, 2008 11:33 am

Re: [Beta] Shop Mod v.1.0 Beta 4

Post by azzam »

Sorry for asking stupid question.I didn't remove code from functions.php. :)
Azzam Malik
I love mods :)
Mircea007
Registered User
Posts: 74
Joined: Mon Jun 15, 2009 9:24 pm

Re: [Beta] Shop Mod v.1.0 Beta 4

Post by Mircea007 »

Adrian1 wrote:
Mircea007 wrote:
Adrian1 wrote:
Mircea007 wrote:what else can they get ? only permissions ?
Mircea, use a search on my forum to view all future, you will see them there.

i was looking for a complete list of feature but i can't find it

can you create items for people to buy ?

if you can give me the ling with all the features that would be greatly apreciated

thank you
First of all have you at least read the first post of this topic? because there you have a few feture listed.
yes i know that ... and i did that ... thanks for pointing that out i was just wondering if there is a complete list of the features .....
Flash Games like you never seen before
Locked

Return to “[3.0.x] Abandoned MODs”