Forum Replies Created
-
You’re awesome man!
Email sent.
I wouldn’t post them public. I just noticed there’s not private message. Anywhere i can find you?
I’m not that good to figure out that. I’m sorry. Can’t you help me by logging in and check it. Also with the redirect problem ?? Would be a lot easier?
It doesn’t help at all. Feel like the plugin doesnt does anything at all.
This makes my site doesn’t work.
Im trying to make that bp-custom.php and place it in /wp-content/plugins/ folder but when i write any code it makes my site come with the “site not working” error.. it feels like that file only makes it worse?
Got it from this page:
Now i’ve done what you’ve said and it still doesn’t work..
add_action( 'wp', 'ps_redirect_to_login' ); function ps_redirect_to_login() { if ( is_page('medlemmer') && ! is_user_logged_in() ) { wp_redirect( 'http://www.legit-check.dk/rm_login/', 301 ); exit(); } }
When i paste it into my theme’s functions.php file makes my site and says “Page not working”.. Dont know where to paste it.
Hello. I’ve tried the following code, without any solution:
add_action( 'template_redirect', 'ps_redirect_to_login' ); function ps_redirect_to_login() { if ( is_page('medlemmer') && ! is_user_logged_in() ) { wp_redirect( 'http://www.legit-check.dk/rm_login/', 301 ); } }
Yes, but sadly it didn’t work. But i could do it wrong. Because i dont know where in my functions.php i’ve to place the code.
Hmm.. it doesn’t seem to work. I want followed:
If not logged in redirect from http://www.legit-check.dk/medlemmer/ to http://www.legit-check.dk/rm_login/My try:
Prashant Singh, you seem quiet good to BP and coding within that area. If you know how to fix one of my following problems, you could save my day:
1. https://buddypress.org/support/topic/private-message-suggestions/
2. https://buddypress.org/support/topic/redirect-from-page-if-not-logged-in/This is the old code i was talking about. Dont know if it helps to see and modify so it works somehow:
https://buddypress.org/support/topic/autocomplete-all-users-on-the-compose-screen/Nicely done. You do still se an empty area but it’s only a second before redirect. I can live with that.
When people register they se their username as H1 under their “Profil” (Profile), is it possible to change so the H1 automatic picks the Full name instead? I’ve created one named Fulde Navn (Full name) in Users –> Profile Fields.
So this new user:
http://www.legit-check.dk/medlemmer/rasmus94/
Gets “Rasmus Hansen” as H1 and not his username.Like my user:
http://www.legit-check.dk/medlemmer/legit-check-dk/
(changed it from WP) but it will take long to change every new registred member -.-Alright, it works now. But you do see the input fields a short moment change before you get redirected. Under http://www.legit-check.dk/medlemmer/ when you press the text “Registrer” at “Registrer her!”
I can only find CSS, JS and HTML Code no JQ.
Where do i place that code? Which file? Got tons of “Functions.php” and more..
I’ve just found a new problem. The first one you helped me with (The member page was only for registered) it works fine but the problem is when you press register you only get some few input fuilds which is not enough data. Can you help me make the “Register here” link redirect to my register page instead of. You can check it here: http://www.legit-check.dk/medlemmer/
cheers. Thank you mate. Saved my day!
It looks worse, but works when i tried the second option called “BuddyPress Arv”. Dont know the difference thou.
BuddyPress Nouveau is the option.
I might need a theme that supports BuddyPress more. I’ve made a search for themes and marked BuddyPress as a Feature. Then it maybe work?? Let me try.
I’m using GeneratePress theme.