Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'wordpress'

Viewing 25 results - 5,401 through 5,425 (of 22,621 total)
  • Author
    Search Results
  • #243834
    Paul Wong-Gibbs
    Keymaster

    Don’t want to vouch for security without actually testing it, but I like the idea of allowing field values to be parsed for oembeds, so I’ve created a ticket to capture the idea: https://buddypress.trac.wordpress.org/ticket/6603

    #243833
    Paul Wong-Gibbs
    Keymaster
    #243822

    In reply to: Profile looks weird

    danbp
    Participant

    You may adjust existing menus or use the buddypress menu.

    BuddyPress Links in WordPress Menus

    #243821
    danbp
    Participant

    @jeremymh,

    Plugin author stopped support on wp.org repo since a few weeks.
    sLaNGjIs Team do not provide support on wordpress.org forum and reviews system!

    If you get an issue, you have to ask here now https://github.com/sLaNGjI
    This is also the reason why nobody answered to your question on support….

    FYI, i found this in the plugin review ! You’ve nothing to loose to try that.

    In plugin’s ReadMe, it’s stated that:
    * Work on all WordPress version from 3.1+ to 4.2+
    * Compatible with bbPress and BuddyPress (for front-end hide).

    BuddyPress settings has an option to show/hide the Toolbar to users, which is working properly since a while. I’m not aware of any toolbar trouble who should be resolved in BP’s core in regard of a third party plugin.

    Conclusion: don’t use a plugin who has no decent support. Do it yourself or search another plugin. Sorry !

    #243810
    shanebp
    Moderator

    You want to create an event via the update form on the activity page?
    afaik – that is not possible.

    You can create events that will also generate an entry in the activity stream.
    This plugin will do that: https://wordpress.org/plugins/buddypress-simple-events/

    #243798

    In reply to: Profile looks weird

    danbp
    Participant

    Gardenia is not BP ready.

    Create first a child theme. Add a new folder to wp-content/thems/
    wp-content/themes/gardenia-child/
    Now add a new file and call it style.css
    Copy this header comment into it (/* & */ included):

    /*
    Theme Name: Gardenia-child
    Description: child theme
    Version: 1.0
    Author: XXX
    Template: gardenia
    */

    Save.

    In that folder, add another one called buddypress and another one in this folder called css

    Go to wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/css/ and copy buddypress.css file into the css folder you created in the child theme.

    In legacy/buddypress/ directory, is a js folder. Copy the whole folder into child’s buddypress directory.

    End result should be:

    /gardenia-child/
    /gardenia-child/style.css

    /gardenia-child/buddypress/css/buddypress.css

    /gardenia-child/buddypress/js/buddypress.js
    /gardenia-child/buddypress/js/password-verify.js

    Go to dashboard > Appearrance > Theme and activate Gardenia-child.

    Done ! The theme shows BuddyPress properly.

    #243756
    danbp
    Participant

    @sharmavishal,
    read from here:
    https://buddypress.org/support/topic/resolved-restricting-users-to-one-group/

    See if you can do something with 2nd plugin mentionned in topic. If not able, you have to ask for on Group Hierarchy support.

    We only support BuddyPress here.

    #243755
    danbp
    Participant

    @ericks89,

    There is a way, if you use BBPress Signature. 😉 Modifying bbp_get_reply_content filter.

    Here an example fetching 3 xprofile fields called Signature, Industry and Type. Change it to your need. Code goes into bp-custom.php or child theme functions.php

    
    function my_bbp_reply_content_append_user_signature( $content = '', $reply_id = 0, $args = array() ) {
    	// Default arguments
    	$defaults = array(
    		'separator' => '<hr />',
    		'before'    => '<div class="bbp-reply-signature">',
    		'after'     => '</div>'
    	);
    	$r = wp_parse_args( $args, $defaults );
    	extract( $r );
    
    	// Verify topic id, get author id and potential signature
    	$reply_id  = bbp_get_reply_id       ( $reply_id );
    	$user_id   = bbp_get_reply_author_id( $reply_id );
    	
    	// Get fields data. Caution: name is case sensitive.
    	if(function_exists('bbpress') ) {
    		$signature = xprofile_get_field_data( 'Signature', $user_id );	
    		$wowi = '<br>'. xprofile_get_field_data( 'Service', $user_id );
    		$wowt = '<br>'. xprofile_get_field_data( 'Type', $user_id );
    	}
    	else {
    		$signature = bbp_get_user_signature ( $user_id  );
    	}
    
    	// If signature exists, adjust the content accordingly
    	if ( !empty( $signature ) )
    		$content = $content . $separator . $before . $signature . $wowi . $wowt . $after;
    
    	return apply_filters( 'my_bbp_reply_content_append_signature', $content, $reply_id, $separator );
    }
    
    if ( !is_admin() ) {
       // remove the original BBPress filter
       remove_filter( 'bbp_get_reply_content', 'bbp_reply_content_append_user_signature', 1, 2 );
       // add our custom filter
       add_filter( 'bbp_get_reply_content', 'my_bbp_reply_content_append_user_signature', 1, 2 );	
    }
    

    May this help. 😉

    #243742
    Henry Wright
    Moderator

    xProfile data is a BuddyPress thing and user meta is a WordPress thing. Which one you use will depend on whether you plan to always use BuddyPress. If not then taking the user meta approach will ensure your plugin will work on all WordPress installs (even when BuddyPress is deactivated).

    #243741
    djsteveb
    Participant

    @iseestarz

    Activity wall – Yes – in core.
    all members chat – private user to user email like messages in core. Chat rooms with plugins like “quick chat” – so yes
    sleek custom profiles for members, -hard to tell what is “sleek” – custom? for each member? There are a couple of plugins that played with this – not sure how they work, if they’ve been updated lately.. modding how all profiles look to make them “sleeker” than default 2015 – theme – possible..

    a paid membership option – that would be a plugin.. there are several that get into that.. s2member, paid memberships pro, ultimate member maybe? Some options from wpmudev as well I think.

    A way to let paid members make their own post/articles on the homepage – hmmm.. maybe prevent non paid members from even creating a blog.. or you mean any activity posts on home page – I think these things are possible.. BP recently added “user levels” but I have not see much actually use that.. but extending this should be easy to some degree..

    However if your focus is on paid members things, and you will need support to put all this together and keep it running (you are not a php coder with lots of time to read codex and test things) – then developing around BP is likely to get expensive, and you might be better off forgetting bp exists and looking at some of the more premium systems others have put together around wordpress (a few wpmudev plugins combined achieve what you describe without needing BP) – and there are others..

    Of course you don’t have to look for such a system revolving around wordpress either – there are more mature social network options that may save you time and sanity – things like phpfox, boonex dolphin, oxwall..

    random thoughts from a bp user.. I’m not a dev and have not tested all the things out there that get into paid members things and restrictions.. if you search the forums here there have been a few comments from others pointing to some other similar plugin options – and some people have pointed out troubles with some of those on the market.

    #243740

    In reply to: BuddyPress Sitemap?

    Henry Wright
    Moderator

    The best advice I can give is to look at how some of the already-available plugins do it. XML Sitemaps is a good one to learn from. It might not cover BuddyPress pages but I’ve used it in the past and it worked great for me.

    #243698
    shanebp
    Moderator

    This is the BP support site.
    The bbPress support site is here.

    Have you tried https://wordpress.org/plugins/gd-bbpress-attachments/ ?

    #243688
    danbp
    Participant

    You can use it for free, but have to customize it with your own logotype.
    See plugin repo how other plugins use it:
    https://wordpress.org/plugins/search.php?page=1&q=buddypress

    Official logos and colors for BP are here:

    Official Logos and Typeface

    BP is under same GPL license as WordPress.
    https://wordpress.org/about/license/

    SuitePlugins
    Participant

    I have created a plugin specifically for this.

    BP Private Avatars

    Let me know what you think.

    #243673
    danbp
    Participant

    The easiest way would be to create your own widget, as this widget is in a core file (bp-members/bp-members-widgets.php). Then you can ignore the built in widget and use yours.

    Line 307 > 309 is a div containing what you have to modify.

    <div class="item-avatar">
       <a href="<?php bp_member_permalink(); ?>" title="<?php bp_member_name(); ?>"><?php bp_member_avatar(); ?></a>
    </div>

    Change bp_member_name() to bp_member_user_nicename()

    Code related to who’s online goes from line 247 to 390.

    – Copy/paste it to bp-custom.php
    – change class name to something unique. ie. class My_Whos_Online_Widget extends WP_Widget
    – in __construct function, in $name replace (BuddyPress by Custom)
    – modify the div content by replacing bp_member_name() by bp_member_user_nicename()

    Done !
    You have to register the new widget. In bp-custom

    function register_my_custom_widget() {
        register_widget( 'My_Whos_Online_Widget' );
    }
    add_action( 'widgets_init', 'register_my_custom_widget' );

    Go to Appearance > Widget and select (Custom) Who’s Online Widget.

    Finito ! 🙂

    WP codex reference

    shadow_boi
    Participant

    Hi @danbp,

    i have tried on other default wordpress theme, the mentioned users notification does not work on any of them.
    i actually checked the notifications page, there has no notification for the mentioned action. so i dont think it might be a theme related issue. it seems like the notification event is not recorded in DB.

    so to recap of what works and what does work:

    the notification does not work if I mention someone in forum reply or in a forum topic.
    Notification works for when i mention someone in buddypress activity streams.

    #243653
    danbp
    Participant

    @bfchris2, sorry, the file is here /bp-legacy/buddypress-functions.php

    #243648
    danbp
    Participant

    @mangelesgcl,

    consider this plugin: https://wordpress.org/plugins/auto-terms-of-service-and-privacy-policy/
    and read this plugin support topic:
    https://wordpress.org/support/topic/buddypress-integration-11?replies=4

    Other technique

    Create a new page and add your terms of service. Save.
    Add a new field to profile Base tab (the one which shows on register page).
    Field title: Terms of Service
    Field description: by checking this box you agree with our TOS. And a link to the page:
    <a href='http://my-site.com/page_name/'>Read our Terms of Services</a> Caution: use single quotes to enclose the url
    Field type: checkboxes.
    Field option: custom and only one option: TOS ! Leave it unchecked.

    On the right of the screen:

    Field requirement: required.
    Field visibility: only me and check Enforce field visibility

    Guess we’re done !

    While registering, if the checkbox is not checked, the process will stop and user will be adviced that he omited a field. Once he checked it, he can finish his subscription. This doesn’t mean he read your TOS, but you’re covered if you warned him to read TOS first. And ensure that the link is working and the page exist with content !

    Depending your country law, TOS can be more or less regulated. It’s your responsability to get informed about that before using it.

    #243642
    cplouffe
    Participant

    Sorry for the late reply – I was on vacation. Thank you for referring me to that URL, Hugo. I will admit that I should have visited the ‘Getting Started’ page before installing BuddyPress and looked for big picture issues in the WordPress installation as opposed to zoning in on my specific problem.

    I don’t know if an error message could be added letting the user know when the GD module is not installed on the server (perhaps this could be difficult…), but having some sort of indication of why the error was encountered would be helpful in debugging.

    Thanks again,
    Cam

    Paul Bursnall
    Participant

    You could also use this plugin. Exclude the URLs you want to be accessible to all. Everything else will be hidden, including from SERPS.

    https://wordpress.org/plugins/jonradio-private-site/

    #243624
    danbp
    Participant

    Which theme do you use ? Seems you renamed yours to Test, and i was unable to find it somewhere.
    Also, do you use a cache plugin ? If it’s the case, disable it or clear it while testing CSS.

    I cannot put it in maintenance mode

    This is not necessary if you had a local copy. I strongly recommend you do that if you want to manage correctly a high traffic site.

    You can use a child-theme for your theme, not for BP which has no theme since 1.9. The one called bp-default is no more maintained and is only in for temporary backward compatibility for (very) old BP site.

    BP use templates, which are stored in bp-templates/bp-legacy/buddypress/. Those templates are tailored to fit with almost any recent (and decently coded) themes.

    Creating a child theme is explained on hundreds of sites and on WP’s codex. Additionnal infos for BP are given here.

    #243622
    Henry Wright
    Moderator

    I’m not sure what the “provider user identifier” is? If it’s something in WordPress Social Login, try asking the question over at their support forum. They should be up to speed on it.

    #243620
    Henry Wright
    Moderator

    You’d need to use Ajax. Take a look at the Ajax in Plugins article for more info.

    #243619
    Henry Wright
    Moderator

    How are you linking your style sheet? Make sure you’re using wp_enqueue_style().

    Ref: https://codex.wordpress.org/Function_Reference/wp_enqueue_style

    #243618
    danbp
    Participant

    @dayan89,

    could it be that you created your Top menu, by adding a new menu without having two different menu location in your theme ? This can explain why you see always your item, what ever menu you choose. This happen because you try to assign 2 different menus to a same place.

    Following snippets where successfully tested with Twenty Twelve.

    This fires the profile link on the menu tab.

    function profile_button_menu_item ( $items, $args ) {
       
    // menu name. Primary is default main menu location in Twenty themes
        if ( $args->theme_location == 'primary') {
            $items .= '<li><a href="' . bp_loggedin_user_domain() . 'profile/public/">' . __('My Profile') . '</a></li>';
        }
        return $items;
    }
    add_filter( 'wp_nav_menu_items', 'profile_button_menu_item', 10, 2 );

    The following explains how it works with 2012.

    In 2012’s header.php, there is only one menu, located line 45
    <?php wp_nav_menu( array( 'theme_location' => 'primary', 'menu_class' => 'nav-menu' ) );?>

    To use 2 menus, I added below that line another location
    <?php wp_nav_menu( array( 'theme_location' => 'top', 'menu_class' => 'nav-menu' ) );?>

    In child-theme’s functions.php, i added

    
    function register_my_menu() {
      register_nav_menus(
        array(
          'top' => 'Top'   
        )
      );
    }
    add_action( 'init', 'register_my_menu' );

    Under Menu Settings (wp-admin/nav-menus.php) i have now 2 theme locations.
    Primary Menu and Top
    Understand here that 2 locations are different of having only 2 menus. Location is a unique place for ONE menu.

    Of course, I have 2 different menus. One is assigned to Primary Menu location, the other one to Top location.

    And i can now move my profile item from one to other menu, by simply changing the location (primary ⇔ top) in profile_button_menu_item function.

    Codex reference: https://codex.wordpress.org/Navigation_Menus

Viewing 25 results - 5,401 through 5,425 (of 22,621 total)
Skip to toolbar