-
Author
-
July 12, 2016 at 23:49 #129000Andreas KarlssonParticipant
Hi!
I have installed the Cleo theme and set up a lot of the plugins you recommended.
Now I want them working so that you can pay for creating your profile, add listings and search for members/listings.
How do I do this?
July 13, 2016 at 17:23 #129078RaduModeratorHi,
The onliest available options for membership restricting we have it in wp-admin -> theme options -> memberships.
And with the snippet below you can force users after signup to buy a package to can view the community otherwise the users will be locked in the membership levels page.
COPY CODEadd_action( 'template_redirect', 'my_membersip_restrict' ); function my_membersip_restrict() { global $pmpro_pages, $post; if ( is_user_logged_in() && !pmpro_hasMembershipLevel() ) { if (isset($post->ID) && !in_array($post->ID, $pmpro_pages)) { wp_redirect( pmpro_url() ); } } }
The snippet will be pasted in wp-content/themes/kleo-child/functions.php
NOTE : The Kleo Child Theme needs to be installed and activated.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionJuly 13, 2016 at 22:13 #129150Andreas KarlssonParticipantHi, thank you for your feedback.
I want the listing ability to be restricted and paying for the member that can do the listing. How do I do this?
July 14, 2016 at 16:48 #129197RaduModeratorHi,
Our theme doesn’t’ have this type of restriction, in similar cases you will have to create a custom function that can do that or to modify your templates to can restrict this, in actual moment i don’t have any code to provide to you for that, but i have an idea that can work.
Geodirectory has a shortcode for add listing page [gd_add_listing] you can add this shortcode into a page where you will restrict that page for paying members, i don’t know if this will work properly maybe it will need some advance restriction logic
https://archived.seventhqueen.com/kleo/article/restrict-content-for-certain-membership-level
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionJuly 20, 2016 at 14:01 #129664Andreas KarlssonParticipantThank you Radu, I finally wrapped my head around the solution.
The things left now are:
Map is not showing: http://hometutor.us/gd-home/
Payment not working: http://hometutor.us/membership-account/membership-levels/
Search fields not sure if working: http://hometutor.us/
July 20, 2016 at 16:44 #129669Andreas KarlssonParticipantHi Radu, I managed to fix the mapp.
I am not able to see the listings on the listing page (I renamed it): http://hometutor.us/add-listing/
Also, how do I manage the listing layout? I would like the same design as you are using on http://seventhqueen.com/themes/kleo/business-directory/
July 22, 2016 at 20:44 #129848Andreas KarlssonParticipantHi Radu, I tried your fix with only allowing paid members to access the link but it is not working. Everyone is able to click the link and add listings?
Thanks,
Andreas
July 24, 2016 at 18:34 #129967Andreas KarlssonParticipantThe payment system to upgrade your account does not seem to work. I get the error text:
“You do not have permission to make this API call”Could you please tell me why this is so I can get the site up and running by Monday?
Best,
Andreas
July 25, 2016 at 17:03 #130088RaduModeratorHi,
Regarding the restriction of add listings it means that my suggestion not works…
You can try this method also, but if this not works you will have to implement something custom that allows you to to what you need.
Go to : https://archived.seventhqueen.com/kleo/article/restrict-content-for-certain-membership-level and look at the Control portions of content with shortcodes and place your add listing shortcode between [membership] and [/membership] also you can try this method to : https://archived.seventhqueen.com/kleo/article/restrict-content-logged-users
The API error it’s not related to our theme, try this solution : https://wordpress.org/support/topic/10002-you-do-not-have-permissions-to-make-this-api-call
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionJuly 27, 2016 at 13:34 #130375Andreas KarlssonParticipantHi man, thank you so much. There is one more issue left with the site now.
BuddyPress has now 2 different profiles but you can not choose which profile you want when you sign up? When you upgrade your profile(with payed memberships pro) you do not get a seperat profile from your buddyPress profile. This means that you can never choose a “Tutor” or “Parent” profile.
How do I combine the two or atleast enable the ability to choose a BuddyPress profile that I have set up?
Thanks Radu
July 27, 2016 at 17:32 #130411RaduModeratorHi again,
You’re welcome 🙂
Please tell me “Tutor” and “Parent” those are member types ? or what ,how do you have created these ?
If yes, read this : https://buddypress.org/support/topic/2-2-member-types-setting-user-member-types-during-registration-xprofile/
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts
The forum ‘Bugs & Issues’ is closed to new topics and replies.