Search Results for 'buddypress'
-
AuthorSearch Results
-
September 3, 2015 at 7:02 pm #244032
In reply to: Increase in fake visits since install
djsteveb
Participant@projectslimited – yeah, welcome to the club! I had one bp site with registration turned off for 18 months.. turned it on to test some thing – hours later – dozens of new “groups” and spam accounts.
My main site I depend on buddypress humanity as main line of defense.. but also add the plugin “good question” (changing the defaults on these two!)
I also use “geo ip block” on all wp sites now. (changing some defaults)
that seems to help 95% – then I got so tired of the manual spammers that I added the apache gep redirect thing from maxmind lite.. and block all visits from Russia, China, Ukraine, and a few others completely.
Saves a ton of bandwidth and server resources – and makes it easier to find the cdir blocks of US and UK ISPs to block via htaccess (none of my web site visitors are using COLO Crossing Transport to visit my site- so all their cidrs eg:
23.94.144.0/20
23.94.144.0 – 23.94.159.255blocked…
I have been messaging with a wordpress plugin author about modding his plugin that pulls info from failed logins and puts them into iptables – suggesting a few mods that can make that info useful to those of us who do not have access to or want to get into iptables modsec stuff – hopefully those suggestions will come into a new version of that plugin later this year.
with my multi-site setup I use a ‘new blog defaults’ plugin to set any new blogs created to automaticcaly have the noindex setting in wordpress, and noinded nofollow settings from yaost.. so even if one manual spammer gets in and makes blog – it does no good, and does not show up on the radar of the other spammers.
I recently had to block Japan entirely as I started getting daily spam hits from there.. of course each person’s setup will vary – I can’t block all countries on all my sites, so some sites I set the ip geo block to whitelist just one or two.. on other sites I setup a blacklist to block 20 or so..
September 3, 2015 at 6:43 pm #244029In reply to: Uninstalling – cleaning wp_options table
shanebp
ModeratorThanks for the clarity in your question.
Are they also Buddypress entries and can I delete them as well?
Looks okay to me. Should be fine.
But if you aren’t comfy about deleting them, leave them there.
9 rows is no biggee in the options table.September 3, 2015 at 3:02 pm #244015In reply to: groups_get_groupmeta in functions.php
Henry Wright
ModeratorJust looked it up
* Filter SQL query strings to swap out the 'meta_id' column. * * WordPress uses the meta_id column for commentmeta and postmeta, and so * hardcodes the column name into its *_metadata() functions. BuddyPress, on * the other hand, uses 'id' for the primary column. To make WP's functions * usable for BuddyPress, we use this just-in-time filter on 'query' to swap * 'meta_id' with 'id.Seems as though it’s used to make WP
*_metadata()functions compatible with BP.September 3, 2015 at 2:42 pm #244012In reply to: groups_get_groupmeta in functions.php
Henry Wright
ModeratorGood shout @shanebp.
Also, looking at the
groups_get_groupmeta()function definition, I’m wondering why we need to filter the query string withbp_filter_metaid_column_name?Anyway, alternatively, this may work but I haven’t tested:
$retval = get_metadata( 'group', $group_id, $meta_key, $single ); var_dump( $retval );Edit: Looks as though there is a reason BuddyPress uses
bp_filter_metaid_column_nameto filter the query. So my above might not work when it comes to BP.September 3, 2015 at 10:32 am #244004In reply to: Need Help Choosing Plugins for Website Concept
Henry Wright
ModeratorI agree it sounds as though you’ll need a bookmarking plugin as the “core”. There are most probably lots to choose from in the WordPress Plugin Directory. My advice is set up a WordPress site locally for testing, install BuddyPress and try out some of the bookmarking plugins to see which suits your idea best.
September 2, 2015 at 11:46 pm #243995In reply to: Username displaying as ‘@Admin’ on profile
VeeLow
ParticipantSadly, I’m not here with an answer, but another manifestation of this same problem.
Am running WordPress with bbpress and BuddyPress, Twentyfourteen theme, everything updated except I’ve not yet gone to BuddyPress 2.3.3.
My login is “Prof L”; so is my user name. To the best of my knowledge I’ve set “admin” nowhere in BuddyPress……but to private message me, “@admin” is required!
Update: OK, I see that in email settings, one of the options reads as follows:
A member mentions you in an update using “@admin”
So somehow that has been set to my “handle” (is that the right BP term?) But again, I never to my knowledge entered “admin”, nor does it display anywhere on the front end of the site.
I will try the plugin mentioned up thread, and report back–but wanted to testify that this problem is real and ongoing….
September 2, 2015 at 3:25 pm #243987In reply to: [Resolved] BuddyPress, Pages Appearance, Sidebar
gbsu
ParticipantSorry guy, I hadn’t been checking this thread in a while. I inserted the following code in epanel css:
.buddypress #left-area { padding-bottom: 23px; width: 65%; float: left; } .buddypress #sidebar { float: left; } .buddypress #left-area { padding-left: 20px; } .buddypress .widgettitle { padding: 5px; margin-bottom: 5px; } .buddypress #sidebar { width: 260px; float: right; } .buddypress #main-content .container:before { left: auto !important; right: 260px; }September 2, 2015 at 2:15 pm #243985shanebp
Moderatorafaik, there is no option.
Try this in your theme/functions.phpfunction larnoult_remove_bbpress_notifications() { remove_action( 'bbp_new_reply', 'bbp_buddypress_add_notification', 10, 7 ); } add_action( 'bbp_loaded', 'larnoult_remove_bbpress_notifications', 99 );You may need to tweak the priority settings.
https://codex.wordpress.org/Function_Reference/remove_actionSeptember 2, 2015 at 9:03 am #243974In reply to: wp next default theme 2016 in the wild
Henry Wright
ModeratorI added some comments asking the main group to seriously consider BP and other plugins when choosing next default theme
Nice one @djsteveb! I hope TwentySeventeen takes BuddyPress into consideration too.
September 2, 2015 at 9:02 am #243973Henry Wright
ModeratorTo the best of my knowledge, you can’t have 2 themes activated at the same time. You should choose a WordPress theme and then make use of the BuddyPress Template Hierarchy to customise the BuddyPress portion of your website.
September 1, 2015 at 10:13 pm #243958In reply to: follow categories to register
shanebp
ModeratorYou can create a job listing here.
Be sure to include your contact info.September 1, 2015 at 9:23 pm #243956In reply to: Moved: php error after activity update
danbp
ParticipantDeactivate RTMedia & any custom function (if exist) related to buddypress-media and test.
September 1, 2015 at 9:06 pm #243950r-a-y
KeymasterHi,
Thanks for posting. Are you using an older version of WordPress?
In BP 2.3.3, we added support for WordPress 4.3 in the Activity and Groups dashboards without checking for older WordPress installs.
This is how the fatal error occurred.
To fix this temporarily until we release a new version, apply this patch to BuddyPress:
https://buddypress.trac.wordpress.org/attachment/ticket/6606/6606.01.patchSeptember 1, 2015 at 8:40 pm #243948In reply to: BP Profile Update Email
intimate1
ParticipantYeah,
This is a bit more advance for me?
$admin_email = “admin@intimatencounters.com”; $message = sprintf( __( ‘Member: %1$s’, ‘buddypress’ ), bp_core_get_user_displayname( $user_id ) ) . “\r\n\r\n”; $message .= sprintf( __( ‘Color: %s’ ), bp_get_profile_field_data(‘field=Color’) ). “\r\n\r\n”; wp_mail( $admin_email, sprintf( __( ‘[YOUR SITE] Member Profile Update’ ), get_option(‘IntimatEncnounters’) ), $message ); } add_action( ‘xprofile_updated_profile’, ‘rc_buddypress_profile_update’, 10, 5 );I have a lot of unknowns.
For example, for line 5 do I need to include every single field? Also, for the bit of code that preceeds bp_get_profile_field_data, .= sprintf( __( ‘Color: %s’ ). Do I need to include anything in here, next to ‘Color:%s’ or leave it as is?
For line 6, do I need to type the captitalized [YOUR SITE] exactly like this [INTIMATENCOUNTERS]?
And lastly, for ‘blogname’ would I type ‘intimatencounters’ ?
function rc_buddypress_profile_update( $user_id ) {
Thanks,
C.E.
September 1, 2015 at 12:11 am #243924In reply to: BP Profile Update Email
danbp
ParticipantRead from here and see if you can build something:
https://buddypress.org/support/topic/notify-by-email-when-xprofile-updated/#post-183977August 31, 2015 at 10:29 pm #243920In reply to: How to change what elements say
Henry Wright
ModeratorSee the Customizing Labels, Messages, and URLs article.
August 31, 2015 at 9:18 pm #243915In reply to: My Ideas and Suggestions for BuddyPress
DevynCJohnson
Participant@shanebp , thanks, but reread #12.
True, BuddyPress provides a way to upload avatars, and “Basic User Avatars” and “Simple Local Avatars” are plugins offering that feature. However, after upgrading my theme to HTML5 and removing Flash from my browser, I can no longer upload avatars using any of the three mentioned possibilities (backend or frontend).
As for your suggestion about Autoptimize, it does not work like that. “plupload.full.min.js” is supposed to be in the “exclude” list. This means Autoptimize does not dump the contents of plupload.full.min.js into a single JavaScript file. As long as plupload.full.min.js is excluded from Autoptimize, plupload.full.min.js is accessible by plugins that call it directly.
August 31, 2015 at 3:45 pm #243900In reply to: My Ideas and Suggestions for BuddyPress
shanebp
ModeratorThese plugins should address parts of #12:
https://wordpress.org/plugins/bp-local-avatars/
https://wordpress.org/plugins/buddypress-identicons/
I do list “plupload.full.min.js” and other similar scripts in Autoptimze “Exclude list”
If you don’t include required files, things tend not to work.
August 31, 2015 at 3:14 pm #243898In reply to: Database error after upgrade to WP4.3/BP2.3.3
reggie3
Participant@djpaul – We upgraded from WP 4.2 and whatever the BuddyPress version was prior to 2.3.3 (sorry I don’t recall, but we’ve been staying up-to-date, upgrading as new versions become available.)
@danbp – Not quite sure I follow your question, but…we upgraded from the Network Admin interface, not the individual site, and then performed a Network upgrade.For whatever it’s worth, we do not see this error in any of today’s httpd error logs…
August 31, 2015 at 9:37 am #243887In reply to: Buddypress without followers
Henry Wright
ModeratorUnless I’m mistaken, there must some thing else wrong because I’ve not found BuddyPress Followers to be problematic in that way. Are you sure you’re using the latest version?
August 31, 2015 at 7:50 am #243884In reply to: Buddypress without followers
Dannypid1
ParticipantHi
The plugin is nice, but it consumes all resources buddypress.If plugin is active 4 users do appear Error 500 Internal server error.
You know an alternative to this plugin?
August 31, 2015 at 12:24 am #243881In reply to: filter activity loop
Angelo Rocha
ParticipantHi Henry Wright.
I pasted in functions.php
=/
This is my custom loop:<?php do_action( 'bp_before_activity_loop' ); ?> <?php if ( bp_has_activities( bp_ajax_querystring( 'activity' ) ) ) : ?> <noscript> <div class="pagination"> <div class="pag-count"><?php bp_activity_pagination_count(); ?></div> <div class="pagination-links"><?php bp_activity_pagination_links(); ?></div> </div> </noscript> <?php if ( empty( $_POST['page'] ) ) : ?> <ul id="activity-stream" class="activity-list item-list"> <?php endif; ?> <?php while ( bp_activities() ) : bp_the_activity(); ?> <?php locate_template( array( 'activity/entry.php' ), true, false ); ?> <?php endwhile; ?> <?php if ( bp_activity_has_more_items() ) : ?> <li class="load-more"> <a href="#more"><?php _e( 'Load More', 'buddypress' ); ?></a> </li> <?php endif; ?> <?php if ( empty( $_POST['page'] ) ) : ?> </ul> <?php endif; ?> <?php else : ?> <div id="message" class="info"> <p><?php _e( 'Sorry, there was no activity found. Please try a different filter.', 'buddypress' ); ?></p> </div> <?php endif; ?> <?php do_action( 'bp_after_activity_loop' ); ?> <form action="" name="activity-loop-form" id="activity-loop-form" method="post"> <?php wp_nonce_field( 'activity_filter', '_wpnonce_activity_filter' ); ?> </form>August 30, 2015 at 10:06 pm #243880shanebp
ModeratorOptimize Press uses a custom post type.
So you need to add activity tracking support to it.August 30, 2015 at 6:50 pm #243875Deuscat
ParticipantFound a fix,
#buddypress a.button {
background: -webkit-gradient( linear, left top, left bottom, color-stop(.2, #f43b32), color-stop(1, #d2231a) ) !important;
background: -moz-linear-gradient( center top, #f43b32 20%, #d2231a 100% ) !important;
-webkit-box-shadow: inset 0 1px 0 hsla(0,100%,100%,.3) /*Top*/, inset 0 0 2px hsla(0,100%,100%,.3) /*Shine*/, 0 1px 2px hsla(0, 0%, 0%, .29);
-moz-box-shadow: inset 0 1px 0 hsla(0,100%,100%,.3) /*Top*/, inset 0 0 2px hsla(0,100%,100%,.3) /*Shine*/, 0 1px 2px hsla(0, 0%, 0%, .29);
}seems to have removed the gradient for me.
August 30, 2015 at 5:13 pm #243869In reply to: Buddypress without followers
Henry Wright
ModeratorI use the plugin Buddypress followers, but is problematic
What did you find was wrong with it? It works well for me.
-
AuthorSearch Results