Hi filosofo, it’s an honor to have you here (I learned alot from studying your WordPress plugins).
I take it you are trying to do “full” integration where bbPress and WordPress run together and I guess I didn’t think of that as I try to encourage people NOT to do that because of the massive amount of code that has to execute for every page rendered.
I meant the cookies should integrate, with simple (stand-alone) integration.
Having bbPress based on BackPress and WP not based on it yet is going to become a problem for people doing full intregration. I am not sure if Sam is willing to wrap all the functions in “function_exists” clauses.
It’s great that it works when you remove them – they must have copied the most recent WordPress functions.
For those that know what they are doing and have subversion, you can checkout or switch to the trunk of bbPress which will give you compatibility with WordPress 2.6
Are you sure it’s compatible? I’m getting fatal errors because the functions in bb-includes/backpress/functions.core.php
and bb-includes/backpress/functions.compat.php
, which are shared with WP, are all getting re-declared.
However, if I make those files blank, the integration seems to work.
You should post from now on on the WordPress.org support forum for WordPress help, but we can still help you here since we’re mostly familiar with WordPress and bbPress.
You do *not* need to edit the file, but it looks like you did based on that error, which is why we asked.
I would try uploading all the files again. Maybe something just got corrupted in that one file, or maybe more files.
If you need assistance, please contact me at the website listed in my profile.
If you do a curl -I http://example.com/
from the command line on a Linux or Mac machine, or check the response headers with Firebug or the Web Developer Toolbar (both Firefox add-ons) you will see the response header is a 404, but the page still loads. This has something to do with WordPress, I think.
I tried to load a page on your forum just now, to show you the header output, but I keep getting a “page load error.”
I change the Firefox icon to the IE icon on people’s desktop then remove IE from the desktop. It’s a hard habit to break but well worth it.
I think you *can* subscribe to a site feed from within Google Reader: that’s the whole point. Use the “Add Subscription” button and paste in the URL for the feed you want. That’s it.
After a lot of research, and looking at tumblr, then wordpress, then joomla, and now wordpress and bbpress, I think I almost may have made a decision. I want to create a site that is a blog on the front end, with the blog topics becoming forum discussions. Technically I don’t need bbpress to do this, but it seems to me that bbpress will facilitate better discussion. First, are there other sites that are already doing this, I would love to see how they operate?
Second, and maybe most important to me are the user profiles and the ability to let other users ranks each other posts to comments. I’m looking for some opinions on which extensions do this the best.
783349Inactive
Hi, so has this forum got nothing to do with wordpress? I tried to post on the word press forum and I couldn’t.
Please understand I am really new to everything computer.
I really need help. I didnt know I had to edit wp-includes/funtions.php.
Can you explain what I have to do. In basic language.
I really feel stupid when it comes to all this. trying to learn. sorry.If all esle fails do you know of any one that I can pay to fix this for me?
Thanks. Should I post here from now on or the word press forum if I can. hopefully I wont have to.
Oh yeah, I do already use Google’s reader – but you can’t actually subscribe to a site from within that, can you? And I have tried Firefox – I use it spasmodically. It’s illogical and even stupid of me, but I am so used to IE I find myself opening it up by default, as it were. No question, it is inferior to Firefox.
Did you add that to wp-config.php as the first line, right after the <?php
?
The error cannot redeclare
means something has already been included that it’s trying to include again.
http://www.google.com/search?q=Cannot+redeclare+_http_build_query()
https://bbpress.org/forums/topic/having-trouble-integrating-wp-functions
There are several different types of RSS feeds, so maybe some sites and some feeds are handled better than others.
If you are stuck using IE6 you’re going to need a feed reader. IE7 has one built in, and IE8 is due around the end of the year as well.
Once you try Firefox or IE7 (or any browser with tabs) I don’t see how you’d want to go back.
Here is more info about RSS readers:
http://blogspace.com/rss/readers
775251Inactive
Hi – I’m also trying to add access to bbpress functions inside WordPress. I took the advice above and added
require_once(‘path/to/bb-load.php’);
to my wp config file.
Now I get the following error:
Fatal error: Cannot redeclare _http_build_query() (previously declared in /path_to_bbpress/bb-includes/wp-functions.php:768) in /path_to_wordpress/wp-includes/compat.php on line 45
Any ideas on why I’m seeing this and how to fix?
Thanks, Chris. I know Firefox is a better browser, and the only reason I am using IE is out of habit. Currently running IE 6, and I suppose newer versions are equipped for RSS feeds. Anyway, you’ve cleared up the mystery of the RSS coded page for me! Weird thing, is, IE does show RSS feeds as they should appear on various blogs I’ve subscribed to. Why it should be different for the WP and bbPress forums…aaarrghh, not even going to think about it!
Thanks, though I’m a little confused. I put that in as a plugin file (with the plugin info up top) and I got a fatal error when I tried activating it. Sorry, but I’m totally new to bbPres, and WordPress alike.
Edit: Never mind, I noticed a slight typo (you wrote the wrong function name and forgot a parenthesis) but it works like a charm now. Thanks for that. :]
It’s very easy to do this via a plugin.
You have to attach to the ‘bb_head’ action.
In fact if there’s a plugin for WordPress that does it, it would take under a minute to change it for bbPress.
Here’s a mini-plugin I wrote to do noarchive and nofollow:
function no_archive() {
echo "n".'<meta NAME="robots" CONTENT="noarchive,nofollow">'."n";
} add_action('bb_head', 'no_archive');
.
It would just have to be wrapped in an IF statement with a URI check to add it when you want it. To get the current location, either check bb_get_location
or steal it’s code and modify as desired.
Something like this (untested)
function no_index() {
if (in_array(bb_get_location(),array("login-page","register-page","profile-page")) {
echo "n".'<meta NAME="robots" CONTENT="noindex,nofollow">'."n";
}
} add_action('bb_head', 'no_archive');
For those that know what they are doing and have subversion, you can checkout or switch to the alpha trunk of bbPress which will give you compatibility with WordPress 2.6
svn switch http://svn.automattic.com/bbpress/trunk/
Unfortunately an automated download zip cannot be created because this is the first version of bbPress that uses BackPress which is automatically added by svn, but can’t be zipped by TRAC.
Here’s a ZIP’ed snapshot from yesterday:
http://www.mediafire.com/?alvvslgmh22
Keep in mind that you should NOT use the bbPress trunk for live websites – it’s bound to have bugs and some might affect security. You are on your own if you chose to use this version – plugins may have some compatibility issues.
1.0 requires the 3 new WP matching keys inserted into bb-config.php
(see thebb-config-sample.php
for more info)
For those that know what they are doing and have subversion, you can checkout or switch to the trunk of bbPress (which will give you compatibility with WordPress 2.6)
svn switch http://svn.automattic.com/bbpress/tags/1.0-alpha-1/
Unfortunately an automated download zip cannot be created because this is the first version of bbPress that uses BackPress which is automatically added by svn, but can’t be zipped by TRAC.
Here’s a ZIP’ed snapshot from yesterday:
http://www.mediafire.com/?y33rsdhxeld
Keep in mind that you should NOT use the bbPress trunk for live websites – it’s bound to have bugs and some might affect security. You are on your own if you chose to use this version – plugins may have some compatibility issues.
1.0 requires the 3 new WP matching keys inserted into bb-config.php
(see thebb-config-sample.php
for more info)
Sam could use your bug reports via TRAC if you find problems.
https://wordpress.org/support/forum/2
ASCII 39 is an apostrophe though. Maybe on line 1706 there is an apostrophe rather than a single quote?
i shall wait until then to try bbpress.
i’ve also posted at WP about integration of bbpress w/ WP 2.6:
https://wordpress.org/support/topic/191512#post-813236
There’s a great redirection plugin I use with wordpress to fix that issue. Maybe if this became a feature a plugin could be created to fix the old links indexed in the search engines.
Thank you,
Gio
783349Inactive
I am very new to this, I hope someone can help me.
I had wp 2.5 installed from fantasico or what ever it is called from Cpanel. any way every thing was fine. I tried to upgrade to 2.6. I followed the instructions. backed up the files then deleted all the files and folder that I was told to delete and kept wp-contents, wp-config.php and htaccess.
I downloaded 2.6 to my computer, unzipped it. Using fillezilla I transfered the files over. Now this is what is said when you go to my site. (I havnt published my main site being http://www.mgjewellery.com.au the the internet yet) my site is http://www.mgjewellery.com.au/wordpress
Warning: Unexpected character in input: ”’ (ASCII=39) state=1 in /home/mgjewell/public_html/wordpress/wp-includes/functions.php on line 1706
Parse error: syntax error, unexpected T_STRING in /home/mgjewell/public_html/wordpress/wp-includes/functions.php on line 1706
Can someone, anyone please help me urgently.I need very basic instructions. Thank you so much for reading