Paypal IPN GROUP Subscription MOD Version 1.0.0.3

Support for IntegraMOD 140

Moderator: Integra Moderator

Paypal IPN GROUP Subscription MOD Version 1.0.0.3

PostAuthor: tekguru » Fri Apr 21, 2006 8:11 am

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.
Last edited by tekguru on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[size=99px]http][/size]
[url=http][img=left]http://www.4winmobile.com/news/MVP_Horizontal_FullColor.png[/img][/url]
User avatar
tekguru
Sr Integra Member
Sr Integra Member
 
Posts: 329
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 28, 2006 11:29 pm
Cash on hand: 0.00

Re: Paypal IPN GROUP Subscription MOD Version 1.0.0.3

PostAuthor: enoonsti » Fri Apr 21, 2006 8:24 pm

"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.
Last edited by enoonsti on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

enoonsti
Newbie
Newbie
 
Posts: 28
Likes: 0 post
Liked in: 0 post
Joined: Mon Apr 10, 2006 12:26 pm
Cash on hand: 0.00

PostAuthor: enoonsti » Fri Apr 21, 2006 8:55 pm

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>
Last edited by enoonsti on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

enoonsti
Newbie
Newbie
 
Posts: 28
Likes: 0 post
Liked in: 0 post
Joined: Mon Apr 10, 2006 12:26 pm
Cash on hand: 0.00

PostAuthor: tekguru » Fri Apr 21, 2006 11:20 pm

Brilliant - putting it in place now!

Fingers crossd!
Last edited by tekguru on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[size=99px]http][/size]
[url=http][img=left]http://www.4winmobile.com/news/MVP_Horizontal_FullColor.png[/img][/url]
User avatar
tekguru
Sr Integra Member
Sr Integra Member
 
Posts: 329
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 28, 2006 11:29 pm
Cash on hand: 0.00

PostAuthor: tekguru » Sat Apr 22, 2006 3:57 pm

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
Last edited by tekguru on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[size=99px]http][/size]
[url=http][img=left]http://www.4winmobile.com/news/MVP_Horizontal_FullColor.png[/img][/url]
User avatar
tekguru
Sr Integra Member
Sr Integra Member
 
Posts: 329
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 28, 2006 11:29 pm
Cash on hand: 0.00

PostAuthor: enoonsti » Sat Apr 22, 2006 7:06 pm

Cool! Thanks for the additional code changes <img>
Last edited by enoonsti on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

enoonsti
Newbie
Newbie
 
Posts: 28
Likes: 0 post
Liked in: 0 post
Joined: Mon Apr 10, 2006 12:26 pm
Cash on hand: 0.00

PostAuthor: tekguru » Sun Apr 23, 2006 1:55 am

No probs <img>
Last edited by tekguru on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[size=99px]http][/size]
[url=http][img=left]http://www.4winmobile.com/news/MVP_Horizontal_FullColor.png[/img][/url]
User avatar
tekguru
Sr Integra Member
Sr Integra Member
 
Posts: 329
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 28, 2006 11:29 pm
Cash on hand: 0.00


Return to IntegraMOD 140

Who is online

Registered users: App360MonitorBot, Bing [Bot], Google [Bot], Paulmagall