Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 30,451 through 30,475 (of 94,565 total)
  • Author
    Search Results
  • #168539
    @mercime
    Participant
    #168538
    carlzammit
    Participant

    Hi,

    After installing buddy press i’m now receiving these error messages after a member registers:

    Warning: Division by zero in /srv/disk4/1287302/www/digihold.com/wp-content/plugins/buddypress/bp-core/bp-core-functions.php on line 640

    Here is an example of the page http://digihold.com/activate/

    Would be grateful if anyone could provide a fix?

    Thanks Carl

    #168537
    minto
    Participant

    Now I’ve put this in, but it still doesn’t work out:

    ‘//get the thread permalink for activity
    function ac_notifier_activity_get_permalink2( $activity_id, $activity_obj = false ) {
    global $bp;

    if ( !$activity_obj )
    $activity_obj = new BP_Activity_Activity( $activity_id );

    if ( ‘activity_comment’ == $activity_obj->type )
    $link = bp_get_activity_directory_permalink(). ‘p/’ . $activity_obj->item_id . ‘/’;
    else
    $link = bp_get_activity_directory_permalink() . ‘p/’ . $activity_obj->id . ‘/’;

    return apply_filters( ‘ac_notifier_activity_get_permalink2′, $link );
    }’

    Hugo Ashmore
    Participant

    Not really clear what their solution was, presume they were referring to copying over the groups core directory from 1.7.3, this does not sound like a hugely sensible fix mixing files from two versions but probably won’t cause issues.

    #168534
    minto
    Participant

    Here’s what I did meanwhile:

    1. removed all those junkcode, I had originally in 😉

    2. found that display-issue in the above + corrected it in the code, which seemed responsible for no text/ no links being given (I inserted the missing a-href):
    return apply_filters( ‘bp_activity_multiple_new_likes_notification’, ‘‘ . $text . ‘‘);
    … but this also did not bring up the link + text …

    3. wonder about that line:
    $link=ac_notifier_activity_get_permalink2( $activity_id );
    …removed the “2”, because with that in, my toolbar disappears…
    Should that be noticed in the ac_notifier too, with the need to keep the “2”?

    4. any notifications (even the live-notification-popup) still only appear on the likers-side, still not yet on the liked-user-profile!

    So this is, what it looks like atm:

    
    function bp_like_setup_globals() {
    global $bp, $current_blog;
    $bp->bp_like=new stdClass();
    $bp->bp_like->id = 'bp-like';
    $bp->bp_like->slug = 'bp_like';
    $bp->bp_like->notification_callback = 'bp_like_format_notifications';
    $bp->active_components[$bp->bp_like->slug] = $bp->bp_like->id;
    do_action( 'bp_like_setup_globals' );
    }
    add_action( 'bp_setup_globals', 'bp_like_setup_globals' );
    
    function bp_like_format_notifications( $action, $item_id, $secondary_item_id, $total_items,$format='string') {
    global $bp;
    $glue='';
    $user_names=array();
    $activity = new BP_Activity_Activity( $activity_id );
    $link=ac_notifier_activity_get_permalink( $activity_id );
    
    //si c’est le posteur d’origine, dites que vous êtes, d’autre dire de% s après
    if($activity->user_id==$bp->loggedin_user->id){
    $text=__("your");
    $also="";
    }
    else{
    $text=sprintf(__("%s’s"), bp_core_get_user_displayname ($activity->user_id));//quelqu’un
    $also=" also";
    }
    $ac_action='new_bp_like_'.$item_id;
    
    if($action==$ac_action){
    // if ( (int)$total_items > 1 ) {
    // $users=ac_notifier_find_involved_persons($activity_id);
    $total_user=$count=count($users);//montrent de nombreux utilisateurs uniques ont commenté
    if($count>2){
    $users=array_slice($users, $count-2);//simplement indiquer le nom de deux affiches, le repos doit être aussi et ‘n’ autre a également commenté
    $count=$count-2;
    $glue=", ";
    }
    else if($total_user==2)
    $glue=" xxxx1xxxx ";//si il ya 2 utilisateurs uniques, disons x et y commenté
    
    foreach((array)$users as $user_id)
    $user_names[]=bp_core_get_user_displayname($user_id);
    
    if(!empty($user_names))
    $commenting_users=join($glue, $user_names);
    
    if($total_user>2)
    $text=$commenting_users." xxxxxxxx2xxxxxxx ".$count." xxxx3xxxx".$also." xxxxxxxx4xxxxxxx on ".$text." post";//peut-on changer la poste à quelque chose de significatif en fonction de l’élément d’activité?
    else
    $text=$commenting_users.$also." xxxxxx5xxxxx on ".$text." post";
    
    if($format=='string')
    return apply_filters( 'bp_activity_multiple_new_likes_notification', '<a href="'.$link.'">'.$text.'</a>');
    else{
    return array('link'=>$link,
    'text'=>$text);
    }
    return false;
    }
    
    }
    

    any suggestions?

    thx in advance!

    prikid
    Participant

    yeah they all related in a sense)) it seems that users solved the issue quicker =)

    Thanks a lot!

    Uncle Jimmy
    Participant

    1. Which version of WordPress are you running?
    WordPress 3.5.2

    2. Did you install WordPress as a directory or subdomain install?
    Subdomain

    4. Did you upgrade from a previous version of WordPress? If so, from which version?
    Manual Install of WordPress through FTP to Server without incident

    5. Was WordPress functioning properly before installing/upgrading BuddyPress (BP)? e.g. permalinks, creating a new post, commenting.
    YES

    6. Which version of BP are you running?
    BuddyPress 1.8 “Di Fara”

    7. Did you upgraded from a previous version of BP? If so, from which version?
    Manual Instalation of 1.8 through WP Plugin Upload [Downloaded from BuddyPress]

    8. Do you have any plugins other than BuddyPress installed and activated? If so, which ones?
    Admin Menu Editor – Version 1.2.1 | By Janis Elsts
    bbPress – Version 2.3.2 | By The bbPress Community
    BuddyPics – Version 0.3.1 | By modemlooper
    Gantry BuddyPress – Version 1.3 | By RocketTheme, LLC
    Gantry Template Framework – Version 4.0.6 | By RocketTheme

    9. Are you using the standard BuddyPress themes or customized themes?
    Started out with the Standard BuddyPress Theme/switched to Gantry after everything working ok

    10. Have you modified the core files in any way?
    NO

    11. Do you have any custom functions in bp-custom.php?
    NO

    12. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in?
    bbPress – Version 2.3.2 | By The bbPress Community

    13. Please provide a list of any errors in your server’s log files.
    ?

    14. Which company provides your hosting?
    IPOWER

    15. Is your server running Windows, or if Linux; Apache, nginx or something else?
    Configuration for http://www.ipower.com

    CGI Active
    Document Root /home/users/web/b1195/ipw.infinigr
    FrontPage Extensions No
    Logs http://www.ipower.com/controlpanel/LogFiles.bml
    Platform Type Debian
    MySQL Version 5.0.91-log
    Perl Version 5.8.8
    PHP Version 5.3
    Sendmail Path /usr/sbin/sendmail
    Perl Path /usr/bin/perl
    PHP Path /usr/local/bin/php
    //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

    [PROBLEM = Registration Page Association = Blank Page]
    [PROBLEM = Activation Page Association = Blank Page]
    @ http://christianitees.infinigrafix.com/

    //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

    I was told by Ipower Tech [from India I think] they do not support;
    Apache 1.3 (2.2+ recommended)
    mod_mysql
    mod_xml
    mod_zlib
    ———————————————————————————————————————
    Gantry Server Requirements;
    http://www.gantry-framework.org/documentation/wordpress/basics/system_requirements.md
    ———————————————————————————————————————
    Everything worked fine until;
    I switched over to the RocketTheme Gantry WordPress Theme and now the Page Associations
    are gone.

    ? :o)

    #168528
    @mercime
    Participant

    @myironlung3 Switch to Twenty Twelve theme and check if BP content is showing up. The issue ight be that the theme is using proprietary templating system so it’s not rendering BP content. Have you contacted theme developer for assistance in getting the_title and the_content working in your buddypress.php file? Could be that just using the template tags is not enough but might need a “bridge”/extra functions for compatibility with BP. You could paste your theme’s original page.php source code in pastebin.com and post the link here so we can take a look.

    #168527

    In reply to: Dashboard panels

    @mercime
    Participant

    @bloodveil there are gallery/media plugins for Buddypress such as
    Free: https://wordpress.org/plugins/buddypress-media/
    Premium: http://buddydev.com/plugins/bp-gallery/

    myironlung3
    Participant

    I am using BuddyPress 1.8 with a theme from themeforest.

    http://themeforest.net/item/lightspeed-powerful-wordpress-theme/622698

    For some reason, the_content() is not outputting the content for buddypress pages.

    The buddypress page titles, body classes, and even post classes are correctly being output for each buddypress page, so the correct buddypress page template seems to be loading, but inside the div where the entry content is supposed to display, it is simply blank.

    To debug I created a buddypress.php file and placed it in the theme folder. I stripped it down to the basics below and it is still not working. Any thoughts on what could be causing this conflict or where I should look in the theme files?

    It is clearly a theme related issue because I switched to the default buddypress theme and the pages worked fine. Everything below outputs correctly except the_content(); which outputs nothing.

    <?php get_header(); ?>

    <div id=”content”>

    <h1 class=”pagetitle”><?php the_title(); ?></h1>

    <div id=”post-<?php the_ID(); ?>” <?php post_class(); ?>>

    <div class=”entry”>

    <?php the_content(); ?>

    </div>

    </div>

    </div>

    <?php get_sidebar(); ?>

    <?php get_footer(); ?>

    bp-help
    Participant

    @craigheyworth
    Where there is a will there is always a way!

    #168524
    louieknows
    Participant

    I used the code provided here to add the link to my navigation, but how do I add it to a drop down menu. http://buddypress.org/support/topic/adding-dynamic-profile-link-to-main-menu-item/

    I’m using the theme titled Leaf.

    craig
    Participant

    oh, and having said that… is there a way to add the same links into the nav menu?

    bp-help
    Participant

    @craigheyworth
    Your welcome glad I could assist you!

    craig
    Participant

    ah hah… those work great!

    … god knows who marked this as resolved before now… haha. Pet peev when forum goers assume their answer’s gonna solve the problem before the thread poster even gets back.

    Anyway, thanks! Exactly what I was looking for

    bp-help
    Participant

    @craigheyworth
    Oops I forgot to wrap the code lets try again:
    For Friends Link:

    
    <a href="<?php global $current_user; echo home_url() . '/members/' . $current_user->user_login . '/friends/'; ?>">Friends</a>
    

    For Messages Link:

    
    <a href="<?php global $current_user; echo home_url() . '/members/' . $current_user->user_login . '/messages/'; ?>">Messages</a>
    
    craig
    Participant

    thanks for the reply.

    I’m adding this to the widget but unfortunately I’m just getting the code display, or when I edit it, errors.

    Is this definitely correct?

    bp-help
    Participant

    @craigheyworth
    You can try these with the text widget providing you enabled php like my example above.
    For Friends Link:
    user_login . ‘/friends/’; ?>”>Friends

    For Messages Link:
    user_login . ‘/messages/’; ?>”>Messages

    May not be perfect but it works. You could add an unordered list and wrap them in list items and style them how you choose. Good luck!

    jkobylt
    Participant

    Hi there!

    I have a responsive website from buddypress – http://www.therentalboard.com.

    The website performs and displays perfectly on all platforms except for android (samsung) phones. Does anybody know the answer to this issue?

    Does anybody else have the same problem?

    Thanks!

    Jerry

    jkobylt
    Participant

    Hi there!

    I have a responsive website from buddypress – http://www.therentalboard.com.

    The website performs and displays perfectly on all platforms except for android (samsung) phones. Does anybody know the answer to this issue?

    Does anybody else have the same problem?

    Thanks!

    Jerry

    #168513
    surge74
    Participant

    Update: If anyone else is having the same problem here was my fix.

    1. Upload buddypress and activate
    2. Before you update the settings on Buddypress change your theme to the one offered by BP
    3. Once you have all your settings set the way you want click save and switch back to your theme.

    All back to normal now, no more blank register page and no more re-direct. Hope this helps someone else

    notpoppy
    Participant

    @aces Thanks very much for the reply.

    The “reset forum” option indicates that “data will be removed” which doesn’t sound like what I want – that says to me it’s going to get rid of my data, not restore it to what it was.

    The “purge previous import” option looks a bit more likely. But when I tried it I got the “Starting Conversion” message with the loading wheel next to it and it stayed that way for about 15 minutes and gave no indication that anything further was happening.

    aces
    Participant

    @technoshaman

    Do you have ‘pretty permalinks’? This is a buddypress requirement.

    Alternatively have you re-saved your permalinks ( just visiting the permalinks should do the trick but if not try saving them again )

    Failing that more info about your setup might be helpful: https://buddypress.org/support/topic/when-asking-for-support-2/

    aces
    Participant

    Don’t you have another option below:

    purge import - click to see this image enlarged.

    Alternatively have you tried resetting ( > Tools > Forums )…

    click here to see a larger image

    #168507
    bp-help
    Participant

    @ibrahim-ismail
    If your logged in you would be redirected to the home page. Its default behavior. Try logging out then typing the url. Search on here for similar threads because this has been covered many times over and you should find the solution in those threads.

Viewing 25 results - 30,451 through 30,475 (of 94,565 total)
Skip to toolbar