Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'wordpress'

Viewing 25 results - 3,626 through 3,650 (of 22,650 total)
  • Author
    Search Results
  • #263748
    MarcusFuto
    Participant

    Thanks,

    It seems I was able to get some help here too:

    https://wordpress.org/support/topic/hello-guys-how-to-exclude-a-single-page-from-redirect/#post-8800781

    The think is that I want the activity page to show be visible menu for logged out users as well.

    But the activity page is only selectable for logged in users as you can see here: https://snag.gy/Am1gph.jpg

    Thanks for the tip!

    #263743
    shanebp
    Moderator

    Have you tried one of the privacy plugins?
    For example: https://wordpress.org/plugins/bp-simple-private/

    #263731
    Hugo Ashmore
    Participant

    Apparently ticketed:
    https://buddypress.trac.wordpress.org/ticket/7443

    We’ll consider a possible solution or ‘hack’ 🙁 to avoid the issue.

    #263716
    r-a-y
    Keymaster
    r-a-y
    Keymaster

    Hi, about BP Group Hierarchy, it is not supported any more.

    I just patched a bunch of pull requests and patches from Github, but I do not maintain the plugin. I personally do not use the plugin either, so I’m sorry that I cannot help out here.

    Your best bet is to engage with the community that uses BPGH and see if someone has a fix. I know that dcavins is working on an alternative to BPGH, but I’m not sure if that plugin supports everything from BPGH yet.

    It also looks like dcavins proposed a fix for the count here:
    https://wordpress.org/support/topic/fails-with-bp-2-7/#post-8435421

    If that works, I can merge it into my branch of BPGH.

    #263711
    r-a-y
    Keymaster

    This has nothing to do with BuddyPress, but it has to do with adding HTTPS support to your WordPress website.

    You have to either pay to get a SSL certificate or use the Let’s Encrypt service to get a free SSL certificate:
    https://letsencrypt.org/

    Then, configure WordPress to use SSL and this issue should be fixed.

    #263710

    In reply to: BP profile issue

    wonderdog4
    Participant

    WORDPRESS 4.7.2
    BUDDYPRESS 2.7.4

    #263644
    Slava Abakumov
    Moderator

    Yes, you can use a hook in a function bp_activity_add() called the same.

    /**
     * Fires at the end of the execution of adding a new activity item, before returning the new activity item ID.
     *
     * @since 1.1.0
     *
     * @param array $r Array of parsed arguments for the activity item being added.
     */
    do_action( 'bp_activity_add', $r );
    

    So you should write something like this:

    add_action( 'bp_activity_add', function( $arguments ) {
        // Put in wp_mail() function all your params, see https://developer.wordpress.org/reference/functions/wp_mail/
        wp_mail($to, $subject, $message);
    } );
    
    #263638
    Venutius
    Moderator

    I’ve not seen anything with a pie charge, but for the raw data you could look at Dan’s plugin:

    https://wordpress.org/plugins/buddymemberstats/

    #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.

    #263584
    juanho
    Participant

    i am not using multisite, the other instance of wordpress is working independently on a different location of the same server, completely isolated from one another.
    Wordpress v4.7.2

    #263576

    In reply to: Pending Activation

    leo1951
    Participant

    Thanks for the responses.

    I do not need any Easy WP SMTP plugin running on any WordPress site to send mail. I am only adding it because I want email sent from a specific site to use my preferred return email. Also, not all of my domains are setup to sign outgoing emails so with Easy SMTP I can determine from which domain emails will be sent from.

    I will close this subject for now while I investigate more.

    Thanks, everyone for valuable feedback.

    #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.

    #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.

    #263544

    In reply to: Pending Activation

    Paul Wong-Gibbs
    Keymaster

    Hi @leo1951

    Are you using any email plugins for WordPress that you require to successfully send emails? Or SMTP config? Or anything custom in php.ini?

    It’s not clear if “Easy WP SMTP” is required for your WordPress installation to send emails.
    If you are not using SMTP to send email via a remote email server, are you running something like sendmail to do that from the server? If so, can you check that program’s outgoing email? Log file? See if you can find evidence if it’s actually receiving the email.


    @tw2113
    @dcavins Did one of you have a plugin that logged if BP’s emails were sent successfully or not (from an internal point of view)? I can’t remember who it was.

    #263541
    Paul Wong-Gibbs
    Keymaster

    This is a pretty common problem. You need to increase the amount of memory available for PHP.
    There are many posts on the web about this — try https://docs.woocommerce.com/document/increasing-the-wordpress-memory-limit/ — but if you need further help, I’d suggest contacting your web host would be a good idea.

    Hope this helps!

    #263540
    Paul Wong-Gibbs
    Keymaster

    Are you using multisite? Do you have NOBLOGREDIRECT set — if so, to what value?
    What version of WordPress are you using?

    Thanks.

    #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.

    #263525
    mulapalliprasad
    Participant

    Found the issue !!

    As per the logs (how to enable logs ? check below ), it states that its unable to DELETE the group entry in database. At cpanel level, the mysql user did not ahve permissions hence the error.

    had this error in log file :
    [05-Feb-2017 19:57:50 UTC] WordPress database error DELETE command denied to user ‘mysql user’@’999-144-214-244.wkbox.net’ for table ‘wp_options’ for query DELETE FROM wp_options WHERE option_name = ‘_transient__bp_activation_redirect’ made by do_action(‘admin_init’), call_user_func_array, bp_admin_init, do_action(‘bp_admin_init’), call_user_func_array, bp_do_activation_redirect, get_transient, delete_option
    [05-Feb-2017 19:57:50 UTC] WordPress database error DELETE command denied to user ‘mysql user ‘@’99.4444.444.sfa.net’ for table ‘wp_options’ for query DELETE FROM wp_options WHERE option_name = ‘_transient_timeout__bp_activation_redirect’ made by do_action(‘admin_init’), call_user_func_array, bp_admin_init, do_action(‘bp_admin_init’), call_user_func_array, bp_do_activation_redirect, get_transient, delete_option

    Thanks
    Prasad.

    how to enable logs in WP :
    Check your dashboard

    The current error_log value error_log is not supported. Please change it to an absolute path.

    To enable error logging, create an empty file named “php-errors.log”. Place it in a directory that is not publicly accessible (preferably outside your web root) and ensure it is writable by the web server. Then add the following code to wp-config.php:

    ini_set(‘log_errors’, ‘On’);
    ini_set(‘error_log’, ‘/full/path/to/php-errors.log’);
    For reference, the full path of the WordPress directory is:
    /home/blurover/medinall.blurover.com/

    #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

    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

    #263489
    danbp
    Participant

    Try BuddyDrive.

    #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

Viewing 25 results - 3,626 through 3,650 (of 22,650 total)
Skip to toolbar