I’m reading this right now: http://wpengine.com/2012/04/visitors/.
Especially this point might explain a lot:
If a robot scans 20,000 pages over the course of a month, that’s not just one visit. It shouldn’t be 20,000 visits, but neither should it be 1. Something in the range of 100-1,000 visits is acceptable.
It’s a tricky subject for sure. But to me it has not been an issue yet.
It’s a system wide issue yes in fact i am talking to their “Chief It Guy” about it. The difference you speak of (non-javascript enabled browsers) is typically about 20%. What they are counting as “Visitors” is running at about half of the total hits which typically correlates with files not visitors. The upshot is about 6 to 8 times larger visitor count then what you’re actually getting.
Thanks Ben! I never really look at my GA in great detail, but I do know that GA does not count visitors who have JS disabled. These visitors are usually bots. It could be that your site is being heavily targeted by bots/spammers which causes a lot of pageviews. On BP-Tricks I use CloudFlare (free) that blocks a lot of these threads and bots, which should save a lot of requests. 8 to 10 times as much hits is pretty crazy though, have you ever contacted support about this?
WP 3.5, BP 1.6.2, Default BP theme
This is a brand new install to .com/bp/
All attempts to ‘post update’ for members or groups activity result in this message.
“There was a problem posting your update, please try again.”
It’s not the issue in /ticket/4523
wp_debug shows this:
Notice: Undefined index: item_id in … /wp-content/plugins/buddypress/bp-themes/bp-default/_inc/ajax.php on line 274
Any suggestions ?
Everything else is working as expected.
Great are you going to patch it for us then 🙂
Patches can be returned on a ticket to: buddypress.trac.wordpress.org/
@amalsh
What file did you add this filter to?
`
function format_activity_date() {
$activityDate=bp_get_activity_date_recorded();
return date(“F j, Y g:i a”, strtotime($activityDate));
}
add_filter(‘bp_activity_time_since’, ‘format_activity_date’);
`
The functions.php in your theme folder? Line number? I’m looking to do something similar, Thanks in advance!
Hi,
I have installed the buddypress wordpress plugin and my problem is that the links are broken. See below:
http://subefotos.com/ver/?14a46480d802489bd3fd2af25c3f5b4bo.jpg
I can´t edit my profile, my avatar, I can´t see my friendship requests, etc., in conclusion, all the links are broken.
How can I solve this? Thanks in advance.
PParticipant
Quoting from Version 1.6 Codex:
Activity is now checked for blacklisted words and flooding protection has been added. (#3732)
Add bp-core-moderation.php to provide basic functions for checking submitted content against illegal keys and flooding. (#3732)
So basically any average perso ninstalling Buddypress will not have Flood Control, but a savvy developer can scratch his head and go fix Flood Control in more than one files:
– bp-core/bp-moderation.php
– bp-activity/bp-activity-functions.php
– bp-themes/bp-default/_inc/ajax.php
If you know what you’re doing and analyze / update code in these files, you can setup flood protection on your activity page, otherwise you’re fooled to think you have flood protection, at least in 1.6.2.
that’s a great article your blog looks nice as well. i think i’d probably agree with your conclusion but i am curious if you have encountered the issue over there where they are counting about 8 to 10 times the number of visitors GA reports (i believe due to faulty counting methods) it’s definitely giving me pause to refer any more business to them at least until the issue is resolved.
Probably a function that didn’t get finished.
PParticipant
There is no flood control on the Buddypress 1.6.2 Activity page. I checked the function bp_core_check_for_flood in bp-core/bp-core-moderation.php and it’s not used in the activity files at all.
function bp_core_check_for_flood( $user_id = 0 ) {
// Option disabled. No flood checks.
if ( !$throttle_time = bp_get_option( ‘_bp_throttle_time’ ) )
return true;
// Bail if no user ID passed
if ( empty( $user_id ) )
return false;
$last_posted = get_user_meta( $user_id, ‘_bp_last_posted’, true );
if ( isset( $last_posted ) && ( time() < ( $last_posted + $throttle_time ) ) && !current_user_can( 'throttle' ) )
return false;
return true;
}
It looks for an option "_bp_throttle_time" which isn't set anywhere in the backend and it also needs a meta key named _bp_last_posted which isn't created in the database (so fetching it via get_user_meta won't work). Am I supposed to modify my core files so I can implement Flood Control?
You will need to backup database, download wp-content folder, delete everything including database, create fresh database, install wordpress and buddypress manually, upload the contents of your downloaded wp-contents folder, import saved database backup.
Yep. Free idea for someone 🙂
Hi @m1000,
all forum filters are listed in bp-forums/bp-forums-filters.php
ie :
<code>remove_filter( ‘bp_get_the_topic_post_content’, ‘wptexturize’ );
remove_filter( ‘bp_get_the_topic_post_content’, ‘wpautop’ );
remove_filter( ‘bp_get_the_topic_latest_post_excerpt’, ‘wpautop’ );</code>
and many others ! 😉
Thanks Chouf1 for replying… I know how to format date but where to modify it for activity in Buddypress is what I don’t know.
Maybe I can add filter in functions.php file but what is the function that handle activity date and where is it located?
Something like a HTML Guru….ok ok
Merci @mercime !
Hi all,
I want to change the activity stream date format to make it something like facebook date. I mean I need to use “… ago” date format for today’s activities and “December 31, 2012 at 10:00AM” like date format for older activities.
How can I do this? Can this be done without modifying Buddypress core files?
Another question, how to remove the link from the activity date?
Thanks
header.php http://pastebin.com/AGNeRz9z
page.php http://pastebin.com/5720ZHWL
index.php http://pastebin.com/1rxwdhJm
sidebar.php http://pastebin.com/UcCFFrDM
footer.php http://pastebin.com/4DEDhGvN
Thank you so much for taking the time to look at these files for me, I really appreciate it 🙂
Hello,
When I insert any shortcode into forum post then wordpress always insert paragraphs and line break
I pasted following code into functions.php
function my_formatter($content) {
$new_content = '';
$pattern_full = '{(\[raw\].*?\[/raw\])}is';
$pattern_contents = '{\[raw\](.*?)\[/raw\]}is';
$pieces = preg_split($pattern_full, $content, -1, PREG_SPLIT_DELIM_CAPTURE);
foreach ($pieces as $piece) {
if (preg_match($pattern_contents, $piece, $matches)) {
$new_content .= $matches[1];
} else {
$new_content .= wptexturize(wpautop($piece));
}
}
return $new_content;
}
remove_filter('the_content', 'wpautop');
remove_filter('the_content', 'wptexturize');
add_filter('the_content', 'my_formatter', 99);
… but it works on pages and posts only. How to make it working on buddypress?
Hi there,
A suggestion: push notifications from BuddyPress to smartphones (iPhone, Android) would be a killer feature. Getting activity stream updates (user selects filter preferences) to smart phone really would really make a huge difference in engagement. There is already a plugin for WordPress for this purpose (http://wordpress.org/extend/plugins/pushover-notifications/), but it would be a lot more useful for BuddyPress!
Hi BuddyPress Community,
Just wanted to let you know that I’ve written an fairly extensive hosting guide for those wanting to learn more about which webhost to pick. It does not review individual providers but gives you a good overview of the available hosting types available, so you can make a better decision. You can read the guide here: bp-tricks.com/buddypress-hosting
I hope this is useful for some of you 🙂
@chouf1 “Mark-Up Officer” as far as I know, is in reference to “HTML Mark up” http://www.w3.org/TR/html-markup/ Not a job, but a vocation or interest 🙂 Btw, I may be wrong 🙂
@scoobydoobydoo It means that Step 3 of the compatibility process has not been completed. Initial scan of the theme does show you only need to create two or three files to complete the process. Open up your theme’s header.php file, copy all, paste in pastebin.com, click submit and post the generated pastebin URI here. Do the same for your theme’s page.php, index.php, sidebar.php and footer.php.