Ok, this is the solution that worked for me. I did have to add the rewrite rule, as multiviews isn’t working on my server??? (I think I’m running on php4, is that why?) So, for others who want a wal-mart type bb build
here’s a recap of what I did:
I created a page in my bbpress root called contest.php. Inside of that page I put:
<?php
require('./bb-load.php');
bb_load_template( 'contest.php' );
?>
I then created my contest.php page with the content I needed (the template)
The last thing I did was to put these two lines in my .htaccess file IN MY FORUM ROOT FOLDER, (not my wordpress root folder):
RewriteRule ^contest/$ /forum/contest.php [L,QSA]
RewriteRule ^contest$ /forum/contest.php [L,QSA]
This basically says that myurl.com/my/forum/directory/contest (without the trailing backslash)
and myurl.com/my/forum/directory/contest (with the trailing backslash)
will both point to the contest.php page in the root forum directory.
As so1o said, this last part in .htaccess may be unnecessary if you have multiviews enabled (if your .htaccess file in your FORUM directory has this line: “Options +MultiViews”). Maybe someone else can confirm/deny this, as my configuration is different.
Hope this helps someone else who needs some custom functionality out of bbpress.
macwise..
if you are ok hacking the code.. create a page contest.php in the root forum folder
add require_once('./bb-load.php');
on the top of the page. and write whatever code you want in the page.. that should create a static page with bbpress functions..
as far as rewrite is concerned.. im not 100% sure but i think multiviews will automatically translate /contest.php
to /contest/
. test it and see.
bbolman,
thanks for the idea. I would probably prefer to do this. However, I have a few bbpress functions being called in the code on the page, and though I could probably dig about and find out how to replace it with wp code, it was not the most pleasant thought. I figured I’d just throw a page up on the bbpress side, and have it resolve at a myurl.com/directory/ as is common with wordpress. I found out how to take care of this…I achieved this by adding two lines in the .htaccess file…
RewriteRule ^contest/$ /forum/contest.php [L,QSA]
RewriteRule ^contest$ /forum/contest.php [L,QSA]
I’m not trying to start a battle here, but I think your response, Null, might be a bit short-sighted and aggressive. After all, if I feel my software needs a static page, that may just be what it in fact does need.
I agree with bbolman that this would probably be more efficiently handled by wordpress. However, since bbpress is still in it’s infancy, and it’s not integrated fully yet with wordpress, (this is my way of trying to sound like I’m not a completely right-brained individual), I think it’s fair to say that these decisions aren’t so cut and dried. Anyway, I appreciate the responses all the same, and will post any further findings here…
I’m having this same issue. I deleted the table in phpmyadmin, and decided to test it and re-edit my profile. when I edited my profile I was again set as a bozo. anything I can do to stop this?
The last phpBB to Vanilla converter doesn’t work perfectly with the latest Vanilla so needs some fiddling. Both Vanilla and bbPress could do with investing in a universal converter similar to what punBB has. It’s a lot of work but will be worthwhile.
Hi,
What kind of items would you like to add? Is it a plugin page like the memberlist plugin, or a link to another website, or a link to your homepage.
The last one is technically hard to do cause of the way bbPress id’s there pages. bbMenu uses this to highlight the menu item when you are on a certain page. Since your homepage proberbly doesn’t support/use this, you can add an item in the menu, but it proberbly wouldn’t highlight when you are on that page.
Hope you understand what I mean…
If you want to add an “off-link” (the link goes to wikipedia or something) you could add this into bbmenu.php (not tested):
At the bottom find:
echo '<li ' . $first . '><a ' . $current . ' href="' . $rw['page'] . '">' . $rw['item'] . '</a></li>';
Underneeth it add:
echo '<li><a href="link-to-your-thingy.com">Thingy-name</a></li>';
(Ignore the this forum adds them when editing this topic)
This should add a new link ad the end in your menu, but you will not see it in the admin, or be able to put it anywhere else… It will also not be highlighted when you are on that page (in case you use it to go to your homepage)
suleiman, I would like you to test this version to see if this fixes the tabel install issues.
Follow these steps:
1- Go to your myplugins folder and delete bbmenu.php (you only need to remove this bbmenu-file, leave all others in). Now go to the admin menu and check if the Menu link in it is gone.
2- With phpmyadmin, remove the bb_menu table from your database.
3- Now upload the new bbmenu.php (test)version to your myplugins folder (see below for download)
4- Go to your admin page, press the menu link and refresh the page.
Let me know
The bbMenu testversion:
http://www.sourceskins.com/bbmenu-test.zip
I am currently having a problem where when I log in to wordpress (or bbpress) at url:myurl.com, then click a link that is directed to http://www.myurl.com, then I am no longer logged in. (Cookie issues). I am trying to figure out how to define either *.babyquestions101.com (preferably), or if that won’t work then babyquestions101.com AND http://www.babyquestions101.com.
Give it a shot here:
http://babyquestions101.com/
and the forum is here:
http://babyquestions101.com/forum/
PLEASE CREATE ANY ACCOUNTS WITH THE WORD “TEST” AND ANOTHER WORD/NAME IN THE ACCOUNT NAME, unless of course you intend on keeping the account.
UPDATE:
My wordpress options blog url (in the wordpress admin panel) is listed WITH the “www” in front of the domain.. I am digging into mod_rewrite directives, but to be honest, I’m not really grasping it. Right when I think I have it figured out, it throws me. I have been able to get requests going to http://babyquestions101.com to redirect to http://www.babyquestions101.com/ using mod_rewrite in the .htaccess files. However, when I try it out in the forums, (http://babyquestions101.com/forum/) it just resolves at that address, and doesn’t insert the www. Any ideas?
I have installed the latest version of bbPress in a sub-directory of my blog ../bb
Links for template pages generally work and so does the link to the admin and presentation, plugins etc.
But the links to Add Topic, Forums etc all just take me back to the blog home page. Is this something to with WordPress Integration which I have somehow messed up?
Any help much appreciated
Is this going to get submitted into the SVN trunk for 1.0 soon, or..? I’m really hoping so, all this “applying patches” is getting tiresome and confusing, sigh.
It’s one of the main reasons I haven’t even upgraded my bbPress forums to the latest full .80, with category enhancement, just seems pointless… 
spencerp
Hi, chrishajer
In the tests we have done, it does work adding a new topic and also adding new tags to an existing topic.
Hello,
I need to add a custom page to my forum that acts like any other page, but with custom content I have added. It’s actually going to be a “Contest Status” page, where users can check to see if they have completed the steps necessary to enter the contest, and once they have to track the contest’s progress. I know how to create a custom page in wordpress that just points to:
http://www.myurl.com/chosen-page-name
but I can’t quite wrap my brain around this in bbpress. I want the most elegant, simplest, and most unobtrusive solution I can find. I would love the page to resolve to:
http://www.myurl.com/forum/contest
Is this functionality built in? Is it plugin-able? (I’ve never built a plugin). Is there a simple workaround?
Any tips or information is greatly appreciated.
Hi
thanks for the quick reply.
Yes the IP, userid, pass is correct.
The domain string is where i may be having trouble as i am not sure wat to put in there. I have tried multiple domain strings but no success.
Have tried both TLS on/off.
I am fairly certain that the firewall is set ok.
We have other applications using the ldap server successfully, however from different servers.
I have successfully used the following code example to produce a connection and return a result from the LDAP server. maybe this can help you debug the issue?
<?php
// basic sequence with LDAP is connect, bind, search, interpret search
// result, close connection
echo "<h3>LDAP query test 2</h3>";
echo "Connecting ...";
$ds=ldap_connect("192.168.1.73"); // must be a valid LDAP server!
echo "connect result is " . $ds . "";
if ($ds) {
echo "Binding ...";
$r=ldap_bind($ds); // this is an "anonymous" bind, typically
// read-only access
echo "Bind result is " . $r . "";
echo "Searching for (sn=S*) ...";
// Search surname entry
$sr=ldap_search($ds, "o=Lions", "sn=S*");
echo "Search result is " . $sr . "";
echo "Number of entires returned is " . ldap_count_entries($ds, $sr) . "";
echo "Getting entries ...";
$info = ldap_get_entries($ds, $sr);
echo "Data for " . $info["count"] . " items returned:";
for ($i=0; $i<$info["count"]; $i++) {
echo "dn is: " . $info[$i]["dn"] . "";
echo "first cn entry is: " . $info[$i]["cn"][0] . "";
echo "first email entry is: " . $info[$i]["mail"][0] . "<hr />";
}
echo "Closing connection";
ldap_close($ds);
} else {
echo "<h4>Unable to connect to LDAP server</h4>";
}
?
Hi,
Mod rewrite rules set up for bbPress are OK and are better then the ones WordPress uses. However some tweaking can be done to make things better.
I’ve tried to put up together a permalinks plugin. I think that I am half way done but I need some help finishing things up.
The plugin can be downloaded from:
http://www.phpdigest.net/
You can take a look to my test site:
http://www.dfur.com (the template is not finished)
The forum link was changed from:
http://www.example.com/forum/forum_id
to
http://www.example.com/forum_name
The topic link was changed from:
http://www.example.com/topic/topic_id
to
http://www.example.com/forum/topic_id
I need help with creating the pagination mod_rewrite rules (page_2 ). Please let me know if anyone can help with setting up new pagination mod_rewrite rules for this page:
http://www.dfur.com/designer_furniture/topic5
Thank you,
Mircea Piturca and Paun Narcis Iulian.
The following is the encypted version of the password “test”
098f6bcd4621d373cade4e832627b4f6
If you go into the database and put that in, your new password will be “test”. That will get you going!
Trent
In the course of testing I logged out. Whoops, need to log back in but don’t have the PW. Check email to look for original welcome email… nothing: never got one.
So I can retrieve it, right? Nope, it’s not getting to me. Must be my email address, right? I change it to another one (via database email field change), no dice. Create a new user, no email still.
So I can just look in the db for the pw, right? Nope, that’s encrypted. (Good, I’m not complaining, just saying what I’ve tried.)
Any hints on where to go from here?
Ah ok can you tell me what attributes it contains? (so how the table is build) Does it have: set, item, page etc etc?
Some suggested using set and item isn’t smart and could cause problems. But if these excist in your table, then it isn’t a problem. I think there is something “wrong” with the insert but to be sure. I am gonna make a version where I change the set and item into other values. Perhaps you can test that version for me when it’s done?
Still funny, it works on my own 2 test servers
yeah, this forum is still online, feel free to play, I’ve been testing in this thread, but my css needs updating as not all effects are visiable (i.e. quotes are marked up in html, but css show’s white on white – doh !)
Sometime ago I adapted a script that imports data from phpBB. Some of the changes are probably a Bad Thing, but it worked for me (about 40 users, 15 forums, 150 topics and 800 posts).
Among the changes:
- Keeps current users, forums, etc. in bbPress. The new forum had started, so I wanted that, even though most new messages were just for testing.
- When an SMF username is found in the bbPress DB, the bbPress user is assigned to the SMF one. Otherwise, a new user is created.
- Imports tags that can’t be used in bbPress, such as table, flash and some stupid formatting stuff.
- Probably other things I don’t remember.
Jump to the CONFIGURATION SECTION and change to match your setup and liking. Wherever you see phpbb it really means smf, of course. One of the things I didn’t do was that type of cleanup. Also, despite the comments saying that you need a fresh new install of bbPress, that’s not true anymore.
Keep in mind that data reuse only happens with users. If a forum or a topic exists in bbPress with the same name that one from SMF, you’ll probably get two topics with the same name (different ID number, though). I haven’t tested this, and I don’t know if that means problems.
Also, subforums become forums on their own, as bbPress uses a flat one-level system. If you are using the plugin that allows for subforums, you may be able to correct this afterwards, or even add the code to the script so that it is done.
If you don’t want any of the probably Bad Things I introduced, get the original one and look compare the
$export_sql
lines to have a feeling of what to change.
Now, if there’s any interest, where do I send it?
DavidBessler, thoughtful comments. That Wikipedia page is very daunting. The last link on the page though is the resource I use for testing the various CMSs:
http://opensourcecms.com/
You can test and try all the Open Source packages right there, admin and front end. It’s a good resource.
It seems that the text is converted to emoticons on the initial post or display or something, but when I got back and edit a post to add one, it is not converted on display? When I make a test post immediately afterward, the same text is converted to an emoticon.
Anyone have a similar experience? It would seem the text is translated on display, not posting, so, I can’t see how this would happen actually.
I have the same problem. My display name is shown correctly in the posts and on the forum front page, but not at the top of the topics.
interesting too,
not lost display WP Comments.
that was fast! 
Very interesting, I see you’re doing both things:
– Display WP posts in bbpress forums
– Display bbpress topics in WP
Are these two different plugins? I guess it’s one for WP and one for bbpress.
Looking forward to those plugins!
finalizing a plugin… it includes a sidebar function and and page function…
http://test.klasen.us for the sidebar function
http://test.158th.com for the main page latest forum topcis functions…
should be all one wp plugin soon..