Forum Replies Created
-
The ‘news’ URL is a normal blog type list of posts created on the blog that the bp home theme is running. For instance Andy’s post here : http://testbp.org/news/beta-release-scheduled-for-december-15/ was posted on the blog at testbp.org which is the wpmu root blog.
The confusion comes into play because there is no ‘news.php’ file anywhere. bp lurks in the background looking for URLs that belong to itself and re-writes them into something else. In this case the URL mysite.org/news gets hijacked and mysite.org/index.php gets loaded instead.
@pioneerskies I was testing the bp home theme on wpmu root blog (id ==1) with wpmu installed in the doc root. Everything works fine except that I don’t want to run the bp home theme as the wpmu root blog. I like the features of the bp home theme so I tried to implement those features in the theme of my root blog. It just got to busy on that blog home page. All the bp home widgets plus those I needed for other purposes made my decision to run the bp home theme on a subdomain. I modified the widgets to allow this and I’m off and running.
So I think. The widgets work but everything else gets 404 on that blog. The ‘news’ link gets 404. I create a post on that blog and it’s 404. Nothing works that require URIs on that bp home theme, subdomain blog. At the moment that’s very Ok. All I wanted was to consolidate the social networking stuff in one place. The admin menu bar gives constant access to member features and a link to the ‘community’ blog running the bp home theme gets me site wide stuff and full member/group listings.
However, the normal URLs on that blog are getting hijacked by bp. Looks like the bp home theme was designed to run on blog 1 and it’s hard coded for that.
@gogoplata You say this isn’t so for you? All’s well in bp home on a subdomain land? What could be different between your install and mine?
Depending upon what plugin you are using and where you can embed the shortcodes ( or [youtube ….. [/youtube]) it may work or not. Some of the plugins only work on full post displays that use the_content(). It all depends on what theme you are using and what kind of page you are looking at.
Is this making sense?
I don’t think I’m being clear.
The recent activity and recent posts just show an excerpt of the full post. Looks like you are embedding media through a plugin. WPMU strips *all* the html and other stuff from the post for the small excerpt. Also many plugins hook the the_content() call which displays the entire post. Then your plugin gets a chance to do it’s video embedding thing. Excerpts don’t call the_content() they call the_excerpt(). Different way of showing post content and not processed by the vid plugin.
Yeah! Thank you Andy. Goin’ to get it right now.
@gpo1 using a custom theme works just fine now. Your bp admin bar shows up even using that alternate theme. Give it a try.
@seppolaatle112 Well dude, that it didn’t work well. That it was nothing but problems.
I fired up another ticket on this. The fix for the infinite loop doesn’t seem to work. Running with that fix and it still happens. Other strange things happen as well. I disabled the blogs component in the mean time.
I can’t get the site wide tagging plugin to work properly at all with bp.
I remember testing it before I fired up bp and it seemed to work great. Now I don’t get the posts being replicated properly. Doesn’t create categories and it doesn’t use a permalink to the originating blog. I get permalinks to the ‘tag’ blog. Like they were created on the tag blog. Not much use that. It just acts flaky with bp installed.
I sure wish I could use it! That kind of functionality is pretty important in a blog community.
I’m using two things that use google maps. The google calendar plugin which when you display the calendar entry it has a ‘map’ button that takes you to the google map for that event location.
Then there is geoPress which is a plugin that allows you to include a map inside of a post on your blog.
There are alot of event type plugins for wp. Try Event Calendar 3 It has a ton of lovely features but I couldn’t use it ’cause it doesn’t have repeating events. I looked at alot of that type of plugin but settled on a google calendar plugin. Google makes a nice intuitive calendar UI but it doesn’t integrate with the blog. Posts are not related to calendar events. wpng-calendar
@criticaltodd: what do you mean by a blank news page? No header/footer, 404. Just a white screen of death? If that’s the case then look in your error logs for the reason. Gotta be some php errors in there.
Yes, I have run into problems when using the recent blog posts widget. Whacky things start happening. I filed a ticket.
@gnattybumpo sounds like you are almost there. Your domain has to be setup for wildcard subdomains. If you don’t have access to DNS and your apache configuration file you’ll have to ask your hosting provider to make the changes for you. Here’s what the inimitable Matt has to say about this:
More than you ever want to know is at google search ‘dns wildcard subdomain’.
@wardeh, I’m sorry, confirm? I’m running the latest from svn (r547 till I update this eve). I’m thinkin’ that the people in this thread are having probs ’cause of wpmu configs that bp just don’t like. I’m not a wpmu or linux guru and I try to stick to what works well for others. I’d rather spend my time making themes do what I want them to do and building a site. Got enough problems in that area.
Can anyone confirm that BP can run with WPMU installed in a subdir and not the doc root? Be nice to know… It just hit me that you might have wpmu installed in a subdir called /bp
There were dire warnings that wouldn’t work a couple of months ago. Mayhem, chaos, gnashing of teeth and general misery would ensue. So I didn’t.
Sorry, not getting where buddyPress is installed and how you have wpmu configured. There are some options for installing wpmu first of all. It can be installed in the document root or in a subdir. Originally wpmu had to be installed in the doc root for bp to work. I heard a rumor that bp now works with wpmu installed in a subdir of the apache root. True? I don’t know. That’s the first option.
Second option is you can run wpmu with subdomains or subdirectories. You can have your URIs look like whatablog.mysite.org or mysite.org/whatablog.
@CriticalTodd it looks like you installed bp in a subdir off the doc root called ../bp is that correct? bp is installed in the wpmu /wp-content/mu-plugins dir. I’m kinda confused.
Here’s my setup that works:
1) wpmu is installed using subdomains not subdirectories in the apache document root
/var/www/mydedicatedvirtualsite.org/httpdocs/(allsortsofwpmudirsandfiles)
mysite.org launches wpmu
2) buddyPress is installed in the /wp-content/mu-plugins directory
/var/www/mydedicatedvirualsite.org/httpdocs/wp-content/mu-plugins/(lotsofbuddypress)
3) buddyPress themes get put in /wp-content/themes
/var/www/mydedicatedvirualsite.org/httpdocs/wp-content/themes/buddypress-home
/var/www/mydedicatedvirualsite.org/httpdocs/wp-content/themes/buddypress-member
However you have wpmu configured when it comes to subdomains or subdirs for creating member blogs, bp goes in ../wp-content/mu-plugins and ../wp-content/themes
How do you have your site configured?
There isn’t any need to change the permalink structure of your blog. BP hijacks lots of URIs so that no .htaccess regex magic is needed to run BP. Normally the URI mysite.org/ gets index.php and your recent blog posts. That’s what most themes do. BP home theme ain’t a normal theme.
BP home theme serves as the home/root of a community of blogs in wpmu. I’m still gonna want to post to the home blog for homey, groupy type stuff. Maybe I wanna make those things sticky for awhile. Whatever. BP does some magic URI hijacking to avoid .htaccess mods. Correct me if I’m wrong Andy but if I remember correctly, browsing the code, I saw BP doing some registering of URIs such as ‘/news’ that gets caught by some code in bp-catchuri.php. BP looks at the URI first and if it’s something it wants to pay attention to then it snags it. Otherwise it just passes it on to wpmu.
‘/news’ is one of them there things. I have the root blog running just stock out of the wpmu box and it works as I intend it to and BP seems happy also. It’s confusing I know. Maybe Andy can gen a list of all hijacked URI patterns to clarify things?
Jeez. I hope *I’m* understanding this correctly.
By the way Andy, are you the *only* one working on bp? All I see is you making commits. See this as your opportunity to bitch about slackers.
I play with the tarski theme and the way Ben does it is to use the wp filter mechanism. He builds up the stylesheets and javascript libs that are used and then calls apply_filters to trigger them. This allows for backend admin selection of any custom css files. (Anything in a specific dir gets backend admin selection). If I want to create a custom style sheet I create it and plunk it into the ../styles dir.
His entire header.php really doesn’t have any html in it at all. Just a function call. It’s a pain to try and track down one little thing in his theme but it makes it flexible.
You people are talking about the ‘News’ on the bp home page? That just shows the root blog’s posts. It’s the same as running any theme. Normal themes just show the most recent posts. X number of them. The ‘News’ link does the same.
Yes, you need to post to the root blog if you want anything to show up there. No permalink changes should be needed.
I’m worried about jjwinter. He hasn’t been heard from for 3 days.
Well, if wpmu is working then in your root blog, activate and select the bp home theme. Fill the theme with widgets as usual and play. Not sure what your question is.
Mine are set at 644 and are working ok. I’m runnin wpmu 2.6.2, as I saw no point in introducing another headache until 2.7 is out.
It’s the admin bar that’s trashed. It’s being served out of ../mu-plugins/bp-core/
What ya got for permissions under there. The images and css dirs?
Thanks Andy. I’ll play with the SVN stuff. I’ve just gotten into bp hot and heavy since you pointed out the errors of my ways when it came to me *not* having to run the bp home theme in the wpmu root blog. Got me kinda excited, ya did. Yah.
Never really worked in a team programming environment. I never had the opportunity. So I have no experience with SVN but I will within an hour. Thanks. I *was* gonna get some sleep.

Tally-ho.
(what the hell does that mean?)