Forum Replies Created
-
@johnjamesjacoby
How is this project going? Did you already create something like this? I would really appreciate both an iPhone and an android app. If not both than 1 please.@modemlooper that didnt work… It said I had an error.
@modemlooper for this code:
`add_filter(‘logout_url’, ‘my_filtered_logout’);
my_filtered_logout($logout_url, $redirect) { return “URL-after-logout”; }` where do I put the URL where I want members to get redirected to?this is what i have for my bp-custom.php file:
`<?phpfunction restrict_access(){
global $bp, $bp_unfiltered_uri;if (!is_user_logged_in() &&
(
BP_MEMBERS_SLUG == $bp_unfiltered_uri[0] ||
BP_GROUPS_SLUG == $bp->current_component ||
BP_BLOGS_SLUG == $bp->current_component ||
‘forums’ == $bp->current_component ||
is_page_template(‘website here’)
)
) {bp_core_redirect( get_option(‘home’) . “/private/” );
}
}add_action( ‘wp’, ‘restrict_access’, 3 );
?>`
it doesnt work for me… this is what it says on my website: Parse error: syntax error, unexpected ‘<' in /wp-content/plugins/bp-custom.php on line 2
Forget it. I found it! 😀
i cant seem to find my bp-custom.php file… Any ideas?
thank you very much! worked great!
@naijaping can you please tell me how to make it so that when you put your mouse on the notification button, a list of notifications/(or no notifications) come down, like in your example?
iv managed to move the members table with SQL but do i move all the other stuff i want to move with SQL also?