Forum Replies Created
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.
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.
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…
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.
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.
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.
Congratulations Team BP, thanks for all your dedication and hard work, it’s appreciated.
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…
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().
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?
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.
@mercime — great, thanks for that. I was looking at a different page and didn’t see such a link, but I have it now.
Sorry, dumb question, but what’s the quickest way to download the 1.7 trunk. If I go to the link in a browser and have to drill down through every directory and manually download every file one by one it will take forever. There is no doubt a way to suck it down in one go, but I don’t know it…
Hi John, thanks for the update.
I’m starting a new project. You are probably sick of being asked about when 1.7 is due, but is there a rundown somewhere of what significant changes it will bring.
In particular, “works with any theme” rather than requiring bp template pack to be used presumably will involve some fairly major changes. Can you explain what it will mean in practice, and give a heads up to anything else important?
Thanks — and don’t let me interrupt your coding.