Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 25 replies - 151 through 175 (of 192 total)
  • @megainfo

    Participant

    rename the folder of your current theme, if not work ,

    try to reset the theme from database : http://docs.appthemes.com/tutorials/how-to-change-wordpress-themes-directly-from-the-database/

    Or

    try rest all plugins from databse

    UPDATE wp_options SET option_value = ” WHERE option_name = ‘active_plugins’;

    http://perishablepress.com/quickly-disable-or-enable-all-wordpress-plugins-via-the-database/

    @megainfo

    Participant

    There is any settings for email activation in buddypress,you must add some code in your functions.php to disable sending activation email after resgistration.

    i was code for old version for buddypress, im not sure that will work. I will try to update it and i send u.

    @megainfo

    Participant

    why you want to remove robot.txt file :) ?

    @megainfo

    Participant

    Hi,

    U can try to do like that :
    1. disable sending activation link by email, and sending the link of payment insteed
    2. after the payment was acomplished, you redirect the user to his activation link

    @megainfo

    Participant

    Hum…Ok isee thanks for answer and nice work again :)

    @megainfo

    Participant

    download this plugin

    https://wordpress.org/extend/plugins/buddypress-share-it/

    open the code source and analys it : )

    @megainfo

    Participant

    Thanks @shanebp for answer,

    I wanted a clean solution (just function from buddyrpess) but :(– .
    Any way, here is my function, i used bp_core_avatar_default() to return the default avatar.


    /**
    * Check if the current user has an uploaded avatar
    * @return boolean
    */
    function current_user_has_avatar() {
    global $bp;
    if ( bp_core_fetch_avatar( array( 'item_id' => $bp->loggedin_user->id, 'no_grav' => true,'html'=> false ) ) != bp_core_avatar_default() )
    return true;
    return false;
    }

    Hope this help some one.
    Closed.

    @megainfo

    Participant

    Here is my code

    http://pastebin.com/dCWN34qx

    This my code in functions.php


    function user_has_avatar() {
    global $bp;
    if ( !bp_core_fetch_avatar( array( 'item_id' => $bp->loggedin_user->id, 'no_grav' => true ) ) )
    return false;
    return true;
    }

    I try to check this in header.php,



    // test one with bp_get_user_has_avatar function
    global $bp;
    if( !bp_get_user_has_avatar()) :
    // echo html message warning
    endif;

    // test two with user_has_avatar function
    if( !user_has_avatar() ) :
    // echo html message warning
    endif;

    bp_core_fetch_avatar( array( ‘item_id’ => $bp->loggedin_user->id, ‘no_grav’ => true, ‘html’=>false )
    return this string :

    http://localhost/wordpress-buddypulse/wp-content/plugins/buddypress/bp-core/images/mystery-man.jpg

    and not false like describe in buddypress docs ( when no_grav is true function will return false if no avatar is added)

    bp_get_user_has_avatar() is used in memberssingleprofilechange-avtar.php , mybe i need to call a funtion to load the data of current member or somthing like that…

    Thanks advance @shanebp for help :)

    @megainfo

    Participant

    I found a data in table wp_bp_xprofile_data with user_id = 0 , i delete it

    i think there is bug or and exploit in the last version.

    @megainfo

    Participant

    yoou use XML sitemap plugin, or stats plugins ?

    if yes, try to disable it and contact Hosting if the CPU is normal

    @megainfo

    Participant

    bp_groups_pagination_count()

    @megainfo

    Participant

    No,

    @megainfo

    Participant

    hi!
    Install the last version of firefox, if buddypress work then it ok

    else

    1, which version of buddypress you used ?

    2, if you use the default buddypress theme, check if javascript is enabled,
    if you use anther theme, use the default theme , if work then the prolem is in the theme

    3. try to clear the cache of your browser, and disable all plugins installed if exist

    @megainfo

    Participant

    you should remove this line

    from

    activity/index.php
    membres/index.php
    forums/index.php
    ..

    ..

    @megainfo

    Participant

    hi,
    what security level you talk about, the front or backend ?

    @megainfo

    Participant

    Look in header.php of your theme , the code in header.php is look like that

    Code:
    <?php
    /**
    * theme theme_name
    *
    * @package packagename
    * @subpackage subpackagename
    * @since my HTML 5 theme
    */
    ?>
    <!DOCTYPE html>
    <html>
    <head>
    <meta charset="UTF-8" />
    <meta http-equiv="content-type" content="<?php bloginfo(‘html_type’) ?>; charset=<?php bloginfo(‘charset’) ?>" />
    <title><?php bp_page_title() ?></title>
    <meta name="home" content="<?php bloginfo(‘url’) ?>" />
    <meta name="url" content="<?php bloginfo(‘wpurl’) ?>" />
    <?php do_action( ‘bp_head’ ) ?>

    <?php if ( function_exists( ‘bp_sitewide_activity_feed_link’ ) ) : ?>
    <link rel="alternate" type="application/rss+xml" title="<?php bloginfo(‘name’);?> | <?php _e(‘Site Wide Activity RSS Feed’, ‘buddypress’ ) ?>" href="<?php bp_sitewide_activity_feed_link() ?>" />
    <?php endif;?>

    <?php if ( function_exists( ‘bp_member_activity_feed_link’ ) && bp_is_member() ) : ?>
    <link rel="alternate" type="application/rss+xml" title="<?php bloginfo(‘name’);?> | <?php bp_displayed_user_fullname() ?> | <?php _e( ‘Activity RSS Feed’, ‘buddypress’ ) ?>" href="<?php bp_member_activity_feed_link() ?>" />
    <?php endif;?>

    <?php if ( function_exists( ‘bp_group_activity_feed_link’ ) && bp_is_group() ) : ?>
    <link rel="alternate" type="application/rss+xml" title="<?php bloginfo(‘name’);?> | <?php bp_current_group_name() ?> | <?php _e( ‘Group Activity RSS Feed’, ‘buddypress’ ) ?>" href="<?php bp_group_activity_feed_link() ?>" />
    <?php endif;?>

    <link rel="alternate" type="application/rss+xml" title="<?php bloginfo(‘name’);?> <?php _e( ‘Blog Posts RSS Feed’, ‘buddypress’ ) ?>" href="<?php bloginfo(‘rss2_url’);?>" />
    <link rel="alternate" type="application/atom+xml" title="<?php bloginfo(‘name’);?> <?php _e( ‘Blog Posts Atom Feed’, ‘buddypress’ ) ?>" href="<?php bloginfo(‘atom_url’);?>" />
    <link rel="pingback" href="<?php bloginfo(‘pingback_url’);?>" />
    <?php wp_head();?>
    </head>

    <body <?php body_class() ?> id="bp-default">
    <?php do_action( ‘bp_before_header’ ) ?>
    ..


    <:!– header content –>
    ….

    <?php do_action( ‘bp_after_header’ ) ?>
    <?php do_action( ‘bp_before_container’ ) ?>

    @megainfo

    Participant

    Im working in new framework for wordpress+buddyperss for for building web services, the plugin expose functionality of wp and any other plugins installed in wp to other web sites and desktop applications. i will share a beta version soon.

    @megainfo

    Participant

    send the link of your site

    @megainfo

    Participant

    @megainfo

    Participant

    @megainfo

    Participant

    just copy and past the link (url or code) of the video ( youtube , vimo…

    for example i past the link

    http://vimeo.com/THE_CODE_OF_THE VIDEO

    the result

    @megainfo

    Participant

    disable all plugins, and add this line in your functions.php

    define( ‘BP_DEFAULT_COMPONENT’, ‘profile’ );

    try again, it work fine with bp 1.5.1

    @megainfo

    Participant

    You can try SeoPress plugin (not seoPress for buddypress), the last version support buddypress.

    @megainfo

    Participant

    Hi, see here

    http://bp-tricks.com/featured/give-every-buddypress-component-dedicated-sidebar/

    and you can use the functions is_XXXXX__page() to test for page

    https://buddypress.trac.wordpress.org/browser/branches/1.5/bp-core/bp-core-template.php

    bp_is_user_friends_activity()
    bp_is_user_groups_activity()
    ….

    … hope this help u:

    @megainfo

    Participant

    Hi,
    mybe it is problem with php session’s in the server.

Viewing 25 replies - 151 through 175 (of 192 total)
Skip to toolbar