Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'wordpress'

Viewing 25 results - 4,201 through 4,225 (of 32,678 total)
  • Author
    Search Results
  • #269715
    rexormunde
    Participant

    WordPress: 4.9.1
    BuddyPress: 2.9.2
    Site: newenglandfurs.org
    Theme(s) tested: Avant (Primary), Twenty Sixteen

    The problem I’m experiencing is with BuddyPress’ Muiltiline Text Box element. Specifically inside the editor where you would add content. Currently my community and I have noticed that if we try to center text with the element’s alignment functions, the preview shows the alignment in both the visual and text tabs. However, as soon as we save the element, those alignments disappear. This does not happen in our WordPress news posts. You can see an example of this situation here: http://newenglandfurs.org/members/rexormunde/profile/

    Where it says “testing this section”, that was set to be centered in the Multiline Text Box element. As you can see, it’s not centered. Inspect the element with Google Chrome, and you’ll see no signs of any alignments on the paragraph.

    I’m not sure if this is a bug or if I’m doing something wrong. Any advice would be appreciated.

    #269655

    Topic: Hooks problem.

    in group forum Requests & Feedback
    gaurav007
    Participant

    Hi There,

    I am using the buddypress and apppresser plugin in our website. Apppresser plugin is used to convert wordpress web application to mobile application. I want to use buddypress hooks to send push notifications over the friend request and invite to group request trigger but this is not working. I am using the following hooks for the same

    groups_send_invites
    groups_accept_invite
    friends_friendship_accepted
    bp_activity_add_user_favorite
    friends_friendship_requested

    Here is my code which I have written on function.php .

    function action_groups_send_invite( $group_id, $invited_users, $user_id ) {
    // make action magic happen here…
    if ( !is_user_logged_in() )
    return false;
    $message = ‘Hi there some one send your request!’;

    $push = new AppPresser_Notifications_Update;
    $devices = $push->get_devices_by_user_id($invited_users);
    if( $devices ) {
    $push->notification_send( ‘now’, $message, 1, $devices );
    }
    };

    // add the action
    add_action( ‘groups_send_invites’, ‘action_groups_send_invite’, 10, 3 );

    function action_friends_friendship_requested( $friendship_id, $initiator_id, $friend_id ) {
    if ( !is_user_logged_in() )
    return false;

    $recipients = array( $initiator_id );

    $message = ‘Hi there some one send you request!’;

    $push = new AppPresser_Notifications_Update;
    $devices = $push->get_devices_by_user_id( $recipients );

    if( $devices ) {
    $push->notification_send( ‘now’, $message, 1, $devices );
    }

    //apppush_send_notification( ‘friends_friendship_requested’ );
    };

    // add the action
    add_action( “friends_friendship_requested”, ‘action_friends_friendship_requested’, 10, 4 );

    function action_friends_friendship_accepted( $friendship_id, $friendship_initiator_user_id, $friendship_friend_user_id, $friendship ) {
    // // make action magic happen here…
    if ( !is_user_logged_in() )
    return false;

    $recipients = array( $friendship_initiator_user_id );

    $message = ‘Hi there some one accept your request!’;

    $push = new AppPresser_Notifications_Update;
    $devices = $push->get_devices_by_user_id( $recipients );

    if( $devices ) {
    $push->notification_send( ‘now’, $message, 1, $devices );
    }
    //apppush_send_notification( ‘friends_friendship_accepted’ );
    };

    // add the action
    add_action( ‘friends_friendship_accepted’, ‘action_friends_friendship_accepted’, 10, 4 );

    function action_add_user_favorite( $activity_id, $user_id ) {
    // do something

    $recipients = array( $user_id );

    $message = ‘Hi there some one accept your friend request!’;

    $push = new AppPresser_Notifications_Update;
    $devices = $push->get_devices_by_user_id( $recipients );

    if( $devices ) {
    $push->notification_send( ‘now’, $message, 1, $devices );
    }
    }
    add_action(‘bp_activity_add_user_favorite’, ‘action_add_user_favorite’, 1, 2 );

    #269645
    exclusivelimousines
    Participant

    can we install plugins in free site

    #269638
    barkins
    Participant

    Anyone have any insight on replacing email templates from BuddyPress Email Templates (WordPress side) to Mandrill Templates instead?

    Is there a plugin that can help facilitate this?

    #269633
    tasamp
    Participant

    Hi,
    I did a serious research to find a best solutions or plugins to report abuse posts, flag BuddyPress content. I found this plugin https://wordpress.org/plugins/bp-moderation/ suggested in various BuddyPress forum but that plugin itself is not updated last 3 years and it doesn’t support my WordPress version 4.9.1 and BuddyPress 2.9.2. I think this feature is very crucial for social network application to moderate post and flag abusive post/comments. I am looking for plugins for my BuddyPress site to flag content and I really appreciate suggestions on it.

    #269627
    chowd001
    Participant

    Thanks a lot for prompt response.

    1. Yes I want to use different icons. could you please elaborate which CSS I need to modify. where to find the css where the CSS is written for icons. I have just started using wordpress/buddypress

    2. Where do I find translation file

    Default sign-up form

    #269623
    ripulkr
    Participant

    Most likely the database tables are corrupt. Please try optimising your WordPress database, especially the friends tables. this link should help you out :

    Fixing Corrupted or Broken Files and Databases in WordPress

    #269615
    chowd001
    Participant

    I am new in wordpress. I have used Buddypress groups but i want to

    1) change the icon pictures (svg) to different pictures for profile pages. I want to have different icons for Groups, Freinds etc.
    2) I also want change the name of icons i.e. “Friends” to “Colleagues”, “Groups” to “Teams”, “Media” to “Files” ets.

    how do i do that?

    #269614
    Robin Labadie
    Participant

    Hi,

    Using PHP 7.2, I notice some messages from the amazing “Query Monitor” WordPress plugin regarding a deprecated function used by BuddyPress:

    Message: Function create_function() is deprecated 
    Count: 26 
    File: wp-content/plugins/buddypress/bp-core/deprecated/1.6.php:268

    Using this function is higly discouraged by PHP itself as you can check here:
    http://php.net/manual/en/function.create-function.php

    I wish I could propose a workaround but I don’t speak PHP, I just wanted to warn devs for future updates. Hopefully this post gets seen by the right persons.

    Best regards everyone!

    #269613
    krioteh
    Participant

    In BuddyPress there is a built-in mechanism for synchronizing profile fields from WordPress.
    By default, it synchronizes only the “display_name” field, which is not always sufficient.
    Here is an example of the code by which you can synchronize any available fields in the WordPress field with the Buddypress fields

    function xprofile_sync_bp_profile2( &$errors, $update, &$user ) {
    	// Bail if profile syncing is disabled.
    	if ( bp_disable_profile_sync() || ! $update || $errors->get_error_codes() ) {
    		return;
    	}
        // Querying data from a table "usermeta", first we get the value of the custom field "address" and substitute this value for the "Address" field of the xprofile BuddyPress
        $address = get_user_meta( $user->ID, 'address', 'true' );  
    	xprofile_set_field_data( 'Address', $user->ID, $address );
      	//Similarly with other fields
        $firstname = get_user_meta( $user->ID, 'first_name', 'true' );  
    	xprofile_set_field_data( 'Name', $user->ID, $firstname );
      	$lastname = get_user_meta( $user->ID, 'last_name', 'true' );  
    	xprofile_set_field_data( 'Lastname', $user->ID, $lastname );
      	$description = get_user_meta( $user->ID, 'description', 'true' );  
    	xprofile_set_field_data( 'Bio', $user->ID, $description );
      
      	// Querying data from a table "user"
        xprofile_set_field_data( 'E-mail', $user->ID, $user->user_email );
        xprofile_set_field_data( 'Site', $user->ID, $user->user_url );
    }
    add_action( 'user_profile_update_errors', 'xprofile_sync_bp_profile2', 10, 3 );

    Unfortunately, the fields are synchronized only when the profile is updated. I do not know how to start mass synchronization 🙁

    I hope someone will find this information useful.

    #269601
    inderlovy
    Participant

    Hi, I am new to WordPress. I want to add search bar to search all the users from their phone number or name or any one keyword of their address.

    Is it possible to search buddypress registered users database by anyone?

    + I want to add functionality that users registered users to be divided into two sub parts, sellers and buyers. I want search bar to search only sellers details.

    Please help.

    + I want to add search functionality, so that same search bar can also search all the keywords from databases created by any registered user and show to person who is searching for that keyword.

    Thanks.

    #269600
    inderlovy
    Participant

    Hi, I am new to WordPress.

    I want some particular pages to be shown only after login.

    Please let me know to to remove visibility of such page tabs before login and show them only after login.

    Thanks

    #269595
    jamescl
    Participant

    Hi,

    I have made a copy of my site to copy.example.com (where the main site is still on http://www.example.com) to use as a development copy.

    Everything is working correctly except for the BP profile pages (e.g. /members/user/ ), which go into a 301 redirect loop (/members/user/ -> /members/user/ -> /members/user/ etc)

    This works fine on my main site, just not on the subdomain copy. My host has confirmed it’s nothing on their side driving the re-direct, and my .htacess just has the standard wordpress code.

    Any help appreciated.

    #269584
    autox420
    Participant

    When i try to visit my own profile.

    Not Found
    The requested URL /wordpress/members/myusername/ was not found on this server.

    Apache/2.2.22 (Debian) Server at xxx.com Port 80

    When i try to visit memebers pages, no members are shown.

    What do you think the problem is? How to fix it?

    #269565

    In reply to: Broken links

    wildcat0206
    Participant

    none of the links are working

    site is tenngrand.com

    wordpress version 4.8.4

    buddpress versions 2.9.2

    #269538
    David Cavins
    Keymaster

    Hello there. BuddyPress doesn’t add jQuery to a site (it relies on WordPress to provide jQuery). It looks to me like you’re using a plugin to fetch jQuery from a CDN rather than use the local version that comes with WordPress. Disable your plugins one at a time until the code changes, then you’ll have found the cuplrit.

    #269519
    Boone Gorges
    Keymaster

    508 usually means that the hosting provider has put a limit on the resources available to your account. See https://stackoverflow.com/questions/20040307/how-to-fix-the-508-resource-limit-is-reached-error-in-wordpress. BuddyPress does generally require more resources (RAM, MySQL I/O) than a standard WP installation. I’d suggest reaching out to your hosting provider to ask about the potential of upgrading your service to support the use of BP.

    #269518
    Boone Gorges
    Keymaster

    Applying https://buddypress.trac.wordpress.org/changeset/11750 should fix the problem. Note that this change is in bp-messages/bp-messages-template.php, *not* notices-loop.php. There should be no need to reapply these changes after BuddyPress 3.0, where the fix will become part of the BP release.

    Boone Gorges
    Keymaster

    Hi @gregthebuzz – You might have better luck moving some of your logic into BP_Group_Extension, which does most of the template-related work for you. See https://codex.buddypress.org/developer/group-extension-api/. The display() method is where the content for your public-facing tab will go, while the edit parameter will help you configure what you’d like group admins to see under Manage.

    I’m unsure how or whether this’ll integrate neatly with https://wordpress.org/plugins/bp-extend-groups-fields/. That’s something you’ll probably want to talk to that plugin author about.

    #269512
    Boone Gorges
    Keymaster

    Hi @billybelly – It’s difficult for us on the buddypress.org forums to provide concrete advice on a non-free product, because we don’t have access to test it. If you paid for the UX Builder project, then they ought to be the ones providing you with support.

    That being said, it’s possible that BP templates are inherently incompatible with this plugin. BP technically uses WP pages like Activity, Register, etc, but it sorta hijacks the page loading process in a way that can make it incompatible with certain kinds of “builder” plugins. If you’re looking to customize the interior portions of a BP page, it’s best to do it either using CSS (which you can access via the Customizer and a plugin like https://wordpress.org/plugins/simple-custom-css/) or by overriding the templates in a child theme. See https://codex.buddypress.org/themes/theme-compatibility-1-7/a-quick-look-at-1-7-theme-compatibility/#overloading-template-compatibility-theme-files

    #269502
    brent0r
    Participant

    I’m wanting to integrate buddypress into my existing navbar on my site. At the moment the buddypress profile (notifications count, howdy user and menu) are in the top right of the WordPress admin toolbar. What options do I have to move this / add it to an existing navbar (basically the way this website utilises its own navbar and not the WP adminbar.

    Thanks in advanced.
    Brent

    #269500
    nexusplays
    Participant

    Hello, I’m using WordPress 4.9.1 and the theme is Divi.

    I am having a slight issue with having the icon on the corner for users, the admin (me) has the icon but other members cannot see it. I have included the code:

    #wp-toolbar > ul > li {display:block;}

    and I can now see notification numbers and the little icon of the site. This is visible in the screenshot, however, the user’s avatar/icon is not visible in the corner of the screen.

    Here is the screenshot:

    https://prnt.sc/hlq3dr

    My website is:

    Home

    #269498
    areaano
    Participant

    I have latest Buddypress, latest WordPress, latest Kleo-template.

    How can i make custom page to my group. I want to put a chat on the page. Only for group members.

    #269476
    Henry Wright
    Moderator

    If you have the user’s ID then you can pass it to the get_userdata() WordPress function like this:

    $user_id = 1;
    $user = get_userdata( $user_id );

    Then you can use the $user object like this:

    echo sanitize_email( $user->user_email );

    Note, how you get the user’s ID will depend on the context. See:

    Playing with the user’s ID in different contexts

    Clemmo21
    Participant

    I have worked out a solution or at least a direction for me to head in. :))
    @ripulkr and @boonebgorges gave me the idea of using a MySQL database and the use of tables to store the user’s data and their meta data.
    I jumped on the WPdatatables plug-in which allowed me to easily use MySQL queries to the WordPress database (WPDB). I then created a table within the WPDB and created columns for the fields I wanted like height, weight, length. I also have a couple of other columns in the table to associate the record number and the user id.
    WPdatatables also has an add-on for Gravity Forms so it was simple for users to fill out a form to submit data direct to the table. I then create a page for the users showing the WPDB table for them to only see their entries. It has a reports and chart feature too. :))
    WPdatatables full use of MySQL queries allows me to join tables within the WPDB which makes it nice to be able to match up and show their user data too.
    I’m pretty happy with how it works and its potential.
    A very high level explanation but would be happy to explain further if needed. :))

Viewing 25 results - 4,201 through 4,225 (of 32,678 total)
Skip to toolbar