Search Results for 'bbpress'
-
AuthorSearch Results
-
February 4, 2011 at 12:57 pm #94908
In reply to: bbPress 2.0 – Updates
Rob Bunch
MemberHi, I’m just looking for some quick advice. I’m launching a site for a nonprofit organization next week which needs a community forum…
http://www.agrowingculture.org (it’s live now though)
Do you think the pre-alpha version of the plugin is stable enough to go with it or should I just use stand alone version of bbPress and migrate later?
Thanks in advance for any advice.
February 4, 2011 at 11:48 am #99232In reply to: Integrating WordPress THEME ONLY with bbPress
Ashish Kumar (Ashfame)
ParticipantIntegrating bbPress & WordPress is a lot easier than before.
February 4, 2011 at 11:48 am #104332In reply to: Integrating WordPress THEME ONLY with bbPress
Ashish Kumar (Ashfame)
ParticipantIntegrating bbPress & WordPress is a lot easier than before.
February 4, 2011 at 5:20 am #99228In reply to: bbpress AND buddypress
John James Jacoby
KeymasterModerated.
@jwindhall – You basically want shared user tables and nothing else, so follow the typical integration methods as if BuddyPress wasn’t in the picture.
February 4, 2011 at 5:20 am #104328In reply to: bbpress AND buddypress
John James Jacoby
KeymasterModerated.
@jwindhall – You basically want shared user tables and nothing else, so follow the typical integration methods as if BuddyPress wasn’t in the picture.
February 3, 2011 at 9:18 pm #98997jaapmarcus
MemberThats why it is also available on wordpress site
February 3, 2011 at 9:18 pm #104097jaapmarcus
MemberThats why it is also available on wordpress site
February 3, 2011 at 7:45 pm #98996csabamarosi
MemberAww man, sorry, I made a typo – now everything’s fine, thanks a lot!
February 3, 2011 at 7:45 pm #104096csabamarosi
MemberAww man, sorry, I made a typo – now everything’s fine, thanks a lot!
February 3, 2011 at 7:40 pm #99224In reply to: bbpress AND buddypress
jwindhall
MemberI’ve used “an existing installation”. Am I inccorect in saying that the above would only give me the default ONE BIG FORUM and not the full bbpress?
February 3, 2011 at 7:40 pm #104324In reply to: bbpress AND buddypress
jwindhall
MemberI’ve used “an existing installation”. Am I inccorect in saying that the above would only give me the default ONE BIG FORUM and not the full bbpress?
February 3, 2011 at 7:38 pm #99180In reply to: WPMimic V.1
Vietson
Member@citizenkeith – thanks for the link. I started reading that thread a few days ago and find that the development kinda stop halfway. Although initially the progress is quite strong then it began to die down.
Anyhow, WPMimic v.1 is ready. Visit: http://vietsonnguyen.com/beta/bbpress/
Let me know how it in IE since I have no access to IE.
February 3, 2011 at 7:38 pm #104280In reply to: WPMimic V.1
Vietson
Member@citizenkeith – thanks for the link. I started reading that thread a few days ago and find that the development kinda stop halfway. Although initially the progress is quite strong then it began to die down.
Anyhow, WPMimic v.1 is ready. Visit: http://vietsonnguyen.com/beta/bbpress/
Let me know how it in IE since I have no access to IE.
February 3, 2011 at 7:31 pm #98995thebreiflabb
MemberIt works perfectly for me, though you can try with some debugging, for example try
echo $counter;inside the foreach loop to see if you have any loop at all. Check the source code if you have anything there.
February 3, 2011 at 7:31 pm #104095thebreiflabb
MemberIt works perfectly for me, though you can try with some debugging, for example try
echo $counter;inside the foreach loop to see if you have any loop at all. Check the source code if you have anything there.
February 3, 2011 at 7:30 pm #37371Topic: Integrating WordPress THEME ONLY with bbPress
in forum Themesdhcrusoe
MemberGreetings all,
Ok, so conceptually, bbPress seems great. However, I’ve used an older version, and know how tentative it can be.
As I can’t find any readily-accessible information about this, I’m asking what might be one of the most frequent questions around here.
Can someone please point out documentation that explains how to integrate WordPress with bbPress? I’m looking to integrate the theme and navigation ONLY – nothing else (since our WP site doesn’t require logins, etc).
Thanks for any info,
–Dave
February 3, 2011 at 7:25 pm #98994csabamarosi
MemberI’ve figured out that there were some PHP configuration issues with my XAMPP installation, so the error messages are gone now. Sad thing is, your code doesn’t output anything at all.
February 3, 2011 at 7:25 pm #104094csabamarosi
MemberI’ve figured out that there were some PHP configuration issues with my XAMPP installation, so the error messages are gone now. Sad thing is, your code doesn’t output anything at all.
February 3, 2011 at 7:18 pm #98993thebreiflabb
MemberWhat errors does it give you?
February 3, 2011 at 7:18 pm #104093thebreiflabb
MemberWhat errors does it give you?
February 3, 2011 at 7:05 pm #98992csabamarosi
MemberWell, at first I was trying to do something very similar, but including bb-load.php always gives me errors. Deep integration and all database/cookie connections are working fine, so I’m pretty confused.
February 3, 2011 at 7:05 pm #104092csabamarosi
MemberWell, at first I was trying to do something very similar, but including bb-load.php always gives me errors. Deep integration and all database/cookie connections are working fine, so I’m pretty confused.
February 3, 2011 at 6:37 pm #98991thebreiflabb
MemberIf your wordpress and bbpress share the same database you can simply edit sidebar.php
On the top of the file add:
<?php require_once(ABSPATH."/forum/bb-load.php"); ?>This will give you access to the bbpress functions. (Edit to the path of your bbpress installation)
Then where you are going to output your latest posts add this:
<?php
global $wpdb;
$query = "SELECT * FROM bbp_topics WHERE topic_status='0' ORDER BY topic_time DESC LIMIT 6";
$topics = $wpdb->get_results($query);
$counter = 0;
?>This will find the latest posts, I do it this way so it won’t show the same topic several times if many posts have been made in the same topic. Also edit bbp_ to your bbpress db prefix.
Finally to output simply add something similar to this:
<div id="latest-posts" class="border">
<h2>Latest forum posts</h2>
<?php foreach($topics as $topic) : ?>
<div class="<?php echo $counter % 2 ? "gray" : "white"; ?>"><a href="<?php topic_last_post_link($topic->topic_id); ?>"><?php topic_title($post->topic_id); ?></a></div>
<?php $counter++; ?>
<?php endforeach; ?>
</div>Edit to your preference on html and css.
February 3, 2011 at 6:37 pm #104091thebreiflabb
MemberIf your wordpress and bbpress share the same database you can simply edit sidebar.php
On the top of the file add:
<?php require_once(ABSPATH."/forum/bb-load.php"); ?>This will give you access to the bbpress functions. (Edit to the path of your bbpress installation)
Then where you are going to output your latest posts add this:
<?php
global $wpdb;
$query = "SELECT * FROM bbp_topics WHERE topic_status='0' ORDER BY topic_time DESC LIMIT 6";
$topics = $wpdb->get_results($query);
$counter = 0;
?>This will find the latest posts, I do it this way so it won’t show the same topic several times if many posts have been made in the same topic. Also edit bbp_ to your bbpress db prefix.
Finally to output simply add something similar to this:
<div id="latest-posts" class="border">
<h2>Latest forum posts</h2>
<?php foreach($topics as $topic) : ?>
<div class="<?php echo $counter % 2 ? "gray" : "white"; ?>"><a href="<?php topic_last_post_link($topic->topic_id); ?>"><?php topic_title($post->topic_id); ?></a></div>
<?php $counter++; ?>
<?php endforeach; ?>
</div>Edit to your preference on html and css.
February 3, 2011 at 6:04 pm #99175In reply to: Add custom bbcode tags into BBcode lite
thebreiflabb
MemberI made it work in a way using this:
<?php
/*
Plugin Name: BBTexCode
Description: [tex][/tex] to image
Plugin URI:
Author: Sondre Kjøniksen
Version: 1.00
*/
function bb_tex_replace( $text ) {
$text = preg_replace('/[tex](.*?)[/tex]/ie', "'<img src="/cgi-bin/mathtex.cgi?'.rawurlencode('$1').'" align="middle" />'", $text);
return $text;
}
add_filter('post_text', 'bb_tex_replace');
?>
Though I still have a problem, it seems bbpress strips backslashes when adding the post to the DB. Is it possible to do so bbpress skips stripping backslashes from [tex][/tex] tags? At the moment it works if I write double backslashes like: [tex]\LaTeX \frac12[/tex] But it is kind of annyoing having to type double every time.
-
AuthorSearch Results