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> ...thats 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…
I use the new site option plugin (which is easy and great by the way). I stole the admin page setup from private forums by Aditya Naik. My bbress board is tiny (testing only) so I imagine all sorts of stuff will pop up as it’s used on bigger sites. Thanks for your help.
I’m working on a revised patch file for categories to accommodate the latest builds with the new templating file structure. Although it seems to be just me and spencerp who are using it. Of course, if you are customising your templates, then you will still have to edit your own based on the changes to the default theme.
The only thing I’m worried about now is, the fact that I’m running the Forum Category enhancement. I’ve currently modified the 0.8alpha files, however, I haven’t gotten the “latest” svn commits yet, including what you’ve mentioned above..
I *could* just manually keep editing my files, as they come through the email list, but IMHO, it’d be more of a pain in the arse that way sigh. I guess what I’m saying is, I’d love it if they’d implement that Forum Category option into 0.8, rather then 1.0.
It’s running just fine for me, except for customizing the look of it and such. The other thing is, it’s really a pain in the arse as it is now, because I’ve implemented my blog’s theme around the forums themselves.
So either way, I’m screwed with tons of file edits.
I don’t know though, I’m too tired at this point to even do any file editing/uploading.. Maybe when I get up later, I’ll handle some of this stuff..
As for the plugins, I’m hoping Josh takes care of his lol. His plugins are about the only plugins I have going, besides the normal original bbPress plugins lol. Anyway, enough of my rambling, I’m tired as heck, and everyone’s tired of it anyway… so.. later people..
spencerp
bb_update_option( 'forum_restriction_db', array( "1" => "David Bessler,testman", "3" => "David Bessler" ) );
$value = bb_get_option( 'forum_restriction_db' );
That’s how it should work.
I’m not absolutely sure about this, but it seems that SQL will want you to be more explicit. You need to break up the list (4 and 1) and add different strings to the where. So, for the first add WHERE forum_id = 4 then do OR forum_id = 1. Every subsequent forum id query should also start with an OR.
That’s what I think at least. It’s worth a shot