Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 43,976 through 44,000 (of 94,559 total)
  • Author
    Search Results
  • #136339
    creaturis
    Participant

    I use wp super cache. however got an issues with logging out sometimes. when i log out it it gets me redirected to the front page but it still looks as if i’m logged in. when i go to another page it shows i’m logged out. I think it is because of wp super cache. but for the rest it works great.

    #30106
    JamieLe
    Participant

    Hello,

    I have an idea for a social network to allow a group of disabled people to share their travel experiences and recommend hotels with specialist facilities.

    I’ve looked at Plazaa in the showcase section of this site and would like my site to function in a similar way.

    I would like users to be able to sign up and communicate with each other but also to be able to create hotel ‘pages’ with preset fields about facilities, photo galleries which people can contribute to, and a discussion board where people can leave their star-rated reviews.

    Is BuddyPress the way forward?

    I’ve made quite a few WordPress sites so far and have a clean installation with BP sitting waiting to work on.

    I’m not an expert nor a beginner — any advice would be appreciated as to whether this is the answer or something else altogether.

    Thanks.

    #136331
    Paul Wong-Gibbs
    Keymaster

    For that, you’re best to ask on the http://bbpress.org forums.

    #30104
    valuser
    Participant

    Which Caching Plugins are most suitable for Buddypress ?

    #136330

    In reply to: redirect user login

    valuser
    Participant

    https://wordpress.org/extend/plugins/buddypress-login-redirect/ can redirect to 3 different locations after login. 1. Personal Profile / Personal Activity Page 2. Site wide Activity 3. Friends’ Activity

    https://wordpress.org/extend/plugins/login-with-ajax/ this plugin’s settings allows you go to any particular page OR to the current users particular page on login & on logout if you use %USERNAME% — its on the settings page

    Pinhead149
    Member

    Hi guys,
    i’ve installed liveTV bundle ( http://wordpress.org/extend/plugins/livetv-bundle/ ), but this plugin show the profile fields only in the normal profile panel not in buddypress. so my question is, how can i change it to my buddypress profiles? The developer of this plugin, told me that i should ask a buddypress expert.

    Sorry about my bad english, but i really need your help.

    Heres the code if you need it: (liveTV/page-admin/page-admin-livestreams.php)

    Code:
    //Now hook to create extra profil fields
    add_action( ‘edit_user_profile’, ‘livetv_show_extra_profile_fields’ );
    //When the current on the current profil has capabilties to edit -> display
    add_action( ‘edit_user_profile_update’, ‘livetv_save_extra_profile_fields’ );
    //When the current on the current profil has capabilties to edit -> update

    add_action( ‘show_user_profile’, ‘livetv_show_extra_profile_fields’ );
    //When the current on the current profil has capabilties to show -> display
    add_action( ‘personal_options_update’, ‘livetv_save_extra_profile_fields’ );
    //When the current on the current profil is the current and edit -> update

    if(!is_admin)
    {
    //Frontend plugins compatibility
    add_action(‘profile_personal_options’, ‘livetv_show_extra_profile_fields’);
    //When the current on the current profil is the current and show -> display
    }

    //Now construct new profil fields access, based on option of the plugin (default wordpress roles or new roles)
    function livetv_show_extra_profile_fields( $user )
    {
    $userID = $user->ID;

    $access = get_option(‘livetv_activate_creation_role’);

    //If based on new roles
    if($access == ‘on’)
    {
    $editable_roles = get_roles();

    foreach ($editable_roles as $key => $value)
    {
    $temp = preg_match("#^live_#", $key);

    if($temp == true)
    {
    if (current_user_can(”.$key.”))
    {
    $live_profil = ‘1’;
    }
    else
    {
    $live_profil = ‘0’;
    }
    }
    }
    }

    //If based on wordpress role
    if($access == ‘off’)
    {
    $defautRole = get_option(‘livetv_defaut_role_wordpress’);

    if (current_user_can(”.$defautRole.”))
    {
    $live_profil = ‘1’;
    }
    else
    {
    $live_profil = ‘0’;
    }
    }

    //Administrator have already access to all profils
    if (current_user_can(‘administrator’))
    {
    $live_profil = ‘1’;
    }

    //Result to displaying profil fields
    if($live_profil == ‘1’){if(is_admin()){$tableclass = ‘widefat options’;}else{$tableclass = ‘form-table’;} ?>
    <table class="<?php echo $tableclass; ?>" style="width: 600px">
    <h3>
    <?php _e(‘Stream hinzufügen’); ?>
    </h3>

    <th colspan="2" class="dashboard-widget-title"><?php _e(‘Channel hinzufügen’, ‘livetv’); ?></th>
    <?php
    $types = explode(‘_’, get_option(‘livetv_types_order’));
    foreach($types as $key => $type)
    { ?>
    <tr valign="top">
    <td scope="row"><label>
    <?php _e(‘Dein Channel auf’, ‘livetv’); echo ‘ ‘. $type; ?>
    </label></td>
    <td class="livetv-admin-td"><input type="text" style="width:125px;" maxlength="55" name="live_<?php echo $type; ?>" id="live_<?php echo $type; ?>" class="regular-text" />
    <span class="livetv_help" title="<?php _e(‘Füge einen Channelnamen oder eine Channel ID hinzu.’, ‘livetv’); ?><?php echo ‘ ‘ . $type. ‘.tv ‘; ?><?php _e(‘oder lasse es frei.’, ‘livetv’); ?>"></span><br /></td>
    </tr>
    <?php } ?>
    </table>
    <?php
    foreach($types as $key => $type)
    {
    $countlive = get_user_meta($userID, ‘count_live_’.$type.”, true);
    if($countlive) { ?>
    <br />
    <table class="widefat options" style="width: 600px">

    <th colspan="2" class="dashboard-widget-title"><?php _e(‘Deine aktiven Channel auf ‘, ‘livetv’); echo $type; ?>
    <span class="mini-<?php echo $type; ?>"></span></th>
    <tr valign="top">
    <td scope="row"><label><?php _e(‘Entferne einen deiner Channel’, ‘livetv’) ?></label></td>
    <td class="livetv-admin-td"><select name="delete_one_<?php echo ”.$type.” ?>" id="delete_one_<?php echo ”.$type.” ?>">
    <option value=""><?php echo ” ?></option>
    <?php
    global $wpdb;
    $thumbs = $wpdb->get_results( "SELECT meta_key, meta_value FROM $wpdb->usermeta WHERE meta_key LIKE ‘live_".$userID."_".$type."_%’" );
    foreach($thumbs as $keythumb => $valuethumb)
    {
    ?>
    <option value="<?php echo ”.$valuethumb->meta_key.”; ?>"><?php echo $valuethumb->meta_value; ?></option>
    <?php } ?>
    </select>
    <span class="livetv_help" title="<?php _e(‘Wähle löschen und klicke auf Registrieren um den Channel zu löschen’, ‘livetv’); ?>"></span><br /></td>
    </tr>
    <?php foreach($thumbs as $keythumb => $valuethumb)
    {
    ?>
    <tr valign="top">
    <td scope="row"><label><?php echo ‘ID ‘ ?>
    <input type="text" style="width:50px;" maxlength="55" disabled="disabled" value="<?php echo $keythumb + 1; ?>" />
    </label></td>
    <td class="livetv-admin-td"><input type="text" style="width:125px;" maxlength="55" disabled="disabled" name="<?php echo $valuethumb->meta_value; ?>" value="<?php echo $valuethumb->meta_value; ?>" id="<?php echo ”.$valuethumb->meta_key.” ?>" />
    <span class="livetv_help" title="<?php _e(‘Dieser Channel wird auf unserer Stream Seite angezeigt.’, ‘livetv’); ?>"></span></td>
    </tr>
    <?php } ?>
    </table>
    <?php }}}}

    //Profil field update function
    function livetv_save_extra_profile_fields( $user_id )
    {
    if ( current_user_can( ‘edit_user’, $user_id ) )
    {

    if(isset($_POST[‘delete_one_own3d’]) && !empty($_POST[‘delete_one_own3d’]))
    {
    $temp = stripslashes($_POST[‘delete_one_own3d’]);

    if($temp)
    {
    delete_user_meta( $user_id, ”.$temp.”);
    }
    }

    if(isset($_POST[‘delete_one_justin’]) && !empty($_POST[‘delete_one_justin’]))
    {
    $temp = stripslashes($_POST[‘delete_one_justin’]);

    if($temp)
    {
    delete_user_meta( $user_id, ”.$temp.”);
    }
    }

    if(isset($_POST[‘delete_one_twitch’]) && !empty($_POST[‘delete_one_twitch’]))
    {
    $temp = stripslashes($_POST[‘delete_one_twitch’]);

    if($temp)
    {
    delete_user_meta( $user_id, ”.$temp.”);
    }
    }

    if(isset($_POST[‘live_own3d’]) && $_POST[‘live_own3d’] != ”)
    {

    $countlive = get_user_meta($user_id, ‘count_live_own3d’, true);

    if(!$countlive){
    $countlive = ‘0’;
    }

    $count = $countlive + ‘1’;

    update_user_meta( $user_id, ‘count_live_own3d’, ”.$count.”);
    update_user_meta( $user_id, ‘live_’.$user_id.’_own3d_’.$count.”, $_POST[‘live_own3d’] );
    }

    if(isset($_POST[‘live_justin’]) && $_POST[‘live_justin’] != ”)
    {

    $countlive = get_user_meta($user_id, ‘count_live_justin’, true);

    if(!$countlive){
    $countlive = ‘0’;
    }

    $count = $countlive + ‘1’;

    update_user_meta( $user_id, ‘count_live_justin’, ”.$count.”);
    update_user_meta( $user_id, ‘live_’.$user_id.’_justin_’.$count.”, $_POST[‘live_justin’] );
    }

    if(isset($_POST[‘live_twitch’]) && $_POST[‘live_twitch’] != ”)
    {

    $countlive = get_user_meta($user_id, ‘count_live_twitch’, true);

    if(!$countlive){
    $countlive = ‘0’;
    }

    $count = $countlive + ‘1’;

    update_user_meta( $user_id, ‘count_live_twitch’, ”.$count.”);
    update_user_meta( $user_id, ‘live_’.$user_id.’_twitch_’.$count.”, $_POST[‘live_twitch’] );
    }
    }
    }
    ?>

    Greetz

    #30102
    valuser
    Participant

    On an Online test site –

    Nothing lost.

    Child theme of bp-default

    I wanted to test the solution Paul did in http://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/bp-1-6-beta1-wp-3-4-multi-site-multi-network-buddypress-group-directory-extras/

    So I replaced BP 1.6 Beta1 with trunk 6132 with the bp-forums folder from Beta1 replacing bp-forums folder of trunk 6132. (is this my problem ?? )

    and pressed all the updating links in the back-end.

    I saw that BuddyPress Group Directory Extras now dragged in activity items into the Group Directory as it was supposed to do . Thanks for fix

    But I have a Problem

    Post Update does not work in any of the forums. The box does NOT enlarge and the button does NOT appear.

    Obviously I am not updating via the trunk correctly.

    Anyway have gone back to BP 1.6 Beta1 for the time being and so far there appears to be no damage.

    Is there a guide or a link to a guide – for well meaning amateurs- for updating via trunk ?

    #136326
    1stAngel
    Participant

    Are there any plugins which allow attachments and an editor on the sitewide?

    #136325
    modemlooper
    Moderator

    Did you install WordPress with a one click installer from your host? If so the directory may not have permissions set to allow BuddyPress to create folders and add images to your server

    #136318
    Paul Wong-Gibbs
    Keymaster
    lakhlu
    Member

    Hey there,

    mercime, thanks for your inputs, it helped me a lot, however i seem to have this styling problem anyways

    Tried adding
    `ul.item-list li,
    ul.item-list.activity-list li {
    list-style: none;
    }` to my style.css, black.css, blue.css files , however it didng help

    Would you please help me out a bit with this one?
    http://kinogrill.org/activity/

    #136313
    MzPozativ
    Member

    I have installed Buddypress on a brand new site using the Default theme.
    When a visitor creates an account on the site, they do not show up as members. When I go in through my dashboard, I find them listed as subscribers. How do I get Members on the site that can join Groups?

    #30097
    mattdans
    Member

    When I connect the Register page to BuddyPress, the page redirect to home instead of going to the register page. If I disconnect the page from BuddyPress, the register page appears perfectly fine. Help.

    #136311
    mattdans
    Member

    I’m having a problem with the registration page. When I type in the url imgmatters.com/walkforasl/register, it takes me to the home page (imgmatters.com/walkforasl) Same thing when I clicked the ‘view’ button on BuddyPress’ interface (in WordPress) to view the register page.

    #136306

    In reply to: CockapooPlace.com

    jummy
    Member

    Looks good! Could you please tell me how to modify the twenty eleven theme for buddypress like you did?

    #30096
    MzPozativ
    Member

    I have installed Buddypress on a brand new site using the Default theme.
    When a visitor creates an account on the site, they do not show up as members. When I go in through my dashboard, I find them listed as subscribers. How do I get Members on the site that can join Groups?

    #136299

    Hi All,

    I don’t think that this actually is a buddypress problem. I don’t use BP and on a site I am looking at for the owner the comments don’t work. I have deactivated all plug-ins and used the standard Twenty Ten theme but they do not want to open up (oh yes I have changed the setting to enable the comments to be active). I have a 3.3 site and there it works fine on this 3.4 site it don’t

    So I rather think that this is a WP issue than a BP issue.
    On the other hand with software you never know….

    Rudy
    http://www.rudychristoph.com

    #136298
    Tammie Lister
    Moderator

    When you say default are you pasting from YouTube (getting the url) or using a plugin to add them into BuddyPress? I ask because a plugin could mean a different route needs to be taken.

    #30091
    sebsomes
    Member

    Hi,

    I wanted to know if there is an option to take the content of a group like for a category in WOrdpress.

    Something like the query_post option of WOrdpress ?

    Tnks

    jacor3003
    Member

    Hi,
    I’m learning BP and wonder if i can use bp_ functions in static wordpress sites.
    The site works fine but… I’ve created page “Test” wich id is 40 and in my theme folder i’ve created file “page-40.php” in this file i’m loading header-buddypress.php instead of header.php but i cannot access functions like `bp_displayed_user_avatar()` or `bp_members_component_link(‘profile’, ‘public’)`. Is there a way to make this stuff works?

    #136296
    Anonymous User
    Inactive

    sorry i misunderstood, i’m not english, i thought banner == header…

    This is an example for the activity/index.php template : the hook just under the activity page title is :
    `bp_before_directory_activity_content`

    so in the functions.php of your active theme, you can add something like this :

    `add_action(‘bp_before_directory_activity_content’, ‘i_do_not_want_custom_header’);

    function i_do_not_want_custom_header(){
    ?>

    <?php
    }`

    I’m sure you’ll find the right hooks to add your ‘narrow photo’ in the other BuddyPress templates..

    nickharambee
    Participant

    I too am noticing this behaviour, specifically with apostrophes – I haven’t tested other special characters.

    I am using latest versions (WordPress 3.4, Buddypress 1.5.6 and BuddyPress Group Email Subscription 3.1.2)

    Anonymous User
    Inactive

    Hello @valuser

    Yes it can be done for tags. The trouble with your snippet is that you’re calling a function that doesn’t exist in WordPress : get_the_post_tag() !! So i adapted your function using this one https://codex.wordpress.org/Function_Reference/get_the_tags and instead of tag ids i think it’s more convenient to use tag slugs :

    function do_not_record_this_tag( $post_id, $post ){
    
    /* this is the array that contains the category to exclude */
    $tag_slugs_to_exclude = array( 'exclude' );
    
    if ( 'publish' != $post->post_status )
    return false;
    
    $post_tags = get_the_tags( $post_id );
    $in = false;
    
    if( !empty( $post_tags ) ) {
    
    foreach ( $post_tags as $post_tag ) {
    if( in_array( $post_tag->slug, $tag_slugs_to_exclude ) )
    $in = true;
    
    }
    
    /* if the post has at least one excluded tag, then we remove the BuddyPress hook that records an activity */
    if( $in )
    remove_action( 'save_post', 'bp_blogs_record_post', 10, 2 );
    
    }
    
    }
    
    add_action( 'save_post', 'do_not_record_this_tag', 9, 2 );

    if you prefer id then replace the tag slugs by ids in the array $tag_slugs_to_exclude and replace $post_tag->slug by $post_tag->term_id

    #136289
    Jenny Wong
    Participant

    So the solution for anyone who is reading is that as Paul said, to use do_action (‘bbpress_init’) within the function that has the bb_ function you are trying to call!! It does not work setting it to the whole file. ( I tried it). It only has to be called once per function.

    Also an example of it is : https://buddypress.org/community/groups/creating-extending/forum/topic/add-custom-metadata-to-forum-topics-for-sorting-purposes/

    Hope this helps someone else!
    :)

    valuser
    Participant

    Tried this but it stopped everything getting to the activity stream

    function do_not_record_this_tag( $post_id, $post ){
    
    /* this is the array that contains the category to exclude */
    $ids_to_exclude = array( 4 );
    
    if ( 'publish' != $post->post_status )
    return false;
    
    $post_tags = get_the_post_tag( $post_id );
    $in = false;
    
    if( count($post_tags) > 0 ) {
    
    foreach ( $post_tags as $post_tag ) {
    if( in_array( $post_tag->tag_ID, $ids_to_exclude) )
    $in = true;
    
    }
    /* if the post has at least one excluded category, then we remove the BuddyPress hook that records an activity */
    if( $in )
    remove_action( 'save_post', 'bp_blogs_record_post', 10, 2 );
    
    }
    
    }
    
    add_action( 'save_post', 'do_not_record_this_tag', 9, 2 );

    any ideas ???

Viewing 25 results - 43,976 through 44,000 (of 94,559 total)
Skip to toolbar