Search Results for 'code'
-
AuthorSearch Results
-
mcmc
Memberdoesn’t seem to work, looks like this now (see http://investorsbuzz.com/forum_)
I added the code at the beginning:
# Getting rid of the WWW in front
RewriteEngine on
RewriteCond %{HTTP_HOST} ^www.investorsbuzz.com [NC]
RewriteRule ^(.*)$ http://investorsbuzz.com/ [L,R=301]
RewriteEngine On
RewriteBase /
#uploaded files
RewriteRule ^(.*/)?files/$ index.php [L]
RewriteCond %{REQUEST_URI} !.*wp-content/plugins.*
RewriteRule ^(.*/)?files/(.*) wp-content/blogs.php?file=$2 [L]
RewriteRule ^(.*/)?avatar/(.*) wp-content/avatar.php?file=$2 [L]
RewriteRule ^(.*/)?sitemap.xml wp-content/sitemap.php [L]
RewriteRule ^(.*/)?global-posts-feed/(.*) wp-content/recent-global-posts-feed.php [L]
# add a trailing slash to /wp-admin
RewriteCond %{REQUEST_URI} ^.*/wp-admin$
RewriteRule ^(.+)$ $1/ [R=301,L]
Also: what do you mean with
Ugh and there’s a bug in put $1 right after the / in http://investorsbuzz.com/
Thanks!
June 17, 2009 at 8:33 pm #74687In reply to: Just one more… release candidate 1.0-RC-3
Ipstenu (Mika Epstein)
ModeratorWP 2.8 (not MU), been integrated since 2.7 without issue once I re-set my secret keys. The only hard time I had was sorting out my cookie paths, since I have my blog at domain.org/blog, but it’s ACCESSED at domain.org, and the forums are domain.org/forums.
This has been working like a champ:
// WordPress cookie integration speedup
$bb->wp_siteurl = 'http://domain.net/blog';
$bb->wp_home = 'http://domain.net';
$bb->cookiedomain = '.domain.net';
$bb->cookiepath = '/';
$bb->authcookie = 'wordpress_COOKIE';
$bb->secure_auth_cookie = 'wordpress_sec_COOKIE';
$bb->logged_in_cookie = 'wordpress_logged_in_COOKIE';
$bb->admin_cookie_path = '/forums/bb-admin';
$bb->core_plugins_cookie_path = '/forums/bb-plugins';
$bb->user_plugins_cookie_path = '/forums/my-plugins';
$bb->sitecookiepath = '/blog/';
$bb->wp_admin_cookie_path = '/blog/wp-admin';
$bb->wp_plugins_cookie_path = '/blog/wp-content/plugins';Also I kick all http://www.domain.net traffic back to straight domain.net to force things to be in order, which may be useful to someone.
June 17, 2009 at 8:28 pm #74741In reply to: BikingToronto.com/Forum
Ipstenu (Mika Epstein)
ModeratorAs a novice bike commuter (who visits Toronto) WOOT!
Your site looks good
If you do, eventually, bring WP into the game, you may need some finagling, as ‘reverse’ integration is a bit un-tested.
Ipstenu (Mika Epstein)
ModeratorPut this in your .htaccess file at the public_html level:
# Getting rid of the WWW in front
RewriteEngine on
RewriteCond %{HTTP_HOST} ^www.investorsbuzz.com [NC]
RewriteRule ^(.*)$ http://investorsbuzz.com/$1 [L,R=301]If you have wordpress info in that file, put this BEFORE the WP stuff.
Ugh and there’s a bug in put $1 right after the / in http://investorsbuzz.com/
I don’t know why that’s happening. See http://yfrog.com/eahtaccessg
June 17, 2009 at 8:15 pm #74412In reply to: bbPress overwriting a DB value
Ashish Kumar (Ashfame)
ParticipantNow you know who has lost admin access
June 17, 2009 at 8:12 pm #74671In reply to: Which WordPress and bbPress version combination?
Ashish Kumar (Ashfame)
ParticipantI tried integrating WordPress 2.8 with bbPress 0.9.0.5 today but I found out that it can’t be done as per my tutorial because WP 2.8 has added one more function by which they change how they handle login so “Freshly baked cookies” plugin is broken for WP 2.8 at the moment. I would suggest integrating WP 2.7.1 with bbPress 0.9.0.5
Apart from new Widgets functionality, theme installing capability and some back-end performance improvement, you won’t miss much

Or you can wait for a few days for bbPress 1.0 which will integrate with WP 2.8 without any pain.
June 17, 2009 at 8:02 pm #73352In reply to: Menu Links
Ipstenu (Mika Epstein)
ModeratorWhat’s ‘this’?
Cause as I said, you CAN delete posts and move topics. What ‘this’ are you talking about?
June 17, 2009 at 6:40 pm #74683In reply to: Just one more… release candidate 1.0-RC-3
Arturo
Participantthe automatic timezone is a fantastic feature!
the backend is very fast to load…
BUT
cookie integration with wp 2.8 (not mu) doesn’t work, when i try to login bb i’m logged out from wp and vice versa (my old problem)
i’m in wp-config.php
define(‘COOKIE_DOMAIN’, ‘www.site.com’); (without dot in front)
define(‘COOKIEPATH’, ‘/’);
in bb-config.php
$bb->cookiedomain = ‘www.site.com’;
with or without www nothing change.
ah, i’ve your plugin activate…
this is my only problem with this (the best) bbpress release until now
June 17, 2009 at 5:59 pm #15022Topic: BikingToronto.com/Forum
in forum Showcasebikingtoronto
Member*Just* started using bbpress for a forum… have been using blogger for my blog, but the ease of bbpress is making me seriously consider wordpress for the blog.

Looking forward to more bbpress developments.
Forum at http://www.bikingtoronto.com/forum
June 17, 2009 at 4:10 pm #15020Topic: On attachment file permalink
in forum Pluginsdreamfree
MemberI have installed the bbPress Attachments plugin, it works fine to add an attachment, but the problem is that, the corresponding file will has a link like :
http://www.dreamfreeblog.com/bbs/ topic/18?bb_attachments=30&bbat=19
or
http://www.dreamfreeblog.com/bbs/ ?bb_attachments=24&bbat=13
as Google indexed page, actually as “Sorry, download is restricted.”
Is there a method to avoid such permalinks except that to write a robots.txt rule for Google? Many thanks in advance!

Check this thread in my bbPress for an example:
June 17, 2009 at 2:53 pm #74379In reply to: Final release candidate 1.0-RC-2 is available.
Ipstenu (Mika Epstein)
ModeratorAsk a silly question

Page links for bbPress (1.0.4) should be removed, since it’s build in to bbPress 1 (per Sam). But yeah, the rest of your plugins look fine.
June 17, 2009 at 2:40 pm #74411In reply to: bbPress overwriting a DB value
Ipstenu (Mika Epstein)
ModeratorI’ve never lost admin access on any integration (6 and counting). Hence my confusion
June 17, 2009 at 10:51 am #74375In reply to: Final release candidate 1.0-RC-2 is available.
the_Wish
MemberThanks. I clean installed the “latest” build, still no dice unfortunately. Code keeps getting scrambled. I went back to RC1 which doesn’t have this problem for me.
If it’s working for you, maybe it’s related to one of my Plugins (though I doubt it)… will have to wait for the final beta I guess.
June 17, 2009 at 7:53 am #74410In reply to: bbPress overwriting a DB value
Ashish Kumar (Ashfame)
ParticipantLoss of admin access problem has happened to several people (almost all of them, if I am not wrong).
Have you tried my method of integration? You will end up with what I did. Moreover, I am new to bbPress and learning it slowly. So, I might be doing something that I am not supposed to but I guess I am right. Who knows? Atleast I don’t.
June 17, 2009 at 5:47 am #65895In reply to: Show (gr)avatar on frontpage
grassrootspa
MemberI’m a newbie, so please don’t beat me into a pulp
So the code above works with BBPress RC2, etc?
Anyone develop any sort of plugin to do this?
June 17, 2009 at 5:44 am #74625vikram_gripsack
MemberThanks Atsutane and CK , this is working perefectly fine.
June 17, 2009 at 5:44 am #73845In reply to: New minimalist theme available
michael3185
MemberDuh. Too tired to be let loose near a PC.
June 17, 2009 at 5:44 am #15019Topic: How do i edit the tags, in topic page
in forum Troubleshootingmassbase
Memberreference: http://www.massbase.com/topic/php-if-structer-how-does-it-wokr-im-an-idiot-i-dont-know
this is proving hard, especially with so much in such a little piece of code … e.g. <?php topic_tags(); ?>
all i want to do is, inline the lists, and remove that “Tag:” text before the tags… and possibly inline the input field and submit button… but i dont know where the code is that is pulled by the <?php topic_tags(); ?>
thanks
June 17, 2009 at 5:08 am #74301In reply to: Convert WP Super Cache plug-in for bbPress ?
frooyo
MemberSince you have some free time (and it sounds like you understand the inter workings of bbPress), would you mind taking a shot at converting the WP Super Cache plugin for use with bbPress

Again, the key here is that it really only needs to work for non-logged in users since they will generate the most traffic (most load on the server).
June 17, 2009 at 4:56 am #74300In reply to: Convert WP Super Cache plug-in for bbPress ?
massbase
Member@ashfame – i just graduated
…….. which is why im bugging the hell out of everyone here. got all the time in the world… until i find a job, bit like finding a needle in a haystack though.@frooyo…. CK doesnt even have the time to make BB-Attachments compatible with RC1+ (i asked earlier) which is far more important than caching one of the litest forums available. …
June 17, 2009 at 4:44 am #74650In reply to: Can you only use the LOOP once per page.
Ashish Kumar (Ashfame)
ParticipantIts just code that works. Real power is the pluggable nature of bbPress & WordPress which lets you add almost any functionality without bloating the code for mass consumption.
June 17, 2009 at 3:13 am #74668In reply to: Which WordPress and bbPress version combination?
chrishajer
Participant> Can I use the latest production/stable releases of WordPress (2.

> and bbPress (0.9.0.5) together?
You can if you use something to make the cookies compatible:
https://bbpress.org/plugins/topic/freshly-baked-cookies/
or
http://superann.com/2009/02/26/wordpress-26-27-bbpress-09-cookie-integration-plugin/
Those were using bbPress 0.9.0.4 and WordPress 2.7, and there has been some additional talk about adding a line to (or was it removing a line from??) your bb-config.php to make the 0.9.0.* cookies work with WordPress 2.8:
https://bbpress.org/forums/topic/bbpress-10-release-candidate-1#post-30330
> Is that the best combination?
Best is up to you to decide. I think you will find you can integrate logins and also have the greatest number of bbPress plugins available with 0.9.0.5.
> Will most of the plug-ins or extensions for bbPress be available with those versions?
The majority of the plugins were designed to work for 0.9 and below. There are significant changes to the 1.0 RC that some plugin authors are not updating their plugins until 1.0 becomes finalized.
https://bbpress.org/forums/topic/list-of-plugins-that-work-on-rc1#post-37033
June 17, 2009 at 2:44 am #74660In reply to: Testing Embeded Video
Sam Bauers
ParticipantbbPress 1.0 incorporates the shortcode API from WordPress, so most shortcode based video insertion plugins for WordPress will work with only minor modification.
June 17, 2009 at 2:43 am #15017Topic: Which WordPress and bbPress version combination?
in forum Installationwire42
MemberCan I use the latest production/stable releases of WordPress (2.
and bbPress (0.9.0.5) together? Is that the best combination? Will most of the plug-ins or extensions for bbPress be available with those versions?I like the look of a lot of the plugins and just wanted to make sure that they will work. Thanks!
June 17, 2009 at 2:05 am #74658In reply to: Testing Embeded Video
bzmillerboy
MemberI guess you can’t embed video objects huh

I am trying to setup a buddypress community but the client wants to be able to post videos. Since you can’t directly link a blog to a group (or have a link to your the groups blog on the groups page), I was thinking I’d use bbPress for posting videos and images. …guess not?
-
AuthorSearch Results