As far as I can tell, it looks like it’s because “the_content” is not a valid hook for bbPress. Is that true? Does anyone know what hook I should be using instead?
Dear all,
I just installed bbPress on my server last night. The installation was a piece of cake and everything seemed to work.
When I tried to register as a new user that worked as well and the user is in the database. But the e-mail was never received. I tried that with various e-mail addresses to make sure it’s not a specific domain that does not work but no e-mails where received at all.
I found this thread http://bbpress.org/forums/topic/82?replies=6 but honestly don’t quite know what to do with that Patch. Can anybody tell me what the problem could be or how to find a workaround?
The forum I installed is located at http://www.newyorkphotoblog.com/forum/
Any help would be highly appreciated!
Thanks a lot and all the best,
Martin Fuchs
The redirect error has been covered before, and I thought So10 had fixed it but I just had it happen again on bbpress.org/forums/ .
I was not logged in, and at the bottom of the thread there was a message “you must log in to post” or something similar (the link was at the end of the thread for sure.) So, I clicked that and got a page with two login forms, essentially: the normal login one, then the one that appears when you make a mistake on your password. I used the top one (form class=”login”, with grey background) to enter my info, then tabbed over to the submit button and hit enter. It submitted the form, then I got the Firefox error “This page is not redirecting properly” (see screenshot)
Oddly, even though that Firefox error is displayed, I was logged in. When I use the browser back button, I see that I am logged in. Also, oddly, if I use the lower form (the form has no class, but has tr class=”error” for the first row) in the page to enter my login information, and submit that, the redirect error does not happen and I am logged in normally.
I don’t believe that anyone has tried to write a converter for punBB directly into bbPress. I would try and find a punBB to phpBB converter and then use the phpBB to bbPress converter. It might not be the easiest thing to do, but unfortunetely, I think that is the only progression we have right now.
Trent
I have an existing PunBB forum. How do I import it to bbPress? Thank you.
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