Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 25 replies - 1 through 25 (of 134 total)
  • Avatar of BuddyBoss
    BuddyBoss
    Participant

    @buddyboss

    @eiellie This sounds like a fun project. I just sent you an email about it.

    Avatar of BuddyBoss
    BuddyBoss
    Participant

    @buddyboss

    I see. I’m honestly not sure as I don’t know how the shortcode system is working. It sounds like it’s appending the Friends URI to the existing URL. I would contact the theme developer on this one.

    Avatar of BuddyBoss
    BuddyBoss
    Participant

    @buddyboss

    I see you’re using BuddyBoss, awesome! If you have other mobile issues with it just come to our support forums :)

    Avatar of BuddyBoss
    BuddyBoss
    Participant

    @buddyboss

    Can you post the exact code you’re using to produce the button?

    Avatar of BuddyBoss
    BuddyBoss
    Participant

    @buddyboss

    Fragment caching would be ideal, but that really needs to be built into BP core. You can do it on your own but you’ll be hacking up template files right and left and it will be hard to update later. A lot of effort if you don’t NEED it. I would suggest Object Caching as Paul Gibbs said.

    Ideally you will use APC object caching as it’s really fast (stores cached values in RAM). If you use W3TC with file caching (default) it will not be as fast as it has to read from files.

    Here’s a tutorial I wrote about how to enable Object Caching on BuddyPress:

    http://www.buddyboss.com/tutorials/caching-buddypress/

    Briefly:

    If you are hosting with a VPS or other setup where you have server admin access, you can contact your web host and request that they install APC on your server (it’s free) and then it will be available to you as a very fast method for Object Caching. Generally you cannot install APC on a shared hosting environment. APC stores the cached values in RAM, which is why I recommend at least 2GB of RAM for ideal server performance.

    Once your web host has confirmed that APC is installed and working, you will then need to enable it for WordPress with a plugin. My recommended method is with the APC Object Cache Backend plugin (as Paul Gibbs suggested). This is not a true plugin, but rather a “drop-in” file. As such, you do not actually activate the plugin. You just need to copy the object-cache.php file into your /wp-content/ directory. You don’t even need to upload the actual plugin. That’s it! As long as you have APC installed on your server and have placed the file correctly, APC-powered Object Caching should now be enabled and you should begin seeing performance improvements. To confirm that it’s working, you can type this into your browser while logged in as an admin: http://www.yourdomain.com/wp-admin/plugins.php?plugin_status=dropins (change yourdomain.com!). It should show APC Object Cache as a drop-in, and if so, you now have a good caching method enabled.

    Avatar of BuddyBoss
    BuddyBoss
    Participant

    @buddyboss

    And here’s a tutorial for setting up a CDN with WordPress/BuddyPress. This makes such a big difference and is really easy and cheap to set up. A no brainer.

    http://www.buddyboss.com/tutorials/content-delivery-network/

    Avatar of BuddyBoss
    BuddyBoss
    Participant

    @buddyboss

    Here’s a tutorial I wrote about how to enable Object Caching on BuddyPress:

    http://www.buddyboss.com/tutorials/caching-buddypress/

    Briefly:

    If you are hosting with a VPS or other setup where you have server admin access, you can contact your web host and request that they install APC on your server (it’s free) and then it will be available to you as a very fast method for Object Caching. Generally you cannot install APC on a shared hosting environment. APC stores the cached values in RAM, which is why I recommend at least 2GB of RAM for ideal server performance.

    Once your web host has confirmed that APC is installed and working, you will then need to enable it for WordPress with a plugin. My recommended method is with the APC Object Cache Backend plugin (as Paul Gibbs suggested). This is not a true plugin, but rather a “drop-in” file. As such, you do not actually activate the plugin. You just need to copy the object-cache.php file into your /wp-content/ directory. You don’t even need to upload the actual plugin. That’s it! As long as you have APC installed on your server and have placed the file correctly, APC-powered Object Caching should now be enabled and you should begin seeing performance improvements. To confirm that it’s working, you can type this into your browser while logged in as an admin: http://www.yourdomain.com/wp-admin/plugins.php?plugin_status=dropins (change yourdomain.com!). It should show APC Object Cache as a drop-in, and if so, you now have a good caching method enabled.

    Avatar of BuddyBoss
    BuddyBoss
    Participant

    @buddyboss

    You could use bp_loggedin_user_domain() which will direct you to the current logged in user’s profile. Then append the link structure to the content you’re trying to take them to.

    So for example, this would take you to the current logged in user’s Change Avatar screen.

    <a class="button" href="<?php echo bp_loggedin_user_domain() ?>profile/change-avatar">Change Avatar</a>

    Avatar of BuddyBoss
    BuddyBoss
    Participant

    @buddyboss

    Also is there a specific error message? Or, it just doesn’t work…?

    Avatar of BuddyBoss
    BuddyBoss
    Participant

    @buddyboss

    Avatar of BuddyBoss
    BuddyBoss
    Participant

    @buddyboss

    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.

    Avatar of BuddyBoss
    BuddyBoss
    Participant

    @buddyboss

    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’ )

    Avatar of BuddyBoss
    BuddyBoss
    Participant

    @buddyboss

    That 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 .php

    You 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..

    Avatar of BuddyBoss
    BuddyBoss
    Participant

    @buddyboss

    Hey @tywest

    I’m also available to take on a new project.

    Contact us here: http://www.buddyboss.com/showcase/

    Or support @ buddyboss . com

    Best,
    Michael

    Avatar of BuddyBoss
    BuddyBoss
    Participant

    @buddyboss

    @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.

    Avatar of BuddyBoss
    BuddyBoss
    Participant

    @buddyboss

    Happy 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.

    Avatar of BuddyBoss
    BuddyBoss
    Participant

    @buddyboss

    1GB 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.

    Avatar of BuddyBoss
    BuddyBoss
    Participant

    @buddyboss

    @virtualgeorge Glad that worked for you

    Avatar of BuddyBoss
    BuddyBoss
    Participant

    @buddyboss

    No problem. Glad to hear it’s all working now.

    Avatar of BuddyBoss
    BuddyBoss
    Participant

    @buddyboss

    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.

    Avatar of BuddyBoss
    BuddyBoss
    Participant

    @buddyboss

    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?

    Avatar of BuddyBoss
    BuddyBoss
    Participant

    @buddyboss

    No problem. Sounds good man.

    Avatar of BuddyBoss
    BuddyBoss
    Participant

    @buddyboss

    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:

    https://premium.wpmudev.org/project/membership/

    http://www.s2member.com/

    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.

    Avatar of BuddyBoss
    BuddyBoss
    Participant

    @buddyboss

    Did 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.

    Avatar of BuddyBoss
    BuddyBoss
    Participant

    @buddyboss

    Try resetting your Permalinks, and making sure you have a working htaccess file. 404 errors often happen with permalink/htaccess issues.

Viewing 25 replies - 1 through 25 (of 134 total)