Search Results for 'buddypress'
-
AuthorSearch Results
-
May 9, 2010 at 2:29 pm #77320
In reply to: Avatar Upload Issues
Sea Jay
Participantmwaterous’ solution did not work for me:
Line 17 – define( ‘BP_AVATAR_URL’, bp_core_avatar_url() . ‘/wp-content’ );
However, this did.
I replaced the entire bp-core-avatars file with the one mentioned by Edward Caissie from trac:
https://trac.buddypress.org/browser/branches/1.2/bp-core/bp-core-avatars.php?rev=2957
Works great with 2.9.2 and 1.2.3.
Thanks!
May 9, 2010 at 1:27 pm #77316In reply to: Marketplace plugin for WP3 & Buddypress 1.2
dre1080
Membertry buddypress classifieds plugin, could be a step in the right direction
May 9, 2010 at 1:15 pm #77315pcwriter
ParticipantHot diggety… it works flawlessly! I’ve been trying to do this for a while.
Now, it’s just a question of fiddling with the css to get it to fit and look dandy.Thanks!
May 9, 2010 at 11:01 am #77313Meini
MemberSolved it: Compatibility View was turned on in IE8. Once I turned it off, things worked as expected.
May 9, 2010 at 7:11 am #77299@mercime
ParticipantCaught in the first part of your post: “one root domain + multiple sub-domains with their own BP installs”
Not possible yet, It’s been discussed before and again here https://buddypress.org/community/groups/requests-feedback/forum/topic/multiple-budypress-networks-one-install/
Who knows, possibly after WP 3.0 /BP 1.3, there’ll be a plugin to do so.May 9, 2010 at 5:30 am #77297In reply to: Changing BuddyPress Base URL
thomallen
MemberJeff:
If you look at this URL https://buddypress.org/community/members/ I see that community is in front of members. What is community? Is it just part of the URL, is it one of the plugins?
But that is exactly what I want. I want to add the work community in front of all the BuddyPress urls.
May 9, 2010 at 3:46 am #77294In reply to: Child Theme Question from Super Noob
agrundner
Member@rebeccageiger I checked out your screencast. To edit the style.css file (not folder) through your cPanel File Manager you’ll have to click on the HTML or Code Editor buttons at the top. That should show you a blank file that you can cut ‘n paste the code you wish to add. After that follow @r-a-y‘s instructions to activate the theme and then you’ll be able to edit your files in WordPress under Appearance > Editor.
Essentially what you’re doing when following the BP child theme instructions is importing the CSS files from the default BP theme — you’ll need to add your own overriding style instructions to your new theme’s style.css file (underneath the CSS Inherit text).
Heads up: making a child theme isn’t as easy as it sounds. You’ll have to know CSS pretty well to know what areas from the default BP theme style.css to alter/override to create the child theme to your liking. For a newbie, I’d recommend downloading a free theme where you can edit the site name and maybe its header color. However, if you want to dive in head first, try downloading a simple, free theme and edit its style.css file to see what happens (I’d stay away from tweaking the default BP theme in case you get around to making a child theme at a latter time). Good luck!
May 9, 2010 at 3:29 am #77292In reply to: Child Theme Question from Super Noob
pcwriter
ParticipantTry Arachnophilia from http://www.arachnoid.com/arachnophilia/
You can edit pretty much anything with it.As for a child theme, here’s one way of thinking about it: the style.css file IS your child theme. Well, the skeleton anyway; the rest is muscle.
Like r-a-y says, just create the style.css file as per the instructions in the codex: https://codex.buddypress.org/how-to-guides/building-a-buddypress-child-theme/
You’ll need to enable the theme in Site Admin > Themes before you can activate it in Appearance > Themes though.Have fun!
May 9, 2010 at 3:16 am #77290In reply to: Profile won’t show up
Rebecca Geiger
ParticipantI hope I have the right thread to question.. I would like also to have a cool profile that buddypress has on this site.. perhaps is this a plugin? or is this a widget? something that I have to give permissions for?
a ton of thanks
May 9, 2010 at 2:36 am #77288In reply to: Here come the spammers!!!
foxly
ParticipantPART 3 – STRONG -vs- WEAK METHODS
When it comes to spam on BP sites, you’ll see all sorts of stuff posted on blogs saying “change [whatever] on your site and your spam problem will disappear”.
Truthfully, a lot of these tricks will actually work …for a while… but eventually, the spammer makes a minor change to their bot, and they’re back in business. In fact, many of the leading blog spamming packages include sophisticated logging features to catch the errors that “uniquely configured” blogs generate and help the spammer quickly fix the “problem”.
If we’re going to have a reliable anti-spam solution for BuddyPress, we should probably focus on “Mathematically Strong” methods, not on “Obfuscation” and “Moving Things Around”. That way, we won’t have to constantly change our spam protection methods.
Changing Page Slugs
Many people recommend changing the page slugs on BP installations to reduce spam. While this is certainly easy to do, you of course need to give your users *links* to those page slugs somewhere on your site so they can actually visit the pages. And if users can follow the links, so can a spam bot.
Changing page slugs is kind of like boarding-up the front door of your house, installing a new door in the side of your house, and then attaching a piece of string from the front door to the side door of so everyone can find the new door.
The “change your page slugs” approach seems to come from the “change your admin menu URL” technique. Changing your admin menu URL is actually a *strong* protection technique. Since there is no link to it anywhere on the site and you’re the only one that knows the URL, it’s like having two passwords on your admin login. An attacker would have to try billions of URL’s to find it.
Not so with all the other URL’s on your site. They have to be linked off other pages so your users can find them.
Adding Fake Form Fields
Many people recommend adding a few extra fields to forms throughout your site (sign-up, login, post to group, etc) and “hiding” these fields using CSS. If any of the “trap” fields are filled out, in theory, you’ve just detected a bot, because a normal user would never see the fields and fill them out.
This approach *might* defeat a very simple bot that searches every web page it can find for forms, and fills every field in every form with random spam; but it will not defeat a bot that understands CSS or is specifically targeted at BuddyPress, especially considering that BuddyPress is *open source*.
Don’t think bots can analyze CSS? Read this: http://www.google.com/support/webmasters/bin/answer.py?answer=66353
A bot designer can simply read through the BP source code and discover the names of the fields that should be filled in and the names of the fields that should be left empty.
To use our “house” analogy, adding extra form fields is like installing 3 front doors on your house and rigging two of them with grenades …then hanging a big red “out of order” sign on the the two rigged doors so your friends don’t use them.
Obviously if your friends can read the signs, so can your enemies.
JavaScript Proof of Work
Javascript proof of work (Wp Hashcash) defeats spammers by making visitor’s web browsers solve a math problem in JavaScript before they are allowed to post.
Because everyone knows spam bots can’t run JavaScript.
http://forums.digitalpoint.com/showthread.php?t=1124949
http://www.scrapebox.com/
http://blogcommentdemon.com/
http://www.senuke.com
http://www.botmasternet.com/more1/Except when they can.

There’s also the issue of what to do with visitors that don’t have JavaScript enabled.
The WordPress and BuddyPress development teams have put an epic amount of work into ensuring both platforms will work reliably when JavaScript isn’t available. Requiring users to have JavaScript to post any kind of content to the site nullifies much of this work.
Proof-of-work was a great idea back in 1997 when spammers ran hundreds of attack threads from a single server and solving the JavaScript math problems slowed it to a crawl.
In 1997, we’d be dealing with a single spammer running 1000 attack threads against the site. Because the spammer was running 1000 threads, each of which would have to solve the JavaScript problem, they would effectively be penalized 1000 fold over a normal user. The end result is they would only be able to run a few threads before their computer slowed to a crawl and their spamming abilities would be sharply limited.
Epic win for site.
Unfortunately, things are different in 2010.
Spam bots have become the tool of choice for basement SEO marketers. Instead of a few members of the “spam elite”, we’re dealing with tens of thousands of “do it yourself” spammers each running 1 attack thread using the new “automatic backlink software” they just picked up for $29.00 off some random SEO website. Instead of fighting one spammer splitting their resources across a thousand threads, we’re fighting a thousand spammers running a single thread dedicated *just to our site*.
Skipping a ton of math, what this means, is that in order to cause a spammer a 1-second delay while their computer solves our JavaScript challenge, we have to cause each of our *legitimate users* a 1 second delay while *their* computer solves our JavaScript challenge. And, considering the 3 to 5 second database lag I see on 90% of the BP sites I visit, the challenge would need to take much longer than a second to have any merit at all …otherwise page refresh time would be the limiting factor, not the JS challenge.
So what happens when a user visits the site using a computer that is much slower than a typical desktop …say a mobile phone or an old laptop? The challenge would take proportionally longer to complete. A challenge that requires 5 seconds to solve on a desktop PC, could take 30 seconds on an iphone …and 30 second response times would not make for an enjoyable user experience.
Overall, proof-of-work challenges are probably not a good choice in the 2010 Internet landscape.
Mathematically Strong Methods
In the next post, I’ll cover the specific details of the methods I’ve proposed for the BP spam solution, and why they will defeat most spam attacks.
^F^
May 9, 2010 at 2:14 am #77287In reply to: Here come the spammers!!!
foxly
ParticipantAdd a “refresh” button beside the captcha that allows the user to flip through multiple captchas until they find one they like.
^F^
May 9, 2010 at 1:42 am #77284In reply to: Here come the spammers!!!
foxly
ParticipantLast I heard, BuddyPress does not run activity stream posts, or anything else, through Aksmet …it’s wide-open and that’s what’s causing the problem!
If you install the WP Akismet plugin, it runs *blog comments* through Akismet, but that’s it.
See why I’m really concerned and am putting work into this?

^F^
May 9, 2010 at 1:34 am #77283In reply to: Installation gives a blank screen
LPH2005
Participant@elbaina The memory_limit on that server is set to 32M and that may be too low. You should start your own thread that is specific to your server configuration as well as the version of WP and BP. Others here can help.
May 9, 2010 at 1:31 am #77282In reply to: Here come the spammers!!!
thekmen
Participantalso, while harder to combat but still surprised akismet didn’t kill the last post from @alstinwalker, lets not forget the link juice/indexing spammers, 5 mins with a post like that can give them the results they require.
May 9, 2010 at 1:26 am #77280rossagrant
ParticipantWhen someone uses the @username are you supposed to get a notification because you don’t. It says you do when you click on the ? next to the @username on someones profile but you only get it appearing under the @mentions. It would be good to get a notification wouldn’t it?
With regards to names, their should just be one username that is used for everything on the front end. The first and Last name is useful in the backend but out on the site just ONE global name is essential in my eyes!
May 9, 2010 at 1:25 am #77279agrundner
MemberAgree with both statements above. The @mention process isn’t intuitive for a newbie when a member’s display name is different than their username. Perfect example above… Andrea is the display name, but to @mention her I would have to use @catagirl (found by clicking through or hovering over her member name link).
May 9, 2010 at 1:14 am #77277Andrea
Participant@rossagrant Yes i’m the same… this username Vs name thing is really annoying. I posted the same message a few days ago, hopefully someone will give us an answer.
Also, I think that when you reply to someone, it should automatically fill in the @username of the person. (like i did at the beginning of this reply ;o)…
May 9, 2010 at 1:11 am #77276In reply to: Here come the spammers!!!
thekmen
ParticipantGreat posts & solutions @foxly.
I am eagerly awaiting the next release of BP Album+, but would happily wait till this major issue is sorted out.
Even on this site the spam is becoming more evident & annoying by the day.
As it is, there is no way I would roll out BuddyPress out to my larger sites, if https://buddypress.org/community/activity/ can’t keep the spam off the activity stream, what chance do us wanting to implement BuddyPress have?May 8, 2010 at 11:58 pm #77273In reply to: Here come the spammers!!!
foxly
ParticipantPART 2 – DEFEATING SPAMMERS
In the last post I covered why and how spammers attack BP installations. This post will cover how I propose to counter them.
Fast Attacks -vs- Slow Attacks
There are two basic kinds of spam attacks that get run on social networks: “fast” or “flood” attacks, and “slow” attacks.
In a fast attack, the spammer signs up for an account on the site, then sends thousands of messages as quickly as possible.
Obviously, the site admin will be deluged with complaints about the spam user and quickly delete their account …but in the hours (or days) it takes the admin to respond, hundreds and hundreds of people will read the spam messages. Then the spammer signs up for another account, and repeats the process.
In a “slow” attack, the spammer signs up for *hundreds* of accounts on the system, often over a period of many months, and only sends out spam messages one at a time …often days, weeks, or months apart.
“Slow” attacks are very difficult to counter using automation …at least without annoying legitimate users.
The best way people have come up with so far is just a “report spam” button which, when clicked, reports the member to an admin so they can investigate it and if necessary delete the account. This will be implemented as part of @francescolaffi ‘s BP content moderation plugin in a couple of months.
Unfortunately, a “report spam” button doesn’t work well against “fast” attacks.
This is because:
a) There is a delay while the admin responds to manually submitted spam reports, or,
b) When a consensus scheme is used (if X users report a member their account gets suspended), there is a delay while enough votes are accumulated to flag the member as a spammer.During that time, people are reading the spam messages and the spammer is winning.
Goals of Proposed BP Core Anti-Spam Mods
The goal of the proposed core modifications is to counter “fast” attacks by the following means:
1) To make it difficult for a spammer to create large numbers of member accounts using automated means.
2) To make it difficult for a spammer that already has a member account to use automated means to:
a) send large volumes of PM’s
b) send large numbers of friend requests
c) create large numbers of groups
d) create large numbers of group posts
e) post large numbers of comments
f) post large numbers of status updates3) To accomplish 1) and 2) without being annoying to legitimate users.
4) To make the system configurable, so it can be adapted to the needs of the site …for example: visually impaired users, or display on mobile phones.
5) To make the system “on by default” and “secure by default”
How We Can Accomplish This
1) New User Sign-up
a) Add a captcha on the new account sign-up screen.
b) If the “user” gets the captcha wrong on the first try, require *TWO* captchas to be solved before they can proceed. (If the odds of a bot solving ONE captcha with OCR are 1 in 100, the odds of the bot solving TWO captchas with OCR are 1 in 10,000. This is a technique Gmail uses.)…set X to be a random number on each installation between 3 and 7…
c) If the user gets X captchas wrong in a row, block their IP for a random amount of time (15 minutes to 2 hours). (This is what Craigslist does)
d) If the user fails X captchas *again* after being blocked, permanently ban their IP and post it to akismet.
e) If a locally banned IP tries to sign-up, don’t throw an “error page”. Completely ignore the request and don’t send anything.
f) If an akismet banned IP tries to sign up, require *TWO* captchas to be solved on the first try, and if they get X captchas wrong in a row, permanently ban their IP and repost it to akismet.
g) Add an option field to the admin menu that limits the number of accounts that can be created per IP address. By default, set it at 2.2) Existing User Sign-In
a) Use a “normal” password box on first sign-in attempt.
b) If the member gets their password wrong on the first try, require them to solve a captcha on the second try. Offer password recovery option.
c) If the member gets their password wrong on the second try, require *TWO* captchas to be solved before they can proceed. Offer password recovery option.…set X to be a random number on each installation between 3 and 7…
d) If the user gets X logins / captchas wrong in a row, block the visitor’s IP for a random amount of time (15 minutes to 2 hours).
3) Private Messages
a) Add a field to the user table that allows PM limiting to be bypassed or set to a unique value on a user-per-user basis.
b) Add three option fields on the admin menu: allow “X” messages to be sent every 24 hours, averaged over the past “Y” hours with “Z” hysteresis
…when BP is installed, randomly set X, Y, and Z to allow a daily maximum of between 18 and 24 messages, averaged over between 2 and 24 hours, +/- 3 messages.
c) If the maximum is exceeded, require the member to solve a captcha before they can send another PM.
d) If they get the first captcha wrong, require them to solve two captchas before they can send another PM.…set R to be a random number on each installation between 3 and 7…
e) If the user gets R captchas wrong in a row, block their IP for a random amount of time (15 minutes to 2 hours). (This is what Craigslist does)
f) If the user fails R captchas *again* after being blocked, permanently ban their IP and post it to akismet.
g) If a locally banned IP tries to visit the site, don’t throw an “error page”. Completely ignore the request and don’t send anything.Consider how difficult the algorithm above makes it to send automated messages. A spammer can’t just send “12 messages a day” or “1 message an hour” and avoid triggering the system. Every BP installation will have a unique combination that will cause it to trip. Yet for a “normal” user, the system will hardly ever trip, and if it does, it takes all of 5 seconds to enter a captcha and continue. And the system can be bypassed entirely for edge cases, like paid advertisers or site news.
3) Friend Requests
a) Create a config option in BuddyPress that allows the admin to remove the member’s directory with one click. Disable the member directory by “default” on new installs. In my experience, the only people that use the member’s directory (in its default state, on a socially oriented site) are Spammers, Marketers, and Competitors. There’s a reason Facebook, MySpace, LinkedIn, and Twitter do not have “global” member directories.
b) Implement same scheme as private messages.4) Group Creation
a) Add a field to the user table that allows Group limiting to be bypassed or set to a unique value on a user-per-user basis.
b) Add an option field on the admin menu that sets a maximum number of groups that can be created by a user. By default, set it at 5.5) Group Posts
a) Add a field to the user table that allows group post limiting to be bypassed or set to a unique value on a user-per-user basis.
b) Create a “whitelist” field on the admin page that allows “trusted” media sharing URL’s like YouTube, Revver, Flickr, etc to be bypassed in spam protection.
c) Create an option that automatically “scrubs” URL’s and email addresses from group posts if they are not on the whitelist. Not just “nofollow” …complete removal. This will stop 90% of abuse dead in its tracks, because most spammers are just trying to get traffic to a site or replies to an email.
d) If the system detects a URL or email address embedded in a message, and it’s not on the whitelist, require a captcha to be solved before allowing the post.
e) If they get the first captcha wrong, require them to solve two captchas before approving the post.…set R to be a random number on each installation between 3 and 7…
f) If the user gets R captchas wrong in a row, block their IP for a random amount of time (15 minutes to 2 hours).
g) If the user fails R captchas *again* after being blocked, permanently ban their IP and post it to akismet.
h) If a locally banned IP tries to visit the site, don’t throw an “error page”. Completely ignore the request and don’t send anything.i) For posts that do not contain a URL or email address, run the post through akismet. If it passes, approve the post. If it fails, require a captcha to be solved before allowing the post.
j) If they get the first captcha wrong, require them to solve two captchas before approving the post.
k) If the user gets R captchas wrong in a row, block their IP for a random amount of time (15 minutes to 2 hours).
l) If the user fails R captchas *again* after being blocked, permanently ban their IP and post it to akismet.
m) If a locally banned IP tries to visit the site, don’t throw an “error page”. Completely ignore the request and don’t send anything.6) Comments
a) Create an admin option that only allows users to comment on their *friend’s* items. Activate it by default on new BP installations.
7) Status Updates
a) Add a field to the user table that allows status update limiting to be bypassed or set to a unique value on a user-per-user basis.
b) Create a “whitelist” field on the admin page that allows “trusted” media sharing URL’s like YouTube, Revver, Flickr, etc to be bypassed in spam protection.
c) Create an option that automatically “scrubs” URL’s and email addresses from status updates if they are not on the whitelist. Not just “nofollow” …complete removal. This will stop 90% of abuse dead in its tracks, because most spammers are just trying to get traffic to a site or replies to an email.
d) If the system detects a URL or email address embedded in a message, and it’s not on the whitelist, require a captcha to be solved before allowing the activity stream post.
e) If they get the first captcha wrong, require them to solve two captchas before approving the activity stream post.…set R to be a random number on each installation between 3 and 7…
f) If the user gets R captchas wrong in a row, block their IP for a random amount of time (15 minutes to 2 hours).
g) If the user fails R captchas *again* after being blocked, permanently ban their IP and post it to akismet.
h) If a locally banned IP tries to visit the site, don’t throw an “error page”. Completely ignore the request and don’t send anything.i) For activity stream posts that do not contain a URL or email address, run the post through akismet. If it passes, approve the post. If it fails, require a captcha to be solved before allowing the post.
j) If they get the first captcha wrong, require them to solve two captchas before approving the post.
k) If the user gets R captchas wrong in a row, block their IP for a random amount of time (15 minutes to 2 hours).
l) If the user fails R captchas *again* after being blocked, permanently ban their IP and post it to akismet.
m) If a locally banned IP tries to visit the site, don’t throw an “error page”. Completely ignore the request and don’t send anything.8 ) In All Cases
a) When a member account is banned, or repeatedly triggers spam protection measures, send an alert to the site administrator.
b) Allow admin alerts to be disabled if necessary, example: DDOS attack against the site.9) CONCLUSION
While the list of modifications above may look incredibly complicated, really, it’s not.
I’d say “worst case” it’s about a week of work to research and make these modifications. Then we can push it out into beta testing with all the other new code to give it a proper shakedown.
I’m sure there are plenty of ways the algorithms above could be improved, so please go ahead and post your feedback!
Thanks!
^F^
May 8, 2010 at 11:56 pm #77271In reply to: BuddyPress and WordPress 3.0
Edward Caissie
ParticipantThanks for all the reading material …
WP 3.0-Beta2-14508 + BP 1.2.3 (all freshly installed on a clean server)
… with steps 1 and 2 only from @Phlux0r‘s post above: https://buddypress.org/community/groups/miscellaneous/forum/topic/buddypress-and-wordpress-30/?topic_page=2&num=15#post-50233
… and replacing the bp-core-avatars.php code completely with this from trac: https://trac.buddypress.org/browser/branches/1.2/bp-core/bp-core-avatars.php?rev=2957All seems to be working quite well.
Thanks!
May 8, 2010 at 11:24 pm #77270thekmen
ParticipantFinding the latest forum post on a plugin takes at least 4 clicks & is a bit of a nightmare.
Finding this thread to post in was a bigger nightmare, usability is still seriously messed up here even after been on every day since the site redesign.May 8, 2010 at 10:15 pm #77264In reply to: Following / Followers at testbp.org
abcde666
Participantanother issue:
when I click on “edit” of my previous post, then the @andy gets converted to the follwing HTML-code:
a href=’https://buddypress.org/community/members/andy/’ rel=’nofollow’> @andy</a
May 8, 2010 at 10:13 pm #77263In reply to: Following / Followers at testbp.org
abcde666
Participant@andy
I am following actually a few people here at buddypress.org , but I do not receive e-mail-notifications on updates of those people I am following.
So what is the point of following someone at buddypress.org ?May 8, 2010 at 8:55 pm #77256cpkid2
ParticipantI fixed it by following directions here: http://www.thesaucymare.co.za/2010/01/wordpressbuddypress-meta-title-tag-not-working/comment-page-1/#comment-182
Maybe this will help others w/ the same problem.
May 8, 2010 at 8:48 pm #77255In reply to: What Buddypress & WordPress blogs do you follow?
Paul Wong-Gibbs
KeymasterSigh. Off topic!
http://byotos.com — I have a growing number of coding and BuddyPress-related articles, it’s still quite new. I’m using it as a hub for Achievements and Welcome Pack news updates, too.
-
AuthorSearch Results