so1o, I’ve created a new version of the plugin (let’s call it 1.2 beta 1). I haven’t committed it yet, I wanted you to review it. It covers these issues:
- Integrated visual-support-forum plugin features as options in admin
- Added admin action to upgrade database instead of running on plugin load
- When default status is “unresolved”, topics with no status set now show in the “unresolved” view
- Sticky topics that are unresolved now show in the “unresolved” view
Download here for now:
support-forum.1.2.zip
so10, I had the same issue as suleiman. I download your recent plugin from above link you gave, and upload to my-plugins, but the issue is still there.
Fatal error: Call to undefined function: topic_resolved() in /home/travels/public_html/forum/my-templates/mybbpress/topic.php on line 15
Could you help to take a look?
thanks.
That ticket explains things. I guess I’m a rare case.
Did you install bbPress before or after having that information in your config.php? Did you see the WP users in the install process when you installed?
Trent
Sorry to get back to you late. Copy this into a file and call it path-to-url.php and drop it into your /my-plugins/ folder. If you don’t have one, create it and drop that file into it.
<?php
function fix_bb_path_to_url( $url ) {
return preg_replace( '|
([^/])|', '
/$1', $url );
}
add_filter( 'bb_path_to_url', 'fix_bb_path_to_url', 1, -1 );
?>
It is an error that mdawaffe created that patch for at:
https://trac.bbpress.org/attachment/ticket/575/path-to-url.php
Trent
Hello. I have a WordPress installation (2.1) at / and then the bbPress installation (0.
at /forums/. I have followed the instructions: https://bbpress.org/documentation/integration-with-wordpress/ and still no go. The WordPress integration plugin is installed and activated in my WP install and I have defined the bbPress tables (bb_) prefix correctly in the plugin options.
I have defined the options:
$bb->wp_table_prefix = ‘wp_’; // WordPress table prefix. Example: ‘wp_’;
$bb->wp_home = ‘http://test.com’; // WordPress – Options->General: Blog address (URL) // No trailing slash. Example: ‘http://example.com’
$bb->wp_siteurl = ‘http://test.com’; // WordPress – Options->General: WordPress address (URL) // No trailing slash. Example: ‘http://example.com’
in my config.php file, but do I need to add anything else? Right now, my WordPress users cannot log into the bbPress install, and the bbPress users cannot log into the WordPress install. Any help would be creatly appreciated.
haha….desmond is my middle name…
must be made for me :B
Good job, added to the Pro Forums localization pages: proforums.palmansworld.com/localization/
I tried writing my own plugin–less functionality, really just a simple filter plugin with some preg_replace’s to get the most basic wiki markup, but even this isn’t working. Can anyone see what might be going awry here? I’ve tested all the regular expressions in a plain PHP file, so I know they’re working; it’s putting it all into a plugin and getting bbPress to use it that seems problematic.
/*
These parameters specify the functioning of this plugin.
Edit accordingly for your specific situation.
*/
$mediawiki_filter_params["wiki"] = "http://en.wikipedia.org/wiki/";
/*
Stop editing; actual plugin functionality follows.
*/
function filter_mediawikitext($content) {
global $mediawiki_filter_params;
// BASIC FORMATTING
// Bold and italic
$content = preg_replace("|(''''')(.*?)(''''')|",
"<strong><em>2</em></strong>", $content);
// Bold
$content = preg_replace("|(''')(.*?)(''')|",
"<strong>2</strong>", $content);
// Italic
$content = preg_replace("|('')(.*?)('')|",
"<em>2</em>", $content);
// LINKS
// Internal links
$content = preg_replace("|()(.*?)()|",
"<a>2</a>",
$content);
// External links with descriptions
$content = preg_replace("|([)(.*?) (.*?)(])|",
"<a>3</a>", $content);
// External links with no description
$count = 1;
$replace = TRUE;
while ($replace) {
$before = $content;
$content = preg_replace("|([)(.*?)(])|",
"<a>[".$count."]</a>",
$content, 1);
if ($before==$content) { $replace = FALSE; }
$count++;
}
// HEADINGS
$content = preg_replace("|(=====
(.*?)(=====
|",
"<h6>2</h6>", $content);
$content = preg_replace("|(====
(.*?)(====
|",
"<h5>2</h5>", $content);
$content = preg_replace("|(===
(.*?)(===
|",
"<h4>2</h4>", $content);
$content = preg_replace("|(==
(.*?)(==
|",
"<h3>2</h3>", $content);
$content = preg_replace("|(=
(.*?)(=
|",
"<h2>2</h2>", $content);
// RETURN
return $content;
}
add_filter("the_content", "filter_mediawikitext");
i think you are talking about the update of meta key..
that might have some problems for people who have used the support forum plugin 1.0 after upgrading to 0.8 that is why i had to do it that way around.
let me explain.
take example where a person has upgraded to 0.8 – all his values from the topic table have been moved to meta data key – topic_resolved. now if they installed support forum 1.0 they would introduce new meta data called support_forum_resolved for topic x. if we just rename support_forum_resolved to topic_resolved we might get duplicate meta key topic_resolved for topic x.
also if you are getting an error that might be because of
https://trac.bbpress.org/ticket/580
I am using the following code in my graphic-display-ranks plugin running bbPress 0.8:
$path_to_subdirectory = bb_get_option('uri') . "my-plugins/ranks/";
later on in the plugin I call that path using:
$display_text = $path_to_subdirectory . $image_for_special_rank_1 . "" alt="#Posts:" . $rank_count . "" title="#Posts: " . $rank_count . """;
$display_text is inserted into an image tag for display. Everything works, but when I look at the source code of the page I see:
<img src="my-plugins/ranks/metalic_modo.png" alt="#Posts: 1" title="#Posts: 1" />
It’s as if it’s not pulling in the base part of the uri at all. Am I missing something here?
i’ve tried that! Both of the solutions, but i still can’t use my own template!
I can’t see the thumbnail of either my template or kakumeis.
EDIT: I saw what maybe could be the problem. It uses doubleslashes to the link to both Kakumei and my template. Maybe it’s because of that i have my problem? Maybe this could help someone to help me too. (?)
http://localhost/ungodum/bbpress/bb-admin/themes.php?theme=
\webb\xampp\htdocs\ungodum\bbpress/my-templates/ungodum/&_wpnonce=538f668ad4
any luck with a bbpress -> wordpress script guys?
hey Lingmeister
i used this:
http://www.iteisa.com/phpbb2bbpress/
https://bbpress.org/forums/topic/402?replies=27#post-2126
what is the problem you are having?
I had problems initially – something to do with PHP 5 or something – check that link above
good luck!
AT
Trent,
First of all, thanks for all your help with getting this all straightened out. I’ve gotten a lot done thanks to your help alone.
As for the 1 header approach, maybe I am creating a “complexity by simplicity” approach, and if what you are saying is correct, then I’m probably better just making the wp side have a wp header, and the bb side have a bb header. I guess I just thought in the long run it would be simpler and more effective to have one-size-fits-all header with the necessary bb code and wp code being selected only when it was needed. That was before now, when I just assumed that since you could call wp code in bbpress, that you could also just as easily call bb code in wordpress.
So, I will create a second, separate header file for bbpress, and I will see where that takes me in this process. Thanks for your help with this. I hope my reasoning at least makes sense now, even though it is probably faulty reasoning at that.
ron
I just upgrade my bbpress to 0.8. Here is what I did
1. I download the new version and copied to my server to replace all the old files.
2. Then I copied my old directories: my-plugins and my-templates, and I follow the instruction and move all previous my templates files to a subdirectory called mybbpress under my-templates.
3. But my forum is using the default bbpress theme
http://www.travelsuperlink.com/forum/bb-templates/kakumei/style.css
4. and I login to my admin panel, only find Dashboard, Users, Content, cannot find any Presentation Admin panel.
Anybody could help? many thanks.
my forum is http://travelsuperlink.com/forum
So let me get this straight:
1) You have a blog directory on your server at the location – /var/www/html/blog/
2) You uploaded bbPress to that directory – /var/www/html/blog/bbpress/
3) You brought down a copy of config.php and filled out your server database information (which requires you to have a database already created)
4) If you upload the config.php with the correct database information and all the correct URL’s for your blog (go step by step through config.php with a fine toothed comb!) back to /var/www/html/blog/bbpress/ you will be able to get to the install next
5) Go to http://www.yourdomain.com/blog/bbpress/bb-admin/install.php (in our example) and you should get the install screen.
Trent
I have tried reading the documentation & other forum threads over & over again, but i could not get through the complete installation of bbpress.
As stated, through my ftp client, I draged & dropped config-sample.php from my computer to config.php in my remote server.
I then also uploaded complete bbpress at /var/www/html/blog/ ( remote site ).
The next step suggests to load bb-admin/install.php in the browser & do what it says.
Now, this is what, i am not understanding. Loading this url leads to a google page listing.
I have opened a few links there; but, that has been of no use.
I am reletively new to the wordpress environment ; but, apt direction will definitely get me out of this fix.
Sir, I would be obliged to get your support.
Thanks & Regards,
Madhuri
There’s been some discussion of integrating WordPress, bbPress and MediaWiki before (“MediaWiki, bbPress, and WordPress integration” from spencerp and “Wiki Integration: WordPress & bbPress” from XXP), but this goes beyond authorization, because once users can log into forums, blogs and wikis with the same login, they naturally assume they can start mixing the wikitext they use on the wiki with forum posts and blog comments.
Zechs’ MediaWiki Markup for WordPress does precisely that–for WordPress. It seems to be working all right, but it’s not one of the plugins that magically works in bbPress just by dropping it in. I tried that. The general lack of documentation yet on writing plugins for bbPress does not mix well with the lack of documentation for this plugin, written by a fellow who seems to live a few blocks away from me, but for whom English is a second language.
So, given that I’m obviously not the only person trying to get MediaWiki and the *Presses to play nice, perhaps someone would be willing to point me in the right direction of where I’d get started getting this plugin to work for bbPress as nicely as it does for WordPress?
Welcome to bbPress! The first place I would start would be to look over the bbPress documentation because that has the information needed for installation, customization, integration with wordpress and all about themes!
After you get going, if you have questions along the way, do a search in the forums for similar problems that you are having and if you can’t figure out what to do, then go ahead a post a question back in the forums and we can try and help you out!
Trent
I’ve integrated the icons into the support-forum code. I’ll see if I can commit it.
Would someone guide me about the procedure to install bbpress on my server?
I am using wp 2.1 & my theme is anaconda 3 Column.
Kindly also suggest, how to integrate both: bbpress forum & my blog : http://www.medinmark.com/blog/
Here is a theme called Scene wich was first developed for Vanilla Forums and now adapted for pigmotel.com wich uses bbpress integrated with wpmu.
http://pigmotel.com/forums/en/
Like it?