Search Results for 'buddypress'
-
AuthorSearch Results
-
June 24, 2012 at 4:36 pm #136330
In reply to: redirect user login
valuser
Participanthttps://wordpress.org/extend/plugins/buddypress-login-redirect/ can redirect to 3 different locations after login. 1. Personal Profile / Personal Activity Page 2. Site wide Activity 3. Friends’ Activity
https://wordpress.org/extend/plugins/login-with-ajax/ this plugin’s settings allows you go to any particular page OR to the current users particular page on login & on logout if you use %USERNAME% — its on the settings page
June 24, 2012 at 3:15 pm #136326In reply to: U BuddyPress Forum Editor Not Showing Up
1stAngel
ParticipantAre there any plugins which allow attachments and an editor on the sitewide?
June 24, 2012 at 2:27 pm #136325In reply to: What is the directory for avatar uploads?
modemlooper
ModeratorDid you install WordPress with a one click installer from your host? If so the directory may not have permissions set to allow BuddyPress to create folders and add images to your server
June 24, 2012 at 10:40 am #136318In reply to: query-post fonction for buddypress ?
Paul Wong-Gibbs
KeymasterNot sure what you’re after. Something like https://codex.buddypress.org/developer-docs/custom-buddypress-loops/the-groups-loop/ ?
June 24, 2012 at 8:15 am #136317lakhlu
MemberHey there,
mercime, thanks for your inputs, it helped me a lot, however i seem to have this styling problem anyways
Tried adding
`ul.item-list li,
ul.item-list.activity-list li {
list-style: none;
}` to my style.css, black.css, blue.css files , however it didng helpWould you please help me out a bit with this one?
http://kinogrill.org/activity/June 24, 2012 at 7:36 am #136313In reply to: I’m not getting a register button or page.
MzPozativ
MemberI have installed Buddypress on a brand new site using the Default theme.
When a visitor creates an account on the site, they do not show up as members. When I go in through my dashboard, I find them listed as subscribers. How do I get Members on the site that can join Groups?June 24, 2012 at 5:25 am #136311In reply to: I’m not getting a register button or page.
mattdans
MemberI’m having a problem with the registration page. When I type in the url imgmatters.com/walkforasl/register, it takes me to the home page (imgmatters.com/walkforasl) Same thing when I clicked the ‘view’ button on BuddyPress’ interface (in WordPress) to view the register page.
June 24, 2012 at 3:07 am #136306In reply to: CockapooPlace.com
jummy
MemberLooks good! Could you please tell me how to modify the twenty eleven theme for buddypress like you did?
June 23, 2012 at 9:03 pm #136299In reply to: The comment option don’t work…
Rudy Christoph
MemberHi All,
I don’t think that this actually is a buddypress problem. I don’t use BP and on a site I am looking at for the owner the comments don’t work. I have deactivated all plug-ins and used the standard Twenty Ten theme but they do not want to open up (oh yes I have changed the setting to enable the comments to be active). I have a 3.3 site and there it works fine on this 3.4 site it don’t
So I rather think that this is a WP issue than a BP issue.
On the other hand with software you never know….June 23, 2012 at 9:03 pm #136298Tammie Lister
ModeratorWhen you say default are you pasting from YouTube (getting the url) or using a plugin to add them into BuddyPress? I ask because a plugin could mean a different route needs to be taken.
June 23, 2012 at 4:21 pm #136296In reply to: How do you add a photo to a default Buddy page?
Mathieu Viet
Moderatorsorry i misunderstood, i’m not english, i thought banner == header…
This is an example for the activity/index.php template : the hook just under the activity page title is :
`bp_before_directory_activity_content`so in the functions.php of your active theme, you can add something like this :
`add_action(‘bp_before_directory_activity_content’, ‘i_do_not_want_custom_header’);
function i_do_not_want_custom_header(){
?><?php
}`I’m sure you’ll find the right hooks to add your ‘narrow photo’ in the other BuddyPress templates..
June 23, 2012 at 4:20 pm #136295nickharambee
ParticipantI too am noticing this behaviour, specifically with apostrophes – I haven’t tested other special characters.
I am using latest versions (WordPress 3.4, Buddypress 1.5.6 and BuddyPress Group Email Subscription 3.1.2)
June 23, 2012 at 3:58 pm #136292Mathieu Viet
ModeratorHello @valuser
Yes it can be done for tags. The trouble with your snippet is that you’re calling a function that doesn’t exist in WordPress : get_the_post_tag() !! So i adapted your function using this one https://codex.wordpress.org/Function_Reference/get_the_tags and instead of tag ids i think it’s more convenient to use tag slugs :
function do_not_record_this_tag( $post_id, $post ){ /* this is the array that contains the category to exclude */ $tag_slugs_to_exclude = array( 'exclude' ); if ( 'publish' != $post->post_status ) return false; $post_tags = get_the_tags( $post_id ); $in = false; if( !empty( $post_tags ) ) { foreach ( $post_tags as $post_tag ) { if( in_array( $post_tag->slug, $tag_slugs_to_exclude ) ) $in = true; } /* if the post has at least one excluded tag, then we remove the BuddyPress hook that records an activity */ if( $in ) remove_action( 'save_post', 'bp_blogs_record_post', 10, 2 ); } } add_action( 'save_post', 'do_not_record_this_tag', 9, 2 );if you prefer id then replace the tag slugs by ids in the array $tag_slugs_to_exclude and replace $post_tag->slug by $post_tag->term_id
June 23, 2012 at 3:27 pm #136289In reply to: [Resolved] Accessing Topic Meta
Jenny Wong
ParticipantSo the solution for anyone who is reading is that as Paul said, to use do_action (‘bbpress_init’) within the function that has the bb_ function you are trying to call!! It does not work setting it to the whole file. ( I tried it). It only has to be called once per function.
Also an example of it is : https://buddypress.org/community/groups/creating-extending/forum/topic/add-custom-metadata-to-forum-topics-for-sorting-purposes/
Hope this helps someone else!
June 23, 2012 at 2:53 pm #136288valuser
ParticipantTried this but it stopped everything getting to the activity stream
function do_not_record_this_tag( $post_id, $post ){ /* this is the array that contains the category to exclude */ $ids_to_exclude = array( 4 ); if ( 'publish' != $post->post_status ) return false; $post_tags = get_the_post_tag( $post_id ); $in = false; if( count($post_tags) > 0 ) { foreach ( $post_tags as $post_tag ) { if( in_array( $post_tag->tag_ID, $ids_to_exclude) ) $in = true; } /* if the post has at least one excluded category, then we remove the BuddyPress hook that records an activity */ if( $in ) remove_action( 'save_post', 'bp_blogs_record_post', 10, 2 ); } } add_action( 'save_post', 'do_not_record_this_tag', 9, 2 );any ideas ???
June 23, 2012 at 1:32 pm #136284valuser
ParticipantYep.
online – php 5.2.17
local: Apache/2.2.14 (Unix) DAV/2 mod_ssl/2.2.14 OpenSSL/0.9.8l PHP/5.3.1 mod_perl/2.0.4 Perl/v5.10.1
chuffed to be of help and just thanks for work.
June 23, 2012 at 11:14 am #136282nickharambee
Participant@imath. Hello, and thanks. I didn’t expect the overflow:hidden to effect the sub menus as they are within the #header div, but removing that did indeed fix this issue.
June 23, 2012 at 10:58 am #136281Paul Wong-Gibbs
KeymasterAll fixed!
June 23, 2012 at 10:53 am #136280Hugo Ashmore
Participant@djpaul I’ll try and check it over later today if I get a moment – have a feeling this is likely more a ‘my bug’ than BP’s as I did a somewhat hasty last minute adjustment to move settings out from old BP menu parent to ‘general settings’ seemed fine in 1.6 trunk though.
June 23, 2012 at 10:31 am #136278In reply to: How do you add a photo to a default Buddy page?
Mathieu Viet
ModeratorHello @tgoedde
If you’re using the theme BP Default, it’s quite easy actually. As this theme supports custom-header, you can simply edit the BuddyPress pages (Activity, register, groups, forum… and so on) in which you want to add a custom header.
I just tested this in my activity page.
1/ Edit the page in WordPress backend
2/ Use the media button to select your photo, it must have at least a width of 1250px (if under, the pic won’t show)
3/ Upload and choose not to insert but to use as featured image. Once done you can close the thick box window.
4/ you’ll see in the edit page / the featured image box at the bottom right with your uploaded image shrinked.
5/ Save the page. And you’re done
Repeat these steps for each BuddyPress template you want to add a custom header to.
June 23, 2012 at 10:23 am #136277June 23, 2012 at 10:09 am #136274Paul Wong-Gibbs
Keymaster“func_get_args(): Can’t be used as a function parameter” is actually a really useful error. Can you tell me what version of PHP is on your local web server, and the version of PHP on your production site?
I’m betting you’ve got PHP 5.2.x on your production site, and PHP 5.3.x locally. This counts as a bug (congratulations!), so I’ll make a ticket.
June 23, 2012 at 10:03 am #136273Mathieu Viet
Moderator@creaturis you’re welcome & thanks
June 23, 2012 at 10:01 am #136272Paul Wong-Gibbs
Keymaster@hnla Do you have time to check this against 1.6 to see if it’s our bug or yours?
June 23, 2012 at 9:57 am #136269Paul Wong-Gibbs
KeymasterI’ve never tried domain mapping with BuddyPress. It may just not work currently. Does it make any difference if you switch back to the BP-Default theme to test?
-
AuthorSearch Results