Yeah I wanna know too cause this has a menu I can go test with my menu plugin https://bbpress.org/forums/topic/743?replies=4
If you visit http://bbpress.org/forums/bb-login.php and use the top-most login form (the one in header.php), a recursive redirect occurs, which displays an error message in Safari. (I haven’t tested it in other browsers.)
This happens in all bbPress installations using the default template (and a few other templates that include the login form in the header). Is there a way to avoid this situation?
Forum-restriction version 1.5 does not hide latest topics when user is logged out.
mdawaffe’s plugin isn’t as cool as mine
https://bbpress.org/plugins/topic/21?replies=1
j/k about mine being cooler, but it may work in a way that you like better
Hi chrishajer,
Thanks for the help. I’m using Windows XP Home with SP2 installed and XAMPP as the web server.
I tried a test installation on a private subdomain on the actual web host hardware and it is indeed working there, but since I’d ultimately like to try developing themes and plugins, it would be a lot more convenient if I could work on this locally. (I actually run a complete mirror of my site locally for development purposes. Since the site is somewhat complicated as a whole, it’s important for me to test everything on the non-live site before I flip the metaphorical switch.)
I did the same step but i can’t get it to work, and I’m sure i’m logged in as Admin cause i teste and i can change other admin status etc… but the menu doesn’t apper
ooopsss… actually, you have to to the forums page to see all the forum stuff… http://test.158th.com/forums
though you did get a peek at my wordpress plugin to display latest forum stuff in wordpress…
Hey, thanks for the tip, mdawaffe. That was a breeze!
I tried it and everything seems to be running smoothly, thanks again for the quick response!
That version of the plugin should work fine, but the most recent version (Front Page Topics 0.
is a bit more configurable.
https://bbpress.org/plugins/topic/3
you can see this in work now at http://test.158th.com
still some styling work to do and such… also going to port the forums and data in from phpBB (actually nukeBB)
Looking it over, I can’t see any reason why this won’t work. I guess test it out and if you get and error, just delete the plugin and report back here!
Trent
Would anyone happen to know if this still applies to version 0.8? I have a new forum I’d like to try this in but I thought I’d check to make sure it wouldn’t break anything first. Or is there another method that would work better?
thanks!
I’ve made my first attempt ever at theme-building by trying to port the Navigation theme for WordPress over to bbPress. You can see it in action on my test setup:
http://open-dialogue.com/bbpress
I’m not entirely happy with the way the forum tables display. It looks ok on a 1024×768 resolution, but they mass to the left a bit too much for my liking on higher resolutions (I use 1280×1024). I’m at a bit of a loss, though, to know how to stretch them out enough to fill out the extra white space to the right. I’d be open for suggestions on how to tweak the stylesheet further.
I’m also not real crazy about the login form location, but I’m not sure of a better place to put it.
Everything else seems to look and operate alright. Any suggestions and tips would be greatly appreciated. I’m still figuring out some the latest nuances in stylesheeting (it’s been a few years since I’ve done much site design).
I tested it out as I have the same error! It did fix it and a TRAC ticket needs to be created! Good catch! It was your find chrihajer! You post the ticket!
Trent
Martin, your webserver cannot send emails? Can you upload a file called mailer.php and put this into it: (if you don’t have command line access)
<html>
<body>
<?php
mail( 'you@yourdomain.com', "subject: test", "message: test", 'From: you@yourdomain.com');
echo "Mail should have been sent, check your inbox";
?>
</body>
</html>
Run that from your browser and check your inbox. I’ve never had it fail, so I don’t know what is displayed if the mail command fails. If you have a command line, you can just run the mail command:
php -r 'mail( 'you@yourdomain.com', "subject: test", "message: test", 'From: you@yourdomain.com');'
If you cannot send email from your server, then the patch you referred to would work, but I suspect that was for an older version (.73 maybe, since the post is so old.) You save that information to a file, call it mail.patch or something. You need a command line to patch the files, so if you don’t have that, you would need to download the files referenced in the patch, patch them locally (built in on Linux and OSX but I think you would need a 3rd party app on Windows.) To patch the files:
- cd to the installation directory
- run this command:
patch -p0 < /path/to/mail.patch
That makes the changes to the files referenced in the patch, and the user registration email will be displayed rather than being emailed.
HTH
All the magic happens in bb_repermalink() in bb-includes/function.php but the real problem here is that get_path() splits by “/” to find out the topic/forum/user id.
You could plugin to bb_repermalink() and change the value of $permalink that way.
e.g. if your permalinks were of the form, forum-12, topic-34 etc. (already setup in your .htaccess file)
You could make the following file…
function my_pre_permalink() {
$p = get_path(0);
$p = split('-', $p);
$p = $p[1];
return $p;
}
add_action('pre_permalink', 'my_pre_premalink');
Drop that into your plugins directory and it should work.
Of course I haven’t tested this, but it should work in theory.
It’s really annoying and it only happens in my recently updated Ubuntu Edgy … with Firefox 2.0 (ie, it only happens in firefox 2.0 for ubuntu edgy)
I have no idea whether its something i did wrong with my Avatar adjustments to the style.css or whether “desmond” is just forcing me to take an eyetest.
It’s annoying.
oh yeah…if you haven’t noticed i am running 0.80
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.
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");
Note -You must assign a category to all forums . Tested assigning only three of my forums at first —- syntax errors. Set them all and no errors.
I’ve never experienced this problem, can you recreate and post the error here? You may need to manually remove a forum from a category in the database to recreate it.
It may have something to do with one of the plugins.
Great patch thanks. The instructions are clear and precise.
http://koma-inu.org/bbpress/.
Thanks
Note -You must assign a category to all forums . Tested assigning only three of my forums at first —- syntax errors. Set them all and no errors.
That is a good question. I have yet to test it on the most recent version of bbPress. I guess if nothing else you can run it on an install of 0.74 and get it working and then upgrade bbPress to 0.8 afterwards if nothing else. What were the errors?
Trent