Well, I deep integrate most sites I end up installing so the page makes sense as a link to the forums,
So my bbpress is broken, and I don’t know how to fix it.
I built my site with wordpress in a sub directory. I integrated my bbpress with my wordpress and it worked great!
Then I decided that I wanted my URL to look like its own domain, instead of a subdomain. My wordpress went from being
brandonmdennis.com/oxhorn
to
oxhorn.com
I saved my pagelinks and presto, everything is snazzy. I went to check my forum, however, and it was broken. My forum was missing, but I still saw the admin section. So no sweat, I logged into the dashboard and proceeded to change the URL in settings from
brandonmdennis.com/oxhorn/forum
to
oxhorn.com/forum
Thinking that this would solve the issue. I clicked update, and got to an “oops! page not found” screen. But now I can’t even log into my bbpress install dashboard. Everything I do now sends me to an “oops” error page.
I tried uninstalling bbpress by removing the folder and removing the wordpress bbpress integration plugin. I tried doing a new, clean installation of bbpress, but when I get to step two I see the message “Woops! Looks like you already have bbpress installed” and it wont let me go further. I even tried installing it in a different subdirectory and got the same problem. My questions are:
1) How do I re-install bbpress?
2) Is there some code I need to remove from my wordpress installation?
3) How do I re-integrate my bbpress with wordpress so that they share the same database? I had it working splendidly until I changed my WordPress domain name.
WordPress site:
oxhorn.com
Bbpress installation:
brandonmdennis.com/oxhorn/forums
Thanks all!
Then you can create a PAGE in wordpress called Forums and it will link to the forums folder automatically.
That entirely depends on your permalink structure. You shouldn’t need to make a page for ‘forums’ at all, if WP is set up correctly, even as a subfolder under the main wordpress folder. I never do
don’t works with google translate http://translate.google.com/translate?hl=en&sl=en&tl=ru&u=
works only at main page
Hello, i need to use current page link for some code, how to get it from bbpress?
bb_uri(); returns main page link, but i need to get link where is user now.
it’s possible?
bbpress 1.0.2
thank you
upd1: found after 1 min: <?php bb_location(); ?> don’t works (returns only current name of page, etc: topic-page, forum)
I’ve put a ticket into Trac for you. If Sam agrees, it might show up in 1.1
If you simply must have it now, you can try making a plugin:
<?php
add_action( 'bb_admin_notices' , 'forums_started');
function forums_started() {printf('<p>'.__('Forums started %s ago.').'</p>', bb_get_inception()); }
?>
In order of importance (1 being the most critical):
1. When I see a highlighted topic with new posts, it redirects me to the First page when I click the link.
2. To update the “All Topics Read” I have to push this button Twice. I dunno why.
edit: Is there like this only when I have both last read and New topics function on?
3. [RESOLVED] I would like the topic to be automatically read after looking at it. How to achieve this?
For now they keep higlighted until i clear all posts read. I, as a forum user, would only like to be notified if there is a topic with new posts. I dont want it to be flagged red again until it got new unread posts.
edit: Sorry I just had to disable the
$unread_posts['indicate_last_login']=false;
4. It would be nice with a function to mark specific threads as read. Like If i dont want to be notified anymore of new posts in a specific thread.
I’m assuming you have it like this:
/site1/wordpress files
/site2/wordpress files
and not /site1/wordpress/wordpress files
Right?
If so, just put it the site1 folder as a ‘forums’ folder and you should be fine.
Yeah an iframe would do the job properly and it wouldn’t look ugly either,
I find that very odd. As it’s working perfectly well for me. Did you put function filter_front_page_topics($where)
in a plugin and activate it?
I still have one problem. the TinyMCE seems to strip alot of the p tags in the WYSIWYG environment when editing a post, and everything appears on one line. But after saving the changes, the post looks normal with the tags in correct place. It’s just the editing that looks strange.
I have no idea how to solve this. I tried to add a class to each P element created but then TinyMCE wanted to create extra <p> </p>
elements, spacing everything out in the posted text.
Hello,
I saw a somewhat similar post on here about integrating bbpress into wordpress pages, but what I want to do is relatively simpler than that.
Basically all I want to do is to “embed” a given bbpress forum into a static webpage. I’d like to not have the top header and all of the navigational links appear, but I’ll take what I can get for now ; P
Using the <php include> tag I was able to embed a forum into a webpage, but the problem is that the area I want to embed into is 500px wide. The bbpress forum is inside of that area but also spills out onto the rest of the page. The php include is being placed into a <div> area and I want the width fixed while the height changes based on how much content is inside it.
My code looks like:
<?php include(‘http://example.com/forums/forum.php?id=12’); ?>
I’m sure the best way to do what I want would be something like:
<?php include(‘../forums/forum.php?id=12’/main_forum); ?>
but I’m not too sure.
Any ideas?
Thank you!
Adam Lawton
Hello,
I saw a somewhat similar post on here about integrating bbpress into wordpress pages, but what I want to do is relatively simpler than that.
Basically all I want to do is to “embed” a given bbpress forum into a static webpage. I’d like to not have the top header and all of the navigational links appear, but I’ll take what I can get for now ; P
Using the <php include> tag I was able to embed a forum into a webpage, but the problem is that the area I want to embed into is 500px wide. The bbpress forum is inside of that area but also spills out onto the rest of the page. The php include is being placed into a <div> area and I want the width fixed while the height changes based on how much content is inside it.
My code looks like:
<?php include(‘http://example.com/forums/forum.php?id=12’); ?>
I’m sure the best way to do what I want would be something like:
<?php include(‘../forums/forum.php?id=12’/main_forum); ?>
but I’m not too sure.
Any ideas?
Thank you!
Adam Lawton
You will need someone who can help you debug the code then. Something is out of order.
You can post your whole topic.php at pastebin and post a link here:
http://pastebin.com/
Make sure you let the code stay there longer than one day (default is a month which should be OK)
Sorry, I was substituting pseudo-variable names in there: $site_title is the site title from the admin (“bbPress Support Forums” here) and the $topic_title is the topic title (this topic has “All RSS Feeds Broken?”). So, here, the RSS description is
bbPress Support Forums » Topic: All RSS Feeds Broken?
.......................^
and in a 1.0.1 installation it is
bbPress Support Forums Topic: All RSS Feeds Broken?
There is no raquo in the 1.0.1 installation, and the feed validator is complaining about that one character.
Neither the rss.php nor the theme specific rss2.php have either of those lines of code in them. Do you want to elaborate, please?
I understood the code and I had tried something similar before putting this thread here live but then the topic page fails to load, i don’t know what I m doing wrong ?
Just add it to the template file. To make it show up after the first post only, you need a counter to see which post you’re looping through. I did something like this:
<ol id="thread" class="list:post">
<?php foreach ($posts as $bb_post) : $del_class = post_del_class(); ?>
<li id="post-<?php post_id(); ?>"<?php alt_class('post', $del_class); ?>>
<?php bb_post_template(); ?>
</li>
<?php if ($adcounter == 0) {
$adcounter++;
// <div id="adcode">paste ad code here</div>
} ?>
<?php endforeach; ?>
</ol>
Basically just add the adcounter check and ad code right after the closing <li>
right after the post_template. You’ll have to adjust the particulars for your installation, but this is the basic process.
I have a 1.0.1 installation that works fine, but this 1.0.2 installation does not seem to work.
One difference I noticed in the 1.0.1 installation. When you click on a topic feed, the feed <description> looks like this:
$site_title Topic: $topic_title
– the » is missing.
With the 1.0.2 feed, it looks like this:
$site_title » Topic: $topic_title
It’s the » that is creating problems in the feed, at least with Firefox and IE8.
Start by looking at bb-includes/capabilities.php
. It defines all the roles. If you want to modify permissions, there are plugins for that depending on the version of bbPress you are using:
1.0
https://bbpress.org/plugins/topic/role-manager/
0.9
Maybe a plugin was never written? (can’t find it right now)
RSS feeds work here and on other sites, so I’m going to guess it’s deep integration or …
XML Parsing Error: undefined entity
Location: http://canadianrugby.ca/forums/rss/topic/canadian-players-overseas
Line Number 10, Column 38: <description>Canadian Rugby Forums » Topic: Canadian Players Overseas</description>
^
Might that be related to https://bbpress.org/forums/topic/fix-to-rss-xml-parsing-error#post-8864
yep, I’m interresting by buddypress.org forum theme cause it is full tableless, and really fine
exactly what i’m looking for…
I’ve done one but i’m really not a good devellopper, and code is really not perfect…
http://www.mummujoruxu.com/forum/