[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.
icemusic
Registered User
Posts: 3
Joined: Wed Dec 09, 2009 11:33 am

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

Post by icemusic » Wed Dec 09, 2009 11:44 am

Hi,

I used Shop Mod v.1.0 Beta 5 for my forum and I have a problem when working ultimate_points_1.0.6. In the ACP, Shop Mod can't recognize the point system.
Points Mod Status: No Points Mod Found
And when I click on shop at index site. SQL error appears.
SQL ERROR [ mysql4 ]

Unknown column 'points_name' in 'field list' [1054]

SQL

SELECT points_name FROM phpbb_points_config

BACKTRACE

FILE: includes/db/mysql.php
LINE: 174
CALL: dbal->sql_error()

FILE: includes/functions_shop.php
LINE: 351
CALL: dbal_mysql->sql_query()

FILE: shop.php
LINE: 220
CALL: get_points()
Please help me fix bug.

Thanks.

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 5

Post by woipi90 » Wed Dec 09, 2009 12:49 pm

plz read the fuc**** previous sites of this topic....

or go to the main dev site of adrian and use the search function or better read the first post.... :evil:


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";

icemusic
Registered User
Posts: 3
Joined: Wed Dec 09, 2009 11:33 am

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

Post by icemusic » Sat Dec 12, 2009 6:18 am

woipi90 wrote:plz read the fuc**** previous sites of this topic....

or go to the main dev site of adrian and use the search function or better read the first post.... :evil:


grz woipi
Thank you. I have done. :lol:

gamecharmer
Registered User
Posts: 62
Joined: Sat Dec 30, 2006 7:46 am

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

Post by gamecharmer » Sat Dec 12, 2009 8:46 pm

Just as an update, after heavily modifying my board, I have this working fine. I basically use it for show, as I'm not brave enough to take on the script execution side of this. I just don't trust it.

Anyway, I have none of the issues being posted. Did you install everything in the proper places, taking into consideration prior mods and file changes in the latest version of phpBB3?

icemusic
Registered User
Posts: 3
Joined: Wed Dec 09, 2009 11:33 am

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

Post by icemusic » Sun Dec 13, 2009 5:13 am

I have a problem. When I edit an item a message appears.
Permission Buy
Warning: Cannot modify header information - headers already sent by (output started at /home/icemusic/public_html/forum/includes/acp/acp_shop.php:370) in /home/icemusic/public_html/forum/adm/index.php on line 150

Warning: Cannot modify header information - headers already sent by (output started at /home/icemusic/public_html/forum/includes/acp/acp_shop.php:370) in /home/icemusic/public_html/forum/adm/index.php on line 152

Warning: Cannot modify header information - headers already sent by (output started at /home/icemusic/public_html/forum/includes/acp/acp_shop.php:370) in /home/icemusic/public_html/forum/adm/index.php on line 153

Warning: Cannot modify header information - headers already sent by (output started at /home/icemusic/public_html/forum/includes/acp/acp_shop.php:370) in /home/icemusic/public_html/forum/adm/index.php on line 154

munyosz
Registered User
Posts: 20
Joined: Mon Dec 14, 2009 7:25 pm

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

Post by munyosz » Fri Dec 18, 2009 4:06 pm

Hi!
I downloaded this and installed it and it appears in the ACP but if i go to the Board Index (from the ACP) so i was still logged in to my admin account , I clicked on Shop on the top left side of board and this comes up

Code: Select all

You are not authorised to access this area.
why is that? can't the admin access everything?
thx for all help

User avatar
Hotmetal33
Registered User
Posts: 88
Joined: Fri Nov 13, 2009 10:39 am

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

Post by Hotmetal33 » Sat Dec 19, 2009 1:07 am

You are not authorised to access this area.
You have to change the permissions to allow you to enter.

Can anybody helped me? I added all of the shop mod to the .MODS, but it won't show up so I can't open my shop!

Takato Matsuda
Registered User
Posts: 17
Joined: Sat Jun 28, 2003 2:18 am

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

Post by Takato Matsuda » Wed Dec 23, 2009 3:41 pm

(sorry for my english)

I have a problem.

I installed:

- Phpbb 3.0.6
- Ultimate pointn sysmtem 1.0.6
- Shop mod 1.0 b5

The problem is when i buy a item, the sytem take the money, but whan i go to the other page in my forum, the money return to the original number, the money no change, no substract money.

1) I have money:

Image

2) I buy a item, and i pay the amount

Image

3) Magically, i have my original amount.

Image

Please help me.

Note: Ultimate Points uses decimals

UPDATE: SOLUTION

I saw 2 problems:

In shop_bs.php
Find

Code: Select all

'USER_POINTS' => (get_points($user->data['user_id']) - $row['cost']),
Replace with

Code: Select all

'USER_POINTS' => (get_points($user->data['user_id'])),
In functions_shop.php
Find

Code: Select all

else if (file_exists($phpbb_root_path . 'includes/points/points_common.' . $phpEx))
Replace with

Code: Select all

else if (file_exists($phpbb_root_path . 'includes/points/functions_points.' . $phpEx))

Note: "The user does not have enough points" no work
Find

Code: Select all

					// The user does not have enough points
					if ($user->data[USER_POINTS] < $amount)
					{
						$result = false;
					}
					else
					{
						$sql = 'UPDATE ' . USERS_TABLE . '
							SET ' . USER_POINTS . ' = ' . USER_POINTS . ' - ' . $amount . '
							WHERE user_id = ' . $user_id;
						$db->sql_query($sql);

						$result = true;
					}
Replace with:

Code: Select all

						$sql = 'UPDATE ' . USERS_TABLE . '
							SET ' . USER_POINTS . ' = ' . USER_POINTS . ' - ' . $amount . '
							WHERE user_id = ' . $user_id;
						$db->sql_query($sql);

						$result = true;
I hope this help anyone. :)

moonlightkisu
Registered User
Posts: 150
Joined: Wed Dec 31, 2008 9:14 pm
Location: Connecticut, USA
Name: Miss Moonlight
Contact:

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

Post by moonlightkisu » Thu Dec 31, 2009 5:50 am

I'm still trying to figure out how to get the custom usertitle on the profile pages, but the mod author is not active anymore, so I don't know who to ask for help.

User avatar
Ashley.S.
Registered User
Posts: 468
Joined: Mon Aug 04, 2008 6:01 pm
Location: Falmouth, Cornwall, UK
Name: Ashley .S.
Contact:

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

Post by Ashley.S. » Thu Dec 31, 2009 11:29 am

moonlightkisu wrote:I'm still trying to figure out how to get the custom usertitle on the profile pages, but the mod author is not active anymore, so I don't know who to ask for help.
I believe woipi90 will not let the mod die and is trying to save it, this is direct from phpBB Gods: http://phpbbgods.org/community/viewtopi ... 3873#p3873
woipi wrote:some fixes here.... ;)

http://intube.kilu.de/Shop_Mod_v.1.0.b5.zip


grz woipi
He is trying to take over the project completely so it does not die, but it's been very hard to try and get hold of Adrian to confirm it.
Regards,
-Ashley.S. [ ProphpBB Free Forum Hosting Moderator ]

masterc19
Registered User
Posts: 4
Joined: Thu Jul 30, 2009 5:38 am

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

Post by masterc19 » Tue Jan 12, 2010 10:20 am

yes i just installed this mod ultimate_points_1.0.6 mon on my forum but when i look in post section under the users avatar it say this mod is loked i have added all permissions but it still does not work any help on this matter would be very helpful thanks if you need to look at what i am talking about look here http://www.mymoneymakingforum.com/viewt ... f=31&t=112 it says cash on hand is locked as well as the bank

Ac1ds0ld13r
Registered User
Posts: 25
Joined: Fri Oct 09, 2009 6:45 pm
Location: Virginia Beach!
Contact:

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

Post by Ac1ds0ld13r » Sat Jan 30, 2010 2:26 am

Any word on this? I just added the UPS and would love to add this.
Play By Post RP
All Your Game Are Belong To Us

jakk
Registered User
Posts: 31
Joined: Sun Jun 21, 2009 4:03 am
Contact:

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

Post by jakk » Sat Jan 30, 2010 8:47 pm

Ac1ds0ld13r wrote:Any word on this? I just added the UPS and would love to add this.
read this , read this, it worked for me
Takato Matsuda wrote: In shop_bs.php
Find

Code: Select all

'USER_POINTS' => (get_points($user->data['user_id']) - $row['cost']),
Replace with

Code: Select all

'USER_POINTS' => (get_points($user->data['user_id'])),
In functions_shop.php
Find

Code: Select all

else if (file_exists($phpbb_root_path . 'includes/points/points_common.' . $phpEx))
Replace with

Code: Select all

else if (file_exists($phpbb_root_path . 'includes/points/functions_points.' . $phpEx))

Note: "The user does not have enough points" no work
Find

Code: Select all

					// The user does not have enough points
					if ($user->data[USER_POINTS] < $amount)
					{
						$result = false;
					}
					else
					{
						$sql = 'UPDATE ' . USERS_TABLE . '
							SET ' . USER_POINTS . ' = ' . USER_POINTS . ' - ' . $amount . '
							WHERE user_id = ' . $user_id;
						$db->sql_query($sql);

						$result = true;
					}
Replace with:

Code: Select all

						$sql = 'UPDATE ' . USERS_TABLE . '
							SET ' . USER_POINTS . ' = ' . USER_POINTS . ' - ' . $amount . '
							WHERE user_id = ' . $user_id;
						$db->sql_query($sql);

						$result = true;
I hope this help anyone. :)
ivemfinity.com | mundoforeros.com | support team member phpbb-es.com (Soporte en español)

mctoms
Registered User
Posts: 35
Joined: Mon Nov 16, 2009 9:29 am
Location: Poland
Name: Thomas
Contact:

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

Post by mctoms » Sun Jan 31, 2010 7:14 pm

Would any new realise of this mod?
Because still some bugs and a lots of problem with this mod.
It's quiet bad compability with phpbb 3.0.6. - do something with that, please

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 5

Post by woipi90 » Tue Feb 02, 2010 8:52 am

we have no contact to adrian so it looks quite bad.... :(

i would recommend to wait for the board intecrated marketsystem....


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";

Locked

Return to “[3.0.x] Abandoned MODs”