Assuming you’re talking about deep integration of bbPress, you should be able to use one of the constants defined in the settings of WordPress MU / BuddPress to determine if bbPress is embedded or not.
WPMU+BuddyPress+BBpress
How do you write the php code to say
if in a bbpress side
do this
if wordpress (or else) do that.
?
ashfame,
Is this what you’re trying to generate? https://bbpress.org/forums/?new=1
Then continue reading.
The template file is front-page.php that does the “new?=1”
look at line 84-88
https://trac.bbpress.org/browser/trunk/bb-templates/kakumei/front-page.php
I didn’t upgrade mine yet, so scared that some plugins won’t work anymore.
@kawauso
Mine post-form.php is exactly the same as that of Kakumei.
I can trace the problem to an unclosed anchor tag <a> which is in bbcrumb DIV.
http://validator.w3.org/check?uri=http%3A%2F%2Fbbpress.ashfame.com%2F%3Fnew%3D1&charset=(detect+automatically)&doctype=Inline&group=1&ss=1#line-86
Where does this code comes from? I mean which file?
Username:demo
Password:demo
@gerikg
I don’t get any of what you are trying to tel me. Probably you misunderstood my question.
ash,
thanks for the link. my target audience is only IE6 and above. my laptop has IE6 and thats as low as i am willing to get….
by the way, thanks for the upgrade tip, was getting an error while doing auto upgrade, googled it and fixed the error and now my wpmu is 2.8.4a
Took a while to load but it loads on IE 8 for me. If you need to look at various IE versions, then take a look at this http://blog.ashfame.com/2009/06/check-webdesign-different-versions-ie/
Its worth the effort if majority of your target audience is using IE.
Try integrating as per this tutorial of mine on a test install : http://blog.ashfame.com/2009/07/integrate-bbpress-10-with-wordpress-28/
Just follow closely and you should be fine.
just a quick question….did you guys find the same problem with IE? or is it just me missing something?
It is compatible with WordPress 2.8.4? Thanks.
Okay I found a few things. I don’t know if it matters but I just try to mimic what I had. I’m not an expert.
I don’t know if this was a factor: You didn’t have enough keys (Salts weren’t used)
You got your keys from here: https://api.wordpress.org/secret-key/1.1/
I got my keys from here: https://api.wordpress.org/secret-key/1.1/salt
I added the new keys to both files.
You had the COOKIEPATH in wp-config but not in bb-config (again I don’t know if it matters but I do it anyway) I copied it onto bb-config. I also moved that line to the top before anything else, just in case.
And that was that.
I notice you had the wrong URL to the forums (/bb-press/ instead of /bbpress/) but that was to get the cookie path and it didn’t matter either way.
AFAIK directory index doesn’t depend on browser. Its really a weird issue in my opinion.
Great idea!
I’ve applied this way and works fine …
<?php
/*
Plugin Name: Target Blank
Plugin URI: https://bbpress.org/forums/topic/target-_blank
Description: Abre los enlaces del foro en nueva ventana. Nada que configurar, lo activas y funciona. Creado desde una idea de _ck_.
*/
function bb_target_blank( $text ) {
$text = preg_replace('||i', '', $text);
return $text;
}
add_filter('post_text', 'bb_target_blank',255);
?>
Thanks _ck_
Using IE on it doesn’t work at all for me. How weird… http://www.oraclepronet.com/techzone/index.php loads fine though on first try, so it might be something to do with how the server is handling the directory index rather than bbPress. Your version of WordPress has security holes by the way, you might want to upgrade.
I’m afraid I didn’t make it, so I can’t help you too much there, sorry. You used the full ID after http://www.facebook.com/group.php?gid= right?
Ahhh…. this worked for me:
RewriteCond %{HTTP_HOST} !^www. [NC]
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/forum/$1 [L,R=301]
Thx for the hint!
kind regards
Tom
You may do it by .htaccess …
From www to no-www
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} .
RewriteCond %{HTTP_HOST} !^www.myforums.com.com
RewriteRule (.*) myforums.com/$1 [R=301,L]
and the opposite …
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^myforums.com [NC]
RewriteRule ^(.*)$ http://www.myforums.com/$1 [L,R=301]
Hi there,
is there a way to build canonical URLs like WordPress does? WordPress automatically redirects http://domain.tld to http://www.domain.tld and I would like bbPress to do so too.
This is needed to prevent duplicate content on your site.
kind regards
Tom
Kawuso, that seemed like something I could use. But it didnt work. I entered the group ID, and it didnt find it.
Hello All,
I have a weird problem with IE. I have installed my bbpress into techzone on http://www.oraclepronet.com
I am able to visit the forum using http://www.oraclepronet.com/techzone/ on all other browsers except IE and even on IE, if I keep refereshing the browser, it displays on 4th or 5th try. I have checked this behavior on many PCs and found it to be the same. Other times, it just shows 404 – page cannot be displayed
Anything comes to your minds regarding this issue? Please let me know
Best Regards
Ramesh J Menon
http://www.oraclepronet.com
Thanks for help, your code is work fine for install. but the wiki history function still not work.
Actually, nevermind, you could use this: http://pipes.yahoo.com/jasonsilver/facebookgroup to get posts from a group. It’s throwing things out in german for me, but that’s probably fixable. Facebook is stupidly locked down in the whole though, good luck posting to it.