Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'wordpress'

Viewing 25 results - 6,126 through 6,150 (of 32,690 total)
  • Author
    Search Results
  • #256515
    danbp
    Participant

    Hi @curely,

    auto embeding videos into WP is conditioned by certain rules. By default, embeding does only work for approved providers. FlowPlayer is not part of these.

    But you can try to add it and see if embeding videos from that provider becames to work. Read here how to do that:

    https://codex.wordpress.org/Embeds

    nickrobinson352
    Participant

    I created dynamic menus to the Buddy Press groups using the following code

    `$url = site_url().”/groups/”.$groupslug;’

    The $url variable has the correct variable, but while clicking from there, wordpress switches to the intended group, but I get a warning that says –
    “Notice: bp_nav was called incorrectly. These globals should not be used directly and are deprecated. Please use the BuddyPress nav functions instead. Please see Debugging in WordPress for more information. (This message was added in version 2.6.0.) in /home/…/functions.php on line 3897”

    I dont get the same warning when I click through the normal buddpress pages.

    #256499
    danbp
    Participant

    It is possible and that’s what i explained on both topics i indicated.

    By default BP use only a textarea. You can add a WYSIWIG editor by using that snippet.

    All that is WP stuff and is explained on WP’s codex.

    user_can_richedit
    wp_editor

    Check you have correctly added anything to your custom page and if the button is still missing, check first the page source code from within your browser. If you find it in code but don’t see it on screen, there may be a css rule who hide it.

    #256494
    marcono
    Participant

    Thx *danbp* I REALLY appreciate your help.
    I’m a mech. eng. and started 1 week with wordpress, so u can guess how much I know about wordpress! Yet, of course when I used the code ‘define(‘BP_DEFAULT_COMPONENT’, ‘profile’ )’ for group default, I changed ‘profile’ to something else 🙂
    btw, this code ‘define(‘BP_DEFAULT_COMPONENT’, ‘profile’ )’ worked for me and my default tab in user profile is ‘Profile’ now.

    But concerning the code above (your post above) for changing the group’s default tab, it does not work obviously, and still I see the page is not available?
    Not to mention, I used the function above (ur post above) before functions which change the name of Forum, etc. Exactly at the top of ‘bp-custom.php’.

    fidelduque
    Participant

    Hi, I’m using Buddypress Version 2.5.3 and WordPress 4.5.2.

    I’m running a multisite wordpress installation, Right now I’m trying to exclude the suscribers in the members directory, this is the code i found:

    function bpdev_exclude_users($qs=false,$object=false){
        //list of users to exclude
         
        if($object!='members')//hide for members only
            return $qs;
            
        $excluded_user = implode(',',get_users('role=subscriber&fields=ID'));
        $excluded_admins = implode(',',get_users('role=administrator&fields=ID'));
        //$excluded_self=bp_loggedin_user_id();
    	
        
        $args=wp_parse_args($qs);
        
        //check if we are searching for friends list etc?, do not exclude in this case
        if(!empty($args['user_id']))
            return $qs;
        
        if(!empty($args['exclude'])){		
            $args['exclude']=$args['exclude'].','.$excluded_user;
            $args['exclude']=$args['exclude'].','.$excluded_admins;
            //$args['exclude']=$args['exclude'].','.$excluded_self;
        } else {
            $args['exclude']=$excluded_user;		
    		if(!empty($args['exclude']))
    			$args['exclude']= $args['exclude'].','.$excluded_admins;
    		else
    			$args['exclude']=$excluded_admins;
            //$args['exclude']=$excluded_self;
        }
        $qs=build_query($args);
       
       return $qs;  
    }
    add_action('bp_ajax_querystring','bpdev_exclude_users',20,2);

    but right now, the get_users function won’t show any subscriber because there are not suscribers on this site, but on the other ones. Anyway, the buddypress is showing all users including the ones in the other sites.

    any hint?

    Thanks

    allancaeg
    Participant

    On the profile page, the count of messages, notifications, etc are displayed:
    https://mercime.files.wordpress.com/2015/03/bpmenu-frontlinks.jpg

    Same goes for the BuddyPress header:

    View post on imgur.com

    BuddyPress has this menu feature:

    BuddyPress Links in WordPress Menus

    How do I add the notification count beside the menu item on the header navigation?

    allancaeg
    Participant

    There are now BuddyPress links for WordPress menus: https://codex.buddypress.org/getting-started/buddypress-links-in-wordpress-menus/

    How do I display the user avatar photo, though? BuddyPress forum itself does it, but I think it’s a slighly different approach as its the WP admin bar:

    View post on imgur.com

    But that’s the effect I’m going for, for my main header menu.

    The BuddyBoss theme exhibits this nicely with their user profile dropdown menu:

    View post on imgur.com

    How do I display the photo alongside the profile menu link?

    #256468
    sharmavishal
    Participant
    #256458
    allancaeg
    Participant

    Some themes are designed for BuddyPress. They have app-like header menus like what you’ll find on Facebook, Twitter, Quora, ProductHunt, etc.

    What are the typical features of such header menus?
    – AJAX search
    – live notifications
    – profile dropdown

    That’s a standard formula formula for web apps these days: http://imgur.com/10lKZnK . In one bar: you have the logo, an AJAX search, a notification dropdown with an unread counter, and user profile dropdown.

    This forum has 2 of them integrated with the menu, while BuddyPress on default WordPress websites adds this to the wp-admin bar on top.

    Some themes display these very well:
    – http://imgur.com/zqw5kRd
    – http://imgur.com/XJihK17

    How do I get this effect on any custom theme? Are there plugins for these search, notification, and profile features?

    Bj123
    Participant

    After the BP 2.6 update(s) I still can’t getting the BP Group Hierarchy plugin to work again on my Boss theme. Even with the recommended fix (https://github.com/ddean4040/BP-Group-Hierarchy/pull/21/files) I am still getting the fatal error:

    Fatal error: Class ‘BP_Groups_Component’ not found in [….]/wp-content/plugins/bp-group-hierarchy/bp-group-hierarchy-loader.php on line 6

    Anyone know what the problem could be? – Some others seem to have a similar problem:
    https://wordpress.org/support/topic/breaks-boss-theme-with-buddypress-261

    WP 2.5.3/BP 2.6.1.1/Boss 2.2.1

    tutorbe
    Participant

    Hello @danbp,,

    Just would like to give more details on my investigation with debug turned on:

    \nNotice: wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.) in /var/www/html/Web/wp-includes/functions.php on line 3897

    But I dont know how to proceed the issue as I have just used WP 4.5.3 and BP 2.6.1.1 only and both are fresh.

    Thanks,

    Jobi

    danbp
    Participant

    Make sure you have pretty permalinks enabled on your WordPress install. (whatever except default) and save.

    And check your install again.
    Ray’s script is not a bug tracker, it gives only information about global variables which is usefull when you want to debug a custom script. If you seek for bugs – rarely the case on a new install -, activate wp_debug in wp-config.php

    https://codex.wordpress.org/Debugging_in_WordPress

    Configure BuddyPress

    #256441
    danbp
    Participant
    #256439

    In reply to: Posting guidleines

    danbp
    Participant
    #256428
    danbp
    Participant

    Maybe Slava is busy ! Try to contact him on BuddyPress Slack or Twitter (@slaFFik).

    #256425

    In reply to: Errors after update

    danbp
    Participant

    [MOD] Topic moved to a more appropriate forum.

    The following plugins/widget are generating these error messages.

    bp-edit-group-slug

    BP_Toplevel_Groups_Widget

    BP_Group_Navigator_Widget

    bp-group-email

    bp-group-hierarchy

    You have to contact their authors via plugin support on WP repo.

    and on your side:

    The first step to getting rid of those Notices is identifying the source, so:
    – switch momentarily to a WP theme like 2016 and see if any persist
    – turn off plugins one at a time and see if any persist

    About the bbPress notice (bbp_setup_current_user was called incorrectly), read here:
    https://buddypress.trac.wordpress.org/changeset/10709/

    bbp_setup_current_user was called incorrectly

    pixelandgrain
    Participant

    I am using https://wordpress.org/plugins/buddypress-wall/ but as soon as I activate it, the cover image is disappeared from user profile page.

    I have tried to look into the BP and Plugin both template file but couldn’t get an idea to fix it. Can anyone help me on it?

    Thanks

    #256408
    mgenjoker
    Participant

    Wordpress: 4.5.3
    Buddypress: 2.6.1.1
    Theme: Child of Twentyfourteen
    Site: http://social.tgdgaming.com/activity/ (to get you past the login)

    Plugins:
    Bowe Codes
    Buddypress Activity Plus
    Buddypress Friend of a Friend (FOAF)
    BuddyPress Groups Extras
    BuddyPress Profile Shortcodes —-(Has a bad profile link as well, {site.com/members/user//} has //)
    Custom Admin Footer Text
    Custom Menu Wizard
    iFlyChat ————– (Stopped working around the same time as the other issues)
    jonradio Multiple Themes
    Menu Icons
    Mutual Buddies
    Peter’s Login Redirect
    Scrollbar
    WYSIWYG Widgets / Widget Blocks

    Problem Pages:
    Profile Edit: site.com/members/user/profile/edit/
    Profile Activity: site.com/members/user/activity/ (on profile view site.com/members/user/ —works)
    Group Manage: site.com/groups/group/admin/

    More Info:
    I believe the issues started when I was screwing around trying to add a extra sidebar. I did try to add one manually and with plugins (that may have been the cause). Trying to go to these links gives a white screen with nothing loaded in when inspecting with chrome.

    Troubleshooting:
    Disabling plugins one by one.
    Disabling all non-essential plugins (all but buddypress and jonradio Multiple Themes).
    Re-installing the Base Theme.
    Re-installing Buddypress.
    Overwriting WordPress with Fresh files.

    Any help is greatly appreciated. I can try to get anymore info you need
    Ps. Please excuse the bad styling had a bad upload with a style.css that overwrote the main theme with another theme and it’s being reworked with better css practices.

    #256399
    shanehidir
    Participant

    Hi, I’m using WordPress 4.5.3–en_GB, with BuddyPress version 2.6.1.1, running on a Customizr child theme.

    I am using Frontier Post plugin which allows users to submit front end posts, as such I have disabled the admin bar using Frontier Post plugin. Everything works well. Unfortunately by disabling admin panel, users are unable to enjoy BuddyPress to it’s full potential as they are unable to update their own profile photo etc…

    Currently users can only access my-site/your-profile/ after logging in.
    I would like users to be able to access my-site/members/*username*/ after logging in.

    Please help me, I still want admin panel to be hidden but yet allow users to access their own BuddyPress page. Thank you.

    Regards,
    shanehidir

    #256393
    logicsystemsllc
    Participant

    Hello,

    BP 2.6.1.1

    I found some errors,

    Strict Standards: Declaration of BP_Groups_Edit_Slug::edit_screen() should be compatible with BP_Group_Extension::edit_screen($group_id = NULL) in /nas/content/live/clcshare/wp-content/plugins/bp-edit-group-slug/bp-edit-group-slug.php on line 27

    Strict Standards: Declaration of BP_Groups_Edit_Slug::edit_screen_save() should be compatible with BP_Group_Extension::edit_screen_save($group_id = NULL) in /nas/content/live/clcshare/wp-content/plugins/bp-edit-group-slug/bp-edit-group-slug.php on line 27

    Strict Standards: Declaration of BP_Groups_Edit_Slug::create_screen() should be compatible with BP_Group_Extension::create_screen($group_id = NULL) in /nas/content/live/clcshare/wp-content/plugins/bp-edit-group-slug/bp-edit-group-slug.php on line 27

    Strict Standards: Declaration of BP_Groups_Edit_Slug::create_screen_save() should be compatible with BP_Group_Extension::create_screen_save($group_id = NULL) in /nas/content/live/clcshare/wp-content/plugins/bp-edit-group-slug/bp-edit-group-slug.php on line 27

    Notice: bbp_setup_current_user was called incorrectly. The current user is being initialized without using $wp->init(). Please see Debugging in WordPress for more information. (This message was added in version 2.3.) in /nas/content/live/clcshare/wp-includes/functions.php on line 3897

    Notice: The called constructor method for WP_Widget in BP_Toplevel_Groups_Widget is deprecated since version 4.3.0! Use __construct() instead. in /nas/content/live/clcshare/wp-includes/functions.php on line 3718

    Notice: The called constructor method for WP_Widget in BP_Group_Navigator_Widget is deprecated since version 4.3.0! Use __construct() instead. in /nas/content/live/clcshare/wp-includes/functions.php on line 3718

    Strict Standards: Declaration of BP_Groupemail_Extension::display() should be compatible with BP_Group_Extension::display($group_id = NULL) in /nas/content/live/clcshare/wp-content/plugins/bp-group-email/includes/bp-group-email.php on line 193

    Strict Standards: Declaration of BP_Groupemail_Extension::edit_screen() should be compatible with BP_Group_Extension::edit_screen($group_id = NULL) in /nas/content/live/clcshare/wp-content/plugins/bp-group-email/includes/bp-group-email.php on line 193

    Strict Standards: Declaration of BP_Groupemail_Extension::edit_screen_save() should be compatible with BP_Group_Extension::edit_screen_save($group_id = NULL) in /nas/content/live/clcshare/wp-content/plugins/bp-group-email/includes/bp-group-email.php on line 193

    Strict Standards: Declaration of BP_Groupemail_Extension::create_screen() should be compatible with BP_Group_Extension::create_screen($group_id = NULL) in /nas/content/live/clcshare/wp-content/plugins/bp-group-email/includes/bp-group-email.php on line 193

    Strict Standards: Declaration of BP_Groupemail_Extension::create_screen_save() should be compatible with BP_Group_Extension::create_screen_save($group_id = NULL) in /nas/content/live/clcshare/wp-content/plugins/bp-group-email/includes/bp-group-email.php on line 193

    Strict Standards: Non-static method BP_Groups_Hierarchy::get_by_parent() should not be called statically in /nas/content/live/clcshare/wp-content/plugins/bp-group-hierarchy/bp-group-hierarchy-functions.php on line 35

    #256392
    danbp
    Participant

    Note also what’s coming up for meta in WP 4.6 scheduled for August 16, 2016

    #256169
    danbp
    Participant

    Guess you have to code it completely.

    A great and very complete tutorial is Creating Maintainable WordPress Meta Boxes

    And here an overview of almost all BP hooks and filters related to meta.

    #256166

    In reply to: Custom post type

    danbp
    Participant

    Have you read this tutorial ?

    Note that most of BP custom functions for core are better handled when living in bp-custom.php. Sometimes also, a same function may work from within one file, but not from the other. In other case, which file has no real importance.
    Even if in background there is a hierarchy and a load order, to take in account for the file choice.

    That said, as it is related to CPT, bp-custom is the best place IMO.

    Theme’s functions.php contains functions related to theme, templating and evtl. wp stuff
    BP custom functions goes to bp-custom.php

    It’s also better for you to have such separated functions.

    #256157
    jaaahaaa
    Participant

    Hi,

    I’m running a plugin called ignitiondeck for wordpress. This plugin creates a custom post type for projects called ‘ignition_product’. These pages allow for comments, but I can’t get buddypress to track mentions in these comments.

    Site tracking is on and comment notifications works for my page comments. I’ve tried using in my functions.php but it doesn’t help.

    add_filter ( ‘bp_blogs_record_post_post_types’, ‘activity_publish_custom_post_types’,1,1 );
    function activity_publish_custom_post_types( $post_types ) {
    $post_types[] = ‘ignition_product’;
    return $post_types;
    }

    Running 2.6.1.1

    #256151
    Henry Wright
    Moderator

    A nice plugin to test query performance is Query Monitor. If you use custom queries a lot, it’s super useful.

Viewing 25 results - 6,126 through 6,150 (of 32,690 total)
Skip to toolbar