Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'wordpress'

Viewing 25 results - 6,626 through 6,650 (of 22,621 total)
  • Author
    Search Results
  • #231009
    Security
    Participant

    Hi @sandyfischler i think this feature is already a part of buddypress just goto dashboard>>settings>>buddypress;>settings tab>>
    1)enable buddypress to wordpress profile syncing
    2)Allow activity stream commenting on blog and forum posts
    3)clear cache of your site and the next time someone will post a blog post it should become visible in activity stream
    Thanks

    #231008
    shanebp
    Moderator

    You could check to see if the field exists before creating it.
    But that check would happen on every page load.

    The best and most efficient method is to create a plugin and write a function that hooks to the
    register_activation_hook.
    In that function, check to see if the field exists and if not, create it.
    Then the function will only run which the plugin is activated.

    #231005
    danbp
    Participant

    Best solution is to use BuddyDrive

    #230996
    Anonymous User
    Inactive

    Oopsy. I just realized you’ll need to wait till BuddyPress 2.2 to use this snippet.

    See my post here https://bpdevel.wordpress.com/2014/11/08/the-way-the-groups-manage-subnav-is-generated-has-been-improved/

    #230942

    got, thanks for the heads up. the link on overloads explained much. i’m still a newbie re: WordPress and BuddyPress and find that it’s not always easy to get crucial info out of the documentation unless you already know it exists (or are familiar enough with these systems to know what you might be looking for).

    Thanks again

    #230938
    shanebp
    Moderator

    i want to remove some default BP tabs

    Re removing the Manage > Delete tab…

    You’re referring to the anon function in bp-groups-classes.php ?
    add_action( 'groups_admin_tabs', create_function( '$current, $group_slug', etc...

    I agree that it’s unclear.
    I think that if that function added a css id to the li tag, then we should be able to use the filter in bp_get_options_nav in bp-core-template.
    If this makes sense, and you haven’t found a workaround, please open a ticket on trac.

    #230935
    danbp
    Participant

    hi @trkr,

    the function you’re looking for is bp_group_admin_tabs in bp-groups-template.php

    More details about group admin tabs (new in 2.1) here

    Use the Group Extension API to build your menu.

    Group Extension API

    #230920
    bp-help
    Participant
    #230908
    Henry Wright
    Moderator

    Have you tried setting your WordPress homepage to your Register page? This can be done via your WP admin area

    #230896
    webplayer
    Participant

    I am not a coder, but I’m looking for a snippet that can do this:

    Add Function: Change Admin Bar Login and Register Links
    
    if user is logged out
    
    Remove WordPress/buddypress admin bar Login and Register links
    
    Add New Login and Register Links
    
    New Login Link: <a data-reveal-id="tmpl_reg_login_container" href="javascript:void(0);" onclick="tmpl_login_frm();">New Login Link</a>
    
    New Register Link: <a data-reveal-id="tmpl_reg_login_container" href="javascript:void(0);" onclick="tmpl_registretion_frm();">New Register Link</a>
    
    if user is logged in don't do any of the above (i.e.) show their buddypress username and hide register links, etc...
    

    Does anyone know how to make this happen in code that I can drop into functions.php or bp-custom.php

    #230878
    bp-help
    Participant

    @wadsworth4
    I also have another plugin that I was told on the plugins forum that it worked on multisite called “Private BP Pages.” However I never actually tested it myself on BP with multisite. I just got that info from some of the users of the plugin. I used to offer it on the WordPress repo up to about 3 months ago but I have since removed it. But to answer your question “Yes” it is possible to create a members-only community with the latest BP and WP multisite by creating a plugin or using a function in bp-custom.php using hooks etc. That way your not hacking BP and if you update BP you won’t lose your changes.

    #230869
    shanebp
    Moderator

    Have you tried this plugin?

    #230851

    In reply to: Spam/Bot users

    djsteveb
    Participant

    Best thing I did to limit spam bot users is adding the free wordpress plugin “good question” – but change the defaults questions and answers.

    I also reccomend si captcha plugin, and limit login attempts.

    I always change the default settings on limit login attempts to be more strict than default.

    I also add whitelist ip plugin for limit login attempts so I don’t lock myself out – lol.

    #230835
    Ricardo Gonçalves
    Participant

    This is the code I added at line 278 in /wp-content/plugins/buddypress-activity-plus/lib/class_bpfb_binder.php to create the action. The credit for this code is @Juanma in WordPress.org forum. (couldn’t find the original thread). In this case I’m creating an action for images upload.

    function ajax_update_activity_contents () {
      $bpfb_code = $activity = '';
      $aid = 0;
      $codec = new BpfbCodec;
      if (@$_POST['data']['bpfb_photos']) {
        $images = $this->move_images($_POST['data']['bpfb_photos']);
        $bpfb_code = $codec->create_images_tag($images);
        $type = 'bpfb_share_wall_photos';
      }
    
      $bpfb_code = apply_filters('bpfb_code_before_save', $bpfb_code);
    
      // All done creating tags. Now, save the code
      $gid = (int)@$_POST['group_id'];
      if ($bpfb_code) {
        global $bp;
        $content = @$_POST['content'] . "\n" . $bpfb_code;
        $content = apply_filters('bp_activity_post_update_content', $content);
        $user_id = $bp->loggedin_user->id;
        $userlink = bp_core_get_userlink( $user_id );
    
        $author = bp_core_get_userlink( $author_id );
        $activity_url = bp_activity_get_permalink( $item_id );
    
        $aid = $gid ?
          groups_post_update(array('conte nt' => $content, 'group_id' => $gid)) : 
          bp_activity_add(
            array(
              'action' => apply_filters( 'activity_update', sprintf( __( '%s shared a link', 'buddypress' ), $userlink ), $user_id ),
              'content' => $content,
              'component' => 'activity',
              'type' => $type,
              'user_id' => $user_id
            )
          );
          if ($aid) {
    			ob_start();
    			if ( bp_has_activities ( 'include=' . $aid ) ) {
    				while ( bp_activities() ) {
    					bp_the_activity();
    					if (function_exists('bp_locate_template')) bp_locate_template( array( 'activity/entry.php' ), true );
    					else locate_template( array( 'activity/entry.php' ), true );
    				}
    			}
    			$activity = ob_get_clean();
    		}
    		header('Content-type: application/json');
    		echo json_encode(array(
    			'code' => $bpfb_code,
    			'id' => $aid,
    			'activity' => $activity,
    		));
    		exit();
    	}
    }

    And this is the code that works for activity stream. It shows just the activities with this action, but when you click the ‘load more’ button it loads the regular stream.
    <?php if ( bp_has_activities( bp_ajax_querystring( 'activity' ) . '&action=bpfb_share_wall_photos') ) : ?>

    #230833
    mdory89
    Participant

    I should’ve explained more. In the WordPress admin panel, If you click Users-Profile Fields, the profile field created and placed into the member-header.php file doesn’t show at all.

    Here’s a tutorial I followed: http://code.tutsplus.com/articles/developing-buddypress-themes-part-3-buddypress-15-member-pages-the-overall-user-experience–wp-21856

    The code:

    <?php
       
      $favorite_spot = bp_get_profile_field_data( 'field=Favorite Camping Spot' ) ;
    echo '<p class="profile-fields">My Favorite Camping Spot: ' .$favorite_spot. '</p>';
       
      $necessary_item = bp_get_profile_field_data( 'field=One Necessary Item' ) ;
    echo '<p class="profile-fields">My One Necessary Item: ' .$necessary_item. '</p>';
     
      ?>
    #230807
    danbp
    Participant

    Please, don’t mention a user without a link to what you’re speaking about.

    There is no specific donation plugin for BP so far i know. You can of course try some of the existing for WordPress, but i’ve no idea if one of them integrates well.

    Maybe an alternative solution with myCred, who is adapted to BuddyPress and has such a feature.

    Home

    #230775
    Security
    Participant

    Hi thanks for the confirmation @emineminero here are few suggestions:
    1) As you have multisite the 1st thing i would like to suggest you is to go through the following guide
    2) Make sure your permalink structure is set to sitename.com/sample-post-name even if its set to as suggested try to rebuild it(for doing this just goto dashboard>>settings>>permalinks and simply save the permalink structure one more time)
    3) I think the issue is related to this thread and may be you will find something productive there.
    Note: Make sure you have set the pages for registration and activate in dashboard>>settings>>buddypress>>pages tab the pages are needed to be created,just create two pages and name them “register” and “activate” respectively and then set them from dashboard>>settings>>buddypress>>pages tab
    Clear browser cache and check for the changes.
    Thanks

    #230769

    In reply to: BuddyPress on Subsite

    danbp
    Participant

    Take also in mind that BuddyPress does not work on installations where you give WordPress its own directory.

    #230765

    In reply to: BuddyPress on Subsite

    julianprice
    Participant

    Hi @ggalipeau I have limited knowledge to help you in particular but thought I would point you to the codex article https://codex.buddypress.org/getting-started/installation-in-wordpress-multisite/ which shows it recently updated 3 days ago

    #230763
    Emineminero
    Participant

    Yes @shivam-kumar, my site is multisite so i checked on /wp-admin/network/ then Settings–>Network Settings and i do have that option enabled (“user accounts can be created” or something like that, my wordpress is in spanish.

    #230760
    danbp
    Participant

    If you need just a simple PDF format to get the members list, the most simple way is to use the export tool of phpmyadmin.

    See this
    video tutorial to learn about this.

    A more sophisticated way to get member’s list converted to PDF, and much more, directly on/in your site, would be to use this premium plugin ($28).
    Also read the doc and try the demos first before taking a decision. 😉

    #230740
    jstallard
    Participant

    OK fixed!

    Buddypress was no longer network activated. (The Manage Signups page was still there.) After the WordPress 4.0.1 upgrade I experienced problems on my multisite. Deactivating Buddypress helped (although the problem may have originated elsewhere).

    Network activating Buddypress fixes the Manage Signups page. Now I just need to work out the fastest way to deactivate it on 100 blogs!

    #230738
    Security
    Participant

    Hi @emineminero just to make sure, have you checked the anyone can register checkbox in dashboard>>settings>>general section

    Thanks

    #230729

    In reply to: Spam/Bot users

    danbp
    Participant

    It’s not buddypress but WP who manage registering and concerning bots, they go directly on your server.

    A good starting point is to read the WP Codex:
    https://codex.wordpress.org/Hardening_WordPress

    And at least,
    Never use “admin” as username
    Never user wp_ as table prefix

    If you search for “spam” on this forum, you will find many topics about this subject.
    And the latest one, even if not directly related to your issue, is one of the sticky post on the forum homepage. https://buddypress.org/support/topic/this-is-why-we-cant-have-nice-things/

    #230716
    buffos
    Participant

    * yes , register page is activated
    * yes, i can register
    * yes, members, activity.. etc.. show fine

    ==htaccess==

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /testbuddy/
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /testbuddy/index.php [L]
    </IfModule>

    # END WordPress

    ==logs==
    no errors

    * does buddypress support non :80 ports?

Viewing 25 results - 6,626 through 6,650 (of 22,621 total)
Skip to toolbar