Forum Replies Created
-
No problem, Tmort.
Sometimes all that’s needed is a hard refresh!And no, you don’t have to activate bp-custom.php
In reply to: Update BP from “.com/beta/” to just “.com/”Tmort’s situation is entirely different than pjnu’s.
@tmort – post the contents of your bp-custom.php file, preferably @ pastebin.com.
In reply to: BBpress setup through buddypress plugin?“Ok, is there a addin to manage bbpress from buddypress so i can make all the sub-forums, and categories i need? I’ve got a add-on i from here called new bbpress admin, but how do i import everything through that into buddypress on wp?”
No there isn’t. If you need an admin panel, stick with an external install of bbPress.
Um, before i go any further should i change to wp mu or stay at the regular wp?
It doesn’t matter.
Website link please.
If you don’t want your link publicly displayed, PM me with it.Btw, this CSS snippet doesn’t fix the narrowness, it simply gives you a few more pixels to play around with.
Only add it in one location. gian-ava has it in his /wp-content/plugins/bp-custom.php (note the path), so remove the snippet from your functions.php.
Try adding an !important line:
div.activity-comments ul li {padding:10px 0 !important;}Works for me.
Can you post your child theme’s stylesheet?
@shamus – Please create a child theme if you plan on making changes to any aspects of the default theme.
Once you’ve created a child theme, place the snippet I posted above in your child theme’s style.css.
In reply to: individual/user BLOGSBP Quickpress is a possibility:
https://wordpress.org/extend/plugins/buddypress-quickpress/If you’re using WPMU, you could also try BP Groupblog:
https://wordpress.org/extend/plugins/bp-groupblog/Though you need to create a group before you can enable a blog.
In reply to: Buddypress and wp-wishlist help1) You can use any version of WP now for BP. WPMU allows users to create their own blogs though, and a few BP plugins require it (BP Group Wiki, BP Groupblog, BP Classifieds).
2) Depends on the third-party plugin in question.Ahh, I understand what you’re talking about now!
It’s a known thing.
You could try decreasing the padding-right to zero in your stylesheet so you can fit more activity comments:
div.activity-comments ul li {padding:10px 0;}What would be nice is if the depth level of each activity comment was added in a class like [ul class=”has-comments acomment-depth-x”] where x is the activity comment depth level.
In reply to: Change the defaults for bp_activity_user_link()@boyevul – try this revision:
http://pastebin.com/MGCv9nUw (updated)I’m filtering the bp_activity_user_link this time instead of the entire member domain! D’oh!
In reply to: redirecting to user domain using $bp@shaisimchi – glad things finally worked!
In reply to: redirecting to user domain using $bp$bp->loggedin_user->id uses wp_current_user, which isn’t available at that stage of the login process.
The login_redirect filter uses wp_signon:
http://adambrown.info/p/wp_hooks/hook/login_redirect?version=2.9&file=wp-login.phpIf you use the passed $user variable, you should be able to echo something.
If you’re using your own code above, try echoing $user->ID.In reply to: BuddyPress.org’s Unified Search – How can I get it?In reply to: Change the defaults for bp_activity_user_link()@boyevul – Try this:
http://pastebin.com/crrKbZWEAdd this to your theme’s functions.php.
In reply to: redirecting to user domain using $bpJust try one condition… one xprofile field, and see if it works.
Also make sure all the xprofile fields you’re checking are blank.It’s working fine for me.
OT: You’re using BP 1.1.3?
In reply to: redirecting to user domain using $bpPut it in your theme’s functions.php file.
In reply to: redirecting to user domain using $bpIn your code, $user_id doesn’t work because you’re not passing the actual user id.
$user_id->ID would work in this case.If you’re wondering what the $user variable is in the login_redirect filter, check it out:
http://adambrown.info/p/wp_hooks/hook/login_redirect?version=2.9&file=wp-login.phpAlso, have you tried my Pastebin code? It works. I tested it myself.
Just modify what I have there for your own needs.In reply to: redirecting to user domain using $bpTry this instead:
http://pastebin.com/M0N9d381In reply to: redirecting to user domain using $bpSorry! It should be add_filter, instead of add_action!
In reply to: redirecting to user domain using $bpYou shouldn’t use bp_core_redirect, you should be returning the $url. See my code above.
In reply to: redirecting to user domain using $bpEek, you shouldn’t have to use $wpdb->get_var when there are a ton of template tags you could use like:
$city = xprofile_get_field_data( 26, $bp->loggedin_user->id );Also you don’t need all those $has_field variables.
Just do a straight-out, also replace bp_core_redirect() with return:
if( !empty($city) && ..... )
return $redirect_url_has_location;Also since you’re not using any of the passed variables, just use:
add_action('login_redirect','bp_location_redirect_to_page',100);