Search Results for 'wordpress'
-
AuthorSearch Results
-
August 16, 2012 at 3:17 am #139572
In reply to: Installed BuddyPress but no work?
@mercime
Participant== I have to do more investigation as to whether I can use this plugin with my theme, or how to install it so it is compatible. ==
@nwweavers we have “template-packed” a number of WP themes for BP compatibility https://codex.buddypress.org/theme-development/wordpress-to-buddypress-theme/#template-packed-wordpress-themes
August 16, 2012 at 2:02 am #139568kristarella
ParticipantI’m having this same problem; I don’t know how it started, but threads are getting assigned IDs for deleted threads where the recipients are still in the database (same problem that was found in this trac entry https://buddypress.trac.wordpress.org/ticket/3971)
I don’t really want to hack the core to fix it, I’d rather just do a SQL query to delete any recipients for threads that don’t exist. Are there any caveats in doing this?
Ooh, I just discovered that all the old messages don’t have a thread assigned, but they should! This happened during an upgrade from a much older version… I wasn’t involved in that process, so I don’t know quite what happened. I think I can reassign the messages their thread number by looping through the thread message_ids… Is it possible to do that with a SQL query or do I have to use PHP to get the IDs out of the array?
This must be why the new messages started assigning low value thread numbers. Does the new thread take it’s ID from the thread table or the messages table?
August 15, 2012 at 9:03 pm #139551frank tredici
MemberOk, I got to the bottom of this (sort of).
My need and request ends up being a duplicated need requested 3 years ago (see https://buddypress.trac.wordpress.org/ticket/501)
So it looks like we have to live with the static Mystery Man graphic hard coded into BP.
The work around is to overwrite the BP Mystery Man graphic each and every time you upgrade your BP.
August 15, 2012 at 8:44 pm #139545@mercime
ParticipantAugust 15, 2012 at 6:49 pm #139537In reply to: How do I delete item in Account Menu?
David Cavins
KeymasterI made changes to the WP Admin Bar by adding this snippet to my theme’s
functions.phpfile:// Customize WP Toolbar function change_toolbar($wp_toolbar) { $wp_toolbar->remove_node('my-account-forums'); } add_action('admin_bar_menu', 'change_toolbar', 999);You can remove any individual li by getting the id of it (in your case the li has the id
wp-admin-bar-my-account-forums) and dropping the prefixwp-admin-bar-. The part where you remove the prefix is odd and makes it kind of a secret, but it works. I got the original idea here: http://www.sitepoint.com/change-wordpress-33-toolbar/August 15, 2012 at 6:02 pm #139535adminRimma
ParticipantI have the same problem! Installed BP 1.6.1 within WordPress 3.4.1 Multisite, subdomain setup; activated on network first, ran setup wizard…then deactived on network and activated on root blog id=3 (subdomain i want it on)…went to subdomain and activated it just there….no settings show up in toolbar and uder settings I get “you do not have sufficient permissions to access this page”.
also, during running the setup wizard, i get no buddypress on left menu — so i cannot access components to set up some custom fields…
please help!!!
am dead in the water like shaneholloman…August 15, 2012 at 5:39 pm #139533In reply to: Problems after updating buddypress.1.6.1
Tim Hyde
ParticipantI had similar issues with a plugin I developed – all fixed now. Your best contacting plugin developers as there do seem to be a few significant changes to core in 1.6.
Blank pages are often due to a plugin/theme throwing an error. The plugin maybe using stuff that’s changed (especially if accessing data structures like the $bp object directly) and is simply throwing an error. Use WordPress in debug mode and check the log file.
August 15, 2012 at 2:19 pm #139522In reply to: How to Optimize and Maximize BuddyPress Performance
frank tredici
Member18 Active Plugins Network Wide in WP 3.4.1
`Akismet
Better Delete Revision
BP Group Documents
BP Profile Search
BuddyPress
BuddyPress Docs
BuddyPress Global Unified search
Buddypress Sitewide activity widget
Email Users
[Homegrown] Authenticated Users
[Homegrown] New User Notification
[Homegrown] Remove Menu Items From Groups & Discussions Pages
[Homegrown] Remove Username Character Limit
Quick Page/Post Redirect DEV
Shortcode Exec PHP
TDLC Birthdays
WP DB Optimizer
WP Smush.it`
have 14 In-active Plugins in WordPress8 Active Plugins in BuddyPress 1.5.6
`All-in-One Event Calendar by Timely
bbPress
Breadcrumbs Everywhere
BuddyPress Group Email Subscription
BuddyPress Template Pack
Dynamic Widgets
Hyper Cache
NextGEN Gallery`
have 6 In-active Plugins in BuddyPressAugust 15, 2012 at 2:19 pm #139520In reply to: How to Optimize and Maximize BuddyPress Performance
frank tredici
MemberWe have done the following to help our BuddyPress along:
(1) Added this code to wp-config.php
`/**
* source: http://wpdude.com/wordpress-performance-tuning-tips
*/define(‘ENABLE_CACHE’, true);`
(2) Followed Michael Eisenwasser’s suggestions located at http://www.buddyboss.com/buddypress-speed-and-performance/
(3) installed and run “Optimize Database” plugin
(4) installed and run “Hyper Cache” plugin
(5) installed and run “Better Delete Revision” plugin
August 15, 2012 at 2:18 pm #139519aces
ParticipantYou could create an empty text file called /wp-content/plugins/walled-garden.php, paste the following into it, then activate the plugin:
`
<?php
/*
Plugin Name: Buddypress Walled Garden
Plugin URI: http://www.example.com/
Description: A brief description of the Plugin.
Version: 0.1
Author: http://www.example.com/
Author URI: http://www.example.com/
License: A “Slug” license name e.g. GPL2
*/function sh_walled_garden()
{
global $bp;// if( bp_is_register_page() || bp_is_activation_page() || bp_is_page( BP_FORUMS_SLUG ) || bp_is_page( BP_GROUPS_SLUG ) )
if( bp_is_register_page() || bp_is_activation_page() || bp_is_page( BP_FORUMS_SLUG ) )
return;if( ! bp_is_blog_page() && ! is_user_logged_in() )
bp_core_redirect( bp_get_signup_page() );
}add_action( ‘bp_init’, ‘sh_walled_garden’ );
function bp_remove_feeds() {
remove_action( ‘bp_actions’, ‘bp_activity_action_sitewide_feed’, 3 );
remove_action( ‘bp_actions’, ‘bp_activity_action_personal_feed’, 3 );
remove_action( ‘bp_actions’, ‘bp_activity_action_friends_feed’, 3 );
remove_action( ‘bp_actions’, ‘bp_activity_action_my_groups_feed’, 3 );
remove_action( ‘bp_actions’, ‘bp_activity_action_mentions_feed’, 3 );
remove_action( ‘bp_actions’, ‘bp_activity_action_favorites_feed’, 3 );
remove_action( ‘groups_action_group_feed’, ‘groups_action_group_feed’, 3 );
}
add_action(‘init’, ‘bp_remove_feeds’);?>`
Tested in bp 1.6.1The plugin should not have spaces, blank lines, or anything else before “ and use a simple text editor ( like this ) rather than a wordprocessor….
– – –
To have a different menu for logged in users is slightly more complicated.
You need to find the template bit that shows the menu.
In the current bp-default theme header.php file is the following
`
false, ‘menu_id’ => ‘nav’, ‘theme_location’ => ‘primary’, ‘fallback_cb’ => ‘bp_dtheme_main_nav’ ) ); ?>
`
which can be replaced by
`
<?php
if ( is_user_logged_in() ) {
wp_nav_menu( array( ‘container’ => false, ‘menu_id’ => ‘nav’, ‘theme_location’ => ‘primary’, ‘fallback_cb’ => ” ) );
} else {
wp_nav_menu( array( ‘container’ => false, ‘menu_id’ => ‘nav’, ‘theme_location’ => ‘secondary-menu’, ‘fallback_cb’ => ” ) );
}
?>
`
Then create the secondary menu in the wordpress menu admin…..Please backup files and database before trying this out in case there are complications. It would be better to try out on a test/dev site first …..
August 15, 2012 at 10:03 am #139503In reply to: How to put javascript at the bottom
Tammie Lister
ModeratorThe proper way is to use enqueue and you can specify location using that: https://codex.wordpress.org/Function_Reference/wp_enqueue_script
August 15, 2012 at 8:20 am #139500In reply to: [Resolved] Wrapping Secondary avatar with link
Jonathan
MemberThanks Boone, I’ll have a look at your idea.
FYI, I’ve submitted a ticket. https://buddypress.trac.wordpress.org/ticket/4436
August 15, 2012 at 7:04 am #139499August 15, 2012 at 6:06 am #139491Paul Wong-Gibbs
KeymasterIt’s just an out-of-memory error. Check out https://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP
August 15, 2012 at 2:58 am #139484In reply to: Why is profile fields displaying info as links?
modemlooper
ModeratorInstall my plugin to get option to remove links. https://wordpress.org/extend/plugins/buddypress-extended-settings/
August 15, 2012 at 1:33 am #139479oblax
ParticipantBTW, the 3 column theme can be found here, https://wordpress.org/extend/themes/bp-columns it produce the error mentioned below when clicking the member’s profile.
Fatal error: Cannot access empty property in …/wp-content/plugins/buddypress/bp-core/bp-core-template.php on line 823
August 14, 2012 at 9:42 pm #139467In reply to: remove “activity” tab from user profile
modemlooper
ModeratorYou can add my plugin which allows you to remove, rearrange and rename tabs.
https://wordpress.org/extend/plugins/buddypress-extended-settings/August 14, 2012 at 8:27 pm #139458frank tredici
MemberThis plugin works perfectly –> https://wordpress.org/extend/plugins/email-users/
I tested it and it does email everyone user @joelshakespear
August 14, 2012 at 6:34 pm #139452Boone Gorges
KeymasterIt looks like some styles are missing. How are you styling the BP content? Are you pulling in bp-default’s stylesheet? Check to make sure that your version isn’t somehow mangled; it should be 2423 lines long https://buddypress.trac.wordpress.org/browser/tags/1.6.1/bp-themes/bp-default/_inc/css/default.css
August 14, 2012 at 5:31 pm #139438In reply to: [Resolved] Wrapping Secondary avatar with link
Boone Gorges
KeymasterI’m looking over the code, and there’s not a very easy way to make it happen. We have hooks in bp_get_activity_secondary_avatar(), but we’re not passing along enough information to make it possible for filters to make the avatars linkable.
Could I ask you to open an enhancement ticket at https://buddypress.trac.wordpress.org/ explaining what you’re trying to do? I can make sure that the filters are improved to make what you’re trying to do possible.
In the meantime, it’s possible to do what you want, though not elegant. Here’s a hint:
`
function bbg_turn_secondary_avatars_to_links( $avatar ) {
global $activities_template;// Here you’ll copy the logic in bp_get_activity_secondary_avatar() to switch between types
switch ( $activities_template->activity->item_id ) {
// Here’s an example of what to do with groups
case ‘groups’ :
$group_id = $activities_template->activity->item_id;
$group = groups_get_group( $group_id );
$url = bp_get_group_permalink( $group );
break;// You’ll have to do similar sorts of tricks for different content types
}// Then, wrap the avatar in a URL
if ( !empty( $url ) ) {
$avatar = ‘‘ . $avatar . ‘‘;
}return $avatar;
}
add_filter( ‘bp_get_activity_secondary_avatar’, ‘bbg_turn_secondary_avatars_to_links’ );
`This may not work as is (it’s off the top of my head) but it should give you a push in the right direction. Good luck!
August 14, 2012 at 4:43 pm #139429Boone Gorges
KeymasterWPMU.org recently had a nice writeup on something similar: http://wpmu.org/how-to-build-a-facebook-style-members-only-wordpress-buddypress-site/
August 14, 2012 at 4:13 pm #139421Crew Pass
ParticipantHi @all,
I have been testing my plugin’s one at a time to see if one of them is the problem and I have found that WordPress HTTPS http://mvied.com/projects/wordpress-https/ is the problem. If I Deactivate it from my wordpress multi site install everything works fine.
I am going to contact the designer of the plugin and see what they can do.
Hope this helps so of you.
Thanks
ChrisAugust 14, 2012 at 4:12 pm #139420In reply to: Activity Stream
Boone Gorges
KeymasterA few years ago, I wrote a plugin that should do what you’re asking: https://wordpress.org/extend/plugins/bp-import-blog-activity/ I’m not sure whether it still works as advertised, so you may want to test in a development environment first.
August 14, 2012 at 4:01 pm #139415In reply to: unable to change text on registration page
@mercime
Participant@sudhirsinghinfo if you’re using a child theme of bp-default, then copy over https://buddypress.trac.wordpress.org/browser/tags/1.6.1/bp-themes/bp-default/registration/register.php in your child theme’s folder e.g. yoursite.com/wp-content/themes/YOURTHEME/registration/register.php Open up the file you copied over and make the necessary changes and save file.
August 14, 2012 at 3:42 pm #139409In reply to: Video & Image plugin for user profiles
@mercime
ParticipantImages only
Free – BP Album – https://wordpress.org/extend/plugins/bp-album/Images/Video/Audio, etc.
Free – BP Media (in beta) – http://code.google.com/p/buddypress-media/ – same plugin developer as BP Album
Premium – BP Gallery – http://buddydev.com/plugins/bp-gallery/ -
AuthorSearch Results