Search Results for 'buddypress'
-
AuthorSearch Results
-
May 26, 2010 at 12:18 am #79685
In reply to: Querying specific groups based on parameters
Aditya Singh
Participantmeanwhile, i am looking at the functions you mentioned….if this does not work, i will need them only…

btw, just to bring it your attention: on codex.buddypress.org, the search form is not working…
also on the page of bp_has_groups(), in the documentation it is written bp_has_site_groups()
This might be right, but I could not find bp_has_site_groups() functions anywhere in the files in groups folder…so thought i will point these two issues out to you guys…hope its cool…May 26, 2010 at 12:15 am #79684In reply to: Querying specific groups based on parameters
Aditya Singh
Participant@r-a-y
thanks mate…its just that I will be using the same thing…but for fetching different data on other areas of my site, so wanted to know bp_has_groups coz it will be needed eventuallyPasting once more, making a final attempt at resolving this. Please have a look. Appreciate your patience with me.
May 26, 2010 at 12:01 am #79682In reply to: Help: bp-custom.php
rich! @ etiviti
Participanttesting that really quick…
Fatal error: Call to undefined function is_main_blog() in
xampplitehtdocsbuddypresswp-contentpluginsbp-custom.php on line 4May 25, 2010 at 11:57 pm #79680jillsays
Member@r-a-y — any help you could give me would be tremendous. I’ve been at it for days and am about to crack!
Writing functions is way out of my league, but if you’d be kind enough as to help, there’s beer money in it for you!
JillMay 25, 2010 at 11:36 pm #79677In reply to: Help: bp-custom.php
Shnooka30
Participant//CUSTOM CODE FOR BUDDYPRESS
// Remove buddypress widgets from blogs other than the main blog
function hide_bp_widgets() {
if (!is_main_blog()) remove_all_actions(‘bp_register_widgets’);
}
add_action(‘plugins_loaded’, ‘hide_bp_widgets’, 1); // Has to run before bp_setup_widgets()May 25, 2010 at 11:33 pm #79675r-a-y
Keymaster@jillsays – As long as you have your users integrated between WP and bbPress, it’s definitely possible.
I don’t have any code to give you at the moment… but the way I’d go about it is, I’d write a function in bbPress to find your BuddyPress avatar directory, then you could do a check to see if the user_id directory exists… if so, spit out the BP avatar URL in bbPress.
May 25, 2010 at 11:26 pm #79674In reply to: Custom Language changes not showing
justbishop
MemberAre we talking about the .mo file, or the bp-custom.php file I created? I’ve tried both files in wp-content/plugins/buddypress/bp-languages/ as well as wp-content/plugins/ with no result.
If someone can tell me how to post code here, I’ll post what I have in my bp-custom.php. I tried earlier and it just kept posting blank.
May 25, 2010 at 11:19 pm #79673jillsays
Member@r-a-y,
is it possible to show buddypress avatars on bbpress WITHOUT deep integration? i have a high traffic site, and i’m already low on memory!May 25, 2010 at 11:13 pm #79672In reply to: Custom Language changes not showing
Boone Gorges
KeymasterMake sure you’ve got the path to the .mo file correct. The tutorial assumes that you’re keeping it at wp-content/plugins/buddypress/bp-languages. Is that where you’ve got it?
Can you post the code that you’re using in your bp-custom.php file?
May 25, 2010 at 11:12 pm #79671In reply to: BuddyPress-Links 0.4.x Releases and Support
Mark
ParticipantHI, I’m using your Buddypress links plugin which I think is great but the only issue I have is that the ”Links” Link which is automatically added to the nav bar for my site also adds it to my subdomains which would be fine if it pointed the link on the subdomains to http://www.site/links like it does on the main domain. Instead on the subdomains it points to http://www.subdomain.site/links which displays a page not found error. -I’m using wordpress mu 2.9.2, the latest buddypress install and Buddypress links Version 0.4.1. Any thoughts on how to fix it or is the versions I’m running not compatible? I tried activating the pluin both site wide and not site wide and it happens in both cases. I appreciate any feedback.
Thanks
MarkMay 25, 2010 at 10:52 pm #79668In reply to: Custom Language changes not showing
justbishop
MemberThanks

Moved it, but nothing changed

ETA: I edited and converted the original buddypress.pot file to the .mo file and then uploaded that, if that makes any difference. So, not there’s buddypress.pot and buddypress.mo in my wp-content/plugins/buddypress/bp-languages folder, when originally there was only the .pot file. Is that wrong?
May 25, 2010 at 10:49 pm #79666In reply to: Querying specific groups based on parameters
Aditya Singh
ParticipantThanks for the reply @r-a-y
I wasn’t expecting one so soon …
I tried that…but it did not work….My understanding is that this text-box would not allow me to paste code….so Here is the link….
http://pastie.org/private/8mymveqb0x5l04cvlm6aqaI am trying to just fetch the avatar, name of group based on slugs….as u can see, i echoed the $slug_params to see if that bit was working fine…it is… Help appreciated…
May 25, 2010 at 10:37 pm #79665In reply to: Can group avatar size be changed?
rich! @ etiviti
Participantbp_group_avatar accepts the following args
$defaults = array(
‘type’ => ‘full’,
‘width’ => false,
‘height’ => false,
‘class’ => ‘avatar’,
‘id’ => false,
‘alt’ => __( ‘Group avatar’, ‘buddypress’ )
);May 25, 2010 at 9:37 pm #79659pcwriter
ParticipantNope, that didn’t work quite right. But this DOES:
http://pastebin.com/pMH5dQLdNotes on highlights:
– Lines 1 to 3 have been added to include a message to non-logged-in users.
– is_user_logged_in conditional added to line 5 AND php endif added at the end (nested “if” statements… great stuff!)Have fun!
May 25, 2010 at 9:14 pm #79656In reply to: Custom Language changes not showing
paulhastings0
ParticipantIt shouln’t go in wp-content/plugins/buddypress. Just put it in wp-content/plugins/
May 25, 2010 at 9:09 pm #79653In reply to: Custom Language changes not showing
justbishop
MemberI did the same using Poedit. Uploaded the .mo to the same place the original buddypress.pot was.
I couldn’t find a bp-custom.php file anywhere in my install, so I created one and c&p’d the code the tutorial linked above told me to. Do I need to put something in place of “mysite”, and if so, what? Should there be anything else in bp-custom.php? I uploaded it to wp-content/plugins/buddypress, should it go elsewhere?
May 25, 2010 at 9:04 pm #79652pcwriter
ParticipantYou would need to create a forums-loop.php file in your child theme. Try this: http://pastebin.com/mpizkJXq
Notes on highlights:
– Lines 1 to 3 have been added to include a message to non-logged-in users.
– The is_user_logged_in conditional has been moved from line 10 and added to the initial “if” statement on line 5 (actually lines 6 & 1 in forums-loop.php).This should work but unfortunately, I can’t test it on my site ‘cuz my server is down. Oh well… it looks like I’m going to have to dust off my xbox

Let us know how it goes.EDIT: 5 min after posting this, my server’s back up again. Lemme test my own theory…
May 25, 2010 at 9:02 pm #79651In reply to: SEO for Buddypress
eyaldrori
ParticipantThanks
May 25, 2010 at 8:39 pm #79650In reply to: Welcome Pack update request
tridian
ParticipantHello Paul, just installed the plugin and it’s a great addition to BP so first off, thanks very much for the hard work on this and all the other BP work that you do. I’m running WP 2.9.2 and BP 1.2.4 and have a quick question for you. My new users are receiving the welcome message that I have configured but the subject and from user information is displayed in the body of the email along w/ the welcome message. I was expecting the email to be from the specific user I chose and the subject of the email to be from the “…with this subject” field but it was not. The email is from: <noreply @www.mywebsite.com and the subject of my email is: [Name of Blog] New message from Member User Name. Is this how it is supposed to be working? If so, I apologize for this message. Thanks very much for your time.
May 25, 2010 at 7:51 pm #79645rich! @ etiviti
Participantpossible – you’ll need to code it in though as it is only setup to sift over activity content. Have a look at the bp_activity_at_message_notification functions on the basics.
*edit – though main blog comments hit the activity stream filter – thus triggering @me mentions.
May 25, 2010 at 7:40 pm #79641In reply to: Add reply still visible after logout
Anton
ParticipantThanks for the reply Ray, I had but I have disable them all a couple of days ago.
On the modified default theme I had to edit “groupssingleforumtopic.php”
I added and if statement with is_user_logged_in() just above div post-topic-reply and now it’s displaying correctly but I’m sure that’s not the way to do it.
May 25, 2010 at 7:12 pm #79636In reply to: bp_user_link doesn’t work anymore?
rich! @ etiviti
Participantfiled a ticket
https://trac.buddypress.org/ticket/2409fat finger? – returning the logged in user instead of the displayed user
function bp_displayed_user_link() {
echo bp_get_loggedin_user_link();
}
function bp_user_link() { bp_displayed_user_link(); }where both should be point to:
function bp_get_displayed_user_link() {
global $bp;return apply_filters( ‘bp_get_displayed_user_link’, $bp->displayed_user->domain );
}May 25, 2010 at 6:50 pm #79634In reply to: private messaging broke on 1.2.4 upgrade
r-a-y
KeymasterMay 25, 2010 at 6:50 pm #79633In reply to: private messaging broke on 1.2.4 upgrade
May 25, 2010 at 6:49 pm #79632In reply to: private messaging broke on 1.2.4 upgrade
-
AuthorSearch Results