Search Results for 'buddypress'
-
Search Results
-
Topic: Almost Identical to Twitter
Why re invent the wheel! It has been suggested that I should look at buddypress for a upcoming project. Create a twitter look alike site to service a city community.
Suggestions of a suitable theme and if any extra plugins are required to replicate twitter functions , hashtag, retweet etc Thanks for your help Will be self hostedTopic: Custom Login Redirect
A lot of login redirect plugins allow you to choose the url you want someone to be redirected to. This works great if it’s a static URL. But how do I create a url that reads the users username so I can have the plugin redirect the user to their profile wall? Is there a variable in BuddyPress that represents the username of the person logging in? Something like %%buddypress_username%%.
I am thinking the url will look like this; http://milemarker20.com/members/(insert variable for username)/
Topic: Groups and Forums
This could be a really silly question but if I am using BuddyPress and BPPress am I only allowed to have forums inside of groups?
I’d like to configure the site so I can have Groups, Forums inside those groups AND a Forum. This way group content can center around things people identify with, sports, professional interests, favorite foods etc and the Forum can serve the purpose of a general discussion board for specific relevant topics.
For example, my site is for long haul truck drivers. They frequently talk about their employers. If they have a review they want to give I don’t want them to have to join a group to do it. I’d like a Forum where general topics can be discussed without having to join a group.
How can I accomplish this?
Topic: Buddypress css style
Hello,
Can i get custom css styles for Buddypress somewhere in the net?
I’d like to put together my Highend theme and Buddypress + rtMedia ..Thanks for assisting
GeorgeHello!
For the site i’m currently working on, it’s important that the users are allowed to favorite blog posts and that it appears on their “favorite” tab on profile. I’m using WordPress 4.0.1 / BuddyPress 2.1.1.
The following code does that, but is there a way to make it work like the ajaxed favorite buttons on the activity page instead of reloading the page so the favorite option will be saved?
Thanks so much!
Here’s the code i have on functions.php
function my_bp_activity_is_favorite($activity_id) {
global $bp, $activities_template;
return apply_filters( 'bp_get_activity_is_favorite', in_array( $activity_id, (array)$activities_template->my_favs ) );
}function my_bp_activity_favorite_link($activity_id) {
global $activities_template;
echo apply_filters( 'bp_get_activity_favorite_link', wp_nonce_url( site_url( BP_ACTIVITY_SLUG . '/favorite/' . $activity_id . '/' ), 'mark_favorite' ) );
}function my_bp_activity_unfavorite_link($activity_id) {
global $activities_template;
echo apply_filters( 'bp_get_activity_unfavorite_link', wp_nonce_url( site_url( BP_ACTIVITY_SLUG . '/unfavorite/' . $activity_id . '/' ), 'unmark_favorite' ) );
}
Code i have on index.php / single.php:
<?
global $bp;
$activity_id = bp_activity_get_activity_id( array(
'user_id' => $post->author_id,
'type' => 'new_blog_post',
'component' => 'blogs',
'item_id' => 1,
'secondary_item_id' => $post->ID
) );
?><?php if ( is_user_logged_in() ) : ?>
<?php bp_has_activities();
if ( !my_bp_activity_is_favorite($activity_id) ) : ?>
<li class="activity-meta">
[a href="<?php my_bp_activity_favorite_link($activity_id) ?>" class="button fav bp-secondary-action"]Favorite[/a]
<?php else : ?>
[a href="<?php my_bp_activity_unfavorite_link($activity_id) ?>" class="unfav button bp-secondary-action"]Unfavorite[/a]<br>
[a href="<?php echo bp_loggedin_user_domain() . BP_ACTIVITY_SLUG . '/favorites/' ?>" style="font-size: 12px;"]View Your Favorites[/a]
<?php endif; ?>
<?php endif;?>
a tags were replaced by [a] so the code will appear above.Hi bp forum. @shanebp gave me this code to use to display my custom posts in the activity stream
add_filter('bp_blogs_activity_new_post_action', 'record_cpt_activity_action', 1, 3); function record_cpt_activity_action( $activity_action, $post, $post_permalink ) { if( $post->post_type == 'projects' ) { $activity_action = sprintf( __( '%1$s created a new Project, %2$s', 'buddypress' ), bp_core_get_userlink( (int) $post->post_author ), '<a href="' . $post_permalink . '">' . $post->post_title . '</a>' ); } return $activity_action; }Question is translation related. Should I look for this string in the buddypress.po file or translate it directly in the functions.php? And if its the last one- are there any changes I need to make to the code?
Thank you
M
Topic: [Resolved] CSS help please
I need to change the colour of the font on my site so the buttons are readable. Is anyone able to explain which piece of code I need to change? url:http://herblogforum.com/activity/ WordPress 4.0.1 BuddyPress Version 2.1.1
Thank you.
Hey guys!
My client has buggered me to all ends on adding a volunteer registration page to his site with no actual real function other than it allowing the same register form as the the site’s current buddypress form.
I checked the forum and really can’t find an instance where one has created a second instance of the form. I can get the login page to show via php inclusion on a page template but not the register page.
I should also state I’m running this site within the Bridge theme and Visual Composer and while I haven’t ran into any bugs I just can’t figure out how to bring about calling a second instance of the registration form as it appears on the current registration page.
LOOKING TO ADD SECOND FORM HERE
WP Version 4.0.1
BuddyPress Version 2.1.1
BuddyPress Activity Plus Version 1.6
BuddyPress Activity Privacy Version 1.3.3
BuddyPress Security CheckVersion 1.3.0
Buddypress Social Version 2.0
LayerSlider WP Version 5.2.0
Ultimate Addons for Visual Composer Version 3.5.3
WPBakery Visual Composer Version 4.3.2Topic: Comments don't show content
My logged-in users are able to post updates to groups and they are able to comment on the updates. The update shows on the activity stream, yet the comments only show who commented and not the comment itself. Any ideas what could be causing this?
WP 4.0.1
BuddyPress 2.1.1REPOSTING-
I hope someone can help, I feel like I have tried everything, I have changed every setting in every way I can think of, I have resaved permalinks with every change. Ran all the repair tools I could find.
We are running WP 4.0.1 – BP 2.1.1 – BBPress 2.5.4 – My wife and I have been playing with this website I believe since Buddypress was new, 2010?. So we been thru every version and have lots of stuff in the database that I dont even believe is used anymore.
All forums were originally created before BBPress when Buddypress made you create a group to start a forum, now I am trying to make some forums sitewide and make some part of groups like before. All of this seems like it was possible a year or so ago and a few versions ago, I have found a bunch of instructions to follow to no avail.
The problem right now is: with the setting “Allow BuddyPress Groups to have their own forums” unclicked – (I have made sure that enable_forum is 0 in the database for all groups).
Example slug at this point is: /forums/forum/online-resources
I create new category type forum “Group Discussions” and click “Allow BuddyPress Groups to have their own forums” pointing it to the new form.
The slug changes to: /groups/forum/
I have group forums clicked, if you visit: http://godstuff.ablurk.com/forums (dynamically created by BBPress?) and hover down the list of forum links you can see which ones have bad links and give 404s, some still work, ALL these forums were created back in BP 1 as group forums with no BBPress and yet they act differently now, some permalinks change and some don’t???? Some change to this /groups/share-music-videos/forum/ ???
I have http://godstuff.ablurk.com/forums/forum/online-resources hard linked in the sidebar features menu, when clicked and it redirects to /groups/forum/ and 404s.
Anyone?
Hi There,
I have a large multisite installation that calls on xprofile fields for each user on a particular site in order to return users for a specific item. Due to all the sites having this info, but only needing to pull from users from each specific site, I used the code in the link below to make sure that the profiles aren’t syncing xprofile info between all the sites, problem is, the code supplied doesn’t work, here it is… https://codex.buddypress.org/themes/guides/segregated-x-profile-fields-for-multisite/
I am getting a ton of error messages on the site and it has to do with these 4 lines,
$bp->profile->table_name_data = $wpdb->prefix . ‘bp_xprofile_data’;
$bp->profile->table_name_groups = $wpdb->prefix . ‘bp_xprofile_groups’;
$bp->profile->table_name_fields = $wpdb->prefix . ‘bp_xprofile_fields’;
$bp->profile->table_name_meta = $wpdb->prefix . ‘bp_xprofile_meta’;the error messages I keep getting (the lines correspond with those above) are:
Warning: Creating default object from empty value in /*********/themes/Builder-Everett/functions-child.php on line 187
Warning: Creating default object from empty value in /*********/themes/Builder-Everett/functions-child.php on line 188
Warning: Creating default object from empty value in /*********/themes/Builder-Everett/functions-child.php on line 189
Warning: Creating default object from empty value in /*********/themes/Builder-Everett/functions-child.php on line 190