Page 1 of 1

Paypal IPN GROUP Subscription MOD Version 1.0.0.3

PostPosted: Fri Apr 21, 2006 8:11 am
Author: tekguru
Need some help guys. Now got the Mod working perfectly with one exception. I have a forum Moderator (who uses a support forum for a third party product support) so in NOT a Moderator of the Subsctiber forum.

We have no VIP access set up at all, but when he clicks on the subscriber forum he gets told "Only users with special access are allowed to view", which is fine, but when he clicks on "click here to choose a group to join" he gets "Your account has already been setup to access all forums".

What do I need to change to allow him to subscribe?

PS - I have asked on Loewen - but as usual no reply.

Re: Paypal IPN GROUP Subscription MOD Version 1.0.0.3

PostPosted: Fri Apr 21, 2006 8:24 pm
Author: enoonsti
"tekguru";p="2565" wrote:Need some help guys. Now got the Mod working perfectly with one exception. I have a forum Moderator (who uses a support forum for a third party product support) so in NOT a Moderator of the Subsctiber forum.

We have no VIP access set up at all, but when he clicks on the subscriber forum he gets told "Only users with special access are allowed to view", which is fine, but when he clicks on "click here to choose a group to join" he gets "Your account has already been setup to access all forums".

What do I need to change to allow him to subscribe?

PS - I have asked on Loewen - but as usual no reply.


I know the answer to this (I had to do the same thing myself).

As soon as I get to my desktop, I'll post the code changes.

PostPosted: Fri Apr 21, 2006 8:55 pm
Author: enoonsti
Okay, I haven't fully tested this out, so I'm not 100% sure if this is correct. But I believe this is all you have to do...


Open lwtopup.php and find:

Code: Select all
if( $userdata['user_level'] == ADMIN || $userdata['user_level'] == MOD || $uservip == 1 )


then you'll want to edit out the mod level reference; hence the code should now look like this]if( $userdata['user_level'] == ADMIN || $uservip == 1 )[/code]


Let me know how it goes <img>

PostPosted: Fri Apr 21, 2006 11:20 pm
Author: tekguru
Brilliant - putting it in place now!

Fingers crossd!

PostPosted: Sat Apr 22, 2006 3:57 pm
Author: tekguru
Worked <img> Cheers very much!

Also got a reply from sandodo pointing to a post of Loewen which gives this fix plus also some other lines which need changing:

http://loewen.com.sg/bbs/viewtopic.php?p=3234#3234

PostPosted: Sat Apr 22, 2006 7:06 pm
Author: enoonsti
Cool! Thanks for the additional code changes <img>

PostPosted: Sun Apr 23, 2006 1:55 am
Author: tekguru
No probs <img>