Search Results for 'wordpress'
-
Search Results
-
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.
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?
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.
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:

enter image description hereIf 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:

Select and Save sources from BP User SettingsNow, 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.
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.
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
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!
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
BuddyPress Version 2.3.2.1
WordPress Version 4.2.3
Theme: Nirvana Version 1.1.0The 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.