Search Results for 'wordpress'
-
AuthorSearch Results
-
September 30, 2013 at 11:35 pm #172068
In reply to: Enable BuddyPress to WordPress profile syncing
Henry
MemberSpent the last 30 minutes doing some digging and found an old thread with a detailed explanation from Boone:
https://buddypress.org/support/topic/please-help-me-understand-a-wordpressbp-feature/#post-97470As far as I can tell, two functions perform the ‘syncing’ of data
xprofile_sync_wp_profile()Syncs Xprofile data (nickname, first name and last name) to the standard built in WordPress profile data
xprofile_sync_bp_profile()Syncs the standard built in WordPress profile data to XProfile
That’s about it. Nothing exciting really, just two nice little housekeeping functions
September 30, 2013 at 9:58 pm #172064In reply to: Enable BuddyPress to WordPress profile syncing
Hugo Ashmore
ParticipantIt syncs your MS sites or so I thought, but I may well be wrong.
September 30, 2013 at 9:19 pm #172063In reply to: Enable BuddyPress to WordPress profile syncing
September 30, 2013 at 9:14 pm #172062In reply to: Duplicate Avatars in Activity Stream
Uncle Jimmy
Participant@Shanebp and @mercime [RESOLVED]
The following file was responsible. Comments marked !!!IMPORTANT!!! are where I made changes.
wp-content/plugins/gantry-buddypress/bpt-functions.php
<?php /** * @version 1.3 November 8, 2012 * @author RocketTheme, LLC http://www.rockettheme.com * @copyright Copyright © 2007 - 2012 RocketTheme, LLC * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only */ // Sets up WordPress theme for BuddyPress support. function gantry_bp_tpack_theme_setup() { global $bp, $gantry_bp_path; // Load the default BuddyPress AJAX functions if it isn't explicitly disabled require_once( $gantry_bp_path . '/_inc/ajax.php' ); if ( !is_admin() ) { ///!!!IMPORTANT!!!/// COMMENTED OUT BY UNCLEJIMMY [[FIXED MEMBER HEADER DUPLICATE BUTTONS Friends/Public Message/Private Message]] ///!!!IMPORTANT!!!/// ///!!!IMPORTANT!!!/// [[ALSO REDUCED QUADRUPAL MESSAGES/COMMENTS/REPLIES TO DUPLICATES]] ///!!!IMPORTANT!!!/// // Register buttons for the relevant component templates // Friends button //if ( bp_is_active( 'friends' ) ) //add_action( 'bp_member_header_actions', 'bp_add_friend_button' ); // Activity button //if ( bp_is_active( 'activity' ) ) //add_action( 'bp_member_header_actions', 'bp_send_public_message_button' ); // Messages button //if ( bp_is_active( 'messages' ) ) //add_action( 'bp_member_header_actions', 'bp_send_private_message_button' ); // Group buttons if ( bp_is_active( 'groups' ) ) { ///!!!IMPORTANT!!!/// COMMENTED OUT BY UNCLEJIMMY [[FIXED DUPLICATE GROUP BUTTON Join/Leave ]] ///!!!IMPORTANT!!!/// //add_action( 'bp_group_header_actions', 'bp_group_join_button' ); add_action( 'bp_group_header_actions', 'bp_group_new_topic_button' ); add_action( 'bp_directory_groups_actions', 'bp_group_join_button' ); } // Blog button if ( bp_is_active( 'blogs' ) ) add_action( 'bp_directory_blogs_actions', 'bp_blogs_visit_blog_button' ); } } add_action( 'after_setup_theme', 'gantry_bp_tpack_theme_setup', 11 ); // Enqueues BuddyPress JS and related AJAX functions function gantry_bp_enqueue_scripts() { // Enqueue the global JS - Ajax will not work without it wp_enqueue_script( 'dtheme-ajax-js', get_template_directory_uri() . '/_inc/global.js', array( 'jquery' ), bp_get_version() ); // Add words that we need to use in JS to the end of the page so they can be translated and still used. $params = array( 'my_favs' => __( 'My Favorites', 'buddypress' ), 'accepted' => __( 'Accepted', 'buddypress' ), 'rejected' => __( 'Rejected', 'buddypress' ), 'show_all_comments' => __( 'Show all comments for this thread', 'buddypress' ), 'show_x_comments' => __( 'Show all %d comments', 'buddypress' ), 'show_all' => __( 'Show all', 'buddypress' ), 'comments' => __( 'comments', 'buddypress' ), 'close' => __( 'Close', 'buddypress' ), 'view' => __( 'View', 'buddypress' ), 'mark_as_fav' => __( 'Favorite', 'buddypress' ), 'remove_fav' => __( 'Remove Favorite', 'buddypress' ), 'unsaved_changes' => __( 'Your profile has unsaved changes. If you leave the page, the changes will be lost.', 'buddypress' ), ); wp_localize_script( 'dtheme-ajax-js', 'BP_DTheme', $params ); // Maybe enqueue comment reply JS if ( is_singular() && bp_is_blog_page() && get_option( 'thread_comments' ) ) wp_enqueue_script( 'comment-reply' ); } add_action('wp_enqueue_scripts', 'gantry_bp_enqueue_scripts'); // Enqueues BuddyPress basic styles function gantry_bp_enqueue_styles() { global $gantry_bp_url; // Do not enqueue CSS if it's disabled if (get_option( 'gantry_bp_disable_css' )) return; // BP 1.5+ if ( version_compare( BP_VERSION, '1.3', '>' ) ) { $stylesheet = 'bp.css'; // Bump this when changes are made to bust cache $version = '20110918'; } // Add the wireframe BP page styles wp_enqueue_style( 'bp', $gantry_bp_url . '/' . $stylesheet, array(), $version ); // Enqueue RTL styles for BP 1.5+ if ( version_compare( BP_VERSION, '1.3', '>' ) && is_rtl() ) wp_enqueue_style( 'bp-rtl', $gantry_bp_url . '/' . 'bp-rtl.css', array( 'bp' ), $version ); } add_action('wp_enqueue_scripts', 'gantry_bp_enqueue_styles'); // Gantry BuddyPress plugin doesn't use bp-default's built-in sidebar login block, // so during no access requests, we need to redirect them to wp-login for // authentication. if (!function_exists('gantry_bp_use_wplogin')) { function gantry_bp_use_wplogin() { // returning 2 will automatically use wp-login return 2; } add_filter('bp_no_access_mode', 'gantry_bp_use_wplogin' ); } // Hooks into the 'bp_get_activity_action_pre_meta' action to add secondary activity avatar support function gantry_bp_activity_secondary_avatars( $action, $activity ) { // sanity check - some older versions of BP do not utilize secondary activity avatars if ( function_exists( 'bp_get_activity_secondary_avatar' ) ) : switch ( $activity->component ) { case 'groups' : case 'friends' : // Only insert avatar if one exists if ( $secondary_avatar = bp_get_activity_secondary_avatar() ) { $reverse_content = strrev( $action ); $position = strpos( $reverse_content, 'a<' ); $action = substr_replace( $action, $secondary_avatar, -$position - 2, 0 ); } break; } endif; return $action; } ///!!!IMPORTANT!!!/// COMMENTED OUT BY UNCLEJIMMY [[FIXED DUPLICATE AVTIVITY STREAM AVATARS]] ///!!!IMPORTANT!!!/// ///!!!IMPORTANT!!!/// [[ALSO FIXED DUPLICATE MESSAGES/COMMENTS/REPLIES]] ///!!!IMPORTANT!!!/// //add_filter('bp_get_activity_action_pre_meta', 'gantry_bp_activity_secondary_avatars', 10, 2);Thank you for your time and attention, please let me know if I could’ve done this better.
God Bless
September 30, 2013 at 7:07 pm #172051In reply to: Facebook Like, site-wide, and server stress
xKroniK13x
ParticipantIt really depends on your hosting provider. My site is on a shared server and runs smooth as butter. I run a few relatively high-traffic websites (~2,000,000 page loads a month) on my portion of the server and there’s no issues. I’m also using some pretty big modifications, but as long as you get them from reputable places or code them well yourself, you won’t have a problem. A thing like Facebook share really shouldn’t effect your load times, unless the Facebook API load times are slow. This looks promising, but I never used it.
September 30, 2013 at 4:12 pm #172040In reply to: Unable to add user to group
wernerk
Participant@elangley: just had a look at the status of this issue: https://bbpress.trac.wordpress.org/ticket/2425
It seems it has been closed there, as it was submitted on the bbPress, rather than Buddypess Trac.I submitted this very issue now to the Buddypress Trac: https://buddypress.trac.wordpress.org/ticket/5187 (rather than ask you to do this, I just copied your original submission)
September 30, 2013 at 12:25 pm #172024In reply to: Enable BuddyPress to WordPress profile syncing
Hugo Ashmore
ParticipantIt’s blog posts to stream isn’t it, tracks your sites posts.
September 30, 2013 at 2:40 am #171997In reply to: The Best Cache'ing solution for BP?
Paul Wong-Gibbs
KeymasterThose two questions aren’t really relevant here. A quick Google search will suggest object caching solutions for WordPress:
https://wordpress.org/plugins/apc/ is one of them, if your web host is using APC. You’ll have to ask them to find this out.
September 30, 2013 at 2:38 am #171995In reply to: Links modification wp6
Paul Wong-Gibbs
KeymasterYes, the https://wordpress.org/ support forums for this plugin will be a better place.
September 30, 2013 at 2:18 am #171994In reply to: Dashes in usernames
September 30, 2013 at 2:17 am #171993catwomanbadkitty
ParticipantThanks @shanebp
Works perfectly!
Linking the author page through to the profile page is in my opinion the best way to join WordPress to Buddypress because it allows viewers looking at blogs on the author page to choose to click through to the bp profile or to continue to look at more blog posts by category.
Thanks a lot for the code. Great solution!September 29, 2013 at 10:22 pm #171982In reply to: Does anyone know if this is even possible?
bp-help
Participant@blogminded @tripvips
That would work fine unless the site admin was using a plugin like:
https://wordpress.org/plugins/private-community-for-bp-lite/
Then that URL would be useless and they would just get redirected but maybe this person is not using a plugin that restricts logged out visitors from the site so your idea may work for them.September 29, 2013 at 9:30 pm #171978bp-help
Participant@hkcharlie
New plugin out does the trick:
https://wordpress.org/plugins/bp-direct-menus/
Works good in my test so far!September 28, 2013 at 10:05 pm #171945In reply to: BuddyPress Courseware not appearing in control panel
danbp
Participanthi @caycee !
consider what djpaul answered here:
https://buddypress.org/support/topic/wesley-daniel-chain-problem-in-buddypress/#post-171672and on the plugin page
Requires: WordPress 3.2, BuddyPress 1.5 or higher
Compatible up to: WordPress 3.5 / BuddyPress 1.6
Last Updated: 2012-10-9September 28, 2013 at 8:24 pm #171942wavedrop
ParticipantI am using a plugin called “BP Profile Search”. I am a developer and would have no issues coding a custom page for whatever functionality I need, but I am using the plugin and it’s working great. #stadingOnShouldersOfGiants
September 28, 2013 at 3:02 pm #171934In reply to: WP site for Musicians – How?
wp_lover_4ever
ParticipantIf anyone knows about this, please comment!
And to anyone who reads this post later, and is looking answer to the same question, I found a new plugin called rtMedia – which is a great choice for adding photos, videos, or audio on your posts and showing it in the activity stream. It seems to have released 3 days earlier, atleast the latest version with this name.
https://wordpress.org/plugins/buddypress-media/But, if you know anything better, please tell us about it!
September 27, 2013 at 10:56 pm #171920In reply to: How to edit a post in buddypress
bp-help
Participant@bloxblox
Its really not good to reply on 2 year old threads. Anyway there is a plugin for that and from what I can see it still works decent even though it has not been updated in a few years.
https://wordpress.org/plugins/buddypress-edit-activity-stream/September 27, 2013 at 6:21 pm #171911In reply to: Removing Buddypress sidebars
@mercime
Participant@squaredindex If you’re using a WordPress theme, not a BP Default child theme, check out BP Theme Compatibility information at
a. https://codex.buddypress.org/theme-development/theme-compatibility-1-7/a-quick-look-at-1-7-theme-compatibility/
b. https://codex.buddypress.org/theme-development/theme-compatibility-1-7/template-hierarchy/Basically if you want to change ALL the BP pages to have a sidebar or not, then create a new file named buddypress.php and paste in the code of your theme’s file which has a sidebar or a full width layout. Then upload buddypress.php to the root of your theme’s folder in server. For theme compatibility to work, your theme should have the_title and the_content within the WP loop. Read a) above.
If you want to mix-and-match BP pages with full-width and two-column (with sidebar) layouts, read b).
September 27, 2013 at 12:10 pm #171895In reply to: Removing Buddypress sidebars
squaredindex
ParticipantNot a child theme, just a normal wordpress theme that uses buddypress. I don’t know if I have to do a child theme for it to work.
September 27, 2013 at 9:58 am #171888Davidollerton
ParticipantHi @mercime thanks for feedback – I have tried deactivating all plugins and switched to twenty thirteen, still the same issue, “There was a problem cropping your avatar”
The site is hosted on zippykid – I will check with them. Uploading regular media to a post or page is also no issue, thumbnails work fine, this is the only time I’ve had any media related issues.
I’ve also installed “WP User Avatar” and weirdly that works no problem, but I don’t want users to have to go to the wordpress control panel to change their avatar.
September 27, 2013 at 6:09 am #171886In reply to: 1.7 can't see buddy press layouts in my theme
bp-help
Participant@philmay
If you had checked the link @carlh1 had provided you would see when you click on community that the issue is unresolved. An experienced developer may be able to help but if the theme is over-bloated and doesn’t follow standard WordPress template structures then I am afraid you are in for a hefty price-tag even if you hire one. If you have not already checked it out review:
https://codex.buddypress.org/theme-development/theme-compatibility-1-7/a-quick-look-at-1-7-theme-compatibility/
See if that helps. Based on your previous topics when you mentioned Non Disclosure Agreements your probably going to have a rough time finding anyone that would be willing to sign that. After all BP, Themes, and all plugins that require WordPress to work fall under GNU/GPL because they are derivative works that uses WordPress’s hooks, actions, filters etc. in order to work with WordPress it has to be. Realistically I doubt your site will be any more groundbreaking than anyone else who has created a WP/BP powered community site so it is right silly to require a NDA! I have seen some very amazing sites created with WP & BP but most of them come from top notch experienced web developers and web designers. Please don’t take this as discouraging or negative just set a realistic goal. Either way good luck!September 27, 2013 at 1:09 am #171878In reply to: Buddypress and Twenty Twelve compatibility
@mercime
Participant@craftersuniversity At this moment, I see that you’re using a Twenty Eleven as parent theme and not Twenty Twelve.
Twenty Eleven has a one-column layout for its default page.php. Check out this tutorial for getting a sidebar into the BP pages: http://bpsocialnetwork.wordpress.com/2013/06/02/twenty-eleven-theme-compatibility/
September 26, 2013 at 4:02 pm #171855Davidollerton
ParticipantUpdate: It isn’t a theme or plugin issue, as I switched to Twenty Thirteen and found the same problem. After that I switched off plugins 1 by 1 and still nothing.
Im running WordPress 3.6.1 Buddypress 1.7 and am hosted by zippykid
Thanks
September 26, 2013 at 9:24 am #171836In reply to: The Best Cache'ing solution for BP?
Paul Wong-Gibbs
KeymasterIf you’re not already using one, set up an object cache. It’s relatively simple and will be a big improvement for all WordPress things, not just BuddyPress.
September 26, 2013 at 5:06 am #171831In reply to: LInk to inbox / sent messages
Arial Burnz
ParticipantI’m having a problem that I’m hoping the above situation will fix, but I need more information on how to utilize what’s above.
Problem: WordPress toolbar is NOT showing up in MSIE, Firefox or Safari browsers. It IS showing in the Google Chrome browser. I’ve tried logging in with different accounts to see if it’s related to the login, but it’s the same – admin or member account – no toolbar. ALSO it’s the same with my other WordPress site – both are on two different servers. However, if I go to a WordPress.com site (versus a WordPress installation on a server/private site), the WordPress toolbar IS available.
Since the WordPress toolbar is not available, I was hoping I could create menu tabs/options to get members easily to their BuddyPress inbox. The above information about building links from the sample structure is Greek to me. Where do I put that code? I’m using the Mantra Theme, so would I put it in the Custom CSS area? In the Appearance > Menu > Enter URL option? I’m thoroughly confused and I’m such a newb. Sorry!
Here’s the website I’m building: http://ilovevampirenovels.com/ravenousbooktours
Thank you!
Arial Burnz
Tour Host Coordinator -
AuthorSearch Results