Search Results for 'buddypress'
-
AuthorSearch Results
-
April 9, 2015 at 7:18 pm #237579
Svend Rugaard
Participantim desperate here … will i lose something if i deactivate buddypress and unintall it and install it again ?
April 9, 2015 at 5:32 pm #237575Svend Rugaard
Participantbut isnt it possible for you to see what entrance in css file there could be mess up its up when it is errors im getting only with buddypress ? After this was installed ? my site havent got these load and error without buddypress
April 9, 2015 at 1:28 pm #237557In reply to: Language file acting up?
Henry Wright
ModeratorHi @mrgiblets
That’s slightly odd. You’d expect to see the change if the rest of your translated strings are working.
Are you working from the latest BuddyPress .pot file?
April 9, 2015 at 12:10 pm #237552In reply to: @mention autolink to profile
Matthias
ParticipantHi danbp,
I can not find a setting to allow explicit @mention. I allowed the activity stream in buddypress. And @mentions are working fine in there.
The notifications if someone is mentioned in the bbpress forums are working fine, too. I even have a dropdown field with suggestions for @mention in bbpress.The only thing is the missing link to the profile behind the @mention in replies…
forums and buddypress sites are exluded from caching…Thanks
MatthiasApril 9, 2015 at 8:40 am #237547In reply to: Performance of css Stylesheets
mcpeanut
Participant@rosyteddy a couple of good reads there man, i like to read through the comment sections on articles like the ones above because there is some good points raised, there are alot of varied opinions as how to effectively pull this off dependent on the complexity of your site, which i would consider mine as quite complex, the reason for the questions and advice is because of how complex i consider the website to be, i have alot of stylesheets for various different things here there and everywhere loading when not needed etc, in the past i have used plugins to successfully combine and serve them as one cached minified version etc.. but i was just wanting to go more in depth with it and configure it all myself to run at an optimum level.
I am going to be messing around with this over the next few days and will get back to you on what i feel was the best way to do it, any more advice off anyone else who has tackled doing this manually for wordpress/buddypress give us a shout.
April 8, 2015 at 11:39 pm #237525In reply to: Why is there no ajax on profile tabs?
mcpeanut
ParticipantI tried that plugin but my plugin setup is far to complex for it to work without breaking ALOT of things on my site, it wouldn’t be worth all the troubleshooting with these other plugins (as i suspected), the website is very ambitious and i have a set amount of plugins i need running to achieve it, removing features is not an option, the main thing im concentrating on is performance with all of the plugins active (which is alot more than the average site so hence the problems) and im trying to combine all my js files in the most efficient way i can without again breaking functionality , i don’t really need all the website to be ajaxed as such it is more a case of just the buddypress tabs on the profile areas that is the issue really
April 8, 2015 at 9:14 pm #237515In reply to: @mention autolink to profile
danbp
ParticipantTo link to a profile within bbpress topic editor, you should add the snippet to bp-custom.php
Read also here, where i mentionned a plugin
https://buddypress.org/support/topic/link-to-users-profile-non-template/April 8, 2015 at 9:06 pm #237514In reply to: Changing slugs – Am I missing something?
danbp
ParticipantBP_MEMBERS_SLUG is documented in bp-core-functions.php:654
The function is declared in bp-members-template.php:22But you use a filter for titles. Maybe you can do something, based on this example which upercase the username on profile page title.
function bpfr_title_apparence( $title ='', $sep = '', $seplocation = '' ) { if( bp_get_displayed_user_fullname() ) { $bp = buddypress(); // Get the component's ID to try and get it's name $component_id = $component_name = bp_current_component(); // Use the actual component name if ( !empty( $bp->{$component_id}->name ) ) { $component_name = $bp->{$component_id}->name; // Fall back on the component ID (probably same as current_component) } elseif ( !empty( $bp->{$component_id}->id ) ) { $component_name = $bp->{$component_id}->id; } $title = str_replace( ucwords( $component_name ), '', $title ); } return $title; } add_filter( 'bp_modify_page_title', 'bpfr_title_apparence', 20, 3 );This filter is in the same file, line 514.
April 8, 2015 at 7:11 pm #237512In reply to: @mention autolink to profile
Matthias
ParticipantApril 8, 2015 at 5:25 pm #237506In reply to: Add friend button error in Buddypress plugin
April 8, 2015 at 5:21 pm #237505In reply to: Add friend button error in Buddypress plugin
Jay_Chauhan
ParticipantI am sorry but I don’t know much about buddypress. Could you tell me exactly what you want me to get you? Here is the screenshot of the settings page: http://screencast.com/t/IrGOsR58r
April 8, 2015 at 2:44 pm #237487In reply to: Custom sort members
Henry Wright
ModeratorLook into using the
bp_after_has_members_parse_argsfilter. I think it’ll let you override themeta_keyandmeta_valueparams. That may help you do what you want?See here for a tutorial on how to use the filter.
April 8, 2015 at 1:56 pm #237483In reply to: Extraordinary amount of spammers signing up
danbp
ParticipantWide subject and several answered on this forum.
Askimet covers comment spam and doesn’t avoid clever spam bots to hit directly the DB.
Basic recommandation is to use table prefix different of the classic wp_. This calms down most bots.
A closed door is always a challenge for any spammer. WP is not fort Knox and depending your host, what YOU did and many other security details, this has no end in fact. If your site is Facebook, you’ll probably receive more spam than if it would be mykittycat homepage. Glory has a price ! 😉
Some htaccess rules against reputated spam server and one or to plugins aside what exist natively in WP should be enough to protect you a little from massive spam.
For example: buddypress honeypot + ban hammer for BP
or more simple and rought
http://mattts.net/development-stuff/web-development-stuff/wordpress/buddypress/anti-spam-techniques/registration-honeypot/… + searching this forum, maybe you can find more tips. 😉
April 8, 2015 at 1:36 pm #237482In reply to: [Resolved] Only display custom field if not empty
danbp
ParticipantYou just need an existing user_id.
He an example where you get a field value to add in a custom action in one of your template.
function bpfr_field( $custom_field ) { global $bp; // is xprofile component active ? if ( bp_is_active( 'xprofile' ) ) // fetch the user_id $current_user = wp_get_current_user(); $current_user_id = $current_user->ID; // fetch the data $custom_field = xprofile_get_field_data('42', $current_user_id); // 42 is a field ID // show the data echo '<div class="authorinfo">'. $custom_field . '</div>'; } add_action( 'myfield', 'bpfr_field', 1 );Then, add this at the appropriate place in your template
<?php do_action( 'myfield'); ?>Another example, which you can add at the begin of a custom function.
global $bp; // Check if the Activity component is active before using it. if ( ! bp_is_active( 'activity' ) ) { return; } if( bp_is_user() && ! bp_get_member_user_id() ) { $user_id = 'displayed: '. bp_displayed_user_id(); } else { $user_id = 'get_member_user: '. bp_get_member_user_id(); } // your stuf hereNote that both examples use global $bp, a check for active component with a different usage for a same result: if not active, the function will do nothing. This allows you to deactivate a component without throwing a warning or a php failure despite the function is in your theme, bp-cutom or plugin.
April 8, 2015 at 1:32 pm #237481In reply to: Why is there no ajax on profile tabs?
mcpeanut
ParticipantOk after some thought (i dont have a clue if this can be done ) but is there anyway that you could upon clicking the buddypress tab ‘profile’ (for example) on a members page you could have it anchor to a specific part of the page after it refreshes the page? Let me explain why, the reason i ask is that to get to the profile tab on a members page involves scrolling a little down my page, so upon clicking the profile or any other tab on a members page it will refresh the page and jump back to the top making you have to scroll back down to the subnav that is just out of view.
So the question is this, could i make each of the top level navigation tabs after being clicked and the page reloads anchor back down to the corresponding sub nav tab?
I hope this explains exactly what im trying to say haha, if it can be done can you give me any clues as of how to do this?
April 8, 2015 at 12:57 pm #237479In reply to: [Resolved] Only display custom field if not empty
mrgiblets
ParticipantA quick follow up question…
Can I echo the xprofile_get_field_data fields elsewhere in WordPress (outside of Buddypress) in the same way?
ie :
$location = xprofile_get_field_data( 'Location', $user_id ); echo $location;Obviously replacing user_id with the numeric user id.
April 8, 2015 at 12:29 pm #237477In reply to: Why is there no ajax on profile tabs?
mcpeanut
Participant@mrgiblets i once recall downloading lots of various ajax all plugins and testing them but i noticed that alot of things could easily break for me due to the plugins i use, maybe worth trying it again? what is the issue with messaging with that plugin?
@danbp i understand what your saying but maybe just have all the default tabs ajaxed? if this was the case plugins that create new tabs within buddypress would have to follow suit, no?
@henrywright yes im gonna take a look later through the link you posted.cheersApril 8, 2015 at 12:13 pm #237475In reply to: Why is there no ajax on profile tabs?
mrgiblets
ParticipantThe site i’m currently developing with Buddypress (my first buddypress site) is totally Ajaxed using Ajaxify WordPress Site Pro.
All profile tabs are now ajaxed as well as everything else.
There is a small issue with messaging but the plug in developer is fixing that as we speak.
April 8, 2015 at 11:43 am #237473In reply to: link to user's profile (non-template)
danbp
ParticipantYou can directly search in BuddyPress with notepad++ or a similar tool.
Or online, here:
http://phpxref.ftwr.co.uk/buddypress/nav.html?_functions/index.htmlAlso by in-depth reading the codex.
April 8, 2015 at 11:40 am #237472In reply to: Why is there no ajax on profile tabs?
Henry Wright
ModeratorApril 8, 2015 at 11:34 am #237471In reply to: mention part
danbp
ParticipantPlease don’t double post !
Closing this topic which can be continued here:
https://buddypress.org/support/topic/mentions-suggestion-js-problem/April 8, 2015 at 8:59 am #237461In reply to: My register page doesn't show up?
danbp
Participanthi @okulsayfam,
What do you think?
Nothing without a site URL. 😉
https://buddypress.org/support/topic/when-asking-for-support-2/Have you setup BuddyPress correctly ?
April 8, 2015 at 8:24 am #237457In reply to: Member , Activity Pages etc free
Svend Rugaard
Participanti was maeing i havent got this issue before i activated Buddypress not BBpress sorry for confusing
April 8, 2015 at 8:10 am #237455In reply to: Member , Activity Pages etc free
danbp
ParticipantPlease read here, as you have to debug your install.
Are all pages assigned to BP components ?
Have you same issue with Twenty Fifteen or one of the other WP default themes ?Note also that you got that issue after activating bbPress, which has his own support.
And as you use a premium theme, we can’t help you much here, as we have no free access to it’s code.April 8, 2015 at 7:34 am #2374545high
ParticipantNo, that code didn’t work either – but this does:
.group-button .leave-group { display:none !important; }and this removed the container it was in so you don’t get left with a 26px gap:
.buddypress div#item-header div#item-header-content #item-buttons { height: 0px; }Not perfect or the correct php way but it is a solution for those that can’t make the first one here work.
Cheers.
-
AuthorSearch Results