Search Results for 'bbpress'
-
AuthorSearch Results
-
May 8, 2007 at 5:00 am #57230
In reply to: Hack: bb replies as wp comments; using bb API?
lira
MemberErm… hey guys, could you tell me what I’ve done wrong?
I’ve just installed “bbPress Post”, and WordPress is telling me there’s no table called “wp_bbpress_post_options” (which is true). I reckon I should solve this problem before hacking wp’s comments.php template… but how?
ps.: Oh, and you guys are doing a great job here, congratulations
May 7, 2007 at 7:18 pm #51904In reply to: BBPress & LDAP Plug-in?
mierow
MemberCurious to know if anyone has gotten this to work with Active Directory? We’re looking at getting this authenticated using LDAP and AD, but the plug-in from above hasn’t worked with that. Any insight would be appreciated.
May 7, 2007 at 2:58 pm #57510In reply to: Announce new topics via Twitter
wmarcy
MemberWhoops, I was thinking of a WordPress plugin. Maybe you could modify it for bbPress?
May 7, 2007 at 1:36 pm #1829Topic: My dream theme.
in forum InstallationNola1974
ParticipantAnyone see the CLI theme for WordPress?
testing here: http://fearandloathingbbs.com/wordpress/
My dream would be a theme like this for bbpress that would turn it into an old school BBS a la WWIV, VBBS or teleguard. I’ve been trying, but I suck.
No really. how cool could that be?
May 7, 2007 at 11:58 am #57356In reply to: Plugin: Move It
gh3
Memberi have just released the 0.12 version.
in this new version i added the merge topic feature
you can download it on bbpress svn or my site.
hope it could be useful
ps. sooner i’m planning to add split topic feature, but ‘ll have to work on it…
May 6, 2007 at 3:43 pm #51234In reply to: Anonymous post
Duchemin
MemberUsers on my forum posted 1 or 5 messages, they don’t need registration. But in bbpress database there is no field of Name (post linked with user by poster_id).
How to make ‘Anonymous post’?
May 6, 2007 at 12:32 pm #1830Topic: Theme problem with new topic page from front page
in forum Troubleshootingcsl749
MemberHi folks,
Here’s my forum at the moment after some theme-tweakery to make it fit the general theme of my wordpress site. Everything’s more or less fine, but there’s just on little section that I can’t seem to solve – when using the ‘- ADD NEW’ topic link on the latest discussions section on the front page I get a gap between the footer and the new post div, yet this gap is nowhere to be found on any other of the pages. Looks a bit incongruous.
Here’s a pic of how the problem looks: http://img525.imageshack.us/img525/7683/bbpresspw3.jpg
Any help on how to solve this little problem would be great – thanks!
May 6, 2007 at 12:31 pm #57394In reply to: Trying to integrate bbpress with my wordpress
fel64
MemberYes. Put the
Secondary
inMain
, get rid of its margin, add the CSSfloat
property to bothSecondary
andDiscussion
– onefloat: right
, onefloat: left
. That will make it work.May 6, 2007 at 4:44 am #57393In reply to: Trying to integrate bbpress with my wordpress
bozzy
MemberThanks for the help! I have a couple more questions if you wouldn’t mind… I fixed the problem with sidebar on the front page (although I can’t get it all the way to the top, any suggestions?), and I can’t seem to figure out how to fix the sidebar on the other pages (topics, forums, edit profile, etc)… I’ve looked all over the css the file and can’t figure it out…
Thanks again for all your help!
May 6, 2007 at 4:19 am #57497In reply to: WordPress and PHPBB
Trent Adams
MemberI used phpbb for about 4 years and once I created a test site of bbPress, I converted over all my forums to bbPress and continue to help support a great product. As far as I can tell, almost all the ‘bloated’ features of phpBB that people love have now become plugins for bbPress, so if you like all or most of those features, you will love bbPress.
Trent
May 6, 2007 at 4:13 am #57496In reply to: WordPress and PHPBB
wittmania
MemberI second that motion… Obviously, on a bbpress board you’re going to get the home team’s opinion that bbpress is great. But, I was a former phpbb-er and I made the switch because I was tired of all of the security holes and spam in phpbb. If you like WordPress (and are proficient enough with PHP to manage a blog), you’ll LOVE bbpress. Plus, with all of the momentum it is gaining, bbpress just keeps getting better.
May 5, 2007 at 8:57 pm #57495In reply to: WordPress and PHPBB
fel64
MemberWP and phpBB … you can probably bend them to your will together if your php mojo is strong indeed.
I would recommend converting your phpBB forum to bbPress using a converter, because WP and bb go together like something awesome with something also very awesome. That’ll make your site look streamlined and funky like anything.
May 5, 2007 at 8:51 pm #53427In reply to: Rss feed for latest topics
collegematesca
MemberXML Parsing Error: xml declaration not at start of external entity
Location: http://mysite/rss.php?profile=1
Line Number 2, Column 1:<?xml version=”1.0″?><!– generator=”bbPress” –>
This is the error I am getting when I try to load my rss feed from ie7? any idea how to fix this?
May 5, 2007 at 4:56 pm #56892In reply to: Call to undefined function:
kennethhung
MemberHey Trent!
Don’t worry! I got it all figured out, it is because I didn’t setup a new database for bbPress (I use the same one as my WordPress)
Indeed, I did install phpBB and runs it for a week, not only I instantly start having spam, and the interface is just too busy to look at, I love the bbPress, it is simple, elegant and so fast…
Cool cool, you can check mine out at:
May 5, 2007 at 4:31 pm #55856Griffology
Memberfel64, I do appreciate your help. Thank you very much. I still could not get it to work properly without throwing that error.
I’ve moved on and will revisit the subject later as bbpress continues to evolve.
Thanks again mate!
May 5, 2007 at 12:17 pm #55855fel64
MemberAck, I’m sorry but the stupid easy mistake is mine. This will only work for blog posts which have a corresponding topic in bbPress, so for any blog posts you made before installing the bbPress Post plugin it won’t work. Should’ve thought about that before copying you the code.
function forumreplylink() {
//must be called from within the loop yadda yadda
global $post;
$rl = get_option( 'wpbb_path' ) . '/topic.php?id=';
$tid = felblogtotopicid( $post->ID );
if( $tid ) {
echo '<a href="' . $rl . $tid . '">Reply!</a>' . "n";
} else {
comments_number('No Comments','1 comment','% comments');
}
}Replace the old
forumreplylink()
with this and it will either show the reply link or a link to the comments. If you only want it to show the reply link but no link to comments, just take that comments line out.May 5, 2007 at 8:12 am #55366In reply to: Pretty Permalinks Not Working
serimu
Memberwordpress is installed on example.com
bbpress is installed on example.com/forum/
bbpress .htaccess file is located on example.com/forum/ namely example.com/forum/.htaccess .
wordpress .htaccess file is located on root, namely example.com/.htaccess.
And I just finished the design of bbpress to match my wordpress theme. And I closed permalink options as I conclude that it is not working with Godaddy (It is working only partially which has no meaning). I am totally confused, why forum links are ok and why others are not.
I can send config.php, and .htaccess file if somebody things that it is because of an error in those files. I can also give a link to the website.
May 5, 2007 at 2:31 am #55365In reply to: Pretty Permalinks Not Working
Sam Bauers
ParticipantYou need to add the .htaccess file to the same directory as the bbPress install. Not the root directory, which is what I suspect you have done.
May 5, 2007 at 12:32 am #55854Griffology
MemberOK here’s my file
<?php
/*
Plugin Name: HFFIB
Plugin URI:
Description: Helper function for integrating bbPress into your theme.
Version: 0
Author: fel64
Author URI: http://www.loinhead.net/
*/
function felblogtotopicid( $felpostID ) {
global $table_prefix, $wpdb;
$posts_table = $table_prefix . "bbpress_post_posts";
$topic_id = $wpdb->get_var("SELECT topic_id FROM '$posts_table' WHERE 'post_id' = $felpostID LIMIT 1;");
return $topic_id;
}
function forumreplylink() {
//must be called from within the loop yadda yadda
global $post;
if( $post ) {
$rl = get_option( 'wpbb_path' ) . '/topic.php?id=';
$tid = felblogtotopicid( $post->ID );
echo '<a href="' . $rl . $tid . '">Reply!</a>' . "n";
} else {
echo 'ouch!';
}
}
?>I am running a custom theme, but it’s called in the spot as the original wordpress comments were and those worked fine. Here’s how I’m calling the function:
<div class="details">
<a>"><?php comments_number('No Comments','1 comment','% comments'); ?></a>
<span class="tool">Category: <?php the_category(', '); ?></span>
<span class="tool"><?php akst_share_link(); ?></span>
<span class="tool"><?php forumreplylink(); ?></span>
</div>Still getting the error, and no ‘ouch’ anywhere… I do have bbpress_post plugin running, is it supposed to or does this replace it? I’m thinking it has to be running, I’m just trying to elimate a stupid easy mistake I’ve made.
May 5, 2007 at 12:25 am #55853fel64
MemberThat’s strange, it works for me. At a guess the root of it is that $post doesn’t exist, or that $post->ID is nonexistant.
Can you replace
function forumreplylink() { ... }
with:function forumreplylink() {
//must be called from within the loop yadda yadda
global $post;
if( $post ) {
$rl = get_option( 'wpbb_path' ) . '/topic.php?id=';
$tid = felblogtotopicid( $post->ID );
echo '<a href="' . $rl . $tid . '">Reply!</a>' . "n";
} else {
echo 'ouch!';
}
}If it outputs ouch we’ll know that a missing global $post is indeed the problem. You are using it inside The Loop, aren’t you?
May 5, 2007 at 12:07 am #55852Griffology
MemberThanks for the help, but my error is now:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘LIMIT 1’ at line 1]
SELECT topic_id FROM
wp_bbpress_post_posts
WHEREpost_id
= LIMIT 1;after the error it adds the reply function but with an empty id: IE: “http://www.website.com/topic.php?id= “
May 4, 2007 at 11:23 pm #55851fel64
MemberThat’s very simple; go to wp-admin > Options > Discussion and set it so comments are off. You can also modify your template by deleting all the code for comments.
To get the ‘discuss in forums’ link, simply open your template file, and replace the
<?php comments_popup_link(' make a comment', '1 comment', '% comments','','comments off'); ?>
or similar with this:<?php forumreplylink(); ?>
That’ll give you what you want. Note that you’ll need to put
felblogtotopicid()
into a WP plugin, like so:<?php
/*
Plugin Name: HFFIB
Plugin URI:
Description: Helper function for integrating bbPress into your theme.
Version: 0
Author: fel64
Author URI: http://www.loinhead.net/
*/
function felblogtotopicid( $felpostID ) {
global $table_prefix, $wpdb;
$posts_table = $table_prefix . "bbpress_post_posts";
$topic_id = $wpdb->get_var("SELECT topic_id FROM <code>$posts_table</code> WHERE <code>post_id</code> = $felpostID LIMIT 1;");
return $topic_id;
}
function forumreplylink() {
//must be called from within the loop yadda yadda
global $post;
$rl = get_option( 'wpbb_path' ) . '/topic.php?id=';
$tid = felblogtotopicid( $post->ID );
echo '<a href="' . $rl . $tid . '">Reply!</a>' . "n";
}
?>If you do that, you have to take it out of the hack should you implement it.
May 4, 2007 at 9:59 pm #55850Griffology
MemberThanks fel64. I’m looking to do away with the wordpress comments completely, just shut them off. However the bbpress post plugin posts the “discus in forms(0)” link at the end of the post. I have a bar at the bottom of each post and would like to format it in there. I’ve opened bbpress_post.php and saw the output of the post gets thrown into 1 variable. I would like to call a function in my wordpress php files, for example index.php, that calls the function from bbpress_post.php to display the “discuss in form” link.
Hope that makes sense, but after read the thread you linked I don’t think it’s quite what i’m looking for. I’ll read it again thought as I’m tired.
Thanks again.
May 4, 2007 at 8:51 pm #57412In reply to: *seamless* wordpress integration
Vili
ParticipantThe way I have integrated the two over at http://akirakurosawa.info/ is by editing the bbPress template so that it calls the WordPress headers instead of the bbPress ones.
I presume that you have installed both WordPress and bbPress, and that you have integrated their user databases and installed the required plug-ins as outlined at https://bbpress.org/documentation/integration-with-wordpress/ .
So, if you now go through the template files for your bbPress installation, you will need to replace all instances of “<?php bb_get_header(); ?>” with the WordPress command “<?php get_header(); ?>”. The same thing goes for the footers, so you change all instances of “<?php bb_get_footer(); ?>” to “<?php get_footer(); ?>”.
However, in order to get that to work properly, I have also edited my WordPress template so that the (WordPress) header and footer files contain everything except for the actual content that is going to be shown on the page. In other words, all the “container” DIV-elements and such are opened in the header and closed in the footer. While this is perhaps not absolutely necessary, it makes your life easier.
Finally, I use a boolean check in the WordPress header to see whether I am serving a bbPress page, and modify the header information accordingly. While I currently set the boolean myself by including
<?php global $forumpage;
$forumpage = TRUE; ?>at the very beginning of each relevant bbPress template page (i.e. those pages that call the header files), fel64 has pointed out that one could simply use a variable that bbPress uses anyway, for example $bbdb.
I use these checks to modify the title:
<?php if ($forumpage == TRUE) {
bb_title();
echo " :.: AKN&I";
} else ...to add the forum feed:
<?php if ($forumpage == TRUE) bb_feed_head(); ?>
as well as do some other things (disable Ultimate Tag Warrior’s meta tags for the page, etc.).
So, it takes a little bit of playing around with your templates, but in the end it is doable without any actual hackery.
May 4, 2007 at 7:27 pm #55849fel64
MemberThere are a few things you can do. This WP plugin will, using also the bbPress Post plugin, show replies from the appropriate thread in your forum under your newspost, plus links to the thread to reply to it. You can also transfer existing comments; you need to be careful to only do it once, but that can also be found in that thread. It hasn’t yet been successfully made so that you can reply to the forum from the wordpress part of the site, as far as I know, but I’m sure it’s possible and will be done.
So it’s perhaps 2/3rds of the way there.
-
AuthorSearch Results