68 Classifieds Forums
Go Back   68 Classifieds Forums > v3.1.x Help & Support > v3.1 Questions & Support > Memberships need manual approval
 
Thread Tools Search this Thread Display Modes
(#1)
calaf6 calaf6 is offline
Senior Member
calaf6 is on a distinguished road
 
Posts: 210
Join Date: Mar 2006
Location: UK
Default Memberships need manual approval - 06-15-2006, 10:47 AM

When free membership is 'purchased' it needs manually activating, I'm sure I saw a post where you said it could be changed to automatic, but I'm being blind at the moment and cannot find it, could someone point me there please, or tell me what to change.

Thankies
(#2)
suzkaw suzkaw is offline
Staff
suzkaw is on a distinguished road
 
Posts: 1,232
Join Date: Mar 2006
Location: Belmont, NC
Default 06-16-2006, 09:32 AM

With the latest version you can open the includes/functions.php file and locate:
PHP Code:
//this is a membership
                
if($approved=="Y" && $manualapprove=='N')
                {
                        
$display="Y";
                }
                else
                {
                        
$display="N";
                }

Then just below that add:
$display="Y";
which will always have memberships approved.

If you are not running v3.1.3 then this would be in the thanks.php file.


--
Thanks,
Eric Barnes
68 Classifieds

Documentation - Bug Reports - Modifications - My Blog
(#3)
juven14's Avatar
juven14
Moderator
juven14 is on a distinguished road
 
Posts: 1,305
Join Date: Mar 2006
Location: NJ/NYC Area
Default 06-16-2006, 06:08 PM

Any chance we can check if a coupon/discount is entered at purchase and if total = 0.00 activate it at memberships.php?


Regards,

John
mods.auscity.com
v3.1.4 Developer

�By perseverance, study, and eternal desire, any man can become great.� George S. Patton
(#4)
CB CB is offline
Senior Member
CB is on a distinguished road
 
Posts: 291
Join Date: May 2006
Default 06-16-2006, 06:51 PM

So in the end it should look like this?

PHP Code:
if($approved=="Y" && $manualapprove=='N')
                {
                        
$display="Y";
                }
                else
                {
                        
$display="N";
                }
                
$display="Y";
(#5)
CB CB is offline
Senior Member
CB is on a distinguished road
 
Posts: 291
Join Date: May 2006
Default 06-19-2006, 12:01 AM

Is the above correct? I tried it and for some reason it doesnt work on my end. Please advise or better yet if you could post the code snippet that would be awesome thank you
(#6)
juven14's Avatar
juven14
Moderator
juven14 is on a distinguished road
 
Posts: 1,305
Join Date: Mar 2006
Location: NJ/NYC Area
Default 06-19-2006, 07:28 AM

That code worked for me. However I just changed the else display = N to display = Y. Same effect.

PHP Code:
if($approved=="Y" && $manualapprove=='N')
{
   
$display="Y";
}
else
{
   
$display="Y";
}


Regards,

John
mods.auscity.com
v3.1.4 Developer

�By perseverance, study, and eternal desire, any man can become great.� George S. Patton
(#7)
calaf6 calaf6 is offline
Senior Member
calaf6 is on a distinguished road
 
Posts: 210
Join Date: Mar 2006
Location: UK
Default 06-24-2006, 09:08 PM

Finally (2 a.m here) it works, It was something in the thanks file of mine that it did not like, when it changed to the functions one it worked fine, although I do have it set to Y as an over ride.

Thanks for all that, hope CB can get his going now
(#8)
SkGold SkGold is offline
Senior Member
SkGold is on a distinguished road
 
Posts: 209
Join Date: Mar 2006
Default 07-22-2006, 03:05 AM

I also need memberships to be auto approved and I can�t to get it work. I am using 3.1.4 with PayPal. I tried all suggestions above but no luck. I spend more than $400 bucks by trying it from my one PayPal account to another. Now need to refund all back. I am really stuck. I will appreciate if anybody has anything to suggest.
Quote:
Originally Posted by calaf6
when it changed to the functions one it worked fine, although I do have it set to Y as an over ride.
Calaf6, I don�t really understand what do you mean by this. Could you please explain in more details? May be this will help.


Thanks,
Sergey
Calgary Classifieds V3.1.5 Developer
Calgary Used Cars V3.1.5 Developer
Calgary Dating V3.1.5 Developer
(#9)
CB CB is offline
Senior Member
CB is on a distinguished road
 
Posts: 291
Join Date: May 2006
Default 07-22-2006, 02:28 PM

I am using PayPal too as my checkout option and I cannot get this mod to go threw either.
(#10)
SkGold SkGold is offline
Senior Member
SkGold is on a distinguished road
 
Posts: 209
Join Date: Mar 2006
Default 07-22-2006, 10:19 PM

Well the code suggested above working only if membership is free. I just setup one and it working perfect. However with payment providers (in my case is PayPal) it is not working.
I was thinking that maybe it something to do with includes/functions_payment.php and was playing around this file, but no luck.
Maybe somebody has any idea where and what need to change to make paid membership automatically approved?


Thanks,
Sergey
Calgary Classifieds V3.1.5 Developer
Calgary Used Cars V3.1.5 Developer
Calgary Dating V3.1.5 Developer


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump



Powered by vBulletin Version 3.6.0
Copyright ©2000 - 2006, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com