Search Results for 'buddypress'
-
AuthorSearch Results
-
April 5, 2014 at 5:37 pm #180843
In reply to: the permalinks issue – another way to look at it
Boone Gorges
Keymaster> the hobbled together mess
Just to push back a little on this one. There are a couple of key ways in which BP’s current permalink router is not ideal (it’s not amenable to caching; it’s not non-pretty-permalink friendly; it’s hard to write unit tests for it; it leaves some slugs difficult to change). Moving toward the WP Rewrite API is a worthwhile project, because improving on these areas are worthwhile things to do.
However, it’s important not to overstate the problem. The current system works just fine for many thousands of BuddyPress sites. While there would be new efficiencies and configuration possibilities with a new system, it’s unlikely that their absence to date has ever been a dealbreaker for any BuddyPress site. @synaptic or others, I may be wrong about this, and if there are specific ways that the current router is holding you back, it would be very helpful to know more about those details.
In any case, while it will require a large amount of work to build a new system that’s compatible with the old, it’s not doing any active harm to existing (or new) sites to use the current (perfectly functional) system. So let’s not get too carried away with the idea of forking our own project 🙂
April 5, 2014 at 8:22 am #180834metalmick
ParticipantThis is what I did, ignoring the bit above:
The function bp_displayed_user_mentionname is declared in /plugins/buddypress/bp-activity/bp-activity-template.php:1027
As this function is a filter, we can simply remove it to remove the @username from the template. But because the hardcoded @ sign before the username, we have to add a CSS rule with the remove_filter function. The function above will do all that.
Add these snippet to your bp-custom.php (read here if you don’t know this file)
/* remove @username from the profile header */
function bpfr_remove_mention_from_profile() {
echo ‘<style> h2.user-nicename { display:none; } </style>’; // hide the h2 containing the @
if( bp_is_user() && ! bp_get_member_user_id() ) { // be sure we get the right user_id
$user_id = ‘displayed: ‘. bp_displayed_user_id();
} else {
$user_id = ‘get_member_user: ‘. bp_get_member_user_id();
}remove_filter( ‘bp_get_displayed_user_mentionname’, bp_activity_get_user_mentionname( bp_displayed_user_id() ) );
}
add_filter( ‘bp_get_displayed_user_mentionname’, ‘bpfr_remove_mention_from_profile’ );April 5, 2014 at 6:49 am #180831In reply to: Will BuddyPress 2.0 fix this problem?
Renato Alves
ModeratorI would totally not recommend to disable it. You should spend more time to figure the problem out. In my BuddyPress test installations (local and live), it sends the emails just fine, so there is a problem, maybe in your server, template, I don’t know, somewhere.
But, if you really wanna disable this, after a quick search here and in Google, I found some possible solutions.
Obs.: I haven’t tested it, so use it at your own risk.
https://buddypress.trac.wordpress.org/ticket/3443
https://buddypress.org/support/topic/i-would-like-to-disable-email-activation/#post-43483April 5, 2014 at 4:18 am #180826justsayno1
ParticipantI am having this exact issue. I am a developer and I know how to run through the steps mentioned here..
What I have tried is to find a user that is stuck in not being activated and running putting this on one of my pages:
<?php $user = get_userdatabylogin('busaany'); echo $user->ID; echo get_user_meta( $user->id , 'activation_key', true ); ?>This yeilded an activation key:
2429b4ee92830f6557b5b5be271b5078defeSo I tried to plug that into the activation key url as such:
http://bounty.co.nz/activate-account/?key=2429b4ee92830f6557b5b5be271b5078defeThis brought me to the invalid key page as mentioned by others… This is a major issue and I am getting all sorts of stress/grief from my client. I am 100% committed to fixing this issue myself if that is what has to be done. But I was hoping that my putting this here could give the buddy press devs some more info on what is going on. This use HAS signed up, this use HAS tried to go to this link and it failed first time.
I have used a plugin called buddypress pending activations to try and remedy this and trouble shoot it. It allows me to figure out who is being caught and it is a non-trivial amount of users. The user remains in the pending regardless of visiting that link or entering the code into the box on the page…
Any leads? I will be getting this locally set up and try and debug buddypress as I am certain this is buddypress thing now not a server issue. But if you can get me any help or direction that would be great. If I can fix this I will let you guys know and we can get this resolved in the core.
Regards,
Justsayno1April 5, 2014 at 2:28 am #180824In reply to: Installing Buddypress Multi-network
pswanson22
ParticipantAces – thanks for your help on this. Now I have a new problem, though – lots of redirect loops.
Whenever I go to my main network dashboard, Settings>Buddypress>Pages, all of the pages there give me redirect loop errors. I’ve managed to get around it a little bit by using plugins rather than the actual Buddypress pages, but this seems like a bad solution in the long term. I’m also using the Domain Mapping plugin, so that my site at http://sites.unishanoi.org/tech redirect to http://tech.unishanoi.org.
Any help I could get with this would be greatly appreciated!
April 4, 2014 at 11:19 pm #180819In reply to: Json api and buddypress
modemlooper
ModeratorBuddyPress doesn’t have an API, what are you using to get json?
April 4, 2014 at 8:58 pm #180815In reply to: Make admin friends with everyone
b a
ParticipantApril 4, 2014 at 7:37 pm #180812In reply to: Where do I find what my htaccess should be?
Halo Diehard
Participant@tietoep the Group Forums I am speaking of *are* bbPress, as chosen by the BuddyPress Group in the Group’s settings. I explained this quite clearly in the first post 😉
April 4, 2014 at 7:01 pm #180811In reply to: Internal Server Error due to BuddyPress Plugin
Sigtric
ParticipantUpon further review buddypress is actually causing this same thing to happen to all my theme options. (using Atahualpa)
April 4, 2014 at 6:46 pm #180809In reply to: Internal Server Error due to BuddyPress Plugin
Sigtric
ParticipantI don’t know what exactly it is. I just know if the buddypress plugin is enabled, nav-menu.php doesn’t work. I have to turn off buddypress so I can edit my menu, then enable it again.
I have not, I installed 1.9.2, thru the plugin installer inside WordPress. Might that newer version help then?
April 4, 2014 at 6:33 pm #180808In reply to: Internal Server Error due to BuddyPress Plugin
John James Jacoby
KeymasterWhat exactly in BuddyPress is the problem? Have you tried the 2.0 beta?
April 4, 2014 at 5:55 pm #180805In reply to: Where do I find what my htaccess should be?
Anonymous User 5853594
Inactive@halo-diehard
The Group Forums component in BuddyPress has been retired and it is indeed advised to use bbPress (version 2.x).April 4, 2014 at 5:09 pm #180801Xevo
ParticipantFixed it, seems like BuddyPress had a conflict with me turning ?s= into /search/.
Anyone got an idea how I can make this work?
April 4, 2014 at 1:33 pm #180785robertFudge
ParticipantHi Mike,
I don’t think that you can entirely remove the xProfile name field from BuddyPress (Even with the plugin that is available). So I decided why fight it? I cloned the WP username. The only potential problem with this is that the WP username is public – I used a plugin to force stronger WP username and passwords to help with this.
Here is the base of what I did:
– On the registration form hide the xProfile name field (CSS display: none) and make a javascript listener (CHANGE) function to change the xProfile name field to the value of the WP username. This will take care of the form validation – xProfile name field is required. See reference…
– For the edit your profile section I hide the xProfile name field, I also included a PHP function that made the value of this equal to the WP username, in the state that a user was added from the dashboard. (I did not provide PHP, I essentially grabbed WP logged in username…) – You can also display the xProfile name field input as readonly (add attribute: readonly).
Now all xProfile name field instances in BP are the same as the WP user.
Reference:
jQuery(‘input#signup_username’).change(function () {
jQuery(‘input#field_1’).val(jQuery(this).val());
});April 4, 2014 at 1:29 pm #180783danbp
ParticipantHi @metalmick
@username on the profile header is displayed with this code in BP 1.9.2
(see bp-themes/bp-default/members/single/members-header.php:28)if ( bp_is_active( 'activity' ) && bp_activity_do_mentions() ) : ?> <span class="user-nicename">@<?php bp_displayed_user_mentionname(); ?></span> endif;The @ sign is hardcoded in the span, so you have to remove it manualy from the file.
To do this, you can hide it with a CSS rule or you can remove the whole if statement if you use member-header.php file within a child theme/theme.A more elegant solution would be to do this with a function, so we haven’t to think about theme modification or to forgot a CSS rule or to check BP after each update.
The function bp_displayed_user_mentionname is declared in /plugins/buddypress/bp-activity/bp-activity-template.php:1027
As this function is a filter, we can simply remove it to remove the @username from the template. But because the hardcoded @ sign before the username, we have to add a CSS rule with the remove_filter function. The function above will do all that.
Add these snippet to your bp-custom.php (read here if you don’t know this file)
/* remove @username from the profile header */ function bpfr_remove_mention_from_profile() { echo '<style> h2.user-nicename { display:none; } </style>'; // hide the h2 containing the @ if( bp_is_user() && ! bp_get_member_user_id() ) { // be sure we get the right user_id $user_id = 'displayed: '. bp_displayed_user_id(); } else { $user_id = 'get_member_user: '. bp_get_member_user_id(); } remove_filter( 'bp_get_displayed_user_mentionname', bp_activity_get_user_mentionname( bp_displayed_user_id() ) ); } add_filter( 'bp_get_displayed_user_mentionname', 'bpfr_remove_mention_from_profile' );Succesfully tested on BP 1.9.2 and 2.0 beta 1
April 4, 2014 at 1:12 pm #180782In reply to: Activity Wall Time Setting
John James Jacoby
KeymasterGreat Scott!
These time issues crop up every blue moon, so any insight you can provide into the following time settings would be awesome:
- Your physical timezone
- The timezone setting of your server(s)
- The timezone setting of your PHP configuration
- The timezone setting of your WordPress installation
Seems somewhere down the line, there’s a problem with our calculations in a certain configuration. It could be the math, could be daylight savings time, could be a WordPress bug, a BuddyPress bug, or a rip in the space-time continuum!
April 4, 2014 at 7:34 am #180764danbp
Participanthi @saiallexander,
have you tried this plugin ?
https://wordpress.org/plugins/buddypress-featured-members/April 4, 2014 at 7:29 am #180763In reply to: Name instead of username
danbp
ParticipantFYI, this function will show user_login instead of member_name on the members directory.
Add it to the theme’s functions.php/* Display Username in Directory */ function my_member_username() { global $members_template; return $members_template->member->user_login; } add_filter('bp_member_name','my_member_username');Tested on WordPress 3.8.1 – BuddyPress 1.9.2
April 4, 2014 at 1:50 am #180759In reply to: Manually create activity posts
modemlooper
ModeratorIf it’s deleted it’s gone. Still confused about why the date or specific activity is important. How would you get group info if there are no groups?
This is how you manually add activity with code: https://codex.buddypress.org/developer/function-examples/bp_activity_add/
April 4, 2014 at 1:06 am #180754In reply to: display profile fields in member header
Lerroy
ParticipantArguments aside.
I actually need the same thing would like to show Users full name above his @username and show State field and About/ bio field
Have been reading the buddypress documentation with no luck and searching forums.
April 3, 2014 at 11:09 pm #180748In reply to: URL behavior warnings on setup pages
Halo Diehard
ParticipantAaaaaaand now I have my group MMHC redirecting to a post that starts with MMHC instead of to the group :/ What is this? This can’t be BuddyPress or it’d be happening to everyone 🙁
I don’t know what to do.
April 3, 2014 at 10:58 pm #180747In reply to: Where do I find what my htaccess should be?
Halo Diehard
ParticipantI… don’t think they are deprecated, in fact, they’ve received a freshening up…
Anyway, I found the issue, and it has to do with redirect conflicts in the BuddyPress code itself. I’ve responded here w/ moar infos:
https://buddypress.org/support/topic/url-behavior-warnings-on-setup-pages/
April 3, 2014 at 10:49 pm #180745In reply to: Making Plugin activity show in Activitiy Stream
Gem @White Rabit
Participant@barney92 I’m not making any excuses and you should know better than to attack some one over a simple spelling mistake. However I must thank you as you have made this post more active than any of my others. Maybe I will get some help.
@shanebp I know that it is a premium plugin. I know there for it costs money. However I have always been told even by the WordPress and Buddypress people that the forums are the best place to get help.I am very new to tweaking, modifying etc plugins. I normally find whats has already been done works and does the job I need it for. A friend told me that this community was very helpful so I though some one might be able to help.
I must be mistaken in thinking that the World Wide Web was created in the spirit of sharing and helping people. Maybe I am a Hippie at hart but in the areas that I am strong if some one asks for help I help and I expect that in the areas I am weak and I ask for help people will do as I do and help.
I wish you all well with the projects your running. Thank you and Good Night!
April 3, 2014 at 10:22 pm #180743In reply to: Making Plugin activity show in Activitiy Stream
shanebp
Moderator>The plugin is currently not compatible with BuddyPress.
So you talking about adapting a premium plugin.
Is it reasonable to expect somebody to buy the plugin in order to help you?
Perhaps you’re hoping somebody already has it; but even then they would have to be willing to do the work and deliver it to you.Therefore it’s unlikely that anyone here can help.
If you get to the point where you can be specific about a code issue – iow. you’ve tried to extend the plugin and are struggling, you might want to use
http://stackoverflow.com as it will reach a broader audience.Also – you could try to hire a developer thru
April 3, 2014 at 9:35 pm #180739In reply to: Making Plugin activity show in Activitiy Stream
Gem @White Rabit
Participant@barney92 I do beg your pardon however I am dyslexic and so spell checking and all that doesn’t work. I never thought in my wildest dreams that some one in the BuddyPress forum would be so pedantic.
-
AuthorSearch Results