Search Results for 'buddypress'
-
AuthorSearch Results
-
November 19, 2013 at 7:53 pm #174474
In reply to: Passing user role to custom xprofile field
noizeburger
ParticipantThank you @henrywright-1,
this would be a nice alternative to my own approach, but what about my original idea? Remember you asked the same question in another thread few weeks ago.
If there would be a way to pass over the different user-roles to xprofile-fields there would be no need to create templates. You could output the field in the member-loop and make it searchable. This would be the simplest way. What do you think about it?
As an example: a user registers on my site as “band” (which is a wordpress user role). The selected field would be inserted into a (maybe) hidden xprofile-field also called “profiletype”. This field could be echoed everywhere inside buddypress (clickable, searchable). I know this could be done with only xprofile-fields too, but without the possiblity to use bp-xprofile-acl an the advantage of different user capabilities. Am I clear?
November 19, 2013 at 5:09 pm #174467In reply to: Share Users
Ben Hansen
Participanti wouldn’t say it was obvious, anyway have you also activated the site tracking component inside the buddypress network settings?
November 19, 2013 at 3:08 pm #174461In reply to: Remove Email & Website From Comments
xmatter
ParticipantI still have yet to figure this out. I have created a child theme to the default BuddyPress theme. I simply want to remove both the Email & Website input boxes.
Is there somewhere in the comments or functions file that I need to look?
November 19, 2013 at 3:06 pm #174460In reply to: Transition Effects on Activity/Member/Home
Henry
Memberif ( jq(this).hasClass('no-ajax') ) return;Without looking at buddypress.js, I’m 99.63% sure this tells the script to return (stop executing the function) if a particular page element has class ‘no-ajax’. If the purpose of the function is just to add transition effects then you could add the no-ajax class to the page element to stop the transition effects from happening.
November 19, 2013 at 2:05 pm #174456In reply to: Duplicating group component
Mandingo
ParticipantIt’s just what makes more sense in my project, I need a couple of groups with different names, each with all the functionality of the buddypress groups.
I tried doing a find/rename and creating a loader with the help of the buddypress skeleton component as people suggested in the linked thread but it didn’t work. Any help?
November 19, 2013 at 1:54 pm #174455In reply to: Transition Effects on Activity/Member/Home
lflier
ParticipantSorry Modemlooper if I wasn’t clear on what I mean by “home page.” I’m new at this game. What I mean is the page with the URI that starts with root/members/username/… . This is the page that shows the user’s activity, profile, messages, friends, groups, forums, and settings. This is the page that appears to lack the transition effects of the other pages (root/activity) and (root/members).
Thank you Henry for your confirmation of my observations. Common sense tells me to wait for BP 2.0. But curiosity drives me to try to figure this out. I found the following script in buddypress.js (my own application uses the legacy theme):
/**** Tabs and Filters ****************************************************/ /* When a navigation tab is clicked - e.g. | All Groups | My Groups | */ jq('div.item-list-tabs').on( 'click', function(event) { if ( jq(this).hasClass('no-ajax') ) return; var targetElem = ( event.target.nodeName == 'SPAN' ) ? event.target.parentNode : event.target; var target = jq( targetElem ).parent(); if ( 'LI' == target[0].nodeName && !target.hasClass( 'last' ) ) { var css_id = target.attr('id').split( '-' ); var object = css_id[0]; if ( 'activity' == object ) return false; var scope = css_id[1]; var filter = jq("#" + object + "-order-select select").val(); var search_terms = jq("#" + object + "_search").val(); bp_filter_request( object, filter, scope, 'div.' + object, search_terms, 1, jq.cookie('bp-' + object + '-extras') ); return false; } });The conditional statement that checks whether the division has the “no-ajax” class is apparently meant to catch the nav for what I am calling the home page, which has this class attached to it. Merely commenting out those lines results in a non-functional nav (clicking does nothing), so the decision to treat that page differently in the code is surely not arbitrary. There must be some reason for it. What would it be? That there is no ajax on this page?
November 19, 2013 at 12:58 pm #174450In reply to: Share Users
martinbeaulne
ParticipantI just didn’t realized I was in “tools” when I set up the network… So the answer is Yes, obviously, I set it up.
As I said:
« After installing my /en/ site, network enabled buddypress, set it up »
–> if I “network activated” buddypress, it automatically means the multisite is set up.So, my question is : Anyone knows how to make buddypress multi blog enabled when BP_ENABLE_MULTIBLOG doesn’t change anything ?
November 19, 2013 at 7:39 am #174443In reply to: buddypress login
MarialKa
Participant+1 with WP 3.7.1 and BP 1.8.1 🙁 I’m still using twenty twelve (server PHP 5.3)
in my case, it seems than it’s when rtMedia is enabled
no idea about this alert and 😉 how do to fix it, thanks in advance for your support?
November 19, 2013 at 2:32 am #174438In reply to: Share Users
martinbeaulne
ParticipantI have done the exact steps I mentionned above. And I hit a wall.
After installing my /en/ site, network enabled buddypress, set it up.. I realised BP_ENABLE_MULTIBLOG ( set to true, un wp-config.php ) is broken. Or I don’t know how to make it work.
I just can’t find out how to enable buddypress in multi blogs. I can’t have a /subsite/member/martin/ profile page. It doesn’t exists.
Anyone knows how to make buddypress multi blog enabled ?
November 19, 2013 at 2:30 am #174437Been Young
Participant@henrywright-1 Thanks for reply,
Ticket has been created. https://buddypress.trac.wordpress.org/ticket/5249#ticketNovember 19, 2013 at 1:17 am #174434In reply to: Disable Buddypress Sitewide Activity RSS
tse11
Participant@bphelp Thanks, unfortunately that didn’t work either.
For anyone wondering. I found a plugin that finally blocks the BP feeds. It is for wordpress but did the trick. The plugin is here:
November 18, 2013 at 11:33 pm #174430In reply to: Duplicating group component
modemlooper
ModeratorA group is just a BuddyPress component and you can create your own components. Duplicating the groups component is not an easy task. Why do you need more group types?
https://codex.buddypress.org/plugindev/creating-a-custom-buddypress-component/
November 18, 2013 at 9:14 pm #174426In reply to: Enable buddypress on WP multisite's sub site
martinbeaulne
ParticipantCan someone shed light on a pretty simple question:
Why people say Buddypress is a multisite plugin when, in fact, it is not.
It only works on the main site. Not on the subsite.What is the point in saying it’s a multisite plugin when it’s not ?
I spent lots of time moving my existing wp/bp site to root of my domain to make it multisite, then created a subsite, all this to make my site multi-language… Only to find out, later on, that I couldn’t* access my bp profiles, etc. from the subsite…
Am I missing something ?
I read this on some other page:
« Allow BuddyPress to function on multiple blogs of a WPMU installation, not just on one root blog (More details about BP_ENABLE_MULTIBLOG):
define ( ‘BP_ENABLE_MULTIBLOG’, true ); »at: https://codex.buddypress.org/getting-started/customizing/changing-internal-configuration-settings/
And still, after adding this, the answer to « can I put multiple blogs id in define(‘BP_ROOT_BLOG’, 2); », is still « James: no ».
.. ?
November 18, 2013 at 6:40 pm #174420In reply to: [Resolved] no support on wordpress latest version
mayur hotkar
ParticipantI got it working some how…i was able to find buddypress in the featured option in plugin… Any wayz thnx… U provide good support…
November 18, 2013 at 5:53 pm #174417In reply to: Buddypress Integration with Magazon Theme
AgenceRegard
ParticipantYess but after you paid, it’s your own business … So, I go here to post my question and ask your help.
November 18, 2013 at 5:28 pm #174415In reply to: Buddypress Integration with Magazon Theme
Henry
MemberHave you tried contacting the theme author?
November 18, 2013 at 3:50 pm #174407In reply to: [Resolved] no support on wordpress latest version
mayur hotkar
ParticipantM. Juz a beginner.. I dont know whr it is installed.. Whn my domain name got registered.. I got wordpress.. Den i installed a theme.. N the website was in existence.. Bt the default in WordPress is a blog website.. So to convert it in seconds network site m trying buddypress…. Plz help me in simple language
November 18, 2013 at 3:14 pm #174404In reply to: [Resolved] no support on wordpress latest version
@mercime
Participant@mayur-hotkar Strange. Where did you download a copy of BuddyPress? Download at https://wordpress.org/plugins/buddypress/
How did it show that ” it shows it contains virus.. So cant b installed”? Where are you hosted? Is your WordPress installed at domain root?
November 18, 2013 at 3:09 pm #174401In reply to: [Resolved] no support on wordpress latest version
@mercime
Participant@mayur-hotkar are you on a multisite installation? If so, go to Network Admin > Plugins and activate BuddyPress. If you’re on a single WP installation, try to reupload BuddyPress manually, i.e. s/FTP
November 18, 2013 at 3:06 pm #174400In reply to: [Resolved] no support on wordpress latest version
mayur hotkar
ParticipantI my search in plugin option.. I cant find buddypress…
November 18, 2013 at 1:49 pm #174397In reply to: [Resolved] no support on wordpress latest version
@mercime
Participant@mayur-hotkar BuddyPress is compatible with WP 3.7.1.
November 18, 2013 at 1:49 pm #174396Henry
Member@beenyoung you can submit a BuddyPress Trac ticket at:
https://buddypress.trac.wordpress.org/
Trac is where the core developers hang out so if you think there is a bug in the way the BP core works then that is the best place to raise the issue.
November 18, 2013 at 1:47 pm #174395In reply to: Using thesis+child theme with Bp+Bp theme?
@mercime
Participant@speedyworm BuddyPress uses the theme’s page.php to render the BP components. Have not seen a thesis theme for some time. Do check Thesis’s forums if someone already made the child theme for BP Theme Compatiblity already. If the page.php file of a thesis theme has the proprietary templating system where you cannot see the_title() and the_content() tags within the WP loop, then:
– create a new thesis child theme for BP
– copy over the parent theme’s page.php to the child theme
– change child theme’s page.php so that it contains the_title() and the_content() tags within the WP loop.November 18, 2013 at 10:55 am #174390In reply to: Disable Buddypress Sitewide Activity RSS
bp-help
Participant@tse11
Use init hook instead of bp_init! Place in bp-custom.php :
https://codex.buddypress.org/plugindev/bp-custom-php/function pcfbp_lite_cut_nonreg_visitor_rss_feed() { if ( !is_user_logged_in() ) { remove_action( 'bp_actions', 'bp_activity_action_sitewide_feed' ,3 ); remove_action( 'bp_actions', 'bp_activity_action_personal_feed' ,3 ); remove_action( 'bp_actions', 'bp_activity_action_friends_feed' ,3 ); remove_action( 'bp_actions', 'bp_activity_action_my_groups_feed',3 ); remove_action( 'bp_actions', 'bp_activity_action_mentions_feed' ,3 ); remove_action( 'bp_actions', 'bp_activity_action_favorites_feed',3 ); remove_action( 'groups_action_group_feed', 'groups_action_group_feed',3 ); } } add_action('init', 'pcfbp_lite_cut_nonreg_visitor_rss_feed');Make sure the single quotes are not being modified if you are copying and pasting the code!
November 18, 2013 at 8:12 am #174383In reply to: Trying to echo User role in all posts
noizeburger
Participant@dtabraham
I’m looking for the same functionality and would prefer, to pass the user role over to a custom xprofile field to integrate it in buddypress search.
Meanwhile I show the user roles with a function I found in the forums:bp-custom.php:
function pc_get_userrole ($user_id) { $user = new WP_User($user_id); $userclean = $user->roles[0]; return $userclean; } function get_user_role( $user_id ){ $user_data = get_userdata( $user_id ); if(!empty( $user_data->roles )) return $user_data->roles[0]; return false; }and then echo where you want (in my case I did it in member-header.php):
<?php echo get_user_role(bp_displayed_user_id()); ?>You can take a look here: link to a profile on my site
greetings
-
AuthorSearch Results