Twitter SMFHacks Facebook SMFHacks SMFHacks.com
** Home Forum Index Hacks Products Login Register Search
Welcome, Guest. Please login or register.
May 20, 2013, 02:31:18 am

Login with username, password and session length
Members
Total Members: 10760
Latest: gibranabahel
Stats
Total Posts: 32357
Total Topics: 5476
Online Today: 54
Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Users: 1
Guests: 54
Total: 55
+ 
|-+ 
| |-+ 
| | |-+ 
| | | |-+ 
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: member group change  (Read 6754 times)
stormlrd
Full Member
***
Offline Offline

Posts: 136



View Profile WWW
« on: July 17, 2007, 09:23:46 pm »

Not sure why bro, but here lately the member group hasnt been updating, not sure when it started bro sorry wish i could pin point the release it started on but anyways seems to be maybe the ipn file? Your thoughts, checkout the store on my site, apoc was product but didnt update user to verified customer, has some like this last month too not sure when or which product off the top of my head.

Also would you like to see if you can incorporate my blocks into it maybe at some point? I'll attach the files.



I know they will work through checkout but havnt yet got a purchase to test whether the ipn files worked or not lol, and ive never played in the sandbox :p but i dont see why they should not work lol.

ttyl bro
« Last Edit: July 17, 2007, 09:41:40 pm by SMFHacks » Logged

SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 10989


View Profile
« Reply #1 on: July 17, 2007, 09:42:37 pm »

Downloaded the filles will take a look at them tommorrow night.

Were any products that had member group changes occuring? And have you made any changes to the storeipn.php file?
Logged
stormlrd
Full Member
***
Offline Offline

Posts: 136



View Profile WWW
« Reply #2 on: July 17, 2007, 09:46:31 pm »

at the beginning i believe so bro, and no thats one file i havnt played with at all other than when i created my files separate based on them.
Logged

SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 10989


View Profile
« Reply #3 on: July 18, 2007, 06:56:00 am »

Just had a thought is it adding to the secondary group? If the user already has a primary group it will add it to the member's secondary groups.
Logged
stormlrd
Full Member
***
Offline Offline

Posts: 136



View Profile WWW
« Reply #4 on: July 18, 2007, 07:28:02 am »

they were a new member bro, i didnt check that though

just checked the member i updated and nope secondary wasnt changed.
« Last Edit: July 18, 2007, 07:29:44 am by stormlrd » Logged

stormlrd
Full Member
***
Offline Offline

Posts: 136



View Profile WWW
« Reply #5 on: July 19, 2007, 01:24:07 am »

just had another purchase, and nope on secondary change, his primary was new member, had to do it manually
Logged

SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 10989


View Profile
« Reply #6 on: July 19, 2007, 08:25:30 pm »

Think I figure it out forgot you were using the new files to upgrade.

Open Sources/Sub-Members.php
Find
Code:
function addMembersToGroup($members, $group, $type = 'auto')
{
global $db_prefix;

// Show your licence!
isAllowedTo('manage_membergroups');
Change to
Code:
function addMembersToGroup($members, $group, $type = 'auto')
{
global $db_prefix;
Logged
stormlrd
Full Member
***
Offline Offline

Posts: 136



View Profile WWW
« Reply #7 on: July 22, 2007, 01:55:25 pm »

still not working bro
Logged

SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 10989


View Profile
« Reply #8 on: July 22, 2007, 07:49:34 pm »

hmm. Did some testing on my test forum seems to work ok with the latest store version. Does it change the membergroup if you give the item for free?

Also maybe turn on the debug code in storeipn.php
Find
Code:
$paypal_debug = false;
Change to
Code:
$paypal_debug = true;
Logged
stormlrd
Full Member
***
Offline Offline

Posts: 136



View Profile WWW
« Reply #9 on: July 23, 2007, 08:24:17 am »

debug on bro
Logged

SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 10989


View Profile
« Reply #10 on: July 23, 2007, 06:41:26 pm »

Hmm, were all the transactions from that user marked as completed?
Logged
stormlrd
Full Member
***
Offline Offline

Posts: 136



View Profile WWW
« Reply #11 on: July 26, 2007, 05:52:38 am »

yes they were, and i just gave out a free product and the membergroup changed to verified customer like its suppose too.

Maybe i should reload all the files and sql, which version is the very latest bro.
Logged

stormlrd
Full Member
***
Offline Offline

Posts: 136



View Profile WWW
« Reply #12 on: July 26, 2007, 07:26:49 pm »

ok free order worked fine transfering new member to verified customer but checkout normally did not.
Logged

SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 10989


View Profile
« Reply #13 on: July 26, 2007, 08:15:47 pm »

Can you send me a pm with your files used for the store. What to check them out line by line.
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  

Recent
[May 19, 2013, 11:13:02 pm]

[May 19, 2013, 10:01:19 pm]

[May 19, 2013, 08:18:27 pm]

[May 19, 2013, 07:03:27 am]

[May 16, 2013, 10:13:46 pm]

[May 15, 2013, 11:32:14 pm]

[May 15, 2013, 11:31:24 pm]

[May 12, 2013, 09:10:43 am]

[May 10, 2013, 03:49:55 am]

[May 07, 2013, 07:12:40 pm]
Random Picture
Donate to SMFHacks.com
Help Support the SMFHacks.com mod making.
Powered by SMF 1.1.18 | SMF © 2013, Simple Machines
TinyPortal v0.9.7 © Bloc
SMF and SimpleMachines are registered trademarks of Simple Machines. SMFHacks.com is not affiliated with nor endorsed by Simple Machines.
Page created in 1.195 seconds with 20 queries.