Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 8,426 through 8,450 (of 69,105 total)
  • Author
    Search Results
  • #263620
    r-a-y
    Keymaster

    Can you follow up on Paul’s suggestion?

    Do you have NOBLOGREDIRECT defined anywhere? Check wp-config.php or check if a plugin or theme is defining it somewhere.

    I’ve added a patch that should fix this issue if NOBLOGREDIRECT is defined, but is running from single site:
    https://buddypress.trac.wordpress.org/attachment/ticket/7441/7441.01.patch

    Can you test this out and let us know if this fixes things for you?

    #263617
    warezit
    Participant

    Hello!

    I am having an issue with BP, that I caused myself. I intentionally deactivated, then deleted, BP (on a 5 day old site) thinking that I wasn’t going to use it. Then I ran ‘WP Optimize’ which removed all the unused tables from the plugins I had installed, and removed unused transients, etc… This is what caused the problem.

    Some time later, I went to re-install BP – which succeeds with no issues. Here’s where the issues crop up… Next, I went to create a new Group on the BP front-end, and it reports an error:
    There was an error saving group details. Please try again.

    Enabling WP debug mode in “wp-config.php” reports this:

    WordPress database error: [Table 'wordpress.wp_bp_groups' doesn't exist]
    SELECT id FROM wp_bp_groups WHERE slug = 'create'
    WordPress database error: [Table 'wordpress.wp_bp_activity' doesn't exist]
    SELECT id, user_id, date_recorded FROM wp_bp_activity WHERE component = 'members' AND type = 'last_activity' AND user_id IN (1) LIMIT 1
    WordPress database error: [Table 'wordpress.wp_bp_activity' doesn't exist]
    SELECT id, user_id, date_recorded FROM wp_bp_activity WHERE component = 'members' AND type = 'last_activity' AND user_id IN (1) LIMIT 1
    WordPress database error: [Table 'wordpress.wp_bp_activity' doesn't exist]
    SHOW FULL COLUMNS FROM <code>wp_bp_activity</code>
    WordPress database error: [Table 'wordpress.wp_bp_notifications' doesn't exist]
    SELECT * FROM wp_bp_notifications n WHERE user_id IN (1) AND component_name IN ('friends','messages','activity','groups','blogs') AND is_new = 1
    WordPress database error: [Table 'wordpress.wp_bp_messages_recipients' doesn't exist]
    SELECT SUM(unread_count) FROM wp_bp_messages_recipients WHERE user_id = 1 AND is_deleted = 0 AND sender_only = 0
    WordPress database error: [Table 'wordpress.wp_bp_friends' doesn't exist]
    SELECT id FROM wp_bp_friends WHERE (initiator_user_id = 1 OR friend_user_id = 1) ORDER BY date_created DESC
    WordPress database error: [Table 'wordpress.wp_bp_groups_members' doesn't exist]
    SELECT COUNT(DISTINCT m.group_id) FROM wp_bp_groups_members m, wp_bp_groups g WHERE m.group_id = g.id AND m.is_confirmed = 0 AND m.inviter_id != 0 AND m.invite_sent = 1 AND m.user_id = 1
    WordPress database error: [Table 'wordpress.wp_bp_messages_notices' doesn't exist]
    SELECT id FROM wp_bp_messages_notices WHERE is_active = 1

    I have been trying to find a solution for this online, for the last 4+ hours… and I have gotten nowhere… So, I am humbly asking for help here, on how to recreate these tables – WITHOUT DELETING AND RECREATING MY ENTIRE SITE. I have nearly 100 hours into this site so far, and I am NOT starting over. Starting over is NOT an option, so please save everyone’s time and skip suggesting this.

    I have reviewed all of these links, and followed all of their respective directions, when applicable:

    Deleting BuddyPress


    https://buddypress.org/support/topic/reinstall-should-i-delete-old-tables-from-db/

    repair buddypress database


    and, many many many many more links, that I am not going to go back and try to find…

    Any help with this would be great – I’d really like to use BP again… I have seen a number of other people online with this issue, so I know I am not the only one. There has to be some elegant solution to re-create the required SQL tables for the plugin, right?

    I have tried running this, after I reinstalled BP the 4th time (with my TDL inserted, ofc):
    https://xxxxxx.com/wp-content/plugins/buddypress/bp-core/bp-core-update.php?f=bp_update_to_2_7_4
    But, it didn’t seem to do anything…

    Ubuntu 16.04.1
    Apache 2.4.18
    PHP 7.0.13
    WP 4.7.2
    BP 2.7.4
    no other BP extension/plugins have been installed since the 1st time removing BP

    I am more than happy to provide any requested log files!

    Thank you a TON in advance!! I look forward to getting this working again.

    Humiges
    Participant

    Dear Paul – @djpaul,

    thank you for your kind reply.
    Works like a charm.

    Please, is there any way I can add the link to the comment too? The activity just says:
    for example “Paul posted a new activity comment” but no actual link to it 🙁

    …. maybe this is the answer:

    activity->id, $activities_template->activity ) ?>
    <a href="” class=”button acomment-reply bp-primary-action” id=”acomment-comment-“><?php printf( __( 'Comment %s‘, ‘buddypress’ ), bp_activity_get_comment_count() ); ?>

    from: https://buddypress.org/support/topic/resolved-single-activity-url/

    However, I’m not sure where I should actually have it?

    Thank you very much 🙂

    #263589
    shanebp
    Moderator

    You can remove it by creating a template overload of this file:
    buddypress\bp-templates\bp-legacy\buddypress\members\index.php

    Remove this code:

    	<?php /* Backward compatibility for inline search form. Use template part instead. */ ?>
    	<?php if ( has_filter( 'bp_directory_members_search_form' ) ) : ?>
    
    		<div id="members-dir-search" class="dir-search" role="search">
    			<?php bp_directory_members_search_form(); ?>
    		</div><!-- #members-dir-search -->
    
    	<?php else: ?>
    
    		<?php bp_get_template_part( 'common/search/dir-search-form' ); ?>
    
    	<?php endif; ?>
    porubcansky
    Participant

    Difficulty with friend requests: we changed settings on WangGuard which seems to have restored users’ ability to see friend requests. A quick search didn’t show me much back material concerning WangGuard interactions with BuddyPress. This site didn’t behave that way before. Is it possible WangGuard is interfering more with BuddyPress 2.7.4 than with previous versions of BP?

    #263567
    djmazi12
    Participant

    Hi Paul

    You’ve been a great help!

    I managed to find the correct buddypress index file.

    If it isn’t too much I would like your help to one last thing.
    So i created my div, however i want it to be visible to only the administrator.

    I found a code i can use:

    <?php
    if (current_user_can(‘edit_users’)){
    ?>
    <div class="opretbruger">Opret bruger</div>
    <?php
    }
    ?>

    however it doesn’t seem to work – it simply hides the div for every user even though my administrator role has the right to edit users. I also tried with ‘administrator’. Am i doing anything wrong?

    #263564
    Paul Wong-Gibbs
    Keymaster

    You might be running a theme with BuddyPress-specific files. Have a hunt around your theme, look for a similar structure. etc

    #263555
    Paul Wong-Gibbs
    Keymaster

    Go to /wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/. The four files — activate, index, members-loop, and register — are templates used for the Members Directory. Ignore the single subfolder; that’s used for individual member pages.

    You will want the index.php file.

    In your theme, create a buddypress/members subfolder. e.g. /wp-content/themes/my-theme/buddypress/members/. You’ll need to create both directories if they’re missing. Copy that index.php we found earlier into this new directory.

    e.g. you’ll end up with /wp-content/themes/my-theme/buddypress/members/index.php. You’ll want to play around in this file to find where you want to add your custom CSS, which I’ll leave to you to figure out.

    #263551
    Paul Wong-Gibbs
    Keymaster

    We used to have testbp.org which last a few years until spam and DOS attacks forced us to take it offline.

    Your best best is probably looking through https://wordpress.tv/tag/buddypress/ for recent WordCamp videos, and see if you can find one.

    #263548
    telesemana
    Participant

    I can probably disable Buddypress on muy dev site and try to register to see what happens. I will do that today and let you know @djpaul

    Many thanks to both of you for your replies!

    #263545
    Paul Wong-Gibbs
    Keymaster

    I don’t think we’ve consciously changed this behaviour (if this indeed happens as you say) in the last couple of years. It’s possible that something in WordPress changed the behviour with however BuddyPress adds sites internally.

    I think I just about recall some conversation from four or five years ago about this, but I’m struggling to remember what it was about precisely, or even where to look. If I were to start investigating this, I’d set up an otherwise identical multisite (without BuddyPress) and add users via the wp-admin, and see if those users becomes subscribers or not. etc.

    #263542
    Paul Wong-Gibbs
    Keymaster

    Page Builders are not be compatible with BuddyPress (at least, I don’t know of any support).
    You would need to manually edit the template files. If you know basic CSS/HTML/PHP, I can give you some instructions and link to some docs.

    #263539
    Paul Wong-Gibbs
    Keymaster

    The original reporter has submitted a bug report https://buddypress.trac.wordpress.org/ticket/7436

    The language used in that report is much more constructive than that of this forum thread, so I’m going to close this.

    #263537
    Wilson
    Participant

    Hello. but how do I let my users view the photos you have uploaded to their profile BuddyPress completely disabling gravatar? thank you for support

    #263535
    juanho
    Participant

    Deactivating components of buddyPress doesen’t help.
    (remaining active components: Buddypress core & Community members)

    doubleF
    Participant

    Hi!

    For anyone having the

    Cannot read property ‘add’ of undefined bp-plupload.min.js issue.

    There is a conflict between BuddyPress’ upload js and the lodash.js library. Probably because it’s using the “_” object as underscore.js.

    #263524

    In reply to: Pending Activation

    leo1951
    Participant

    Thanks for the response, djsteveb.

    Every thing is using my own dedicated server. Therefore, I have access to all functions.

    With buddypress deactivated all works and its the same theme that is working on the old site. Also, I do not think it could be a theme issue since that I can resend the activation email from the backend but it is still not coming. Also, I see not error message in my log unless that I am missing the message, which I am going back to test again.

    I suggestion that I have in mind could be a compatible issue between Buddypress 2.7.4
    and WordPress 4.7.2 but since buddypress was set-up on the old site when wordpress was version 3 and when through the many upgrades it still works on that old site.

    I am just having thoughts since I cannot see the issue and from the searches this issue goes back a long time and there seems to be no one fix.

    I have tried with and without Easy WP SMTP.

    Thanks

    Fred

    #263522
    thomasdrbg
    Participant

    Wordpres 4.4.7
    Buddypress 2.5.4

    Hello,

    A new problem occurred on my website when trying to access the My Replies section in the forum page of Buddypress.
    The page stays white and the php logs shows
    PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 32 bytes) in /home/digitalpainting/html/wp-includes/functions.php on line 4065, referer: http://digitalpainting.school/members/testjean30/forums/

    I think this started to happen when my forum reached a certain number of threads and replies.
    Forum stats : 40 forums, 3405 topics, 40841 replies.

    My PHP is 5.6.26 and the memory limit is 256G.

    Any help would he appreciated.

    Thanks,

    porubcansky
    Participant

    Example of error logs:
    [Sat Feb 04 21:43:29.117033 2017] [:error] [pid 10835] [client 92.19.41.202:36229] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘ORDER BY ID DESC LIMIT 1 /* From [lettermo.com/2017-badge/postal-explorer/] in [‘ at line 1 for query SELECT ID FROM wp_posts WHERE post_status=’draft’ AND post_type=’attachment’ AND post_author = 22943 AND post_parent = ORDER BY ID DESC LIMIT 1 /* From [lettermo.com/2017-badge/postal-explorer/] in [/nas/content/live/maryrobinette/wp-content/plugins/badgeos/includes/submission-actions.php:1783] */ made by require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/plugins/buddypress/bp-themes/bp-default/single.php’), the_content, apply_filters(‘the_content’), WP_Hook->apply_filters, call_user_func_array, badgeos_achievement_submissions, badgeos_submission_form, badgeos_get_submission_form, get_attachment_from_draft_submission, referer: http://lettermo.com/quests-and-badges/

    leo1951
    Participant

    Hello, I don want to invade your thread but open my own days ago and its not getting viewed so no replied.

    I have searched for ever and is still searching for a solution and not getting answers.

    I setup this new site: WordPress 4.7.2 and running MesoColumn theme. The Buddypress version is Version 2.7.4.

    In my backend I see the registration Pending and I re-sending the activation sever times while experimenting with other things and my server but to no success. And its not my server because I do have another site working with the same Buddypress version. The only difference the working site has been online since 2014.

    Thanks

    Fred

    The

    #263477
    ds123
    Participant

    hi shane i really appreciate your reply such a relief to hear from someone who knows buddypress cold its a very scary thing messing with the database on a site that is so important

    …quick update i actually got the pending friend requests on my own account to display but still is extremely slow ….other than moving the site to a totally new server does deleting is_confirmed field value = 0 seem like a good idea to try in your opinion to speed it up ?

    this is not a dedicated server but is supposed to handle spikes its not on a cheap hosting plan its supposed to scale on demand…..really managed wordpress hosting

    in general is this friends table something that is going to get out of control if you have 50,000 members?

    …i already every couple months trim the activity table … buddypress changed over the years i’m not sure i need to do it anymore honestly but was absolutely necessary like 3-4 years ago do you have people deleting activity table on larger sites still?

    thanks for your help on my db situation and how to keep it running

    #263469
    danbp
    Participant
    #263455

    In reply to: Cover image

    danbp
    Participant

    Hi,

    it is not available for header cover image, because it is theme dependant (in most of cases).

    More about custom size in the documentation

    BuddyPress Cover Images

    #263451
    samurdhilbk
    Participant

    So in short, there is no simple way to isolate the registration process such that the “BuddyPress users” are added to different tables than the regular WP users right?

    #263447
    danbp
    Participant
Viewing 25 results - 8,426 through 8,450 (of 69,105 total)
Skip to toolbar