-
Author
-
December 19, 2013 at 17:45 #8565BadaParticipant
Great theme, keep up the good work!
Have a question; is it possible to only make profiles and groups visible to logged on users? So that when not being logged on, and one clicks on a profile or group on the home page (or one manually enters a profile URL), the registration pop-up shows (or one is directed to the registration page)?
Thanks!
December 20, 2013 at 16:53 #8627AbeKeymasterHi,
That can be restricted using Paid memberships pro plugin. After the install you will have a Memberships submenu under Sweetdate menu. You can check there what you want to restrictHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.January 3, 2014 at 04:22 #9009studiblogParticipantI checked the option to see profile pages only for logged in users. But if a user is not logged in, he is seeing only a white page instead sth. like please register to see that page. is it possible to do sth. like that?
January 3, 2014 at 22:26 #9059hdanny83ParticipantSame question with studiblog.
When non logged in person views pages there is only white pages.
I want to redirect to register page or at least mention that the person should register or log in.January 4, 2014 at 22:20 #9109AbeKeymasterHi @studiblog and @hdanny83
The normal behaviour is to get redirected to the Membership levels page. You are encountering an error if you see a blank page. To show the errors in that page please enable debugging in wordpress by settings WP_DEBUG to TRUE in wp-config.phpI tested this and can’t reproduce this problem. Give us the errors that appear. Also make sure you have the latest theme installed
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.January 5, 2014 at 22:17 #9165studiblogParticipantThanks Abe,
i set a “free” membership level and yes, you are right. if a user is not logged in it is redirected to membership levels page. but i don’t want that. i want, that a logged out user is redirected to the main page to the opened “Sign up” form that is on the top/right corner of the main page.
(i don’t want to make my users insecure, thats the reason i don’t want to show them the membership levels page. i have only one membership level “free” that is set automatically if a user signs up )thanks for help
January 6, 2014 at 12:46 #9223studiblogParticipantHdanny83 your repy was marked as private. Tell me pls. If you know a Solution 🙂 THx a Lot
January 6, 2014 at 14:52 #9236hdanny83ParticipantThis is what appeared when I changed WP_DEBUG to TRUE.
Notice: Use of undefined constant BPRP_ROOT_PATH – assumed ‘BPRP_ROOT_PATH’ in /home/hosting_users/talentree/www/wp-content/plugins/bp-resume-page/bp-resume-page.php on line 11 Notice: wp_enqueue_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.) in /home/hosting_users/talentree/www/wp-includes/functions.php on line 3049 Notice: Undefined variable: where in /home/hosting_users/talentree/www/wp-content/plugins/bp-user-profile-map/upm.php on line 343 Notice: wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.) in /home/hosting_users/talentree/www/wp-includes/functions.php on line 3049 Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘bp_activity_tags_register’ not found or invalid function name in /home/hosting_users/talentree/www/wp-includes/plugin.php on line 429 Notice: Undefined property: stdClass::$id in /home/hosting_users/talentree/www/wp-content/plugins/bp-album/includes/bpa.core.php on line 303 Notice: Undefined property: stdClass::$id in /home/hosting_users/talentree/www/wp-content/plugins/bp-album/includes/bpa.core.php on line 304 Notice: Undefined property: stdClass::$id in /home/hosting_users/talentree/www/wp-content/plugins/bp-resume-page/bp-resume-page.php on line 26
January 6, 2014 at 23:04 #9246AbeKeymasterHi @studiblog
you can redirect users to the registration page by adding this code to sweetdate-child/functions.php and manipulate the redirectCOPY CODE// redirect to registration page instead of membership levels page add_filter('kleo_pmpro_url_redirect', 'my_custom_redirect'); function my_custom_redirect() { if (is_user_logged_in()) { return pmpro_url("levels"); } else { return bp_get_signup_page(); } }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.January 6, 2014 at 23:10 #9247AbeKeymasterHi
Could be a problem with bp-user-profile-map or bp-resume-page plugins. Try to disable them to see if anything changesHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.January 6, 2014 at 23:19 #9250studiblogParticipantyes, you got it nearly, but it doesn’t work, look: http://spottedfriends.de/members/antonia
white page with: spottedfriends.de/register (written, not in the URL)January 7, 2014 at 02:33 #9289AbeKeymasteroh.. my bad. I edited the code above because it was echo-ing the register url instead of passing it to the function.
If it is still the white page please set WP_DEBUG to TRUE in wp-config.php and let me know to take a lookHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.January 7, 2014 at 20:11 #9344hdanny83ParticipantI did as below.
1.
// redirect to registration page instead of membership levels page
add_filter(‘kleo_pmpro_url_redirect’, ‘my_custom_redirect’);function my_custom_redirect() {
if (is_user_logged_in()) {
return pmpro_url(“levels”);
} else {
return bp_get_signup_page();
}
}2.set WP_DEBUG to TRUE in wp-config.php
3. disabled map and resume plugin
4. it shows
Notice: wp_enqueue_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.) in /home/hosting_users/talentree/www/wp-includes/functions.php on line 3049 // redirect to registration page instead of membership levels page add_filter(‘kleo_pmpro_url_redirect’, ‘my_custom_redirect’); function my_custom_redirect() { if (is_user_logged_in()) { return pmpro_url(“levels”); } else { return bp_get_signup_page(); } } Notice: wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.) in /home/hosting_users/talentree/www/wp-includes/functions.php on line 3049 Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘bp_activity_tags_register’ not found or invalid function name in /home/hosting_users/talentree/www/wp-includes/plugin.php on line 429 Notice: Undefined property: stdClass::$id in /home/hosting_users/talentree/www/wp-content/plugins/bp-album/includes/bpa.core.php on line 303 Notice: Undefined property: stdClass::$id in /home/hosting_users/talentree/www/wp-content/plugins/bp-album/includes/bpa.core.php on line 304January 9, 2014 at 11:53 #9425AbeKeymaster1. How did you add this code? It should be in sweetdate-child/functions.php at the end of the file just before the ?> line
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.January 9, 2014 at 12:55 #9428hdanny83ParticipantIt works now!!!
Thank you very much for your support!!!January 10, 2014 at 12:05 #9501AbeKeymasterGreat 🙂
Don’t forget to rate the theme if you like our work. thanksHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer. -
AuthorPosts
The forum ‘Sweetdate – WordPress’ is closed to new topics and replies.