Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'wordpress'

Viewing 25 results - 3,276 through 3,300 (of 22,686 total)
  • Author
    Search Results
  • #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

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

    #269457
    shanebp
    Moderator

    The first and simplest step is to use one of the registration captcha plugins from the repo.

    https://wordpress.org/plugins/search/captcha/

    #269448
    darren1985
    Participant

    sorry please delete, found the answer by changing the wording in google.

    in case others needed the answer is found here:
    https://buddypress.org/support/topic/need-to-disable-the-user-access-to-wordpress-admin-panel/

    #269412
    bcanr2d2
    Participant

    I am using WP Mail SMTP to get the mail to send without issues. But it seems to affect this particular email only, I am getting everything else as far as I am aware.

    Here are my current active plugins – There is quite a long list.
    I do use Autoptimize, so not sure if it’s affecting anything.
    One of note, is Social Login, which when logging directs to their site, and redirects back to my site to log the user in via their social network, this is where it falls over and does not send this one email. It manages to send other emails related to the login, but it now gives me an idea to look into the code that sends this social email sign up notification.

    (BuddyDev) BP Auto Login on Activation (1.0.3)
    Advanced Custom Fields (4.4.11)
    Allow Multiple Accounts (3.0.4)
    Autoptimize (2.2.2)
    BP Profile Message UX Free (1.5)
    BP xProfile Location (1.2)
    BP XProfile WordPress User Sync (0.6.4)
    BuddyDev Username Availability Checker (1.1.1)
    BuddyExtender (1.0.1)
    BuddyPress (2.7.4)
    BuddyPress Member Type Generator (1.0.3)
    BuddyPress Security Check (2.1.2)
    BuddyPress Simple Terms And Conditions (1.3)
    BuddyPress Xprofile Custom Fields Type (2.6.3)
    BuddyPress Xprofile Member Type Field (1.0.4)
    BuddyPress XProfile Validate with RegEx (0.1.2)
    Cherry Parallax Plugin (1.1.0)
    Cherry Plugin (1.2.8.1)
    Child Theme Configurator (2.1.2)
    Conditional Profile Fields for BuddyPress (1.1.9)
    Contact Form 7 (4.6)
    Contact Form 7 – Dynamic Text Extension (2.0.1)
    Contact Form 7 Conditional Fields (1.0)
    Contact Form 7 Get and Show Parameter from URL (0.9.7)
    Contact Form 7 Honeypot (1.10)
    Contact Form 7 Modules: Hidden Fields (2.0)
    Contact Form 7 Shortcode Enabler (1.1)
    Custom Hooks (1.0)
    Custom Post Template By Templatic (1.0)
    Custom Post Type UI (1.4.3)
    Disable Comments (1.6)
    Display Posts Shortcode (2.7.0)
    FacetWP (2.7.4)
    FacetWP – Map (1.0.5)
    Flamingo (1.5)
    GeoIP Detection (2.7.0)
    GEO my WP (2.7)
    Google Analytics Dashboard for WP (4.9.6.2)
    List Plugins (1.4.4)
    Meta Slider (3.4)
    Optimize Database after Deleting Revisions (4.2.1)
    Page-list (5.1)
    PHP Compatibility Checker (1.4.0)
    Popup Maker (1.4.20)
    Shortcodes in Menus (3.2)
    Social Login (5.2)
    Stream (3.2.0)
    String Locator (2.2.0)
    Sucuri Security – Auditing, Malware Scanner and Hardening (1.8.3)
    SuitePlugins – Advanced XProfile Fields for BuddyPress (1.0.3)
    Theme Check (20160523.1)
    Visual Builder for Contact Form 7 (2.0)
    WPFront User Role Editor (2.13)
    WP Mail SMTP (0.11.1)
    WP Private Content Plus (1.13.1)
    WP Smush (2.6.1)
    Yoast SEO (4.3)

    #269391
    Boone Gorges
    Keymaster

    Some things to check:

    1. Check the timestamps at Dashboard > Activity. Are they off as well?

    2. Are in timezone UTC-5 (US Eastern)? Just so we have a better understanding of what’s going on.

    3. You say the “server time” is “set correctly”. Can you say more about what this means?

    4. Are timestamps for WP content (like posts and comments) correctly displayed?

    5. When you look in the database – wp_bp_activity, the date_recorded column – what do the timestamps look like? Are they UTC or in your local timezone?

    It’s generally recommend to keep PHP in UTC and to allow WP/BP to do the timezone offsets; see https://weston.ruter.net/2013/04/02/do-not-change-the-default-timezone-from-utc-in-wordpress/ for one account. My guess is that your server time is set to local time, so that things are getting double-adjusted. How this can best be fixed depends on whether only activity items are affected, or if it’s all items on the installation.

    #269385
    Gunu
    Participant

    After a lot of digging here I found this:

    bp_message_notice_delete_link uses wrong action for nonce generation

    I made this change in the source code: fix nonce for sitewide notice deletion.

    Changed in source code from this file /buddypress/bp-templates/bp-legacy/buddypress/members/single/messages/notices-loop.php
    <a class="button" href="<?php bp_message_notice_delete_link(); ?>" class="confirm" aria-label="<?php esc_attr_e( "Delete Message", 'buddypress' ); ?>">x</a>
    in this
    <a class="button" href="<?php bp_message_notice_delete_link(); ?>" class="confirm" title="<?php esc_attr_e( "Delete Message", "buddypress" ); ?>">x</a>

    Now I see the delete button and can delete messages, but this goes wrong again after an update from Buddypress.

    I would like to receive an advice.
    Thanks

    #269378
    grimbot
    Participant

    ok.. it works again.. Not sure which step fixed it but here is what I did..

    In the database area I clicked the Optimize, repair, and reset permission buttons.

    In wordpress I cleared off some of the warning notifications I was getting about “Activity Stream” and “User Links” pages not having pages set for them..

    I had those removed on purpose btw.

    The code to hide the members directory doesn’t work anymore but someone said something about maybe being able to redirect traffic to that page to a password protected or otherwise restricted page.

    So.. That should do it if you have the problem I did.. clear the page missing error for user links and activity and run the one click fixes on the database to reset permissions and such.

    #269356
    Humiges
    Participant

    Thank you for your kind reply @boonebgorges
    I have managed to find the solution that triggered the activity too by using the one of the wordpress plugins.
    Thanks a lot :))

    #269331
    HDcms
    Participant

    Hello Gorges
    And thank you 🙂

    In fact, I want to hide these tabs to everyone except for a wordpress role and the super admin
    It works (a priori) but do not hesitate to suggest an improvement.
    I am not sure of my code!

    Regards

    add_action('wp_head', 'HD_maj_activite');
    function HD_maj_activite() {
    	$bp_loggedin_user_id = bp_loggedin_user_id();
    	$user_info = get_userdata($bp_loggedin_user_id);
    	$user_roles = $user_info->roles;
    	if (is_super_admin() || in_array('membre2', $user_roles)) 
     	return ;
    	$output .= '<style type="text/css">body.activity.directory #activity-friends {display: none;}</style>';
    	$output .= '<style type="text/css">body.activity.directory #activity-groups {display: none;}</style>';
       echo $output; // 
    }
    #269328
    Boone Gorges
    Keymaster

    You could try using a different plugin for switching the login page. https://wordpress.org/plugins/search/login+page/ The one I’ve seen in use before is Theme My Login. Maybe it will work better with your setup.

    #269306

    In reply to: Organic Square theme

    peter-hamilton
    Participant

    I am aiming to make this a modern fully functional forum website that does offer the same if not more functions then most commercially available alternatives and prove that BBpress is capable of providing everything we need to create a full-fledged forum.

    As I am not a programmer I have been cutting and pasting for so long that I now start to get a basic understanding of php, but still only cutting pasting and making minor adjustments.

    I am almost ready incorporating all features I need, as soon as that is done I will once again rewrite all code to tidy it up and try to make it into a theme for others to use.

    I hope my effort shows those looking for software to make a forum that BBPress is capable and with wordpress in the background potentially better then anything you can buy.

    Peter Hamilton
    i-am-peter.com

    Kookidooki
    Participant

    Hello Boone,

    Thank you for your input.

    I’ve checked permission status of uploads: 755.

    Cleared all caches, Cloudflare, and pauzed SSL but still no luck with the posting of updates or uploading of images in posts, activity stream or in Media Library (shows a blank page, no thumbnails, etc.).

    But on top of this I’ve found other (probably related) problems:

    1. Even our administrators couldn’t create new user accounts or update existing accounts. All we see is an avatar, no name, email, no edit,etc. See image below:

    users

    2. Database error:
    WordPress database error: [Duplicate entry ‘0’ for key ‘PRIMARY’] 
INSERT INTO kuyrsd79sdn_bp_activity ( user_id, component, type, action, content, primary_link, date_recorded, item_id, secondary_item_id, hide_sitewide, is_spam ) VALUES ( 82, ‘activity’, ‘activity_update’,

    MySQL said:
    #1062 – Duplicate entry ‘0’ for key ‘PRIMARY’

    3 SQL query:


    — Indexes for table kuyrsd79sdn_options

    ALTER TABLE kuyrsd79sdn_options
    ADD PRIMARY KEY (option_id),
    ADD UNIQUE KEY option_name (option_name),
    ADD KEY wpe_autoload_options_index (autoload)

    Any idea how to fix this?

    #269276
    Boone Gorges
    Keymaster

    Oy, this is not a good piece of advice from the Avada support folks. You cannot put PHP into a text widget. I gave you a snippet of PHP with the understanding that it’d have to be added through code somehow.

    If you haven’t got the resources to build a proper custom widget (no worries if not, it is a bit cumbersome to do), you may try a plugin like https://wordpress.org/plugins/php-code-widget/. You should be able to paste the text in question into one of those widgets and have it work.

    Widget-friendly shortcodes for BP content is a good idea for a future enhancement. I’ve added a comment to an existing ticket we have to track a related idea. https://buddypress.trac.wordpress.org/ticket/7159#comment:2

    Boone Gorges
    Keymaster

    The fact that both of these items are happening suggests that there might be a problem with folder permissions for WP uploads. Test to see whether it’s possible to upload an item through Dashboard > Media. If not, you may want to look through a resource like this https://codex.wordpress.org/Changing_File_Permissions to see whether anything has changed on your upload directories.

    #269274
    Boone Gorges
    Keymaster

    Very interesting question.

    It’s not currently possible to do this through the regular activity API. We’ve hardcoded ASC into the comment query: https://buddypress.trac.wordpress.org/browser/tags/2.9.2/src/bp-activity/classes/class-bp-activity-activity.php?marks=1510#L1509

    I think that it would be a good enhancement request to add something to the query API that allows for these items to be reversed. If you’re interested, I encourage you to open a ticket at https://buddypress.trac.wordpress.org.

    In the meantime, here’s a clunky workaround:

    
    add_filter( 'bp_has_activities', function( $has ) {
    	global $activities_template;
    
    	foreach ( $activities_template->activities as &$a ) {
    		$a->children = array_reverse( $a->children );
    	}
    
    	return $has;
    } );
    

    This will only affect top-level comments; you’d need something recursive to do deeper levels. And you may want to limit this to front-end queries, or in the main activity directory, or something like that. But it’s a basic technique that should give you a sense of how to solve this in the short term.

    #269258
    Arize Nnonyelu
    Participant

    Rename wp-login. Well, its a community site where everybody is logging in, generation community sites comes with Login, not wp-admin. And worse amateurs will know that you are running WP and think there is nothing different from your big website and their blog.

    #269252
    plumbingsuperstore
    Participant

    Boone howzit bud! 🙂 Thanks for the reply! Much appreciated!!!

    I went into my cpanel, fortunately these guys I’m hosting with have auto saves on and I could restore my site to a previous time. WHOOOOHOOOO!!!!! So happy I chose them as my host provider!!!!

    There is the fear though that this might occur again!… so running the neglected back up on my side will occur before every plugin installed or major settings change…. discipline is the way forward!

    Ok prevention is better than cure right!?

    So here goes the story as good as I can explain in my no programmer/developer language…

    I was in wordpress… Installing Buddypress… I opened a second browser tab so I can view all the changes etc. that I made tweaking and installing Buddyp. (..aaand gloating cause I actually followed instructions to the letter and it all worked out just peachy!) Buddypress installed even downloaded the fake content plugin to see the end result in all it’s glory.. 🙂

    I had to take it just one step further to satisfy this little voice in my head!

    To test Buddyp. as a potential new register.

    I logged out as admin….

    Unknowingly
    all Sh*t broke loose just then….

    I created a new account as a new user… completed in the registration form with a fresh email account… Buddyp. sent me the verify link to my email account.

    Clicking on the verify email account link… gave me a – page not found – and re-directed be back to the login up page, once there telling me in red highlight – there is no account with those details…

    Frantically entering the new registration details just kept me in the same loop…

    Then deciding ok… to use my admin credentials to get back into either Buddyp. or my site backend…

    To no avail… admin credentials did not do the trick… I was locked out completely…!

    My std WordPress email credentials meant squat!

    My main concern is, I need to to fix this…
    I a new user register with my site the same think will occur to them…

    Being redirected back to the login and password block after clicking and confirming their email address….

    I am not sure how to fix this!

    I hope this makes sense… ?

    Once again… thank you for the response to help out… would you know how to fix said issue?

    Regards

    W

    #269246
    Boone Gorges
    Keymaster

    Hi @ovizii – Changing to a separate theme just because of a single styling issue is a pretty big step. If you’re generally happy with the way your site looks and works, it may be worth putting a bit of time into solving the specific issue, rather than looking for a larger switch.

    If you do want to change, BuddyPress now supports a feature called “theme compatibility”, which means that it works well in most WordPress themes – whether or not they have specific support for BuddyPress. A nice place to start is the WP default themes (Twenty Sixteen, etc), some of which are particularly well suited to running a BuddyPress site.

    margmacd
    Participant

    Many thanks for this helpful reply. Presumably, creating a plugin for the code (http://webcraft.tools/how-to-create-a-simple-wordpress-plugin/) would work just as well, assuming that there are no errors.

    #269242
    Boone Gorges
    Keymaster

    Group descriptions are filtered at the time of saving, via wp_filter_kses(), and at the time of display using bp_groups_filter_kses(). https://buddypress.trac.wordpress.org/browser/tags/2.9.2/src/bp-groups/bp-groups-filters.php#L35

    It seems like a bug that we do different things at the time of save vs the time of display, but there you have it.

    I’d suggest removing the groups_group_description_before_save filter, replacing with bp_groups_filter_kses, and then filtering bp_groups_filter_kses to add allowed tags (as @r-a-y describes above). https://buddypress.trac.wordpress.org/browser/tags/2.9.2/src/bp-groups/bp-groups-filters.php?marks=117#L87

Viewing 25 results - 3,276 through 3,300 (of 22,686 total)
Skip to toolbar