SMFHacks.com
SMFHacks
Community Suite
SMF Gallery Pro
SMF Store
SMF Classifieds
Newsletter Pro
Downloads System Pro
Ad Seller Pro
Badge Awards
Hacks and Mods
Latest SMF Hacks
TopTen Hacks
Styles and Themes
Add a Hack
Manage Hacks
Earn Money from Your Forum with these tips
SMF Theme Generator
SMF Package Parser
Free SMF Hosting
Buy Website Traffic
Site Showcase
Email Marketing Software
Search Forums
Advanced search
User
Welcome,
Guest
. Please
login
or
register
.
June 19, 2013, 12:18:48 pm
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Stats
Members
Total Members: 10807
Latest:
GoldDigger1950
Stats
Total Posts: 32559
Total Topics: 5507
Online Today: 58
Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Users: 2
Guests: 54
Total: 56
SeppoK
tank_fv101
SMFHacks.com
Forum
SMF Store
Support
SMF Store - Move to Another Group Problem
0 Members and 1 Guest are viewing this topic.
« previous
next »
Pages:
[
1
]
Author
Topic: SMF Store - Move to Another Group Problem (Read 3918 times)
NeoX
Newsletter Pro Customer
Inline PM Customer
Offline
Posts: 36
SMF Store - Move to Another Group Problem
«
on:
November 30, 2010, 05:29:13 pm »
Hi SmfHacks.com,
I have a little problem to move an user to another Group.
The store works perfectly, a global mod user for example is moved to a new group (gold member) but does not appear in the profile information.
However In Admin ----> Edit Membergroups this user appears at the same time as global mod and in new group (gold member).
I have Karma based groups mod installed, perhaps this problem does not affect normal users....
Another Problem is a blanck page when I want to give a free product to a user and when I press [Mark Order Completed]...
Thank you very much!
«
Last Edit: November 30, 2010, 06:24:39 pm by NeoX
»
Logged
SMFHacks
Administrator
Hero Member
Offline
Posts: 11051
Re: SMF Store - Move to Another Group Problem
«
Reply #1 on:
November 30, 2010, 09:06:58 pm »
How membergroup move works. If the user has no primary group that group they are switched will become the primary group.
If the member already has a primary group then the product membergroup will be added as an additional membergroup for that member.
Quote
Another Problem is a blanck page when I want to give a free product to a user and when I press [Mark Order Completed]...
What SMF version are you running?
Logged
NeoX
Newsletter Pro Customer
Inline PM Customer
Offline
Posts: 36
Re: SMF Store - Move to Another Group Problem
«
Reply #2 on:
December 01, 2010, 02:44:02 am »
Thank You SMFHacks!
Quote
What SMF version are you running?
Smf Store 1.3.8 on SMF 2RC1.2
Message Error:
Fatal error: Call to undefined function addMembersToGroup() in ...\Sources\Store2.php on line 4102
I can't now upgrade to 2.0RC3 or RC4... is there a way to resolve this problem with Smf Store 1.3.8 on SMF 2RC1.2?
Thank You!
«
Last Edit: December 01, 2010, 07:09:14 am by NeoX
»
Logged
SMFHacks
Administrator
Hero Member
Offline
Posts: 11051
Re: SMF Store - Move to Another Group Problem
«
Reply #3 on:
December 01, 2010, 08:32:07 am »
I thought fixed some of those issues with new SMF Store updates. You should be able to use the latest SMF Store on SMF 2 rc1.2
Logged
NeoX
Newsletter Pro Customer
Inline PM Customer
Offline
Posts: 36
Re: SMF Store - Move to Another Group Problem
«
Reply #4 on:
December 01, 2010, 10:42:22 am »
Quote from: SMFHacks on December 01, 2010, 08:32:07 am
I thought fixed some of those issues with new SMF Store updates. You should be able to use the latest SMF Store on SMF 2 rc1.2
Yes it is true...
but with last version of your mod Smf gallery, store, downloads etc and with old theme overview from Dzinner studio on SMF2 rc1.2 I have thi problem:
Correct:
http://i52.tinypic.com/6fppx4.jpg
Wrong:
http://i52.tinypic.com/wrf33l.jpg
Logged
SMFHacks
Administrator
Hero Member
Offline
Posts: 11051
Re: SMF Store - Move to Another Group Problem
«
Reply #5 on:
December 01, 2010, 10:46:08 am »
Hmm, yeah you will probably will have to update to new version SMF at some point 1.2 is pretty old at this point.
Logged
NeoX
Newsletter Pro Customer
Inline PM Customer
Offline
Posts: 36
Re: SMF Store - Move to Another Group Problem
«
Reply #6 on:
December 01, 2010, 11:20:58 am »
Now the store work perfect I have change this code....is that correct?
Code:
// Update the User's Group if there is a group
if ($row['ID_GROUPToMove'] != 0 && $memid != 0)
{
$groupid = $row['ID_GROUPToMove'];
$groupexpiredays = $row['groupexpiredays'];
require_once($sourcedir . '/Subs-Members.php');
addMembersToGroup($memid, $groupid, 'auto');
$currentdate = time();
With this:
Code:
// Update the User's Group if there is a group
if ($row['ID_GROUPToMove'] != 0 && $memid != 0)
{
$groupid = $row['ID_GROUPToMove'];
$groupexpiredays = $row['groupexpiredays'];
require_once($sourcedir . '/Subs-Members.php');
require_once($sourcedir . '/Subs-Membergroups.php');
addMembersToGroup($memid, $groupid, 'auto', true);
$currentdate = time();
Thank you
Logged
SMFHacks
Administrator
Hero Member
Offline
Posts: 11051
Re: SMF Store - Move to Another Group Problem
«
Reply #7 on:
December 01, 2010, 01:35:51 pm »
Yeah
Logged
Xtreme4U2NV
SMF Store Customer
Jr. Member
Offline
Posts: 67
Re: SMF Store - Move to Another Group Problem
«
Reply #8 on:
July 06, 2011, 08:11:02 pm »
Quote from: SMFHacks on November 30, 2010, 09:06:58 pm
How membergroup move works. If the user has no primary group that group they are switched will become the primary group.
If the member already has a primary group then the product membergroup will be added as an additional membergroup for that member.
Quote
Another Problem is a blanck page when I want to give a free product to a user and when I press [Mark Order Completed]...
What SMF version are you running?
SMF 2.0 RC5
SMF Store version 1.4
My problem is this; when people make a purchase, they are not moved/added in to the chosen group that I selected in the item setup.
Yes, they already have a primary group, and I understand they should at least be in the group in the secondary section, but they aren't even in that.
They aren't moved one way or another.
Thoughts?
Logged
SMFHacks
Administrator
Hero Member
Offline
Posts: 11051
Re: SMF Store - Move to Another Group Problem
«
Reply #9 on:
July 06, 2011, 08:44:41 pm »
Is the purchase marked as completed?
Also attach your Subs-Members.php
Logged
Xtreme4U2NV
SMF Store Customer
Jr. Member
Offline
Posts: 67
Re: SMF Store - Move to Another Group Problem
«
Reply #10 on:
July 06, 2011, 09:01:18 pm »
Quote from: SMFHacks on July 06, 2011, 08:44:41 pm
Is the purchase marked as completed?
Also attach your Subs-Members.php
When I look at their transaction, there is "[Mark Order NOT Completed]" so I am assuming it is complete.
Subs-Members.php attached.
Logged
SMFHacks
Administrator
Hero Member
Offline
Posts: 11051
Re: SMF Store - Move to Another Group Problem
«
Reply #11 on:
July 06, 2011, 09:08:37 pm »
Hmm do you have anything in this mysql table
smf_store_group_log
Logged
Xtreme4U2NV
SMF Store Customer
Jr. Member
Offline
Posts: 67
Re: SMF Store - Move to Another Group Problem
«
Reply #12 on:
July 06, 2011, 09:13:39 pm »
Quote from: SMFHacks on July 06, 2011, 09:08:37 pm
Hmm do you have anything in this mysql table
smf_store_group_log
One entry, see attached pic.
Logged
Xtreme4U2NV
SMF Store Customer
Jr. Member
Offline
Posts: 67
Re: SMF Store - Move to Another Group Problem
«
Reply #13 on:
July 12, 2011, 08:08:32 pm »
Have had a few more purchases lately. SMF Store is still not moving the people over. Even if they do or do not already have a main membergroup.
Screenshot of smf_store_group_log attached.
EDIT: Just wanted to bring something up, don't know if it has an effect on this or not. My forum was originally under a different name, and before installing the store, I moved my forum to the new domain, using SMF's database correction thins to the new domain would work with the db. I have no idea if that would effect things.
EDIT Again: And if they aren't automatically moved to the selected membergroup, and I do it myself, does that mean the time I set for them to be in that group will also not work?
«
Last Edit: July 12, 2011, 08:12:06 pm by Xtreme4U2NV
»
Logged
SMFHacks
Administrator
Hero Member
Offline
Posts: 11051
Re: SMF Store - Move to Another Group Problem
«
Reply #14 on:
July 13, 2011, 09:37:34 pm »
Will recheck it soon just remind me. I need to figure out what part is failing might be the SMF add group code will need to do some testing.
Seems like it gets to point to add the group since it is logged in db in group_log
Logged
Pages:
[
1
]
« previous
next »
Jump to:
Please select a destination:
-----------------------------
SMFHacks.com
-----------------------------
=> News
=> Site Discussion
===> Suggestions
===> Bugs
-----------------------------
SMF Gallery Pro
-----------------------------
=> Announcements
=> Presales
=> Support
===> Bugs
===> Feature Requests
-----------------------------
SMF Store
-----------------------------
=> Announcements
=> Presales
=> Support
===> Guides and Tips
===> Feature Requests
===> Bugs
-----------------------------
SMF Classifieds
-----------------------------
=> Announcements
=> Presales
=> Support
===> Bugs
===> Feature Requests
-----------------------------
Downloads System Pro
-----------------------------
=> Announcements
=> Presales
=> Support
===> Feature Requests
===> Bugs
-----------------------------
Ad Seller Pro
-----------------------------
=> Presales
=> Support
-----------------------------
Menu Editor Pro
-----------------------------
=> Presales Menu Editor Pro
=> Bug Reports
-----------------------------
Inline Personal Messages
-----------------------------
=> Presales
=> Support
=> Bug Reports
-----------------------------
Newsletter Pro
-----------------------------
=> Presales
=> Support
===> Feature Requests
-----------------------------
Badge Awards
-----------------------------
=> Presales
=> Support
-----------------------------
Tweet Topics/FB Post System
-----------------------------
=> Presales
-----------------------------
Social Login Pro
-----------------------------
=> Presales
-----------------------------
SMF Gallery Lite
-----------------------------
=> SMF Gallery Lite
-----------------------------
Modifications/Themes
-----------------------------
=> General SMF Forum
=> Modifications Talk
===> Latest Mods
===> Modification Showcase
=> Theme Talk
===> Theme Showcase
===> Latest Themes
Recent
A few problems with Ad Se...
by
SeppoK
[
Today
at 03:45:00 am]
Can "Ad Seller Pro" do it...
by
SMFHacks
[June 18, 2013, 07:27:33 am]
Feature Requests for SMF ...
by
BSD2000
[June 18, 2013, 06:10:04 am]
paid auctions
by
SMFHacks
[June 17, 2013, 12:27:50 pm]
Wow
by
Nicole
[June 16, 2013, 08:17:21 pm]
WhatÄs this?
by
Nicole
[June 16, 2013, 07:29:04 am]
Modification allowing Adm...
by
AcEAndroid
[June 15, 2013, 08:34:38 pm]
Setting up Ad Seller Pro ...
by
steelhead
[June 14, 2013, 10:28:18 pm]
Left/right side of a mess...
by
SMFHacks
[June 13, 2013, 11:00:52 pm]
Show New Classifieds list...
by
amwebby
[June 12, 2013, 03:37:47 am]
Random Picture
Donate to SMFHacks.com
Help Support the SMFHacks.com mod making.
Loading...