Hello Guys, If my blog posts are helpful to you then give some comment and ratings, if you found any bug also. So that if there are bugs or issues, I can resolve those bugs in next versions.

Skip Plan selection in Joomla AEC with Jomsocial profile types



Here I can explain you two things. 


First thing, Suppose in Jomsocial if you have two profile types such as Partner and Member. Here if you what to show first 3 plans to Member profile type and 4th plan (Free) to Parter profile type only.


Solution: After creating plans go to Restrictions Tab : set "Yes" value for 'Use Custom Restrictions' and in the 'Custom Restrictions' textarea place [[user_js_23]] = 1 for the Member profile type plans and [[user_js_23]] = 2 for Partner profile type plans.


Your can find [[user_js_23]]  = profile type under User Account Related data  


E.g.  
[[user_js_21]] => Arts Activities
[[user_js_22]] => Template
[[user_js_23]] => Profiletype
[[user_js_25]] => Organization Name


[[user_js_23]] = 1 ==> Member profile type id
[[user_js_23]] = 2 ==> Partner profile type id



Second thing, For Member profile type users set default plan to 3rd (Platinum) and skip the plan selection until 7 days trail period ends. After trail period ends then only show plan selection.

Solution: Create 1st (Silver) and 2nd (Gold) plans, set "No" to 'primary' option under plans tab and set "Yes" to 'Required used plan' and select 3rd plan (Platinum) for 'Plan'.
Create 3rd plan with Primary option to "Yes" and no plan restrictions.

That's it for second thing. But this will work only when the payment is not recurring payment processor.

3 comments:

Anonymous said...

uau!

Thank you very much! This was very usefull :D

Thank you

Anonymous said...

I am very impressed with your views and interesting content. I hope you intend to continue writing more informational articles.This blog Is very informative , I am really pleased to post my comment on this blog.
joomla extensions

topclassified said...

The content posted in the blog is really appreciable.You have done a fantastic job.I am very pleased to post on this blog.



classified php script

Post a Comment

Follow fornandakishore on Twitter