Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'wordpress'

Viewing 25 results - 7,976 through 8,000 (of 32,677 total)
  • Author
    Search Results
  • #242885
    chicho1969
    Participant

    Thanks in advance for who may help me.

    I´ve been trying, for more than one week, to create a custom notification and always got the same error, so I really need help:

     WordPress database error: [Table 'dbase_wp.n' doesn't exist]
    SELECT * FROM  n   WHERE user_id IN (2) AND secondary_item_id IN (393) AND component_name IN ('activity') AND component_action IN ('new_at_mention') AND is_new = 1  
    WordPress database error: [Incorrect table name '']
    INSERT INTO <code></code> (<code>user_id</code>,
    <code>item_id</code>,<code>secondary_item_id</code>,
    <code>component_name</code>,
    <code>component_action</code>,<code>date_notified</code>,
    <code>is_new</code>) 
    VALUES (2,0,393,'activity','new_at_mention','',1)
    The code Im using to try this is:
    
    function buddypress_celebrities_add_notification ( $activity, $subject, $message, $content, $receiver_user_id )
    { 
    	global $wpdb;
    	$bp = buddypress();
    	$subject = 'Celebrity birthday';
    	$message = '1 Say happy birthday to $famoso_name';
    	$content = '2 Say happy birthday to $famoso_name';
    	$args = array(
    		'user_id'           => 2,
    		'item_id'           => $activity->id,
    		'secondary_item_id' => 393,
    		'component_name'    => buddypress()->activity->id,
    		'component_action'  => 'new_at_mention',
    		'date_notified'     => $current_time,
    		'is_new'            => 1,
    	      );				 
    	 bp_notifications_add_notification( $args );
    				// $prueba = $args;
    } 
    add_action( 'bp_activity_sent_mention_email', 'buddypress_celebrities_add_notification', 10, 1 );
    
    // Then I call the function	
    buddypress_celebrities_add_notification ( );
    

    //and after it DATABASE ERROR…

    If someone can explain me what is going on or just point me in the righ direction to fix and understand this, I’ll be forever grateful.

    #242869

    In reply to: Group upload

    djsteveb
    Participant

    @devbynature
    kind of a mashup of these two I guess – https://wordpress.org/plugins/buddypress-groups-import/

    https://wordpress.org/plugins/invite-anyone/

    with an extra email out instead of just within the bp internal mail thing I guess.

    Interesting idea.

    Not sure if anyone has made anything more along these lines..

    #242866
    LCAROLINARB
    Participant

    Since the new wordpress release on Monday my submenus are not displaying, if I deactivate the buddypress plugin they show, any idea how can I fix this?

    djsteveb
    Participant

    @jrunfitpro – one more question for ya – in your original post are you saying that you have like “static wordpress “pages”” – and when people leave a comment on one of your pages that the info does not get pulled into your activity stream?

    I think I have a similar thing going on with one of my wpmu err.. wordpress multi-site setups – and not sure that the main site’s “page” comments are pulled into the main activity stream either – I have a widget that displays the recent comments on the side, not sure if there is a way to pull newer comments on a page published two years ago into the current / top of the activity stream.

    This may be an issue that is not just a theme thing but other setting somewhere.

    #242863
    djsteveb
    Participant

    @jld142 – I would think you would find more info about making widgets via the wordpress.org site – and basic bing searches for other resources on that. I would suggest that you look into the other login widget plugins that have already been created and are freely available and gpl in the wordpress plugin repo – (https://wordpress.org/plugins/search.php?type=term&q=login+sidebar ) you may find one that already does everything you are trying to create, or one that you can fork and enhance – just a click away.

    #242862
    Paul Bearne
    Participant

    this ticket was the clue i needed
    https://buddypress.trac.wordpress.org/ticket/6448

    #242855
    shanebp
    Moderator

    The recommended method is to turn off other plugins and / or switch to a standard theme like WP 2015.
    Due to permalinks aspect, I suspect another plugin.

    If that doesn’t narrow it down, you can submit a bug ticket here.
    But you should provide better instructions on how to duplicate the issue.
    This is unclear: “To break the site navigate to the profile and page to another page/set of users and the page does an ajax call to load the view”

    #242833
    djsteveb
    Participant

    When you “upload and extract buddypress,” – are you putting it domainroot(wordpressinstallroot)/wp-content/plugins/ folder?

    cityfox
    Participant

    Thanks for the reply. I’m a newbie. I don’t understand what you mean. I put the code with php tags in the groups-loop-file but it doesn’t work correctly. The website shows this:

    array(2) { ["members"]=> array(0) { } ["count"]=> string(1) "0" }

    In the meantime I got another idea: I put the Group Members Loop in the text editor of a wordpress page. I thought if that works I can put the code into a shortcode (with plugin My Shortcodes) and make shortcodes for each group. But the loop doesn’t get the group members. On the website there is the message “This group has no members”. Then I put the group ID into the loop like that:

    bp_group_has_members('group_id=1')

    But still it doesn’t work. I’m lost…

    #242824
    zhangleji
    Participant

    Hi everyone, I installed a wordpress theme then installed buddypress. Now BP pages are not displaying properly: the menu items are next to each other with no space at all. I know this maybe because the BP pages didn’t load the theme css file but I don’t know how to fix this. I’m using a child theme for my wordpress theme.

    My website is http://www.seeyou.us/bookings, thank you in advance! You can see the problem when you click Message or Register menu.

    #242819
    djsteveb
    Participant

    there are several wp plugins that can redirect a user upon login to specific pages.
    I can’t put more than two links in a reply without getting moderation held / akistmet spammed.

    not sure if / how this works – seen it – never played with it:
    https://wordpress.org/plugins/bp-my-home/

    might also take a peek if these can updated / adapted..
    https://wordpress.org/plugins/bp-profile-widgets/

    BuddyPress Cover
    Content Aware Sidebars

    several others – now do any of these work with the current version of wp / bp ? I don’t know.
    Do they work with the default theme and then cause issues if a different theme was used? don’t know.

    Do they cause conflicts with other plugins? have not tested.

    #242800
    hich-em
    Participant
    joepesci
    Participant

    I’ve created a custom field (Checkboxes) in WordPress > Users > Profile Fields. My site is an omni site for news, so it collects news from 20 different sources via RSS, and adds them ass posts in my WordPress site. This is how my custom field looks like:
    Custom field
    enter image description here

    If you’re only a visitor on my front page I’ll show all posts on the startpage.

    If you are a logged in user; then you should be able to select and save wich of the 20 sources you want to read in your startpage on my site. This is possible to select and save today, but only from BP User Settings page:
    User settings
    Select and Save sources from BP User Settings

    Now, the issue with the Users Profile Settings page is:

    a) I do not want to have the form in the tab “Profile > Edit”. I want my form on my startpage (above the news flow, for logged on users of course) and perhaps in a widget sometime – anyhow – the most important this is freedom to place (and style) the form wherever I want.

    b) The form includes fields I want to remove (Name and Description, i.e. “sources” = field name) etc.

    The user on the image above has selected and saved to read news from 2 different sources on my website. The code that handles this is on the startpage in my index.php is:

    $sources = xprofile_get_field_data( 'sources', $current_user_id, $multi_format = 'array' );
    query_posts(array('category__and'=>array($sources)));

    Question: Is there a way of retrieving this form and update in from anywhere for logged in users? I don’t want to be bound to the idea of only having the form in the Profile Settings page. I want the user to have to form above my news flow on the startpage of my site, so the users gets the feeling of “Oh, I can customize my news flow if I create an account!” – and this should be done from anywhere for logged in users.

    cityfox
    Participant

    Hi,

    I want to build a staff directory for my company’s Intranet site. I use the Buddypress groups for our departments. I want to have a page that displays all groups and a list of members of a selected group.

    The group names should always be visible on top (like a menu). By clicking on a group (e.g. “Department A”) only members of “Department A” shall be listed under the group names. By clicking on another group (e.g. “Department B”) only members of “Department B” shall be listed under the group names.

    I already found out how to copy and edit the groups-loop.php in my child theme. But I don’t know how to go on.

    I use WordPress 4.2.2 with Buddypress Version 2.3.2.1.

    #242790
    hich-em
    Participant

    Hi there,

    I have a question: how to allow adding more than one attachment?

    http://wordpress.org/extend/plugins/buddypress-message-attachment/

    Thanks for this useful plugin.

    #242788
    kongcomm
    Participant

    Hi Members,

    Im Kevin and I recently downloaded the latest version of buddypress (V2.3.2.1) but cannot install via wordpress dashboard or FTP because the stylesheet is missing. I tried to install the theme several times via wordpress or FTp but to no avail.

    Can anyone provide me with a working stylesheet? Also you might want to check the zip file if its there.

    Thanks for the help

    #242787
    messina82
    Participant

    Hi All, i’m been looking like crazy to find a solution but have yet to come by it. I’ve created a custom menu in wordpress and placed it in a widget which is essentially my 3rd nav bar. I would like for it to display the user avatar when a user is logged in as the first or second list item in the menu. Anyone have a clue?

    Any help would be much appreciated!

    #242780
    Garrett Hyder
    Participant

    Posted Enhancement Request – https://buddypress.trac.wordpress.org/ticket/6575#ticket
    If you have any suggestions or changes @shanebp your input is appreciated.
    Thanks

    #242778
    shanebp
    Moderator

    Did you try using:
    apply_filters( 'bp_get_the_profile_field_name', $field->name );
    and / or
    apply_filters( 'bp_get_the_profile_field_is_required', (bool) $retval );
    from bp-xprofile\bp-xprofile-template.php ?

    You can open an enhancement ticket here.

    #242777
    Garrett Hyder
    Participant

    Hello,

    Looking to request a feature for the xProfile fields, if this isn’t the right place to make sure a request can someone point me in the right direction.

    I would love the xProfile classes be updated so the field labels are filterable, in my case this would be useful so I can replace the standard (required) denotation specifically when the xProfile field is included on the WooCommerce Checkout form to utilize the standard woocommerce asterisk (*) denotation.

    The concept comes from the custom xProfile classes created by @donmik for the Buddypress Xprofile Custom Fields Type plugin;
    https://wordpress.org/plugins/buddypress-xprofile-custom-fields-type/

    My specific implementation where the Xprofile fields are incorporated onto the Woocommerce Checkout form comes with the tandem implementation of the paid and free plugins by themekraft
    Paid Primary – http://themekraft.com/store/woocommerce-buddypress-integration-wordpress-plugin/
    Free Addon – https://wordpress.org/plugins/woocommerce-buddypress-integration-xprofile-checkout-manager/
    Together these include the Xprofile fields onto the Checkout, however they don’t quite match with the Woocommerce fields so I had to add classes to them (currently capable through the bp_xprofile_field_edit_html_elements filter) and want to replace the (required) in the label with the appropriate asterisk.

    My current workaround involves jQuery to do the label replace, but I would prefer a label filter.

    /**
     * Add Javascript to replace Buddypress (required) with Woocommerce required asterisk (*)
     */
    add_action('woocommerce_after_checkout_form', 'wc4bp_woo_replace_required_for_xprofile_checkout_fields');
    
    function wc4bp_woo_replace_required_for_xprofile_checkout_fields() {
        echo '<script>jQuery(document).ready(function($){$(".wc4bp_custom_checkout_fields_group label").each(function(i){$(this).html($(this).html().replace("(required)","<abbr class=\"required\" title=\"required\">*</abbr>"));});});</script>';
    }

    An example how @donmik implemented a label filter for his custom Xprofile fields;

    $label = sprintf(
    	'<label for="%s">%s%s</label>',
    		bp_get_the_profile_field_input_name(),
    		bp_get_the_profile_field_name(),
    		(bp_get_the_profile_field_is_required()) ?
    			' ' . esc_html__( '(required)', 'buddypress' ) : ''
    );
    // Label.
    echo apply_filters('bxcft_field_label', $label, bp_get_the_profile_field_id(), bp_get_the_profile_field_type(), bp_get_the_profile_field_input_name(), bp_get_the_profile_field_name(), bp_get_the_profile_field_is_required());

    Hoping this is the right channel for this request, otherwise hoping someone can point me to it. Or if the plugin is available on github would be happy to make a fork request and code the change myself.

    Thank you

    #242774
    vuko
    Participant

    maybe can help us this post:

    Making WordPress SEO plugin compatible with BuddyPress

    i stil have to read it, but i hope this is the right track.

    Thanks again

    #242746
    djsteveb
    Participant

    @swansonchristopherm – with firefox, and I think it’s similar with chrome and others.. when you right click on your group description then click “inspect element” or something like that, it should bring up a list of rules that are affecting the color, font, etc for group description.

    find that (most likely) in your style.css under appearance (themes), edit.

    there are some easy to use wordpress plugins that will create a child theme for you with a click.. but it’s not 100% for such a small change – easy to get back in and change it back when cryout pushes an update.

    BuddyPress Version 2.3.2.1
    WordPress Version 4.2.3
    Theme: Nirvana Version 1.1.0

    The group description for all groups is a medium shade of grey. It is somewhat readable to a degree, but I would prefer to change the color to black instead. I noticed some existing topis where people mentioned about profile fields or the font being too large, but I did not stumble upon changing the color. If desired I can post a link to the .css coding if that would be beneficial. Basically what am I looking for in the .css file and how do I resolve it?

    Note: I would rather avoid building a child theme due to my lack of knowledge on the matter. Sure it would be a little incontinence when I have to upgrade my theme, but at least I can paste the answer back in the .css file.

    #242744
    Pete Hudson
    Participant

    I opened a ticket at https://buddypress.trac.wordpress.org/ticket/6573

    Per @hnla “It’s due to recent changes to how media is handled in BP activity streams, the problem is the removal of image attr such as class tokens and the image name references the WP image size.”

    For some reason, I’m not able to comment on the ticket.

    Does anyone have any idea how to fix this? Is it going to be fixed on an upgrade?

    mycru.io
    Participant

    @djsteveb

    – I disabled buddypress-social-icons & mycred
    But it is still not working. Debug Log still shows this:
    (happening on a desktop computer). I checked: the media that was attached ends up in the media library, but why is it not showing in the activity feed ?

    [03-Aug-2015 21:40:49 UTC] PHP Notice: bp_core_get_notifications_for_user is deprecated since version 1.9! Use bp_notifications_get_notifications_for_user() instead. in /homepages/26/d553229553/htdocs/clickandbuilds/kawaii/wp-includes/functions.php on line 3391
    [03-Aug-2015 21:40:50 UTC] PHP Notice: bp_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 1.7.) in /homepages/26/d553229553/htdocs/clickandbuilds/kawaii/wp-includes/functions.php on line 3560
    [03-Aug-2015 21:40:51 UTC] PHP Notice: bp_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 1.7.) in /homepages/26/d553229553/htdocs/clickandbuilds/kawaii/wp-includes/functions.php on line 3560

Viewing 25 results - 7,976 through 8,000 (of 32,677 total)
Skip to toolbar