Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'wordpress'

Viewing 25 results - 6,776 through 6,800 (of 22,685 total)
  • Author
    Search Results
  • #229925
    Henry Wright
    Moderator

    Hi @zorro1965

    There’s a hook available in BuddyPress called messages_message_before_save which can be used to do things before a message is sent. So, you could write a function which checks to see if a member has authorisation to send a message and bail if not. You’d simply hook your function to messages_message_before_save

    See here for more info on how to utilise hooks.

    #229915
    danbp
    Participant

    Polylang plugin is intended to translate your site content

    To translate BuddyPress you have to use the translation support shipped with the plugin (buddypress.pot in bp-languages folder) and create your own version of po/mo files.

    Or to get a ready to use BP translation in your language, check out from here
    For any hints about translation, or to contribute, see here.

    #229903
    miama
    Participant
    
    
    <?php
    
    /**
    * BuddyPress – Users Home
    *
    * @package BuddyPress
    * @subpackage bp-default
    */
    
    //get theme options
    global $oswc_bp;
    
    //set theme options
    $oswc_bp_sidebar_unique = $oswc_bp[‘bp_sidebar_unique’];
    $oswc_bp_members_sidebar_unique = $oswc_bp[‘bp_members_sidebar_unique’];
    
    //setup variables
    $sidebar=”Default Sidebar”;
    if($oswc_bp_sidebar_unique) { $sidebar=”BuddyPress Default Sidebar”; }
    if($oswc_bp_members_sidebar_unique) { $sidebar=”BuddyPress Members Sidebar”; }
    
    get_header( ‘buddypress’ ); ?>
    
    <div class=”main-content-left”>
    
    <div class=”page-content” id=”content”>
    
    <?php do_action( ‘bp_before_member_home_content’ ); ?>
    
    <div id=”item-header” role=”complementary”>
    
    <?php locate_template( array( ‘members/single/member-header.php’ ), true ); ?>
    
    </div><!– #item-header –>
    
    <div id=”item-nav”>
    <div class=”item-list-tabs no-ajax” id=”object-nav” role=”navigation”>
    
        <?php bp_get_displayed_user_nav(); ?>
    
        <?php do_action( ‘bp_member_options_nav’ ); ?>
    
    </div>
    </div><!– #item-nav –>
    
    <div id=”item-body”>
    
    <?php do_action( ‘bp_before_member_body’ );
    
    if ( bp_is_user_activity() || !bp_current_component() ) :
    locate_template( array( ‘members/single/activity.php’ ), true );
    
    elseif ( bp_is_user_blogs() ) :
    locate_template( array( ‘members/single/blogs.php’ ), true );
    
    elseif ( bp_is_user_friends() ) :
    locate_template( array( ‘members/single/friends.php’ ), true );
    
    elseif ( bp_is_user_groups() ) :
    locate_template( array( ‘members/single/groups.php’ ), true );
    
    elseif ( bp_is_user_messages() ) :
    locate_template( array( ‘members/single/messages.php’ ), true );
    
    elseif ( bp_is_user_profile() ) :
    locate_template( array( ‘members/single/profile.php’ ), true );
    
    elseif ( bp_is_user_forums() ) :
    locate_template( array( ‘members/single/forums.php’ ), true );
    
    elseif ( bp_is_user_settings() ) :
    locate_template( array( ‘members/single/settings.php’ ), true );
    
    elseif ( bp_is_user_notifications() ) :
    locate_template( array( ‘members/single/notifications.php’ ), true );
    // If nothing sticks, load a generic template
    else :
    locate_template( array( ‘members/single/plugins.php’ ), true );
    
    endif;
    
    do_action( ‘bp_after_member_body’ ); ?>
    
    </div><!– #item-body –>
    
    <?php do_action( ‘bp_after_member_home_content’ ); ?>
    
    </div>
    
    </div>
    
    <div class=”sidebar”>
    
    <?php if ( function_exists(‘dynamic_sidebar’) && dynamic_sidebar($sidebar) ) : else : ?>
    
    <div class=”widget-wrapper”>
    
    <div class=”widget”>
    
    <div class=”section-wrapper”><div class=”section”>
    
    <?php _e(‘ Made Magazine ‘, ‘made’ ); ?>
    
    </div></div>
    
    <div class=”textwidget”>
    
    <p><?php _e( ‘This is a widget panel. To remove this text, login to your WordPress admin panel and go to Appearance >> Widgets, and drag & drop a widget into the corresponding widget panel.’, ‘made’ ); ?></p>
    
    </div>
    
    </div>
    thats what I did:
    </div>
    
    <?php endif; ?>
    
    </div>
    
    <br class=”clearer” />
    
    <?php get_footer( ‘buddypress’ ); ?>
    
    #229861
    Brent Havill
    Participant

    Thanks Henry!! Your are a huge help!

    ps – while I search for the social network notify members plugin, would you mind just having a quick look at this ‘list’ of our plugins I just happen to have on hand?:

    LIST OF PLUGINS:
    AVH Extended Categories Widgets
    Settings | Deactivate | Edit Replacement of the category widget to allow for greater customization of the category widget.
    Version 3.9.3 | By Peter van der Does | View details
    BuddyPress
    Deactivate | Edit | Settings | About Social networking in a box. Build a social network for your company, school, sports team or niche community all based on the power and flexibility of WordPress.
    Version 2.1.1 | By The BuddyPress Community | View details

    Category Order
    Deactivate | Edit The Category Order plugin allows you to easily reorder your categories the way you want via drag and drop.
    Version 1.0.3 | By Wessley Roche | View details

    Contact Form 7
    Settings | Deactivate | Edit Just another contact form plugin. Simple but flexible.
    Version 4.0.1 | By Takayuki Miyoshi | View details
    There is a new version of Contact Form 7 available. View version 4.0.2 details or update now.

    LayerSlider WP
    Deactivate | Edit LayerSlider is the most advanced responsive WordPress slider plugin with the famous Parallax Effect and over 200 2D & 3D transitions.
    Version 5.1.1 | By Kreatura Media | Visit plugin site

    Limit Login Attempts
    Deactivate | Edit Limit rate of login attempts, including by way of cookies, for each IP.
    Version 1.7.1 | By Johan Eenfeldt | View details

    Reveal IDs
    Deactivate | Edit Reveals hidden IDs in Admin interface that have been removed with WordPress 2.5 (formerly known as Entry IDs in Manage Posts/Pages View for WP 2.5). See options page for information.
    Version 1.4.5 | By Oliver Schlöbe | View details

    Sweet Captcha
    Deactivate | Edit Adds SweetCaptcha anti-spam solution to WordPress on the comment form, registration form, and other forms. Is compatible with Contact Form 7 and BuddyPress plug-ins. WordPress network is also supported.
    Version 3.0.8 | By Sweet Captcha | View details

    Vibe Course Module
    Deactivate | Edit This is the Course module for WPLMS WordPress Theme by VibeThemes
    Version 1.8.1 | By Mr.Vibe | View details
    There is a new version of Vibe Course Module available. View version 1.8.2 details or update now.

    Vibe Custom Types
    Deactivate | Edit This plugin creates Custom Post Types and Custom Meta boxes for WPLMS theme.
    Version 1.8.1 | By Mr.Vibe | View details
    There is a new version of Vibe Custom Types available. View version 1.8.2 details or update now.

    Vibe ShortCodes
    Deactivate | Edit Create unlimited shortcodes
    Version 1.8.1 | By VibeThemes | View details
    There is a new version of Vibe ShortCodes available. View version 1.8.2.1 details or update now.

    WooCommerce
    Settings | Deactivate | Edit An e-commerce toolkit that helps you sell anything. Beautifully.
    Version 2.2.8 | By WooThemes | View details | Docs | API Docs | Premium Support

    WPBakery Visual Composer
    Deactivate | Edit Drag and drop page builder for WordPress. Take full control over your WordPress site, build any layout you can imagine – no programming knowledge required.
    Version 4.2.3 | By Michael M – WPBakery.com | View details
    There is a new version of WPBakery Visual Composer available. View version 4.3.4 details. Download new version from CodeCanyon.

    WPLMS Assignments
    Activate | Edit | Delete COURSE Assignments plugin for WPLMS
    Version 1.8.1 | By VibeThemes | Visit plugin site

    WPLMS Customizer Plugin
    Deactivate | Edit A simple WordPress plugin to modify WPLMS template
    Version 1.0 | By VibeThemes | Visit plugin site

    WPLMS Dashboard
    Deactivate | Edit Student/Instructor Dashboard for WPLMS theme
    Version 1.8.1 | By VibeThemes | View details
    There is a new version of WPLMS Dashboard available. View version 1.8.2 details or update now.

    WPLMS Events
    Activate | Edit | Delete COURSE Events plugin for WPLMS
    Version 1.8.1 | By VibeThemes | Visit plugin site
    WPLMS Front End
    Deactivate | Edit FRONT END Content Creation plugin for WPLMS
    Version 1.8.1 | By VibeThemes | View details
    There is a new version of WPLMS Front End available. View version 1.8.2 details or update now.

    WP Mail From II
    Deactivate | Edit Allows you to configure the default email address and name used for emails sent by WordPress.
    Version 1.0.2 | By Ben Huson | View details

    #229843
    Paul Bursnall
    Participant

    @hypnoscribe @milenushka To be honest I deactivated and uninstalled Buddypress a few weeks ago. There was no response to this query and given it’s a key part of the BP experience I found that quite disappointing. Although at the same time, I do acknowledge the plugin is maintained by volunteers. I’m now using a different plugin for a community feature which expands on the default WordPress user accounts, and links nicely with the big social networks for good exposure. Sorry I can’t help in resolving this.

    milenushka
    Participant

    Hi @shanebp,

    Thank you for your help. I found this article by @boonebgorges about adding the comments to custom posts to the activity feed. I actually have that working already, but the text is generic- “user commented on a post”. Is there a way to add a specific slug here too?

      function bbg_record_my_custom_post_type_comments( $post_types ) {
          $post_types[] = 'dolphin'; // Add your custom post type name to the array. If you have a post type called 'dolphin' then you have a weird plugin
          return $post_types;
      }
      add_filter( 'bp_blogs_record_comment_post_types', 'bbg_record_my_custom_post_type_comments' );

    With kind regards,

    M

    #229835
    Henry Wright
    Moderator

    Hi @brent-havill

    The functionality you describe seems to be custom (not the default functionality provided by BuddyPress or WordPress) so you’ll need to provide more details on how exactly it works in order for the guys here to try to help.

    #229779
    shanebp
    Moderator

    Yes, if you enable this setting in wp-admin:
    Settings > BuddyPress > Settings > Enable BuddyPress to WordPress profile syncing

    #229778
    solokco
    Participant

    Thanks for the quick answer.

    That’s how you change the user NAME only.
    Wordpress has the option to SHOW PUBLIC NAME of specific user and it give you a drop down with all the variables:

    • Name Lastmame
    • Name
    • username
    • Lastname Name

    Is there a way to use this option in the front end?

    #229766

    In reply to: Youtube z-index

    Hugo Ashmore
    Participant

    This is not a z-index issue as such, it’s a very old problem that has been around for ages and is to do with managing the parameters for this object, the correct or intended behaviour is for flash player to hover as it were on the page independent of the natural stacking order of the dom elements. Adding the parameter wmode=”opaque” overrides this and sets the player into the page – flattens it where it should then observe the stacking order or applied z-indices.

    The issue is going to be accessing the elements to add this parameter.

    If you search around you would eventually find this post on WP forums, which includes the rather convoluted solution to forcing the iframe element to work with wmode=opaque
    https://wordpress.org/support/topic/help-adding-wmodetransparent-to-oembeds ( the post appears to suggest the question might have been asked here in the past? search?)

    I’ll copy the pastebin example function here for your convenience, use at your own risk 🙂

    
    add_filter( 'the_content' , 'mh_youtube_wmode' , 15 );
    
    function mh_youtube_wmode( $content ) {
    
    // Regex to find all <ifram ... > YouTube tags
    $mh_youtube_regex = "/\<iframe .*youtube\.com.*><\/iframe>/";
    
    // Populate the results into an array
    preg_match_all( $mh_youtube_regex , $content, $mh_matches );
    
    // If we get any hits then put the update the results
    if ( $mh_matches ) {;
    	for ( $mh_count = 0; $mh_count < count( $mh_matches[0] ); $mh_count++ )
    		{
    		// Old YouTube iframe
    		$mh_old = $mh_matches[0][$mh_count];
    
    		$mh_new = str_replace( "?feature=oembed" , "?wmode=transparent" , $mh_old );
    		$mh_new = preg_replace( '/\><\/iframe>$/' , ' wmode="Opaque"></iframe>' , $mh_new );
    
    		// make the substitution
    		$content = str_replace( $mh_old, $mh_new , $content );
    		}
    	}
    return $content;
    }
    

    This doesn’t include solutions for BP oembeds though, the whole function could do with scrutiny and perhaps updating a little.

    anndr0id
    Participant

    I am having this same issue! Linux server on MediaLayer
    Wordpress 4.0.1
    Buddypress 2.1.1
    PHP 5.3.28
    Apache 2.2.27

    No Plugins except Buddypress

    Tried several themes

    shanebp
    Moderator

    Perhaps the 3rd comment here will solve your problem.

    #229721
    Henry Wright
    Moderator

    Yeah, all BuddyPress sites will have the wp_users and wp_usermeta tables. See here for a description of the WordPress database and here for the BuddyPress one.

    #229704
    shanebp
    Moderator

    No offense, but your code is a real mess.
    And you should be using wpdb instead of mysql_query.
    Please consider hiring a developer. You can post a job here.

    #229545

    In reply to: BudyPress Activation ?

    Eustache44
    Participant

    Hello Henrywright,

    Thanks you for your response.
    I tried what you advise me, nothing works 🙁

    When I sent with WP-Mail-SMTP, it’s what I have. Maybe that can give you more informations:

    The result was:
    bool(true)
    The full debugging output is shown below:

    object(PHPMailer)#5937 (69) {
      ["Version"]=>
      string(5) "5.2.7"
      ["Priority"]=>
      int(3)
      ["CharSet"]=>
      string(5) "UTF-8"
      ["ContentType"]=>
      string(10) "text/plain"
      ["Encoding"]=>
      string(4) "8bit"
      ["ErrorInfo"]=>
      string(0) ""
      ["From"]=>
      string(19) "club@ufpcyclisme.fr"
      ["FromName"]=>UFP Cyclisme"
      ["Sender"]=>
      string(0) ""
      ["ReturnPath"]=>
      string(0) ""
      ["Subject"]=>
      string(45) "WP Mail SMTP: Test mail to k44@gmail.com"
      ["Body"]=>
      string(68) "This is a test email generated by the WP Mail SMTP WordPress plugin."
      ["AltBody"]=>
      string(0) ""
      ["Ical"]=>
      string(0) ""
      ["MIMEBody":protected]=>
      string(69) "This is a test email generated by the WP Mail SMTP WordPress plugin.
    "
      ["MIMEHeader":protected]=>
      string(349) "Date: Tue, 25 Nov 2014 15:21:33 +0000
    Return-Path: 
    From: UFP Cyclisme 
    Message-ID: 
    X-Priority: 3
    X-Mailer: PHPMailer 5.2.7 (https://github.com/PHPMailer/PHPMailer/)
    MIME-Version: 1.0
    Content-Type: text/plain; charset=UTF-8
    Content-Transfer-Encoding: 8bit
    "
      ["mailHeader":protected]=>
      string(78) "To: k44@gmail.com
    Subject: WP Mail SMTP: Test mail to k44@gmail.com
    "
      ["WordWrap"]=>
      int(0)
      ["Mailer"]=>
      string(4) "mail"
      ["Sendmail"]=>
      string(18) "/usr/sbin/sendmail"
      ["UseSendmailOptions"]=>
      bool(true)
      ["PluginDir"]=>
      string(0) ""
      ["ConfirmReadingTo"]=>
      string(0) ""
      ["Hostname"]=>
      string(0) ""
      ["MessageID"]=>
      string(0) ""
      ["MessageDate"]=>
      string(0) ""
      ["Host"]=>
      string(9) "localhost"
      ["Port"]=>
      int(25)
      ["Helo"]=>
      string(0) ""
      ["SMTPSecure"]=>
      string(0) ""
      ["SMTPAuth"]=>
      bool(false)
      ["Username"]=>
      string(0) ""
      ["Password"]=>
      string(0) ""
      ["AuthType"]=>
      string(0) ""
      ["Realm"]=>
      string(0) ""
      ["Workstation"]=>
      string(0) ""
      ["Timeout"]=>
      int(10)
      ["SMTPDebug"]=>
      bool(true)
      ["Debugoutput"]=>
      string(4) "echo"
      ["SMTPKeepAlive"]=>
      bool(false)
      ["SingleTo"]=>
      bool(false)
      ["SingleToArray"]=>
      array(0) {
      }
      ["do_verp"]=>
      bool(false)
      ["AllowEmpty"]=>
      bool(false)
      ["LE"]=>
      string(1) "
    "
      ["DKIM_selector"]=>
      string(0) ""
      ["DKIM_identity"]=>
      string(0) ""
      ["DKIM_passphrase"]=>
      string(0) ""
      ["DKIM_domain"]=>
      string(0) ""
      ["DKIM_private"]=>
      string(0) ""
      ["action_function"]=>
      string(0) ""
      ["XMailer"]=>
      string(0) ""
      ["smtp":protected]=>
      NULL
      ["to":protected]=>
      array(1) {
        [0]=>
        array(2) {
          [0]=>
          string(18) "kgodin44@gmail.com"
          [1]=>
          string(0) ""
        }
      }
      ["cc":protected]=>
      array(0) {
      }
      ["bcc":protected]=>
      array(0) {
      }
      ["ReplyTo":protected]=>
      array(0) {
      }
      ["all_recipients":protected]=>
      array(1) {
        ["k44@gmail.com"]=>
        bool(true)
      }
      ["attachment":protected]=>
      array(0) {
      }
      ["CustomHeader":protected]=>
      array(0) {
      }
      ["lastMessageID":protected]=>
      string(50) ""
      ["message_type":protected]=>
      string(5) "plain"
      ["boundary":protected]=>
      array(3) {
        [1]=>
        string(35) "b1_c85d5f49caeb8fcb01e07b2d5aa70e6f"
        [2]=>
        string(35) "b2_c85d5f49caeb8fcb01e07b2d5aa70e6f"
        [3]=>
        string(35) "b3_c85d5f49caeb8fcb01e07b2d5aa70e6f"
      }
      ["language":protected]=>
      array(0) {
      }
      ["error_count":protected]=>
      int(0)
      ["sign_cert_file":protected]=>
      string(0) ""
      ["sign_key_file":protected]=>
      string(0) ""
      ["sign_key_pass":protected]=>
      string(0) ""
      ["exceptions":protected]=>
      bool(true)
    }
    #229499
    Henry Wright
    Moderator

    It wouldn’t be BuddyPress documentation you’d need, rather, WordPress documentation. Take a look at the articles on user meta, specifically look at the get_user_meta() and update_user_meta() functions.

    The general idea would be to increment a user’s share count each time something is shared by that user.

    Refs:

    https://codex.wordpress.org/Function_Reference/update_user_meta
    https://codex.wordpress.org/Function_Reference/get_user_meta

    #229496
    djsteveb
    Participant

    @mika909 – I do not think anyone at the buddypress forums is going to help you with this. When trying to get a particular plugin to work with BP it is best to read the instructions with that plugin ( wordpress . org/plugins/paid-memberships-pro/faq/ )

    or ask in the support forums for said plugin ( https://wordpress.org/support/plugin/paid-memberships-pro )

    Although the FAQ for this plugin links to the premium plugin site – which basically says figure it out on your own.. or register there free to get access to extra documentation, or pay $297 to get extra help and up to one hour of consultation / help in setting this plugin up.

    This is really not a buddypress how to / troubleshooting thing. If there is a way to mark this thread as resolved you should do that.

    #229495
    Henry Wright
    Moderator

    Hi @lbpp

    It’s definitely possible but will need some custom code (unless you can find a plugin in the Plugin Directory?)

    #229484
    djsteveb
    Participant

    I use a similar thing.. plugin is called “good question” (I think) – it does not have radio buttons last I checked.. but can do multiple questions and answers I think.
    https://wordpress.org/plugins/good-question/

    Cartographer
    Participant

    Hi again,

    I just found the problem and wasn’t the 4.0.1 version of WordPress.

    Just for your info see here: https://bbpress.org/forums/topic/wp-search-engine-visibility-causes-issue-in-displaying-bbpress-in-bp-activity/

    Thank you!

    #229460
    djsteveb
    Participant

    Might want to consider axing the s2 member if you are never going to charge and look at press permit for the restrictions. ( http://presspermit.com/press-permit-overview/ (also in the wordpress plugin repo)

    I have played with both s2member and press permit on a couple of sites. I found that s2member is not needed for my free site.

    #229451
    aaronkine
    Participant

    I used a plugin called WordPress User Frontend Pro and their Buddypress addon. I also used this plugin to create new User Roles “Capability Manager Enhanced”

    Cartographer
    Participant

    Thank you @shanebp for checking it

    In my case the problem occurred after updating WordPress to the 4.0.1. Everything was ok before that.

    I didn’t change anything (e.g. plugins).

    Any advice about what I could check?

    #229432

    In reply to: Language

    danbp
    Participant
    Niels Pilon
    Participant

    Lol, probs for knowing many Dutch soccer players.

    Well actually, the site I’m working on has 127 members and many of them have ‘van’, ‘de’, or ‘van der’ in their last name and the sorting is almost all fine. There are a few mis matches but that’s probably our own fault due to incorrect registration in the WordPress backend.

    It also goes wrong when members have a double first name but I guess that also depends on the registration in the backend. But I still have to check this.

Viewing 25 results - 6,776 through 6,800 (of 22,685 total)
Skip to toolbar