Forum Replies Created
-
thats strange. how could you install that plugin when the site is in a indefinite redirect loop? I would try to go into your server and rename that plugin and theme temporarily to something different. This will deactivate both of them and then try reactivating each one individually to see which ones causing the issue. Note you may have to activate buddypress default theme after doing this.
Do you have any plugins installed? What are they if so? Did you customize anything?
That sounds more like your theme is shooting off errors. Try activating the bp-default theme and see what happens. also make sure there is no extra lines before or after the opening and closing php tags in the bp-custom.php
did you add the code to the bp-custom.php you create in yoursite/wp-content/plugins? did you remember to add the code between opening and closing php tags and save the file? I have it working flawless on wp 3.5.1 and bp 1.7 beta 1. for example this line:
wp_redirect( get_option(‘siteurl’) . ‘/register’ );
redirects to register page
you could for example change it to something like this:
wp_redirect( get_option(‘siteurl’) . ‘/sample-page’ );
that would redirect to the sample page.It stripped the code again. Just place this between opening and closing php tags in the bp-custom.php file:
`
function bp_guest_redirect() {
global $bp;
if ( bp_is_activity_component() || bp_is_groups_component() /*|| bbp_is_single_forum()*/ || bp_is_forums_component() || bp_is_blogs_component() || bp_is_page( BP_MEMBERS_SLUG ) ) {
// enter the slug or component conditional here
if(!is_user_logged_in()) { // not logged in user
wp_redirect( get_option(‘siteurl’) . ‘/register’ );
} // user will be redirect to any link to want
}
}
add_filter(‘get_header’,’bp_guest_redirect’,1);
`the above reply stripped out the code so hopefully this will print out!
``
create a file named bp-custom.php that you will then place in yoursite/wp-content/plugins folder after you paste the following code in it:
``
Just change the /register in the line :
wp_redirect( get_option(‘siteurl’) . ‘/register’ );
to the page you want the logged out user to be directed too!
I found this somewhere on the net so props to whomever coded it!Just to clarify what I meant was change the text “Sitewide Activity” above the activity page post box and also just below that have a function that would echo the users name. Example “Whats new John” John being being the current users name. Thank you!
https://wordpress.org/extend/plugins/buddypress-media/ is a plugin for uploading lots of media. I only have a small amount of experience with it but you may want to give it a try. I just hope you have lots of server space though because doing this can make your site massive in size.
Some are but some are also premium themes which you have to pay for here is a couple links to those http://buddydev.com/themes/ and http://premium.wpmudev.org/ there are other sites as well that do buddypress themes. Try searching buddypress themes in google.
go to wordpress.org/themes in the search field type buddypress and click search themes button. There is 9 themes there.
You have to create it bp-custom.php and put it in yoursite/wp-content/plugins
Dont forget to add the opening and closing php tags in the bp-custom.php file you created.@mercime Yes that is the very theme. I will go now and post it on the the authors forum. Thank you again!
@mercime Yes you are right I switched to Twenty Twelve Theme and BP Default and cropping worked good. I suppose the Simplify Theme is a little buggy for BP 1.7 though I wished it was because it is a nice looking theme.
Thanks for your help!I would also like to add the forgot password so on the registration page there would be a login and forgot password at the top and the registration form below it. Thanks again!
@gvcig Tried it but doesn’t seem to work. Anyone else have a suggestion?