The only reason the replies argument is there is for CSS: a quick and dirty way of differentiating between topics you’re up to date on and those you’re not (via a:visited { … }).
We should probably make sure we always 301 redirect to the latest URL.
Oh, and PS: Posts do have their own URL. This one’s is
https://bbpress.org/forums/topic/592?replies=6#post-3870
I just downloaded and installed the latest version and also have this “issue”..
Is there already a solution for this?
I think the easiest thing to do would be to just move over your bbpress install into the same database as your blog. I’m sure somebody here could probably help you modifying that plugin, but I feel like just moving would be much simpler.
That’s right Trent — I’m using 2 databases. I’ve been looking for a way to modify this plugin to get it look in the bbpress database, but I’m afraid my PHP skills aren’t quite up to it. Do you know of any other workarounds?
I think the plugin is designed to work when you have both wordpress and bbPress in the same database. You are using 2 different databases I would imagine then? If that is the case, then this plugin will not work for you.
Trent
I’m getting this error in WP2.1:
WordPress database error: [Table ‘wordpress.bb_topics’ doesn’t exist]
SELECT * FROM bb_topics WHERE topic_status = 0 ORDER BY topic_time DESC LIMIT 10
—-
The table wordpress.bb_topics doesn’t exist because my bbpress database is named bbpress. So the proper database place to look would be bbpress.bb_topics
Any way to fix this issue?
Hi
Probably me being blind, but I could find a function that returned the post authors website url.
In my theme I didn’t want the username to be a hyperlink (in post.php), I wanted to add buttons, for profile, website, & PM.
I wrote one to get my tests working.. but is there an “official” way ?
function post_author_url() {
if ( get_user_link( get_post_author_id() ) ) {
echo get_user_link( get_post_author_id() ) ;
} else {
bb_get_option('uri');
}
}
I will test this out for sure and get back to you later on when I get a chance! Looks good so far! Just need to test out the new features!
Trent
Download the updated beta version here:
https://plugins-dev.bbpress.org/browser/posts-since-last-visit/trunk/since-last-visit.php?format=raw
Demo here:
http://la-school.com/bbpress/ (Test/test)
It requires Onlinelist 1.4 to work!!
As requested in another thread here, If you want to indicate new posts with an icon next to the topic do it this way:
<?php if ($topic->topic_time > view_since_last_visit_user()) : ?>
DISPLAY IF NEW
<?php else : ?>
DISPLAY IF NOT NEW
<?php endif; ?>
add this in front of you topic title.
At the moment the topic still stay “new” even if you’ve already seen it, till the next visit. Gonna fix this in next version.
Any Feedback?
DonHarry – what was the debug information? Maybe someone else can help? I see your server is Apache 2.2.3 and the PHP version is 5.2.0. I don’t think any of the earlier solutions will apply, especially if you are using the latest 0.75 version.
Maybe you can post your config.php with the tasty portions replaced with xxx (be careful not to change any quotations, slashes or semicolons). Maybe you have a problem there.
cool… will stand by… havent dug into writing plugins for bbpress yet… happy to help test if for ya too…
I just installed today, so it should be the latest version. but i’ll try what they r saying in the other post.
What version is installed? This problem has come up a couple times before, and I thought it was fixed in the latest .75 version, at least.
If you’re not using .75, I would start there. Here are some forum posts that dealt with the redirect issue before .75 came out:
https://bbpress.org/forums/topic/531?replies=20#post-3050
I have a fresh install of 0.75 and the latest TRAC version and I can’t replicate this. Anyone else having this problem?
Trent
I have posted this in two topics, forum-restriction and private-forums.
RSS will display the restricted information. The latest posts.
I have posted this in two topics, forum-restriction and private-forums.
RSS will display the restricted information. The latest posts.
I tested it multiple times. 100% correct syntax.
a href=”http://url.here” link text /a
No missing quotes, etc. The href attribute is just gone when you submit/edit a post. I’ll dig some more.
Greetings! So I recently upgraded to the latest version of BBPress and for whatever reason, Me (KeyMaster) and all my mods are marked as bozos. I was doing some reading and there is supposed to be a checkbox in the admin panel to check wether or not a user is a bozo right? In my admin panel, there is no checkbox, just an area to enter a number and me and my mods are listed as 1. Trying to change it to 0 doesn’t have any effect. Is there a fix for this? Thanks!
hmmm..log in with this account… test pass: test
I am registering a test account to try and see your error. Just waiting on the account creation email. When did the error start appearing? Did you make any changes to your template prior to it happening?
Trent
hey..thanks for looking at my psot..here is the forum http://www.stiltonband.com/forum/ ..its the latest version..I only have one plugin installed the <em>notification.php</em> ...that
s all..I don`t know why these confirmation pages are apearing…
Another question that would be a solution… is there a way to limit the length of bbPress forum title posts?
Hey Community,
I had a question about this latest discussion plugin, which is awesome by the way:
http://www.atsutane.net/2006/11/bbpress-latest-discussion-for-wordpress/
Is there a way to shorten the length of the titles being pulled from the forum.
For Example, for a forum with a title as:
“this is a forum title and I am a bad poster who make titles way to long”
to this:
“this is a forum title…”
This would really help out because our latest discussions from the forum on our wordpress home page break a bit when the titles get to long.
Any ideas or suggestions are greatly appreciated.
Thanks,
Orion
Okay, I changed the location value with:
is_front() || is_forum() || is_tag() || is_topic()
And changed the code with:
function get_bb_menu() {
global $bbdb;
$menutest = mysql_query("SELECT * FROM $bbdb->menu WHERE
set = 'active' ORDER BY
order ASC");
And re-written the li part with php:
<li><a <?php if ('location')
{
echo " id="current";
?>
href="<?php ('page'); ?>"><?php ('item'); ?></a>
<?php
}
?></li>
So technically I need to put this in a foreach and it wil be like:
<li><a <?php if (is_front() || is_forum() || is_tag() || is_topic())
echo " id="current"; ?>href="index.php">Forums</a> </li>
<li> <a href="search.php"> Search</a></li>
(the is_front() etc will not be shown ofcourse, but it’s to make it clear)
But how to make such a foreach?
Is there a way to make posts in a topic appear in a descending order… the latest posts come first…