Search Results for 'buddypress'
-
AuthorSearch Results
-
April 21, 2011 at 7:04 pm #21498
Topic: Searching members by custom profile fields…
in forum How-to & Troubleshootingmistercyril
ParticipantHello,
I’ve run into something strange.
I’ve created custom profile fields and noticed that “select-box” field types aren’t being found by the search.
Yet if I create “text” fields then the content is being searched and found when performing a search in the members-loop.Does this mean BuddyPress can’t read content in the profile fields if they aren’t a plain text value? The content in my select box is made up of very simple texte (lawyer, doctor, politician, revolutionary, dictator, geek…).
Has anyone encountered this? Do you know of a solution?
Thanks a bunch,
C.April 21, 2011 at 11:15 am #110683In reply to: Limit the size of user updates
Eddie
Participant@pcwriter Thank you very much, extremely useful!
https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/limit-the-size-of-user-updates/#post-72559April 21, 2011 at 3:25 am #21491exone
MemberHello, I just started running buddypress on theexmines.com, and love it.
Theexmines is a minecraft-server/community, and I’d like to change the way avatars is displayed.When getting a members avatar, this should be called:
“player-avatar.php?player=&s=3” <– this outputs a .png. (The avatar I want)Where should I edit this in? I’m not at all an experienced php coder, but I have been looking but can’t find anything.
Any help would be appreciated.April 21, 2011 at 12:01 am #110667In reply to: New theme – Buddypress UX
Menelik Seth
MemberThis is inspiring
two years eh? I’m just getting my feet wet with BuddyPress, and I’m trying to work towards something similar (a custom theme that I want to build to suit my own specific needs, but then give to the community for free). I look forward to trying out your theme, and who knows maybe build some child themes based on it.Now back to coding I go.
April 20, 2011 at 11:37 pm #21489JValero
MemberHello Everyone,
I did a quick search and didn’t see any threads about what I am trying to accomplish.
I am working on a custom nav menu for Buddypress. Each tab on the menu has a different color associated with it and the desired functionality is that when hovering over that each tab it will display the proper color and will also display the color as a signpost while each page is active. I have accomplished this for every page except for the Group and Forum (BBPress) pages. I created a script and added it to the header which dynamically inserts an id to to each pages tag, but for the group and forum pages it sets it as home. That is because the script I have automatically sets any page without a title to home as a failsafe. How do I add a pagetitle to these two pages? What files do I need to edit?
April 20, 2011 at 10:19 pm #110664In reply to: Installing buddypress in subsite in WP multisite
valuser
ParticipantIn subdirectory network – Multisite with subdirectories http://examplesite.com/ – http://examplesite.com/subsite1 – http://examplesite.com/subsite2 – http://examplesite.com/subsite3 etc etc. and say with define ( ‘BP_ROOT_BLOG’, 3 );? in the wp-config file Should buddypress plugins like say “bp profile map” be network activated or activated in subsite 3 in order to get them to work or does something else have to be done. Any help very much appreciated
April 20, 2011 at 9:32 pm #110663fgilbane
MemberHi:
I am running wp 3.1.1 and buddypress 1.28 in live beta. I am having what sounds like a similar problem. I can create groups fine, and post updates fine. Forums are turned on and enabled, including in the group checkbox.
When I post a new topic, I get the “There was an error creating topic” and “There are no posts for this topic”. The url is …/groups/forum/topic// which looks suspicious to me. But then when I click on the Forum tab, all topics and groups are listed, but again, when I click on the topic title I get the “There are no posts for this topic” msg. The url is of the form … /groups/group-title/forum/topic/forum-title/.
If I click on the Forum tab and then a group title, I am brought to the forum and it lists the topics and the url looks like …/groups/group-title/forum/, and I see the “Post a new topic” form. And again, when I click on the topic title I get the “There are no posts for this topic” msg. This time the url is of the form … /groups/group-title/forum/topic/topic-title/. When I again post a new topic, I get the “There was an error creating topic” and “There are no posts for this topic”. url is …/groups/group-title/forum/topic/topic-title/.
If I click on My/Groups or on the group list in the sidebar I can post updates and replies Ok.So, everything seems to be there, but the navigation seems messed up and too confusing for anyone to use. Because this is still a beta site I tried deleting all groups/forums disabling them, deactivating most everything, including buddypress, and I have re-installed bbpress and the configure file is in the wp root dir. a few times. It is possible I installed a new bbpress one of those times instead of using the existin bbpress that came with buddypress. Any suggestions greatly appreciated!
April 20, 2011 at 8:52 pm #110662In reply to: logout redirect?
Brooker
Memberit doesnt work as I want it to work…”For the user not logged in backend, BuddyPress already redirects them to main site on logout”
it says that Buddypress already redirect to main site on logout.. but mine doesnt.. it goes to wordpress logout first…April 20, 2011 at 8:21 pm #110661tindell
MemberI can’t believe I’m going through this all because buddypress doesn’t support post thumbnail. An it’s not the only issue I’m having either. Buddypress is great providing you don’t want to change anything expect a few colours.
April 20, 2011 at 8:14 pm #110660In reply to: BuddyPress with PageLines Free Template
@mercime
ParticipantThank you @hnla
@magcindy you place the import line in your WP theme’s style.css file.
The registration page is now by default at http://yoursite.com/registerApril 20, 2011 at 6:47 pm #110654In reply to: associate post with group
kuker
Memberthanks for the reply!
but that isn’t exactly what I need.. I want to show the blog post and below it the information on the group with the same name
ideally I would like to use the buddypress template tags on the main wordpress template files and get the information for a specific group
likeApril 20, 2011 at 6:40 pm #110653In reply to: BuddyPress with PageLines Free Template
Hugo Ashmore
ParticipantIt’s alright mercime was just having one of those moments :p
the @ import was automagically converted to an ‘at mention’ link (this forum really needs a proper code display ) I’ve edited the post and added a space between @ i
If you look at the main style file in bp-default you will see how it imports the various stylesheets required you need to do this but using directory notation to navigate back up the directory tree to find the bp-default file
April 20, 2011 at 4:57 pm #110649Boone Gorges
KeymasterI’m looking at the annotated revision log https://trac.buddypress.org/browser/branches/1.2/bp-blogs.php?annotate=blame&rev=4066 I can see why Subscriber blogs aren’t showing up. What I *can’t* see is why they ever should have been. It looks to me like the code has always intended for Subscriber blogs to be excluded. A recent change in WP blog role management must have made the code finally fulfill its intended purpose.
How to fix: You could write a short plugin that runs every time add_user_to_blog fires, and adds the blog to the BP user’s list using bp_blogs_record_blog(). Ideally there would be a more configurable way to make this work; it’s worth an enhancement ticket on trac.
The short plugin would work something like this. Totally untested.
`function bbg_add_subscriber_to_blog( $user_id, $role, $blog_id = false ) {
global $current_blog;if ( empty( $blog_id ) )
$blog_id = $current_blog->blog_id;if ( $role == ‘subscriber’ )
bp_blogs_record_blog( $blog_id, $user_id, true );
}
add_action( ‘add_user_to_blog’, ‘bbg_add_subscriber_to_blog’, 15, 3 );`The other part of the equation is to sync the whole shebang, which will have to be done once. Something like this (also untested) might work:
`function bbg_record_existing_blogs() {
global $bp, $wpdb;if ( !is_super_admin() )
return false;/* Truncate user blogs table and re-record. */
$wpdb->query( “TRUNCATE TABLE {$bp->blogs->table_name}” );$blog_ids = $wpdb->get_col( $wpdb->prepare( “SELECT blog_id FROM {$wpdb->base_prefix}blogs WHERE mature = 0 AND spam = 0 AND deleted = 0” ) );
if ( $blog_ids ) {
foreach( (array)$blog_ids as $blog_id ) {
$users = get_users_of_blog( $blog_id );if ( $users ) {
foreach ( (array)$users as $user ) {
$role = unserialize( $user->meta_value );bp_blogs_record_blog( $blog_id, $user->user_id, true );
}
}
}
}
}
add_action( ‘admin_init’, ‘bbg_record_existing_blogs’ );`Be forewarned that the latter function should only be run once; comment out the add_action() after it’s done its work. And it’ll only run if the Super Admin visits a Dashboard page. And it might be resource intensive, as it will recheck blog membership for every blog on the system. Use at your own risk.
April 20, 2011 at 4:36 pm #110647In reply to: BuddyPress with PageLines Free Template
magcindy
MemberI discovered I had not added the BP Template pack plugin which I have now done. The admin links in the footer are gone, however, I cannot find the original links to the registration pages.
Also, I’m not sure where the import you reference above is placed.
April 20, 2011 at 3:38 pm #110644In reply to: BuddyPress with PageLines Free Template
@mercime
Participant=== all the possible available (BP I think) links appear in the far left of the bottom of the footer. ===
I believe you’re referring to the BP Admin Bar. I assume you used the BP Template pack plugin to make your WP theme compatible with BP. You will also need to load the styling for BP admin bar via @import.
`/*
Theme Name: Name of your Theme
… etc
… etc
… etc
*//* Load the default admin bar styles */
@ import url( ../../plugins/buddypress/bp-themes/bp-default/_inc/css/adminbar.css );`April 20, 2011 at 3:01 pm #21480ultimateuser
ParticipantI get the above error when I don’t complete the subject OR message field. Why doesn’t buddypress allow sending messages without a subject?
April 20, 2011 at 1:44 pm #21478Topic: BuddyPress with PageLines Free Template
in forum How-to & Troubleshootingmagcindy
MemberI am in school serving an internship. I have implemented WordPress with BuddyPress and the free PagesLines template.
Everything looks great with the exception that upon sign-in, all the possible available (BP I think) links appear in the far left of the bottom of the footer. They all scroll off the page.
I cannot find anywhere to turn this off.
I installed WordPress, then BuddyPress, then the default template, then Pagelines so I could add the features the client wanted. Can anyone point me in a direction to look and resolve this problem? Thanks in advance.
April 20, 2011 at 1:43 pm #110640In reply to: changing the core /groups/ and /forums/ slugs?
Luciano Passuello
ParticipantI’m also interested in this. Since people often create forum topics in the wrong groups, it’s not usual to have to move them around (using @dwenaus Topic Mover plugin). Moving the topic breaks links to it (in notification emails, activity stream, etc.)
Any suggestions on how to change the slug or how to somehow avoid this problem of broken links for moved forum topics?
April 20, 2011 at 12:50 pm #110635Virtuali
ParticipantWhat do you want to be in the links page?
Use the buddypress links plugin https://wordpress.org/extend/plugins/buddypress-links/ it adds that tab to groups
April 20, 2011 at 12:09 pm #21476skateage
ParticipantHey Buddypress!
Im interested in changing the reply button for forum posts on the activity stream listing. Instead of having the “reply” button it would have a “View Post” button that would take you to the permalink of the forum post. Im not sure how difficult a task like this would be but i dont have the experience to figure it out by my lonesome.
so…. instead of this:
http://img641.imageshack.us/img641/199/replyn.gifIt would say this:
http://img842.imageshack.us/img842/8449/reply2.gifand take you here: http://www.skateage.com/groups/skateboarders/forum/topic/the-berrics-or-the-fantasy-factory/#post-140
If someone has a solution or is willing to find one i would be thrilled to the point of explosion.
April 20, 2011 at 10:51 am #110631John James Jacoby
Keymaster@brentjacobsen – Do you have access to your PHP/apache error logs to see where exactly the memory error is happening? How much available memory is being allocated to PHP? Remember that the more custom PHP code you pull in (with plugins, elaborate themes, etc…) is the bigger that buffer gets, and eventually it’ll pop once it hits the limit. That limit may get reached at different times for different users depending on the number of groups they’re in, the number of pending invitations they have, the page that is trying to be displayed, etc…
April 20, 2011 at 10:47 am #110629In reply to: WordPress Nightly Breaks Buddypress
John James Jacoby
KeymasterThis will be a non-issue when the bbPress plugin eventually replaces the stand-alone version currently included in BuddyPress. Until then, the next version of BuddyPress will continue to work the same as before in this regard. Props @djpaul for being on the case.
April 20, 2011 at 8:30 am #110626finni3
ParticipantApril 20, 2011 at 7:27 am #110624Phil Meyer
ParticipantLOL… thanks Boone! I suspected it might not be a quick fix. What I needed was someone to at least just react and tell me that – like you did.
I reckon this might ask for a custom plugin to be written. Do you think that’s doable by a competent developer?Basically what I wanted was an additional option that would exclude updates from anyone that are not friends or followers of the logged in user, and from groups or forums that have nothing to do with him. I might look for someone who will write me such a plugin for a reasonable fee.
Thanks again for your answer!
April 20, 2011 at 6:13 am #110622In reply to: WordPress Nightly Breaks Buddypress
Paul Wong-Gibbs
KeymasterIt’s not to do with a global. It’s to do with calling the parent class’ WPDB(), and the fact that WP 3.2 is only supporting PHP 5+, the deprecated PHP4-style class constructors have been removed.
BuddyPress has recently patched these in trunk
-
AuthorSearch Results