Webmastersite.net
Register Log In

Usergroup sponsorship

Comments on Usergroup sponsorship

gemini
Forum Regular

Usergroup: Customer
Joined: Oct 30, 2003

Total Topics: 54
Total Comments: 197
gemini
Posted Apr 09, 2005 - 5:37 PM:

I alreay have sponsored links set up and its working great, but I tried to sponsor a membership and it didn't work.
The funds didn't add by themselves after PayPal transaction accured, and when I added them manually, the daily fee is not being deducted.

Sponsorship for the usergroup is activated, daily fee is set and revert to usergroup when funds expire also set. Any ideas?
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Apr 09, 2005 - 6:56 PM:

Have a screenshot of your exact sponsorship settings?
gemini
Forum Regular

Usergroup: Customer
Joined: Oct 30, 2003

Total Topics: 54
Total Comments: 197
gemini
Posted Apr 11, 2005 - 3:19 PM:

yes, attached.

Attached Files:
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Apr 12, 2005 - 12:32 AM:

In paypal.php try changing
    if ($processit) 
{
if ($scriptname == 'wsngallery' || $sponsoruseug == 'yes')

to
    if ($processit) 
{
if ($scriptname == 'wsngallery' || $sponsortype == 'member')


I think that ought to fix it.
gemini
Forum Regular

Usergroup: Customer
Joined: Oct 30, 2003

Total Topics: 54
Total Comments: 197
gemini
Posted Apr 12, 2005 - 8:01 AM:

will this activate daily deductions?
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Apr 12, 2005 - 11:48 PM:

It should add the funds and change the usergroup. It doesn't relate to deductions. You put the member in the sponsor usergroup and it didn't deduct?
gemini
Forum Regular

Usergroup: Customer
Joined: Oct 30, 2003

Total Topics: 54
Total Comments: 197
gemini
Posted Apr 13, 2005 - 5:21 PM:

Paul wrote:
You put the member in the sponsor usergroup and it didn't deduct?


Exactly.
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Apr 14, 2005 - 8:17 PM:

Testing at links.webmastersite.net. Started the funds at 2, set to deduct .1 per day, already it's down to 1.9. Will see what it is tomorrow.
gemini
Forum Regular

Usergroup: Customer
Joined: Oct 30, 2003

Total Topics: 54
Total Comments: 197
gemini
Posted Apr 18, 2005 - 1:43 PM:

odd... I sponsored another membership manually - doesn't deduct funds. I tried deactivating it and activating again, also tried different one-word usergroup name, but you still probably identifying them by id #, so it didn't do anything..
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
#10 - Quote - Permalink
Posted Apr 19, 2005 - 12:00 AM:

Checking back now on the member I sponsored, they seem to have been demoted and their funds are down to 0.1. Which is a bug of some sort, since they should not be losing funds that fast, but not the same issue you're having.
gemini
Forum Regular

Usergroup: Customer
Joined: Oct 30, 2003

Total Topics: 54
Total Comments: 197
gemini
#11 - Quote - Permalink
Posted Apr 19, 2005 - 9:23 AM:

If you fix this buy any chance please give me a whole file to rewrite over the one I've got. (I'm using v3.12 not sure how compatible it is with the latest version)
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
#12 - Quote - Permalink
Posted Apr 19, 2005 - 6:04 PM:

I hadn't noticed you were using 3.12. That explains why you get different behavior. I remember something of that sort back around then.
gemini
Forum Regular

Usergroup: Customer
Joined: Oct 30, 2003

Total Topics: 54
Total Comments: 197
gemini
#13 - Quote - Permalink
Posted Apr 19, 2005 - 6:28 PM:

Okay.. is there a solution to it?
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
#14 - Quote - Permalink
Posted Apr 20, 2005 - 6:40 PM:

Yes, just uploaded a revision of 3.15 that should solve it. It no longer decriments on every page load, though it hasn't been a day yet so I don't have absolute confirmation that it'll deduct then besides it being logically compelled to.
gemini
Forum Regular

Usergroup: Customer
Joined: Oct 30, 2003

Total Topics: 54
Total Comments: 197
gemini
#15 - Quote - Permalink
Posted Apr 20, 2005 - 8:19 PM:

will I have to upgrade to 3.15? and if yes, will I be able to keep my changes in tables - new fields and templates etc?
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.