Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'wordpress'

Viewing 25 results - 18,876 through 18,900 (of 22,602 total)
  • Author
    Search Results
  • #71013
    foxly
    Participant

    @stwc – Found the defect.

    The problem is being caused by two blocks of code inside the BPLinks plugin that do not account for the situation where the BuddyPress administrator disables “friend” capabilities for the site.

    When friend capabilities are disabled, calling the friends_check_friendship() function will crash the user thread. We handle this problem in BP Album+ by wrapping all calls to this function in a function_exists(‘friends_check_friendship’) statement, only calling the function if it is enabled.

    This is a sneaky, subtle defect that could easily be missed during testing; fortunately, BPLink’s clean, well-documented source code made it easy to isolate and correct the problem.

    Here’s a simple patch:

    1) In “bp-links-classes.php” at line 650

    REPLACE:

    if ( $link_owner_user_id && $link_owner_user_id != $bp->loggedin_user->id && friends_check_friendship( $link_owner_user_id, $bp->loggedin_user->id ) ) {

    $status_opts[] = self::STATUS_FRIENDS;

    }

    WITH:

    if (function_exists(‘friends_check_friendship’)) {

    if ( $link_owner_user_id && $link_owner_user_id != $bp->loggedin_user->id && friends_check_friendship( $link_owner_user_id, $bp->loggedin_user->id ) ) {

    $status_opts[] = self::STATUS_FRIENDS;

    }

    }

    2) In “bp-links-core.php” at line 1128

    REPLACE:

    return friends_check_friendship( $user_id, $link->user_id );

    WITH:

    if (function_exists(‘friends_check_friendship’))

    return friends_check_friendship( $user_id, $link->user_id );

    else

    return null;

    ============================================================================

    WordPress MU 2.9.2

    BuddyPress Version 1.2.3

    BuddyPress Links Version 0.3.2

    BP Album+ 0.1.8 beta

    ^F^

    #70990

    In reply to: plugin errors

    Paul Wong-Gibbs
    Keymaster

    @nagoonline: you have asked this in another post, and we have answered. Do not double-post.

    EDIT: Also, sending me a private message is not going to get you a reply any quicker. You could have searched Google to resolve this issue, as it’s a common WordPress “plugins broken my site” question.

    #70987
    Paul Wong-Gibbs
    Keymaster

    Disable BuddyPress and all other plugins. Does the blacklist work? If it doesn’t, it’s a WordPress problem. If they do work with WordPress, re-enable each plugin one at a time until it stops working. If BuddyPress is the culprit, please report a bug ticket on https://trac.buddypress.org/ using your username and password from this site.

    #70981
    r-a-y
    Keymaster

    Rename your /plugins/ folder to something else, then try to access your admin dashboard.

    More info available here:

    https://codex.wordpress.org/FAQ_Troubleshooting#How_to_deactivate_all_plugins_when_not_able_to_access_the_administrative_menus.3F

    #70974
    deities1
    Member

    Already tried that as well. I’m not able to call ANY bp functions outside of wordpress for some reason.

    #70973
    Anointed
    Participant

    https://wordpress.org/extend/plugins/wordpress-mu-sitewide-tags/ is almost the pefect tool for this. It doesn’t allow you to choose which ones to bring in, it brings them all in.

    I found one glaring problem though and it has to do with images in posts from other blogs. Basically when a post is made on another blog, it seems that it is automatically copied behind the scenes to the primary blog, only the title will link back to the original blog.

    The problem with images, is that when wordpress gallery inserts images into a post, it uses a relative path and that is what is saved. Because that is what is brought over to the original blog, when the loop tries to display the image, it has no way of knowing what the blog id# of the image truly is.

    example: http://uwcmi.org/site-blog/

    the 4th article down is ‘welcome to the support blog, if you click the title, notice it takes you to another domain. I did nothing to make this happen, it is all automated. When I created the post on the other blog, it was automatically added to my primary buddypress site blog.

    If I could find a way around the image problem, then at least for me it’s the perfect solution to what your asking for

    oh yeah, has the same duplicate activity problem as other plugins mentioned above. solution to that lies in http://teleogistic.net/2009/12/streamlining-group-blogs/#comment-7023

    #70970
    r-a-y
    Keymaster

    Found another plugin:

    Vote2Republish:

    https://wordpress.org/extend/plugins/vote2publish/

    Could probably modify the code to remove the voting part.

    #70969
    deities1
    Member

    I don’t know why WordPress can access the BP functions but not bbpress though.

    #70965
    r-a-y
    Keymaster

    There are a few options:

    1) Featured Posts MU – https://wordpress.org/extend/plugins/featured-post-mu/ – uses a template tag that you can add to your homepage template or a widget.

    2) BP Sitewide Featured Posts – http://dev.benoitgreant.be/blog/2009/11/buddypress-sitewide-featured-posts/ – uses a widget, but you could setup a widgetized frontpage and then you can use this widget. You could probably also modify the code to use it as a template tag.

    [EDIT]

    I misread your post, Wayne.

    If you want the post’s content from another blog to reside on your main blog, you should think about making the user a contributor on your main blog. Then you won’t run into this issue.

    #70962
    deities1
    Member

    Already tried it ….

    WordPress functions I add in bbpress work … Buddypress functions don’t.

    #70958
    deities1
    Member

    Deep integration isn’t working for me for some reason … or at least I can’t access BP functions. WordPress functions work fine. (I use get_header(); with success)

    #70956
    r-a-y
    Keymaster

    You need to call WordPress into bbPress.

    Add this to the top of your bb-config.php (right after the <?php line):

    if ( !defined('ABSPATH') & !defined('XMLRPC_REQUEST')) {
    define('WP_USE_THEMES', false) ;
    include_once($_SERVER['DOCUMENT_ROOT'] . '/wp-blog-header.php');
    header("HTTP/1.1 200 OK");
    header("Status: 200 All rosy") ;
    }

    Then you can use WP/BP functions in bbPress.

    #70938

    In reply to: Create a Site Forum

    Craig Sunney
    Participant

    I think the answer is YES for the following reason:

    I do want to investigate the possibility of limiting access to certain forums to “groups” and then investigate how to link those groups somehow to “roles” from the WordPress side.

    ..is answer still to add line of code to wp-config ?

    #70925
    r-a-y
    Keymaster

    BuddyPress isn’t sending out emails (eg. activation emails, email notifications)

    This appears to be a problem with certain web hosts (Bluehost primarily).

    Members of the BP community have had success using the “Mail From” plugin:

    https://wordpress.org/extend/plugins/mail-from/

    Try this and reply in the following forum thread if it doesn’t work:

    https://buddypress.org/forums/topic/email-notification-not-working

    #70913

    In reply to: Create a Site Forum

    r-a-y
    Keymaster

    It should be quite simple to add to the activity stream if you’re using a deep integrated install (loading WordPress into external bbPress). Because then you’d have access to WP’s (and consequently, BP’s) functions.

    #70900

    In reply to: Create a Site Forum

    Craig Sunney
    Participant

    Thanks for this r-a-y.

    Would you suggested tutorial also apply also for single WP installs?

    –>http://theeasybutton.com/blog/2009/07/17/integrating-buddypress-wordpress-mu-and-bbpress/

    or is there a better one?

    and

    Is there a way you know that would allow me to limit forums to roles beyond just the default “member”…

    I have additional roles setup and would like to limit specific forums to those roles.

    #70898
    Craig Sunney
    Participant

    Last night I ran through a setup and successfully installed Buddypress 1,2,3 on WordPress 2.9.2 without hitch. Nothing inside WP-Wishlist member stopped working.

    So for me it works with WP-Wishlist as Armand above says.

    My next problem is to get the Thesis 1.6 Child theme (called Genealogies) to play nice with Buddypress

    #70892
    jim2112
    Participant

    I get the same behavior in both WordPress standard and MU on my test server. Yes they are public groups.

    Any ideas here? I must be missing a setting somewhere, no?

    @mercime
    Participant

    Good one Xevo. For external bbpress in one install, I use https://wordpress.org/extend/plugins/bbpress-latest-discussion/ with template tags you could use for home page and/or sidebar. Works well also with another install with internal bbpress enabled via BuddyPress.

    #70865

    Thank you. The person that did our theme has always said that running a forum from a plug-in is not a good idea. So, I have emailed him to see if he sees any compatibility issues with this plug-in. But, I assume that since Buddy Press is from the people at WordPress, it should work fine.

    Thanks,

    Steve

    #70861

    Thank you for your comments. They are very helpful. So, this plugin (https://wordpress.org/extend/plugins/bp-template-pack/) adds all of the functionality to my existing blog with no other files being installed? I won’t have to install another wordpress for BP, or anything?

    #70860
    r-a-y
    Keymaster

    1) Use the BP Template Pack plugin:

    https://wordpress.org/extend/plugins/bp-template-pack/

    Please follow all of the steps involved.

    2) Probably possible but will get messy trying to get cookies and login info integrated. You could try using WPMU or wait a few months when WP 3.0 is released and when BP is made compatible with WP v3.0.

    #70852

    The trouble was a line in the .htaccess file that was not edited properly. For anyone else having this trouble (it has been fixed on the SimpleScripts end) the line that needs to be changed is:

    RewriteBase /wordpress-mu/

    to

    RewriteBase /your-installation-directory/

    (replacing with your directory)

    OR

    RewriteBase /

    (if your installation is in the root of your domain eg. http://www.yourdomain.com instead of http://www.yourdomain.com/buddypress)

    sueme
    Participant

    I’m currently running an active site, and having followed the instructions in https://codex.wordpress.org/Giving_WordPress_Its_Own_Directory I’ve got all my files in a mysite/wordpress file with everything in the wordpress folder but the index.php and .htaccess files in the home directory. that’s given the whole of my site a mysite address rather than a mysite/wordpress address.

    This sites been up a while and works well, but I’m having trouble getting BuddyPress to work on it. Whatever I try, I seem to end up with half the site still on mysite (whilst everything in mysite/wordpress is coming up unobtainable); or half the site on mysite/wordpress (whilst everything in mysite is unobtainable).

    Am I right in thinking that I can simply add the following to wp-content/plugins/bp-custom.php or is it more complicated than this?

    function my_bp_override_core_domain() {
    $domain = get_bloginfo('url');
    return $domain;
    }
    add_filter('bp_core_get_root_domain','my_bp_override_core_domain');

    There’s quite a bit of activity on the site, so I don’t want to start from scratch, but I would like to get BuddyPress on it.

    Windhamdavid
    Participant

    I think this a great idea for the wordpress track ~ I’m with @djpaul.. WordPress plugins should be able to declare a parent plug. I can declare that a piece of javascript has dependencies, or a theme, but not a plugin.. Are some of the more robust plugins (ecommerce, nextgen, etc) with sub plugins handling this? Someone should file an enhancement ticket.. this is very logical and would increase interest in child plugs, like those for BuddyPress.

Viewing 25 results - 18,876 through 18,900 (of 22,602 total)
Skip to toolbar