Forum Replies Created
-
In reply to: email creating
This sounds very difficult to do. To my knowledge it’s not possible to do in an automated fashion, or at least, not without a whole lot of work from a developer.
In reply to: [Resolved] Set Buddypress Full-Width Pages?You can use some conditionals to determine if you’re on the activity page or members page, etc.
bp_is_current_component( ‘members’ )
bp_is_current_component( ‘activity’ )In reply to: Logout redirect not work when installing BPThat htaccess looks okay, but maybe it’s corrupted in some way. You could delete your htaccess (back up first) and then go to Settings > Permalinks and update the permalinks. This should automatically recreate your htaccess, which will rule that issue out.
You could try adding these lines into your htaccess, below the other stuff:
AddType x-mapp-php5 .php
AddHandler x-mapp-php5 .phpYou could also try deactivating other plugins, and only activate BuddyPress, and see what happens. Maybe another plugin related to redirects is causing the problem.
Beyond that, contact your web host..
In reply to: Stop BuddyPress SPAM@culsire_ceo That code should add a working honeypot for you. Curious to find out if it helps on your site. It won’t remove 100%, but every little bit helps.
In reply to: scalablity of buddypressHappy to help.
WordCamps are fun. I went to my first one in Chicago and met a lot of great people and learned quite a bit. I recommend going if one ever comes up near where you live.
For capacity, start another thread. You can @ mention me if you want. Btw I’m not a forum moderator so I’m not really an authority haha. But best to always start a new thread for a new topic.
In reply to: scalablity of buddypress1GB RAM is a minimum, 2GB RAM is ideal. As you scale up you may need more. On a good server setup you can actually see live (via SSH) how much of your RAM is being used up and how much is free. If you’re bottlenecking, you can contact the hosting company to add more RAM or bump you up to the next server. That is not the same as migrating to a new host… if it’s within the same company they should handle it for you seamlessly in the background.
Another option is to use Amazon (AWS) instead of a private server and it just scales up automatically as needed – they mostly charge by data rather than by server. They will be more expensive for most sites and will be slightly harder to set up, but they are also incredibly scalable.
A CDN isn’t really a “cache” in the way you imagine W3 working. It’s only caching resources (stylesheets, images, javascript files, etc) but not caching “content”. Your resources usually don’t go stale because they are not updated often. And if you do it properly, the cache can be broken any time you update a resource (by adding a version number to the enqueue in your theme). The version number gets appended to the URL of the resource, so if it changes the CDN thinks it’s a different file and immediately serves up a new file.
Content does go stale. By content I mean the data that is outputting for everyone to see right on the website. Like a profile, activity page, member directory, etc. This is the stuff that plugins like W3 are primarily used to cache (among other things as well).
You can integrate a CDN very easily using WP Super Cache. You can just turn off the content caching stuff and use it only for pushing your resources into a CDN. It’s a set it and forget it kind of setup for the most part.
If you happen to be in the Miami area on May 9, I’ll be speaking about scaling BuddyPress at the BuddyCamp (1st day of WordCamp Miami). http://2014.miami.wordcamp.org/
Should be a fun event.In reply to: Stop BuddyPress SPAM@virtualgeorge Glad that worked for you
No problem. Glad to hear it’s all working now.
I thought I read somewhere it was best to have WP set up as multisite. I may start another site at somepoint… you recommend it being single?
WP should be installed as single. BuddyPress too. Keep it simple. If you have a need for multisite you can enable it later, but don’t do it for no reason. It will add complexity to your setup for no benefit, unless you need multiple sites in one install.
Yes this link is a dead giveaway that something is wrong with how your site is creating links:
http://www.hout.us/Hout.US/index.php/about/The /index.php/ does not normally show up in a WordPress site. No .php or .html extensions are normal. WordPress creates a virtual link structure that you assign to it so everything looks pretty. Something is off.
@matthewhout may be correct that you’re on a windows IIS server. I’ve never used one so I wouldn’t really know.
I suggest you contact your web host and ask a few questions:
1. Do you have a working .htaccess file? You can tell them it should be in the root directory, same directory as wp-config.php.
2. Is the server correctly running apache?
In reply to: Is BuddyPress right for this project?No problem. Sounds good man.
In reply to: Is BuddyPress right for this project?For their own URL, this will happen automatically with BuddyPress. So to use your example, by default it would be: http://samplesite.com/members/tom-jones
These two membership plugins are both known to play well with BP:
Responsive.. sounds cool. Yeah BuddyPress will adopt your theme just like any other plugin. So you can design the theme from scratch. BuddyPress has its own HTML content that it will inject into the page via the_content, so you can style it with that in mind. It has its own stylesheet that you can build around, or deregister if you wanna go all out with your custom styles.
In reply to: Deleting Buddypress DataDid you follow the part titled “Advanced Optional Step: Removing the database tables”.
That is the key to your question. The settings are all stored in the database tables. BuddyPress does not have an option to purge the database settings upon deactivation. You have to manually delete the tables.
Be careful! You could screw up your whole site if you remove the wrong tables. Definitely back up your database before attempting any of that.
In reply to: 404 Page Not FoundTry resetting your Permalinks, and making sure you have a working htaccess file. 404 errors often happen with permalink/htaccess issues.
In reply to: How to stop spam registrationsI have thought about this a lot as well. BuddyPress spam is SO obvious for a human to figure out. You can detect spammers with almost perfect accuracy in just a few seconds. They all do the same thing. They create an account, then post garbage links. If you have Groups enabled, they create groups full of links in the description. I don’t know of a plugin that will do this, but the best way to block BP spam I think would be to put users in moderation if they post links to groups or activity, just like the setting we have for blog post comments.
Ok so, first delete the image map.
Then in the file header.php in your theme, you can add this code:
<!-- Register/Login links for logged out users --> <?php if ( !is_user_logged_in() ) : ?> <div class="header-login"> <a href="<?php echo wp_login_url( $redirect ); ?>" class="button">Login</a> <?php if ( bp_get_signup_allowed() ) : ?> <a href="<?php echo bp_get_signup_page(); ?>">Register</a> <?php endif; ?> </div> <?php endif; ?>Basically it first checks to see if the user is NOT logged in.
If that condition is met (user is logged out) then it displays a link to Login and then a link to Register (if registration is open).I put the whole thing into a DIV element called .header-login which you can used to style the section via CSS. At first it may not look like much – just two links. You or your developer will need to edit the CSS. Maybe if you get it working correctly but it looks bad, you can come back to the forums here and post again about how to style it.
In reply to: hide author and date in postCool, glad you got it resolved.
In reply to: hide author and date in postDo you mind posting a link to the specific page? It would make it easy to give you a solution (CSS method).
I don’t have a quick fix, but your theme is doing some odd things. Instead of loading links it’s loading an image map and making part of the image map clickable, I guess to allow for a custom font (an image looking font) for the login/register. This is not going to work well in a responsive setup where the page is skinnier than the design was intended for.
Any chance you can get the theme developer to ditch the image map and replace the Login/Register with more traditional links? It would make this very easy to fix.
In reply to: 404 on requesting membership to a groupIn reply to: 404 on requesting membership to a groupI would suggest checking out this BuddyPress ticket:
https://buddypress.trac.wordpress.org/ticket/5140That’s likely the cause. This bug has been documented.
In reply to: Is BuddyPress right for this project?Need to build a site for 1000+ members with profile pages. Imagine a company where each salesman has their own page. The profile pages will allow them to post information, links, videos, etc. on a single page with their own url off the site.
BuddyPress could be used for this, with some customizing. You’ll have to elaborate on what you mean by “with their own url off the site”.
I also need logged in members to have access to other areas of the site based on their membership level.
A membership plugin will be necessary for this.
Need this to be responsive, and I need to be able to style.
That all comes down to the theme you pick. Whether you use BuddyPress or a membership plugin or neither makes very little difference. Responsive layout is all determined by the theme.
A 404 error is when the server cannot access a link. Usually a broken or dead link. WordPress uses “pretty permalinks” which basically means it creates virtual links for your site using a structure that you assign to it. If this system is messed up you may get 404 errors all over the place.
First idea: Go to Settings > Permalinks and set the Permalinks to default. Test your site, and then set Permalinks back to whatever custom structure you had set up. Might fix it.
Second idea: Make sure you have a page assigned to each BuddyPress component, at Settings > BuddyPress. If not, WordPress may not know where to access the BuddyPress pages and may return 404 errors.
In reply to: Notifications tab seems to break siteLook in your themes for the template file:
wp-content/themes/[theme-name]/buddypress/members/single/home.php
If that exists, and is from an older theme, look for a “notification” section in there. If it’s missing this will break the loading of your notifications page.
In this section:
do_action( 'bp_before_member_body' );After this line:
elseif ( bp_is_user_forums() ) : bp_get_template_part( 'members/single/forums' );Add:
elseif ( function_exists('bp_is_user_notifications') && bp_is_user_notifications() ) : bp_get_template_part( 'members/single/notifications' );That allows the profile to load the notification template.
In reply to: Stop BuddyPress SPAMAwesome, I didn’t know about NinjaFirewall until now.
Change your “Admin” username to something dificult
Yes, this is very important. Not to stop spammers as much as to stop your site from getting hacked. Brute force hacking is infinitely harder if they have to guess the username AND password correctly at the SAME time. Just about impossible. If they know the username is “admin” they only have to guess the password, which is actually possible if they hammer your site all day.