Search Results for 'buddypress'
-
AuthorSearch Results
-
September 19, 2015 at 6:57 pm #244594
In reply to: I Cannot Create Groups
shanebp
Moderatorhttp://acadayear.com/home/groups/ is also not found.
Do you have User Groups enabled here?
…/wp-admin/admin.php?page=bp-componentsHave you assigned a page to Groups here?
…/wp-admin/admin.php?page=bp-page-settingsHave you read this?
September 19, 2015 at 10:04 am #244585Henry Wright
ModeratorI am currently testing my buddypress install on one of my servers with nginx
Are you using Nginx with php-fpm? I’ve been tempted to do that for BuddyPress. It’d mean moving all of my .htaccess directives to Nginx server blocks but I think the effort would be worth it for the performance improvements.
September 19, 2015 at 3:44 am #244580mcpeanut
Participant@ch1n3s3b0y Hi there, im gonna chime in on this as im starting to believe that buddypress can most definately scale vary well (even though its not been proven yet to scale to say a million users+ i think its quite possible), as henry may remember from previous threads i have commented in i have decided to look into the ultimate server configurations to try and find the best way to actually move forward into my own buddypress build.
This has meant concentrating and learning about lots of different server configurations for the past couple of years in-between my other projects.
Do you think Buddypress can support hundreds of thousands, if not millions of users?
Lets just switch this notion right on its head, rather than ask yourself if buddypress can scale to a millon users start asking yourself if your server setup and configuration can scale to a million concurrent users instead.
The key to success on a buddypress active and busy site becomes more of a server and administration task rather than how you have buddypress setup on a basic server config (before long you will bottleneck somewhere if you do not setup for expansion).
I know it seems daunting to think about all of this rather than install it build it and launch it and expect it to scale! But to me doing something half hearted isnt the way forward with a serious build on any project. If you prepare and understand the potential problems before you have that killer network built with 100s of thousand of concurrent users its much better to be prepared than to sit back and go NOW WHAT! when you finally grind to a halt and noone can use your site anymore and you dont know how to fix and expand it. Proactive is the way forward.
I am currently testing my buddypress install on one of my servers with nginx and HHVM (hip hop virtual machine) that was created by and is used by facebook instead of standard php, this speeds up the PHP execution speed PHP code is translated into C++ compiled into a binary and run as an executable to really speed up the way php works, therefore making everying load much much much much faster! I have only just started messing around with HHVM and will keep you updated. is anyone else actually running HHVM? if so please do share with me your finding, to me this seems the way forward with any buddypress installed website.
Also as i have stated before once i have decided on my final server configurations and im 100 percent happy with exactly how my setups work with wordpress/buddypress to scale to massive amounts of users i will create a post and guide on how i have it all set up, but still will take me more time yet. and also as stated before if anyone else does want to give there 2 cents on it feel free because on these forums there is not much talk about actual configs that people are using, even though i do realize this is server tech department, i also believe it is a valid issue for buddypress because instead of questions about scalability there could also be a few answers which is my ultimate goal. đ
September 18, 2015 at 9:29 pm #244575In reply to: [Resolved] Create Menu Link for Subnav Page
danbp
ParticipantHi @qurgh,
use
bp_loggedin_user_domainfunction andwp_nav_menu_itemsfilter to add the item to an existing menu, like this:bp_loggedin_user_domain( 'kag/ship/' )See here for a working example:
https://buddypress.org/support/topic/url-for-menu-to-logged-in-users-profile-page/WordPress reference:
https://codex.wordpress.org/Navigation_MenusBuddyPress reference
September 18, 2015 at 8:49 pm #244571In reply to: [Resolved] period or special characters in username
alpha2
ParticipantYes it is. But rather than using a plugin (for this project i am nearly at 53 active plugins…too much) maybe its better to use a function.
i use this thread to ask you another question, some users (registered before i applied this plugin) named their account with a period: john.doe . Actually it’s not a big deal because buddypress (or wordpress natively) transform this dot into hyphen in each link.On one specific page template, I have special function i created with the help of a dev to display all users by a custom taxonomy (ranks)
Only mater is that every hyperlink that link to account like john.doe are display like this http://www.website.com/members/john.doe and not http://www.website.com/members/john-doe
I search into the code and found this:
<div><?php $user = get_user_by('id', $gold ); ?><a href="<?php echo site_url();?>/members/<?php echo $user->user_login;?>/buddyblog/"><?php echo bp_core_fetch_avatar( array( 'item_id' => $gold, 'type' => 'full' ) ); ?></a><a href="<?php echo site_url();?>/members/<?php echo $user->user_login;?>/buddyblog/"><?php echo $user->user_login; ?></a>Performances: <?php echo count_user_posts( $gold ); ?></div>I must change how is display the username.
Thank you for your time and your help!
September 18, 2015 at 2:49 pm #244556In reply to: How to send a notification with email.
shanebp
ModeratorTry adding a call to wp_mail.
There are several examples of that in codebase.
For example, seefunction bp_activity_at_message_notification
inbuddypress\bp-activity\bp-activity-notifications.phpSeptember 18, 2015 at 12:03 pm #244549JECPFG
ParticipantHi djsteveb, I appreciate that but it’s been several days since I asked on the wpmudev’s support forums and they haven’t replied yet, so I’m anticipating the “you’ll need to ask BuddyPress” response. I figure if I ask in both forums, one side may have an answer.
And since this is a function of the BuddyPress Profile Fields, I assumed I might have a better chance of getting a response here anyway. I know this isn’t overly complex for someone who knows the answer, I’m just hoping to find someone who does.
September 18, 2015 at 11:21 am #244547In reply to: Option to sort inbox msgs new to old
danbp
Participantâ which is especially torturous on mobile devices..
hahahaha, but in return, you have very thumb muscled mobile devices users. 💪
Googled for buddypress reverse messages order and found this:
https://gist.github.com/bappi-d-great/be10c2e096f0e6936b43Untested and waiting now for feedback. 👂 đ
September 18, 2015 at 11:13 am #244546In reply to: Setting full-width template for groups
danbp
Participanti wrote: To make it work with BP, you add a copy of the original page.php of 2014 and rename it buddypress.php. And you add the condition into that copy.
I’m not a 2014 specialist and never liked that theme with BuddyPress. The’re so many other out to discover, easy to use and configure, that i wouldn’t loose my (at least) time with it.
2015 is already avaible and 2016 too, though 2014 is a dynosaur now. Beat’em ! đSeptember 18, 2015 at 7:20 am #244543In reply to: Setting full-width template for groups
djsteveb
Participantyou could (although this theme is quite tricky with the various sizing things, and I am NOT an expert with this theme or css – so make backups, use child themes – all that jazz)
you could try changing (or overwriting with child theme / enque an overlap style sheet)
@media screen and (min-width: 1218px) { .site-content, .site-main .widecolumn { margin-left: 222px; } }to:
@media screen and (min-width: 1218px) { .site-content, .site-main .widecolumn { margin-left: 90px; } }and..
.buddypress .site-content article .entry-content, .buddypress .site-content article .entry-header { max-width: 100%; padding: 0px 10% 5%; }change to
.buddypress .site-content article .entry-content, .buddypress .site-content article .entry-header { padding: 0px 1% 5%; }– now of course how these settings affect the groups page is one thing this could cause ill effects on other pages – (ones with double sidebars) – and at different screen sizes.. this 2014 thing gets pretty picky..
especially with 2014 doing one thing, and the bp-addon style thing doing some other things.. one percentage change here looks good – but a different page at a difference screen size – grrr.. you have to test a lot with this mix (come to find out the hard way here the past couple weeks!)
This will add a lot more space, which is what I guess you are going for in general – but not remove all sidebars..
and
That does not get rid of the left sidebar, which is I guess what you were meaning to ask in the first place with this thread (and I think everyone else was assuming you wanted to get rid of the right sidebar, as our understanding of the term “full width page” – err template in my mind is just that.. looks like you really want a “no sidebars at all page template” for groups page?September 18, 2015 at 7:02 am #244541In reply to: âWalled Gardenâ mode
YesPapa
Participant@djsteveb I know this solutions. I am just telling that included this function in the box would be great.
If BuddyPress want to also be a Entreprise Social Network solution, I am thinking this feature has to be included. Other ESNs provide it.
Best.
September 18, 2015 at 5:02 am #244538In reply to: Setting full-width template for groups
djsteveb
Participant@danbp –
am I to understand – that you would make a buddypress.php and have just like:
<?php if( !bp_is_groups_component() ) { get_sidebar( 'content' ); } ?>or maybe copy the page.php code and put it all into a new file buddypress.php – and add the code
if( !bp_is_groups_component() ) { get_sidebar( 'content' ); }to buddypress.php maybe in the head of it?
BPâs content comes full-width on 2014
Actually with my 2014 themed bp site I get a left and right sidebar on large monitor, it does not get into bp stuff taking full side space width until the screen shrinks to.. I dunno 1008 pix or so (one of those media queries)
So I think this code you are suggesting would indeed be useful with 2014 as well.
I have been looking a couple of plugins like ‘dynamic sidebars’ (maybe it was dynamic widgets) – and ‘content aware sidebars’ – one of these I saw recently says is plays well with BP – and I was thinking one of these may be able to solve some common problems that bp peeps run into in regards to wanting to change content on the various psueodo pages.. however I am not sure that any of those plugins would remove all widgets from the sidebar on some pages, and if they DID.. would that make theme X go full width for that area anyhow? not likely, but it’s a nice dream.
Anyhow thanks for the info I might test this out a bit not that I am digging deeper into 2014 and bp..
September 18, 2015 at 2:05 am #244537In reply to: Setting full-width template for groups
danbp
ParticipantA child theme contain usually
style.css
functions.phpTo make it work with BP, you add a copy of the original
page.phpof 2014 and rename itbuddypress.php2014 comes also with a full-width template which is in page-templates folder.
If you compare both files, you will see that the only difference is at line 40 of page.php
get_sidebar( 'content' );To get what you want, you simply add a conditionnal to this part.
if( !bp_is_groups_component() ) { get_sidebar( 'content' ); }That said, i think it’s not necessary, as with or without this hack, BP’s content comes full-width on 2014. At least and by default, in the whole white zone, right of the left black sidebar. Also remind that 2014 is a left aligned theme, which can let think that you have a lot of space on the right, specially on a large desktop screen.
With 2012, it’s a bit different, as this theme use a class called full-width, directly in the html. To use the same technique, we have to echo the div to get the condition to work properly.
And 2013 doesn’t use a full-width template.<?php if( !bp_is_groups_component() ) { echo '<div id="content" role="main">'; } else { echo '<div id="content" class="full-width" role="main">'; } ?>September 18, 2015 at 12:07 am #244535In reply to: Unsubscribe
Henry Wright
ModeratorSettings > Email should do it. Alternatively you can go straight to the page via:
https://buddypress.org/members/username/settings/notifications/
September 17, 2015 at 9:17 pm #244526In reply to: Auto Affiliate Link and Call Functions
danbp
ParticipantYou’re lucky !
Download the latest version of the plugin, as it seems that this is now in since 101 minutes:
Added support for Buddypress custom profile fieldshttps://plugins.trac.wordpress.org/browser/wp-auto-affiliate-links/
September 17, 2015 at 9:08 pm #244525danbp
Participantadd a conditionnal to existing on template for that element.
$user_id != bp_loggedin_user_id()In /child-theme/buddypress/members/single/activity.php
Replace line 48 or so with this:if ( is_user_logged_in() && bp_is_my_profile() && ( $user_id != bp_loggedin_user_id() ) && ( !bp_current_action() || bp_is_current_action( 'just-me' ) ) )September 17, 2015 at 4:23 pm #244513danbp
ParticipantWordPress is the software behind buddyPress.
If you need custom roles&capabilities on your site, you can add roles programatically as explained on your mentionned tutorial. If it works, site admin can attribute one of the additionnal role to members, within admin.BuddyPress, at this time, handles only member types. A member type is not a role or a capability Ă la WordPress, but only a way to sort better your members. In other words, a kind of a member category.
To handle such behave from front-end while registering, you can associate a xprofile field value with an existing WP role. See here for a solution (untested) provided a few month ago.
https://buddypress.org/support/topic/how-to-assign-a-wp-user-role-based-on-a-registration/#post-232887Add snippet to your child theme functions.php or into bp-custom.php and give it a try.
September 17, 2015 at 8:07 am #244499In reply to: Profile Pic upload failure
niyaza
ParticipantI also faced the same error, showing HTTP error while upload avatar on buddypress profile.
On my site also have bbpress and BuddyPress plugins.
In my site don’t have BBPress plugin âForum Restrictâ.
Can you advice how I would resolve this issue.September 17, 2015 at 5:12 am #244495djsteveb
Participant@deklein
starting a new thread for the exact same issue is rude and wastes precious support time (of which we have very little around here) – please keep it in the same thread: https://buddypress.org/support/topic/buddypress-logged-in-menu-items-not-manifesting/
@mods please delete this one.September 17, 2015 at 5:10 am #244494In reply to: Buddypress “Logged In” Menu Items Not Manifesting
djsteveb
Participant@deklein – it certainly would not hurt, and would be pretty fast and easy to make a backup of your entire wordpress install (all files on server, maybe a zipped folder) – then delete your buddypress plugin and all your default themes.. reinstall a fresh 2014 theme and buddypress – activate and test. Very strange that those do not show up with all other plugins disabled while switched to 2014 theme – and you even checked screen options..
I would say before trying that I would try to mess with that menu using a different browser.. sometimes things work in firefox that do not work in chrome.. sometimes a browser plugin blocks something from loading somewhere that you may not find is an issue when using Internet Explorer..
September 17, 2015 at 3:40 am #244490In reply to: Buddypress “Logged In” Menu Items Not Manifesting
deklein
ParticipantTried both changing the theme and disabling all plugins but buddy-press. To no avail. I didnt think it was another plugin interfering with buddypress’ ability to manifest the buttons. It has to be something else, maybe my buddypress is corrupt?
September 17, 2015 at 12:23 am #244486In reply to: Strange change to page layout
djsteveb
ParticipantSounds like this is a theme issue and likely not an issue in regards to the 2014 / 2015 themes.. so you are probably going to have to contact your theme author about this.
You also did not provide any info about your setup – ( https://buddypress.org/support/topic/when-asking-for-support-2/ ) so there is no way anyone could guess about this.. have things changed with bp? quite a bit with some updates, and not so much with others –
you should disable all plugins aside from bp and see if the issue continues first imho.
if so – your theme author will likely have to dig into the issue.
September 16, 2015 at 7:56 pm #244477In reply to: Hide BP users depending on their PMPRO level
shanebp
ModeratorReview this example.
You’ll need to adjust it to gather PM levels.
Ditto re this example.September 16, 2015 at 7:35 pm #244473JECPFG
ParticipantYou are correct on all three of your questions.
I tried switching themes and am still seeing the same issue.
I’m actually using BuddyPress in conjunction with WPMUDev’s Membership 2 Pro plugin, so it’s an issue with how those two are functioning together. I’ve posted on WPMUDev’s forums but can’t seem to find an answer there either, so I tried posting here hoping one side would know what the problem may be.
September 16, 2015 at 7:29 pm #244471In reply to: Register on a WP site without a BP profile
shanebp
ModeratorA BP site uses BP to register users.
So afaik, it is not possible to create a WP account but not automatically a BuddyPress profile. -
AuthorSearch Results