Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 11 replies - 26 through 36 (of 36 total)
  • @terraling

    Participant

    The BuddyPress team should be able to give you a better answer, but one thing I came across while deciding about whether to use BP or not was that in the UK the Daily Telegraph’s user section is based on a custom version of BuddyPress and, a year or so ago, was reported to have around 150,000 users, which at the time was thought to make it the biggest site in terms of active users.

    Since then BuddyPress 1.7 re-engineered queries to make them much faster when working with large DBs.

    I would have thought that if you get to a position where you are pushing the boundaries of what BuddyPress (and WordPress) are capable of, you should have the resources to invest in optimisation/customisation as required.

    All this assuming, of course, you are doing everything else possible to improve performance and are not running your mega-site on some cheap shared hosting plan.

    @terraling

    Participant

    Hi

    still get an error with the post, wherever I try to post it.

    ERROR: Your topic cannot be created at this time.

    Not obvious why it’s failing as it’s just plain text, and it posted at jobs.wordpress.net just fine.

    Ah, well. Anyone looking for a fab BuddyPress challenge head over there and check out the “PHP fiend wanted…” post.

    @terraling

    Participant

    thanks @modemlooper, I’ve seen you link there before and I’ve already posted there — I’m just waiting for it to go live to cross-post here as I lost the text when I had the problems posting here earlier.

    Cheers

    @terraling

    Participant

    Sorry, who’s going to contact me if I can’t post a job description?

    I’m looking for reasons why forum posts are likely to generate the above error so I can make sure I don’t trigger it when I try to post again…

    @terraling

    Participant

    I did think of that but it wouldn’t post elsewhere, either.

    It was a bit longer than normal maybe, but not very long. Referred to one .com in the text but didn’t contain a link as such.

    @terraling

    Participant

    Oh.

    Thanks. And thanks for the link, although reading it I’m now worried I’ve screwed my installation because of breaking the integrity of the serialized string lengths, whatever they are, ahem.

    @terraling

    Participant

    Update: looking in the database at the wp_bp_activity table in the database I see that the links all point to localhost.

    I’m assuming I’m not the first person to ever move a buddypress install, is there something I should have done differently that would have made sure these links were updated?

    I have done a global replace of localhost in the database to fix it, but I’d rather not have it come up again.

    @terraling

    Participant

    Sorry, I missed the array() out of my example.

    The slug of my page is actually “talk-of-the-town”, it is the static front-page of the site and has the buddypress activity page assigned to it. The page id is 95.

    None of these tests identify the page, although they do identify the other pages in the list:

    is_page(array('page1','page2','page3','talk-of-the-town'))  ? get_template_part('filters') : get_sidebar();
    is_page(array('page1','page2','page3','95'))  ? get_template_part('filters') : get_sidebar();
    is_page(array('page1','page2','page3','activity'))  ? get_template_part('filters') : get_sidebar();

    bp_is_page(‘activity’) does work.

    I have the same problem with the groups page, btw.

    The above is by way of information. The test is to load a special sidebar on certain pages, otherwise load the normal sidebar. I’m just going to reverse the test, to load the normal sidebar for other specified pages, otherwise load the special sidebar.

    Thanks for your help…

    @terraling

    Participant

    Why does is_page(‘activity’) not work?

    I don’t know, that’s why I posted the question.

    It seems that if you have a page which you assign one of the BP pages (eg activity) to, then BP somehow hijacks it so that WP is no longer able to recognise it by its slug or, in this case, using is_front_page().

    @terraling

    Participant

    OK, I tried using bp_is_page(‘activity’) and it [correction] DOES work,

    but I noticed dipping into the BP files that bp_is_page() is deprecated.

    There is no way to recognise the page using WP core functions is_page() or is_front_page(), true?

    @terraling

    Participant

    Okay, thanks I will try that, although it implies I can’t have a single test for multiple pages, but never mind, I can work around it.

    Thanks again…

Viewing 11 replies - 26 through 36 (of 36 total)
Skip to toolbar