Search Results for 'buddypress'
-
AuthorSearch Results
-
March 3, 2010 at 10:05 pm #66588
thekmen
Participantyeah, echoing it to see what’s returned & it returns the post/page name with component tacked on, heading in the right direction though.
Using
if ( bp_is_page( BP_ACTIVITY_SLUG ) || bp_is_page( BP_MEMBERS_SLUG )
|| bp_is_member() || bp_is_page( BP_GROUPS_SLUG ) || bp_is_group()
|| bp_is_page( BP_FORUMS_SLUG ) || bp_is_page( BP_BLOGS_SLUG ) )still works fine, just would prefer an easier way & a way to make sure other components & plugins also work
Thanks again.
March 3, 2010 at 9:56 pm #66586arezki
ParticipantThanks r-a-y: I wish it was that simple. I created a second site, the first was to stimulate interest around Worldcup South Africa slated for summer 2010. After that, I want to move those who joined into a community site, not related to sports, but broadly around national and cultural issues. So the idea is to retire the sports site but not the members… a bit weird but there is a good reason there.
Cheers
Arezki
March 3, 2010 at 9:56 pm #66587r-a-y
KeymasterHmm okay… i’m just testing this locally with a child theme of the default BP theme. I also haven’t upgraded to BP 1.2.1 on this test box.
Are you echoing $bp->current_component to get these results – “a-post-with-everything-in-itcomponent” and “groupcomponent”?
March 3, 2010 at 9:53 pm #66584thekmen
ParticipantI am getting component returned for all pages/posts, viewing a post returns something like
a-post-with-everything-in-itcomponentviewing a group returns
groupcomponentnot getting numbers on any views, will try some more tomorrow, thanks a million for your help.
March 3, 2010 at 9:52 pm #66583In reply to: BuddyPress Group Tags is now available
pcwriter
ParticipantSlight problem here: when on the blog creation page (Create a Blog from Blog Directory), group tags appear at the top of the page content. Oops!
Any way to remove / hide this?
I’m running WPMU2.9.1 and BP1.2.1 with default theme.
March 3, 2010 at 9:38 pm #66581r-a-y
KeymasterI only tested the current_component on one WP page… okay just tested with one post.
It returns a number if you’re on a WP post, so do a check for is_numeric.
global $bp;
if (is_front_page() || (isset($bp->current_component) && !is_numeric($bp->current_component)) ) {
YOUR BP CSS/JS here
}This is untested… but give it a shot.
March 3, 2010 at 9:31 pm #66579thekmen
Participant@r-a-y, just checked the activity stream home page setting & you are correct,
isset($bp->current_componentreturns false but still returns true when viewing normal WP posts & pagesMarch 3, 2010 at 9:23 pm #66578thekmen
ParticipantThanks @r-a-y, using
global $bp;
if (isset($bp->current_component)) {
YOUR BP CSS/JS here
}seems to load the BuddyPress stuff on normal WordPress posts & pages where as my longer version doesn’t, any other ideas?
March 3, 2010 at 9:18 pm #66577arghagain
ParticipantI’m so happy that now I got activity problem solved which I had to follow the suggestion at http://premium.wpmudev.org/forums/topic/buddypress-upgrades-with-multi-db#post-28120. Unfortunately, I couldn’t solve the broken message problem where a member or even admin cannot send a private message to another member. Whenever trying to send a private message to a friend (which had been accepted as a friend already), I get this error “There was an error sending that message, please try again.”
Anyone has any idea how to go about fixing the private message problem?
March 3, 2010 at 9:11 pm #66576ajohnson
MemberIn the template for your main blog just hide it in the css is the easy way
March 3, 2010 at 8:55 pm #66575r-a-y
KeymasterLook at the current_component.
<?php global $bp;
if (isset($bp->current_component)) {
YOUR BP CSS/JS here
}
?>The current_component should only return something if it is a BP page.
[EDIT]
Just checked the activity stream home page… it doesn’t return anything for that.
You’ll need to add a conditional for that as well.
March 3, 2010 at 8:49 pm #66573In reply to: I can't see my inbox messages
putnum01
Participantok that seemed to have fixed it.
I think I was using a old version of the buddypress plugin.
March 3, 2010 at 8:00 pm #66564In reply to: I can't see my inbox messages
putnum01
Participantyes i am using the default theme.
I am about to reinstall wp and buddypress. I just started it
March 3, 2010 at 7:39 pm #66560In reply to: "Not Found" at Homepage (Default Theme)
Boone Gorges
KeymasterThis is a theme issue. The new bp-default has a main content area (where you’re seeing the “not found” message which signifies that you haven’t yet posted any blog entries on the main blog), and one sidebar at the right. You’ll have to create a child theme and register some new sidebars if you want to use the new bp-default and have a similar look to the old bp-sn-parent.
Here’s a discussion on the subject: https://buddypress.org/forums/topic/three-columns
March 3, 2010 at 7:02 pm #66559abcde666
ParticipantI would be already happy if the already existing Private-Groups would work properly……
March 3, 2010 at 6:49 pm #66558In reply to: I can't see my inbox messages
putnum01
Participantyea i can’t even get my messages to come up. I am running the newest WP and buddypress…
March 3, 2010 at 4:55 pm #66549In reply to: Help with the messaging system in buddypress
putnum01
ParticipantAny ideas on this one?
March 3, 2010 at 4:54 pm #66548In reply to: Activating existing users
Boone Gorges
KeymasterTim – we must be on similar wavelengths. I was just thinking about this problem yesterday and I wrote the following: http://teleogistic.net/code/buddypress/bp-import-blog-activity/. I assume that, because this creates activity items for all members who have ever posted/commented on the site, it will do the work of adding those members to the directory as well. (Still doesn’t do anything for members who have never contributed, probably.) Hope it helps.
March 3, 2010 at 4:51 pm #66546In reply to: Migrating users from WordPress to BuddyPress
Andrea Rennick
Participant“In WP v3.0, WordPress MU will be merged with the single WP installation and there will be a migration path.”
Unless you are merging together more than one standalone WP install into one multisite network, in 3.0 there will be no need to migrate anything to turn on multiple blogs (ie; multiple sites).
March 3, 2010 at 4:42 pm #66545In reply to: uStream + BuddyPress = ? and ;(
gpo1
ParticipantAm awaiting this feature for my ustream.tv,but the best bet is contact dev : bp-link maybe a pro version is in the pipeline..
March 3, 2010 at 4:26 pm #66542In reply to: Characters in usernames cause strange issues
Tim Nicholson
ParticipantBP v1.21 is very whacked out in how it handles user names and profile URL’s. I’m seeing inconsistencies all over the place. Sometimes it uses the users nicename and sometimes it seems to be using their display_name. It doesn’t handle spaces in the user name at all. With some code I found on these forums, I’ve been able to patch things up a bit, but its still a mess. Check out this thread: https://buddypress.org/forums/topic/all-links-are-working-minus-my-adminauthorall-of-my-pages.
Fixing the issue with spaces in the user name is actually quite easy by adding a urlencode() function to the string that gets used to find the user. However, in most cases the spaces in the user name are appearing because BP is using the wrong user name for the lookup.
March 3, 2010 at 4:20 pm #66541In reply to: Migrating users from WordPress to BuddyPress
Tim Nicholson
ParticipantIf anyone stumbles on this thread, there is another thread where I have replied at length about this: https://buddypress.org/forums/topic/activating-existing-users
March 3, 2010 at 4:18 pm #66540oracleappscommunity
ParticipantClearly this is broken after 1.2 upgrade. I have same issue, so I logged bug.
https://buddypress.org/forums/topic/blog-link-replaced-with-activity-in-12
March 3, 2010 at 3:43 pm #66536Boone Gorges
KeymasterThe best solution at this time is something like Group Activity Notifications https://wordpress.org/extend/plugins/buddypress-group-activity-stream-subscription/. It does a bit more than what you’re asking for, and by default it has everyone subscribed to everything, but it does allow the user pretty fine-grained control over notifications.
We’re working to make the plugin more customizable, so that the site admin could choose to turn notifications off by default. Then it would work just like the way you describe.
March 3, 2010 at 3:10 pm #66530Roger Coathup
Participant@Andy – I understand the developer logic / enhanced power of the forums-groups concept. Unfortunately, though… it causes a headache for the clients we are building sites for:
They are used to the plain simple concept of standalone forums. No amount of explanation gets me past the response “but, I still don’t see why I’ve got to create a group, when all I want is a forum”.
In one case, the client has decided they are going to run SimplePress forums integrated with BuddyPress to get around this ‘problem’.
Perhaps, it would be less of an issue if it was our own site that we were running and maintaining, but we are developing for clients who will administer the system themselves and struggle with / or don’t see the need for forums-groups setup.
I guess it’s the old marketing adage: “it’s much easier to sell them something they want, rather than to sell them something they don’t know they want”.
-
AuthorSearch Results