Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'wordpress'

Viewing 25 results - 7,176 through 7,200 (of 32,678 total)
  • Author
    Search Results
  • #249224
    redblacked
    Participant

    can I group’s list re-order?

    example
    https://wordpress.org/plugins/post-types-order/

    #249217

    In reply to: activation

    Turker YILDIRIM
    Participant

    It is not possible by default but you can use plugins to add this ability into WordPress (and BP also)

    #249200
    Tara Claeys
    Participant

    I have put some BP custom code in my theme functions.php. I also followed a tutorial that advised creating a file called bp-custom.php, and to put that in the wp-content/plugins folder with some customization code. And, I have a folder in my theme directory called BuddyPress that contains a css directory and an activity directory with some custom code. Lots of customizations in different places..
    What is the best practice for implementing custom code for BuddyPress in a theme? I am using a Genesis child theme, BuddyPress 2.4.3 and WordPress 4.4.1.
    Thanks.

    #249187
    Slava Abakumov
    Moderator

    There is such setting: http://take.ms/iD38m
    It should be checked.

    And there is also such ticket in trac: https://buddypress.trac.wordpress.org/ticket/6482
    It will allow comments syncing between activity stream item and posts (so they will appear in both places – very handy). This feature will be included into upcoming (in March) BuddyPress 2.5.

    #249183
    Tara Claeys
    Participant

    I would like to edit a sentence in the bp-group-template.php file (the $message on line 1884). How can I create a hook or in some way edit this so as not to edit bp core file? I have seen suggestions about the .pot file, but I believe that gets overwritten on an update? I would prefer something I can put in my theme file.
    I am using a custom Genesis Child theme on the site. I am using WordPress 4.4.1 and BuddyPress 2.4.3. My group is protected so cannot share the url, but you can see a screenshot here:
    https://www.dropbox.com/s/e5ln7j5nj8s1wjy/Screenshot%202016-01-26%2020.46.59.png?dl=0

    Thank you!

    function bp_get_groups_pagination_count() {
    global $groups_template;

    $start_num = intval( ( $groups_template->pag_page – 1 ) * $groups_template->pag_num ) + 1;
    $from_num = bp_core_number_format( $start_num );
    $to_num = bp_core_number_format( ( $start_num + ( $groups_template->pag_num – 1 ) > $groups_template->total_group_count ) ? $groups_template->total_group_count : $start_num + ( $groups_template->pag_num – 1 ) );
    $total = bp_core_number_format( $groups_template->total_group_count );

    if ( 1 == $groups_template->total_group_count ) {
    $message = __( ‘Click the name of the group below to view your Challenge Group.’, ‘buddypress’ );
    } else {
    $message = sprintf( _n( ‘Viewing %1$s – %2$s of %3$s group’, ‘Viewing %1$s – %2$s of %3$s groups’, $groups_template->total_group_count, ‘buddypress’ ), $from_num, $to_num, $total );
    }

    #249171
    Slava Abakumov
    Moderator

    This is a bug in BuddyPress.
    Here is a new ticket: https://buddypress.trac.wordpress.org/ticket/6846

    #249170
    Slava Abakumov
    Moderator

    bp_get_activity_content_body – that’s the filter you might need.
    See function bp_get_activity_content_body() for details.
    General idea (you will need a bit of regexp knowledge):
    1) search in activity content for <iframe keyword.
    2) if it exists – wrap it with the div you need
    3) That’s it. This will be done on a fly for each item in activity directory. This is generally a bad idea, but no other options that I see.

    Or you can try a bit different approach, like using Fitvids (see this plugin https://wordpress.org/plugins/fitvids-for-wordpress/ or https://wordpress.org/plugins/dw-fitvids/)

    peter-hamilton
    Participant

    I had same problem during my first go on BuddPree/Wordpress, found problem to be my theme which left no space in members header to show default links for this.

    Did what @danbp mentioned and got it fixed with css.

    Good luck

    #249144
    boionfire81
    Participant

    Other than freelancer.com where can I go to find a decent priced developer who is familiar with WordPress?

    danbp
    Participant

    Hi,

    this will be a custom work on your site admin and concerns principaly wordPress.
    Read here how to do add a custom column on user’s list.

    Here the function reference you’ll need to use.

    Something like this you have to add to bp-custom.php or your child-theme functions.php

    function andrea_columns( $output, $column_name, $user_id ) {
    
    /* do something*/
    
    }
    add_action( 'manage_users_custom_column', 'andrea_columns', 10, 3 );
    #249128

    In reply to: where is edit this?

    danbp
    Participant

    Hi,

    it’s a message within WordPress, not BuddyPress.
    if you want to modify this text, you have to use the WordPress language file. (xx_XX.po in wp-content/languages).

    Read here and here how to do that.

    zerotechz
    Participant

    wordpress 4.4.1 using buddypress 2.4.3….Im new to buddypress so maybe its just me but I do not see a button for any type of messaging to friends or an add friends button either…..Is there something Im doing wrong?
    My site

    #249114
    Xtremefaith
    Participant

    Still working on this, I discovered something while debugging:

        1) If I set my priority to 1​ like so:

        add_action('bp_core_activated_user', array( $this, 'setup_registration_metadata'), 1 );

        then in my setup_registration_metadata() function I use add_user_meta() to capture the first_name & last_name values at that point in time. Thankfully it makes an entry in the usermeta table with the expected value from get_user_meta($user_id, 'first_name', true)

        2) Unfortunately, something else apparently is hooked afterwards (possibly a method from the “Enable BuddyPress to WordPress profile syncing”, which then overrides any value I had set for those fields so that in the end the WordPress fields are now incorrect or wiped.

    It seems apparent to me that the “Enable BuddyPress to WordPress profile syncing” option is the culprit, but would that be a bug that the setting is grabbing the wrong values because even if I don’t hook into bp_core_activated_user the meta values that were successfully stored at registration are then wiped during activation? For example:

    • first_name becomes the username
    • last_name is cleared completely

    Setting the priority to 20 the results show that by that point the originally stored meta_value(s) have already been wiped.

    #249110
    Slava Abakumov
    Moderator

    You should definitely take a look at this ticket in BP trac – #6592.
    It’s all about the future of emails in BuddyPress. Please test and provide your feedback there in a ticket. Thanks a lot!

    #249101
    gnikolova92
    Participant

    Hi, Im using WordPress 4.4.1 running The7 theme and I have some troubles with my registration page. Its broke. You can check it here. http://mypet.visible.bg/register/ It doesnt let me to write in the fields.

    Umar Sindhu
    Participant

    Hi
    I really need to migrate my jomsocial(joomla) profile data to buddypress(wordpress).
    Is there a way we can do it?

    Thanks

    #249095
    Umar Sindhu
    Participant

    Hi
    is there a way I can migrate my jomsocial(joomla) profile data to buddypress(wordpress) ?
    Any help would be highly appreciated.
    Thanks

    #249089
    idowu
    Participant

    please is there anything like codex.buddypress.org/function_reference? how do i locate it? thank you.
    i am using wordpress 4.4.1; buddypress 2.4.3

    #249083
    kalico
    Participant

    Having a small issue with registration redirects. No matter what changes I make, BuddyPress seems to “take over” registration on my multisite.

    If I try to go to http://mysite.com/wp-login.php?action=register (the main site) it pushes me to http://mysite.com/subsite/register (the subsite where BuddyPress is defined).

    I have BuddyPress (lastest version) enabled in one site of my multsite network, per option B on this page (e.g., ‘BP_ROOT_BLOG’ is defined in wp-config.php). It is not a multiblog.

    Is this the expected behavior for this setup scenario? Or is it more likely that I have some “helpful” plugin taking over here? Or…did I force this somewhere in the code or settings (and forget to make a note to self)?

    Thanks in advance…

    #249070
    starwindeu
    Participant

    Hello 😉

    Ive been thinking for a while it would be nice with a plugin that makes it so when people register at my world of warcraft guild site and fill out character name and server the plugin would pull profile picture from the battle.net api. and use that on the persons profile

    but having no clue what so ever with coding im wondering if this would be hard to do?

    I know for a fact the api allows this as ive seen several other websites with this feature on, not wordpress obv

    https://dev.battle.net/

    Anyone knows?

    #249065
    shanebp
    Moderator

    ‘WordPress database error: [Unknown column ‘user_id’ in ‘field list’]’

    There is no user_id field in bp_xprofile_fields.
    The correct table is bp_xprofile_data.

    value is a text field, so you need quotes: AND value = '45'";

    Instead of AND value !empty"; try AND value != ''";

    $wpdb->get_var returns a single value. Try $wpdb->get_col.

    Your issues could have been solved by examining the table structure and reading reference docs like https://codex.wordpress.org/Class_Reference/wpdb.

    #249063
    Leo
    Participant

    Hello,

    I am trying to get user_ids of users that have field a certain filed in their profiles to show only them in a custom members loop.


    global $wpdb;
    $db_query = "SELECT user_id FROM wp_bp_xprofile_fields WHERE field_id = 2 AND value !empty";
    $match_ids = $wpdb->get_var($db_query);
    $get_these_members = '&per_page=20&type=newest&include=' .$match_ids;
    if ( bp_has_members($get_these_members) ) :

    I think there’s a syntax error, and !empty is not the correct way for this, I tried a lot of options non of the works.
    To test it, I tried this line:

    $db_query = "SELECT user_id FROM wp_bp_xprofile_fields WHERE field_id = 2 AND value = 45";

    where 45 is the value of the filed for one of the members, but it still doesn’t show any member.

    I found that I need to implode the user_ids list from the forum, but it doesn’t help neither.

    It returns ‘Sorry, no members were found.’
    when I enable wp_debug appears this error
    ‘WordPress database error: [Unknown column ‘user_id’ in ‘field list’]’

    Could you please help me?

    Thanks,
    Leo

    #249055

    In reply to: Error 404

    mervinpearce
    Participant

    *** Resolved ***
    All I had to do is create a Register and Activate page under WordPress. As simple as that.

    Suggestion, can activation of BuddyPress Plugin not check for Register and Activate pages and if not found create default ones?

    regards & thanks

    #249048

    Topic: Error 404

    in group forum Installing BuddyPress
    mervinpearce
    Participant

    My register does not work and I have in General Settings under WordPress as active.
    In BuddyPress there is no Active and Register page to configure. I reinstalled BuddyPress to no avail.

    #249045

    In reply to: BP pages trigger 404

    mervinpearce
    Participant

    Created two WordPress sites with buddy press. I am using a Bossbuddy theme and it is just annoying that a register will trigger a 404. This problem is scattered all over the postings. Is there a single source for solving this??

    It goes to http://webaddress/register

Viewing 25 results - 7,176 through 7,200 (of 32,678 total)
Skip to toolbar