Forum Replies Created
-
I had a similar dilemma but managed to figure it out, even how to add javascript without screwing up the activity stream (see https://buddypress.org/forums/topic/add-content-above-activity-stream-in-bp12 ).
Assuming you’ve elected to have site activity shown on your home page, you want to add content to bp-default>activity>index.php. Not home.php. The neat thing is that you can add content that displays to non-logged-in users that is different than that displayed to logged-in users.
You can see it in action on my site here: http://rspace.org
Got it!
I found a workaround that works like a charm to get a javascript file to execute on the homepage without interfering with the activity stream. http://articles.techrepublic.com.com/5100-10878_11-1045061.html
Ok, figured it out – I’m slow sometimes

But, can anyone give me a hint on how to get javascript functions working without interfering with the activity stream?
I’ve tried putting all the script in external files and calling them from the index.php page but the only way I got it to work was by putting the calls above the get_header function. That really messed things up in IE (no surprise there).
Putting the calls anywhere else in index.php works, but the activity stream simplt doesn’t show anymore.
Thanks! I’ve had that one bookmarked for a while.
I’ve been learning what (I think) I need to about the web for a couple of years, building sites, dabbling with this and with that. Just when I’m ready to begin developing the project I’ve had in mind for years – a community support network for recovering alcoholics & addicts – I stumble upon Buddypress. That’s serendipity.
Thanks to you and the gang for all the work you guys have put into this.
I agree, Vipers Quicktags is a great plugin. It works just dandy in BP1.2beta, and you can use the shortcode in the sidebar text widget with any parameters to adjust.
Well now. After deactivating all plugins, a fresh download and reinstall of BP1.1.3 including parent & default themes, reactivating BP (with no other plugins activated), everything works fine with the bp-default theme.
When I reactivate my custom child theme, that’s where things screw up. Aha!
OK. Back to the drawing board for my child theme… and this time I’ll try to follow the instructions better
Hi!
I’m having a similar little bother with a flash movie in my header. It works just fine on the home, blog and directory pages, but it doesn’t show on internal or profile pages.
I’ve used the same approach as David: image in header CSS, and flash in a div in child header.php
Of note: a static image in lieu of the flash movie works just fine on all pages.
Anyone have any ideas for a php-dummy?
Replace BP_PAGE_SLUG with BP_YOUR-SLUG-NAME_SLUG in both wp-config.php and header.php
Replace Slug Label in header.php with the text you want to appear on the slug.
<li<?php if ( is_page( BP_PAGE_SLUG ) ) : ?> class="selected"<?php endif; ?>>/<?php echo BP_PAGE_SLUG ?>" title="<?php _e( 'Slug Label', 'buddypress' ) ?>"><?php _e( 'Slug Label', 'buddypress' ) ?></li>Correct code:
<li<?php if ( is_page( BP_PAGE_SLUG ) ) : ?> class="selected"<?php endif; ?>>/<?php echo BP_PAGE_SLUG ?>" title="<?php _e( 'Slug Label', 'buddypress' ) ?>"><?php _e( 'Slug Label', 'buddypress' )</li>Thanks r-a-y! That worked on both accounts (cookies, huh).
I kinda figured the file would have to go in mu-plugins, but hesitated trying anything for fear of really mucking things up

Thanks again! I’m learning… slowly.
@r-a-y… or anyone else

I modified sandeep’s code as per your instructions and it worked fine BUT… Google Analytics hijacks my pages with their Content Overlay view, even if I’m signed out of Analytics, and covers up the admin bar so I can’t even access the dashboard. (I know, weird). I’ve deleted the file for now.
Any ideas on this one?
Plus, the code only showed in the source of my main site, but not in any member blogs. Know if this or any other similar plugin can be installed site-wide?
I fully agree with the sentiments expressed above concerning the hard work devs put into their code, and their legitimate desire to offset their investment by charging a small fee for their products. I have no qualms whatsoever about paying a fee when it comes to something I want.
Think about it: when you go to the corner store to buy milk, do you complain that it’s not free? Do you honestly believe that because milk is supposed to be good for your bones that it should be free? If not, why insist that anything else you seem to hold dear (yet which is clearly provided by another) be given to you on demand?
Use and manipulation of GPL code may be free for all, but the blood, sweat and tears of others’ work surely is not.
Just got a message from jeffreeeeey saying the code isn’t displaying properly. Oops, forgot to enclose it in tags. Here it is (hopefully..):
<li<?php if ( is_page( BP_PAGE_SLUG ) ) : ?> class="selected"<?php endif; ?>>/<?php echo BP_PAGE_SLUG ?>" title="<?php _e( 'Slug Label', 'buddypress' ) ?>"><?php _e( 'Slug Label', 'buddypress' )</li>@ charlie
Have you tried the Pages widget? You can list all your WP pages in specific orders, even exclude certain pages from the list using their page ID. It’s simple and works well.
Hi David (if you’re still there),
Thanks! The components.css.patch works fine to display the button properly when added to bp-sn-parent/_inc/css/components.css and bp-default/_inc/css/screen.css
But, clicking the button in IE still causes the entire contents of the column to slip down below the level of the last element in the leftmost column – the “Me” section (problem #2).
Seems to be a hiccup in the form display…
Any ideas on that one?
By the way, I’m running WPMU 2.8.6 & BP 1.1.3
@ xevo: Yup, I had removed kubrick but, even after putting it back in and making sure it was activated, still nothing. The blogs do show up in the Blog Directory and the blog listing of my admin dashboard, but nothing else associated with them seems to exist; no blog, no blog dashboard…
OK stop.
After much fiddling, I just found the problem (another duh! moment). I had a chat plugin activated site-wide which, somehow, had prevented any blogs from showing up. Deactivating and reactivating (not site-wide this time) solved it.
Thanks again for your very quick reply!
Finally back at it after a few days off for Christmas, and faced with another hurdle. I can create a blog but when I access it, nothing shows but a blank screen. I tried the fix suggested in this thread but it didn’t help (actually, I couldn’t even access the Create A Blog page so I re-edited the file as it was originally). I’m running WPMU 2.8.6 / BuddyPress 1.1.3.
I’ve tried deactivating the most recently installed plugins, but nothing seems to be in conflict. If need be, you can see my efforts here: http://rspace.org/
Any ideas?
Umm… duh!
It finally dawned on me to read the Readme files of plugins that were creating this conundrum. It turns out that in each, a certain folder had to be moved to the bp-default theme directory. They work fine now. The problem was with the sack of meat sitting in front of the computer
Hi again Paul,
OK, I’ve activated only the photo album plugin and I get the same weirdness.
Any ideas?
Hi Paul,
Yup, I think Achievements is a fun and helpful addition for new users.
As for the problem, I first resolved the one described in this post: https://buddypress.org/forums/topic/wireclub-chat-plugin-screwed-up-my-site (also thanks to your help!).
Now I’ll try to fix this one… and the fun continues!
Hot diggety!!
Paul, you’re a genius… it worked! And I never would have thunk of that fix.
Thanks!
Oh, and thanks for checking out this post too: https://buddypress.org/forums/topic/blog-sidebar-widgets-showing-up-in-profile
I’m also running WPMU 2.8.6 and BuddyPress 1.1.3 with subdirectories. I’ve found a rather tedious workaround to get rid of the double entries, but it doesn’t stop them from happening.
From cPanel, go to phpMyAdmin and find the table wp_bp_activity_user_activity_cached. Click on Browse, find the entry you want to delete from the table, and delete it. It’s now gone from the activity stream.
Woke up in the middle of the night and had to have a go at it. And I found it.
In the layout css for the blog/directory pages of the BP parent theme, the sidebar ID had a z-index of 999.
It doesn’t anymore… and it all works fine now. Couldn’t do anything about the footer though.
Thanks again Boone for the suggestion!
Thanks Boone,
I’ll give that a try tomorrow… gotta get some sleep!