Search Results for 'buddypress'
-
AuthorSearch Results
-
April 6, 2014 at 2:36 am #180860
In reply to: 404 Page Not Found
Soumya Dev
ParticipantHi, I am facing similar 404 error. I am running wordpress 3.8.1 with buddypress 1.9.2 plugin. The front pages are working fine but the buddypress pages, including register pages are showing 404 error.
I found this solution for APACHE http://www.youtube.com/watch?v=m9zESEfNzSQ but I am on Windows.April 5, 2014 at 11:35 pm #180852In reply to: 'Notifications' Tab appeared in profile?
revadigital
ParticipantHi – I’m using Frisco for Buddypress, which inherits from Buddypress Default. What’s the fix for my situation? I don’t see home.php in either theme.
April 5, 2014 at 9:04 pm #180850In reply to: the permalinks issue – another way to look at it
John James Jacoby
KeymasterWhat @boonebgorges said.
BuddyPress’s URI router came from a much older codebase, in a time where BuddyPress was intended to be bolted on top of a WordPress Multisite installation similar to WordPress.com, and not much else. Once that was achieved, we quickly saw the potential in it being something much more powerful (to a larger audience) by quickly iterating away from that original goal, making it work on single-site WordPress, and refactoring the individual components to be less dependent on each other, and only dependent on a core set of common functionality — part of which was the URI router.
We’ve recently chopped two large pieces out of BuddyPress core and turned them into separate components: Settings and Notifications; and we’ve taken huge strides and helped simplify the getting-started process with making it theme agnostic. Bigger ideas like attachments, permissions, and deeper WordPress integration (both in wp-admin, and it’s API’s) is something we continue to improve with every release. Rewrite rules just so happens to touch every component, every file, and every page request, so it’s a refactor that is going to take several months of architecting before it’s complete (similar to theme compatibility.)
Basically… we’ll get there, and there is a plan. It’s been said that before creating David, Michelangelo stared at a block of marble for 8 hours a day, for 4 months, before making his first chip into it. Not trying to compare ourselves to prolific artists or anything, but the idea is the same in that we’re all staring at a huge codebase and coming up with our own map of how to approach the problem.
April 5, 2014 at 5:59 pm #180844Soumya Dev
ParticipantHi,
I am running buddypress plugin on wordpress 3.8.1 and using Windows hosting for http://haflongbosconians.org/ . While the front pages are working fine, the buddypress pages are showing a 404 error.
I found this solution for APACHE http://www.youtube.com/watch?v=m9zESEfNzSQ . What can I do for Windows hosting?
Appreciate your help.
Regards.
SoumyaApril 5, 2014 at 5:37 pm #180843In 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.
-
AuthorSearch Results