figured this out!
but can’t get the damn code to post right. if anyone is interested let me know how to post a code snipplet without the forum eating it… it outputs like this:
*post title*
Posted by: *user* in *forum*.
@ck – when i try to call the get_forum_name in a wordpress widget it doesnt work. i believe because this is a bbpress function? How would I pull the forum name without using this funtion?
Did a workaround which seems to work for every 5th new member. (How can that even be possible?) Using the md5-plugin (uh oh) for bb-press and rerouting all logins through WordPress login system. This means users don’t get gallery access upon registration but rather the first time they log in…. which makes no difference in reality…
But then again, it only works for every fifth user… or something like that… randomish. The alternative would be to bypass validation in Gallery2 and just copy the user info regardless. But that’s a lot of work…
I wanted to use absolute time instead of relative also, but I noticed the UTC offset doesn’t have any effect on any timestamps. Is this still the only solution or have there been any new workarounds invented? I’m using bbPress 0.9.0.2 and WordPress 2.5.1
Hi guys, for some reason my Roaccutane forum is not being indexed as thoroughly as my main wordpress site. To cut a long story short, some pages are being indexed but they are way down the rankings.
To try and rectify this I added a BBpress map and altered some keywords around 3 months ago – i’m also using permalinks, but still no luck.
Can anyone suggest any other tips to get more coverage to the forums?
Thanks
I’ve tried the last few versions, and always get the following errors:
Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in /home/wordpress/bbpress/bb-includes/backpress/class.bpdb.php on line 377 along with:
Warning: mysql_connect() [function.mysql-connect]: Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2) etc.
This happens between doing an upgrade or a clean install, no plugins. Any ideas?
Apparently md5 hash isn’t correct either. What I need is to make the bbpress password-hash into the WordPress 2.5 standard.
I.e. how to make bbpress 1.0 WordPress 2.4 (Pre 2.5) compatible?
I am working on a site where I’m integrating wp, bbpress and Gallery2. The integration between WP and BBPress is seamless (WP 2.7 and BBPress 1.0 Alpha6) as is the integration between WordPress and Gallery2. The problem is that when people register in BBPress they can’t access Gallery2…
Does anyone have a solution for this? Can bbpress be forced to call the wordpress registration-script instead of the normal bbpress registration script when registering. I wan’t the extra bells and whistles the bb-press installation allows for through plugins so rerouting and forcing users to register through the wp interface doesn’t really appeal to me…
right now I am using:
echo "<li><a>topic_id."'>".$result->topic_title."</a>Posted by: <a>topic_poster."'>".$result->topic_poster_name."</a> in </li>";
since im calling it in wordpress that function doesnt exist.
Are the functions capitalized in the same manner? Windows doesn’t seem to care about capitalization, but Linux does. I’ve had that trouble with WordPress plugins before, where it seems the plugin was developed on Windows and the function was called
function DoThis() {, so calling dothis() stops working on Linux where it was fine on Windows.
Could that be a possibility?
Started running bbpress 1.0-Alpha6 recently on a productionsite… Probably a bad idea but everything seems to work… A few plugins that don’t work but other than that it’s all good!
any sight on when bbpress will support it? 1.0 does, i read. when is it expected? withing a few weeks? months? and are we then speaking 2 or 6 months?
thanks in advance!
I am going to take a SWAG:
SimplePie supports RFC 822, RFC 2822, RFC 3339, and ISO 8601 datestamps. My guess is Magpie does as well. I would start by trying a RFC 2822 timestamp.
Sat, 24 Jan 2009 08:09:12 -0500
What is the format for TIME?
Looks like the forum ate your code but to display the forum name when you only have the id, you can use the built in bbpress functions
echo get_forum_name($result->forum_id);
or
echo "Posted by $result->topic_poster_name in ".get_forum_name($result->forum_id);
or
echo "Posted by <a href='".bb_get_profile_link($result->topic_poster)."'>$result->topic_poster_name</a>
in <a href='".get_forum_link($result->forum_id);."'>".get_forum_name($result->forum_id)."</a>";
also, I got this far… just not sure how to get the forum name, since only the forum ID is listed in this table… not sure how I pull the otehr table and combine the two.
echo "
<li><a>topic_id."'>".$result->topic_title."</a>Posted by: ".$result->topic_poster_name.".</li>
";
man, this is so great. I am using this now instead of rss and i like it so much more!!!
would you be willing to show how we would add
“Posted by $user in $forum.”
under the list of topics?
WordPress uses Magpie for doing RSS and by default will cache the feeds for 1 hour. To change this, you can add a line to your wp-config file like:
define(‘MAGPIE_CACHE_AGE’, TIME);
Replace the word ‘TIME’ with the length of time in seconds to cache. You can also turn off the Magpie cache with:
define(‘MAGPIE_CACHE_ON’, false);
Hope that helps.
I believe there is a plugin that does this by polling the DB. Not sure if it is on the plugins site here or over at https://wordpress.org/extend/plugins but it is called something like “bbPress Latest Discussions” or something like that.
Turns out the Manage -> Recount didn’t solve the issue.
I did a clean install of BBpress integrated with WordPress and reproduced the problem. I failed to reproduce the problem the first time since I only had two users.
Try this on a clean install-
0. Use keymaster account to write a two posts under two topics.
1. Create user #2.
2. Login user #1 and create two posts under same two topics written by user #1.
3. Using wordpress admin delete user #2.
4. Create user #3 and log in as user #3.
5. Display topics.
6. Note that the keymaster account is ‘inactive’. This is a result of the SQL request for the account level failing.
As for linking to the forum from the blog like as if it was a page it’s just a matter of installing this plugin: http://txfx.net/code/wordpress/page-links-to/
Works great.