Search Results for 'buddypress'
-
AuthorSearch Results
-
May 15, 2014 at 5:08 pm #182987
In reply to: Activation link in email takes user to blank page
Gemusli
ParticipantI am having the same issue, but my url structure looks like:
thesite.com/activate/?key=4a5bb0e685b93cad4af90d46f81d2643
I am being redirected to the homepage.
Wordpress 3.9.1
BuddyPress 2.0.1BBPress…KLEO theme. (I am not using Gravity Forms.)
Users are being created and I can see the accounts in inactive status under dashboard->users->manage signups
May 15, 2014 at 4:25 pm #182983In reply to: The Best Cache'ing solution for BP?
BuddyBoss
ParticipantFragment caching would be ideal, but that really needs to be built into BP core. You can do it on your own but you’ll be hacking up template files right and left and it will be hard to update later. A lot of effort if you don’t NEED it. I would suggest Object Caching as Paul Gibbs said.
Ideally you will use APC object caching as it’s really fast (stores cached values in RAM). If you use W3TC with file caching (default) it will not be as fast as it has to read from files.
Here’s a tutorial I wrote about how to enable Object Caching on BuddyPress:
Briefly:
If you are hosting with a VPS or other setup where you have server admin access, you can contact your web host and request that they install APC on your server (it’s free) and then it will be available to you as a very fast method for Object Caching. Generally you cannot install APC on a shared hosting environment. APC stores the cached values in RAM, which is why I recommend at least 2GB of RAM for ideal server performance.
Once your web host has confirmed that APC is installed and working, you will then need to enable it for WordPress with a plugin. My recommended method is with the APC Object Cache Backend plugin (as Paul Gibbs suggested). This is not a true plugin, but rather a “drop-in” file. As such, you do not actually activate the plugin. You just need to copy the object-cache.php file into your /wp-content/ directory. You don’t even need to upload the actual plugin. That’s it! As long as you have APC installed on your server and have placed the file correctly, APC-powered Object Caching should now be enabled and you should begin seeing performance improvements. To confirm that it’s working, you can type this into your browser while logged in as an admin: http://www.yourdomain.com/wp-admin/plugins.php?plugin_status=dropins (change yourdomain.com!). It should show APC Object Cache as a drop-in, and if so, you now have a good caching method enabled.
May 15, 2014 at 4:22 pm #182981In reply to: How to Optimize and Maximize BuddyPress Performance
BuddyBoss
ParticipantAnd here’s a tutorial for setting up a CDN with WordPress/BuddyPress. This makes such a big difference and is really easy and cheap to set up. A no brainer.
May 15, 2014 at 4:20 pm #182980In reply to: How to Optimize and Maximize BuddyPress Performance
BuddyBoss
ParticipantHere’s a tutorial I wrote about how to enable Object Caching on BuddyPress:
Briefly:
If you are hosting with a VPS or other setup where you have server admin access, you can contact your web host and request that they install APC on your server (it’s free) and then it will be available to you as a very fast method for Object Caching. Generally you cannot install APC on a shared hosting environment. APC stores the cached values in RAM, which is why I recommend at least 2GB of RAM for ideal server performance.
Once your web host has confirmed that APC is installed and working, you will then need to enable it for WordPress with a plugin. My recommended method is with the APC Object Cache Backend plugin (as Paul Gibbs suggested). This is not a true plugin, but rather a “drop-in” file. As such, you do not actually activate the plugin. You just need to copy the object-cache.php file into your /wp-content/ directory. You don’t even need to upload the actual plugin. That’s it! As long as you have APC installed on your server and have placed the file correctly, APC-powered Object Caching should now be enabled and you should begin seeing performance improvements. To confirm that it’s working, you can type this into your browser while logged in as an admin: http://www.yourdomain.com/wp-admin/plugins.php?plugin_status=dropins (change yourdomain.com!). It should show APC Object Cache as a drop-in, and if so, you now have a good caching method enabled.
May 15, 2014 at 4:07 pm #182976In reply to: Getting the notification link for Activities?
BuddyBoss
ParticipantYou could try this: http://buddydev.com/plugins/buddypress-activity-comment-notifier/
May 15, 2014 at 3:57 pm #182972In reply to: Logout redirect not work when installing BP
BuddyBoss
ParticipantThat htaccess looks okay, but maybe it’s corrupted in some way. You could delete your htaccess (back up first) and then go to Settings > Permalinks and update the permalinks. This should automatically recreate your htaccess, which will rule that issue out.
You could try adding these lines into your htaccess, below the other stuff:
AddType x-mapp-php5 .php
AddHandler x-mapp-php5 .phpYou could also try deactivating other plugins, and only activate BuddyPress, and see what happens. Maybe another plugin related to redirects is causing the problem.
Beyond that, contact your web host..
May 15, 2014 at 3:18 pm #182968In reply to: Logout redirect not work when installing BP
David Cavins
KeymasterDoes the logout redirect work if BuddyPress is deactivated (i.e. if you’re just running a typical WordPress site)?
May 15, 2014 at 3:11 pm #182967In reply to: Probleme using BP core functions
mika89
ParticipantI just figured out that whatever the BP function I use it always return a boolean false !! What’s wrong with my code ??
if ( !function_exists( 'bp_core_install' ) ) { require_once( ABSPATH . '/wp-admin/includes/plugin.php' ); if ( is_plugin_active( 'buddypress/bp-loader.php' ) ) require_once ( WP_PLUGIN_DIR . '/buddypress/bp-loader.php' ); else return; } /* remove inactive members from friends */ function removeInactiveFromFriends(){ global $wpdb; $args = array('count_total' => true); $user_query = new WP_User_Query($args); if ( ! empty( $user_query->results ) ) { foreach ( $user_query->results as $user ) { echo '<p>' . $user->display_name . '</p>'; $sqlGetFriends = $wpdb->prepare( "SELECT friend_user_id FROM wp_bp_friends WHERE initiator_user_id = %s",$user->ID) ; $friends_id = $wpdb->get_results($sqlGetFriends); foreach ($friends_id as $friend_id) { $friend = get_user_by('id',$friend_id); var_dump($friend); echo '-----------<p>' . $friend->display_name . '</p>'; } } } else { echo 'No users found.'; } ?></pre><?php } add_action( 'bp_include', 'removeInactiveFromFriends' ); ?>I var_dumped the user object I get with the function
get_user_by()and it just printsboolean false boolean false boolean false boolean falseMay 15, 2014 at 2:51 pm #182966In reply to: [Resolved] members profiles and blogs pages 404
islandcastaway
ParticipantOk, after a day of troubleshooting I figured it out. (jump to the end for the stupid answer)
Changing themes did not fix it, but it did open up a whole new can of worms because I was using a custom child theme running off of the bp-default theme. I see that I will have to totally redo my theme because of the changing BuddyPress structure.
I rolled my database back to 4/29/2013 wordpress 3.6 era (3.9 files tho)
deactivated BuddyPress
Installed BuddyPress 1.7
reactivated BuddyPress
buddypress 1.7 worksDid the same for 1.8 – 1.9. They all worked.
I did notice that the title for the “members” list was “directory”, not members.
I also noticed that in the plugins list throughout the updates it always said “There is a new version of BuddyPress available. View version 1.7 details”, even after 1.9Did the same steps for 2.0, still working.
The “members list” page title was now “members” instead of “directory”.Did the same steps for 2.01, still working.
The entire time I never hit upgrade network. When I did, I got an error saying no connection to sites, my dev box has all of the addresses hard coded in the hosts files and the site did pull up, just got the network update errors.
Tried deactivating domain mapping, still errors.
Updated the database with a current backup and BuddyPress was broke again.
Tried the permalink switch again. Never noticed “BuddyPress is almost ready. You must update your permalink structure to something other than the default for it to work.” before.
Went through each of the permalink options and still no go.
Deactivated all plugins except BuddyPress, still no go.
Rolled back the data base to 4/29/2013 and exported the wp_options table
Imported the 3.6 era options into the 3.9.1 database.
Tit worx.
Got a “Fast Secure Contact Form has imported settings from the old version.”
“Site Tracking Directory” is the “blogs” list page title
So I manually flushed the rewrites table in wp_options, no go.
Manually deleted _transient rows, no goCompared the bp-options rows in wp_options in the old and new databases.
“blogs” was missing from “bp-active-components” in the newer database:a:4:{s:8:”xprofile”;s:1:”1″;s:8:”settings”;s:1:”1″;s:5:”blogs”;s:1:”1″;s:7:”members”;s:1:”1″;}
Pasted that into the newer database and BINGO!
Went to the BuddyPress component admin page and no blogs setting, but toggling on/off “Site Tracking” was they key.
One friggin checkbox.
How the ### does “Site Tracking – Record activity for new sites, posts, and comments across your network.” translate into disabling “members profile pages” and the “blogs list”?
That seriously need to have a better description.
So mission accomplished.
Grrrrrrrrrrrrrrrrrrr
May 15, 2014 at 2:07 pm #182958In reply to: Can't change text of ajax addremove friend buttons?
David Cavins
KeymasterThe label of the button is internationalized. See
bp-friends-template.php : bp_get_add_friend_button()I’d double-check this guide: https://codex.buddypress.org/getting-started/customizing/customizing-labels-messages-and-urls/
I personally had trouble with getting the naming convention on the .po and .mo files right.
May 15, 2014 at 2:02 pm #182957In reply to: Getting the notification link for Activities?
godavid33
ParticipantBumping is usually when a topic has not been solved, but an answer is still needed (at least that has been my experience in every forum I’ve ever been in).
Yes, buddypress natively produces notifications for most things. I have never natively gotten a notification for activity comments/replies, and this is what I’m trying to accomplish (as well as notifications for favorites), and I can add the notification but I need to know how to add a URL with it as well.
May 15, 2014 at 10:55 am #182951In reply to: Creating a Custom Menu, Buddypress Pages Missing
Aron Prins
ParticipantHey @sigtric,
When you’re on the menu’s page, hit the Screen Option on the top right.
Check the BuddyPress checkbox and voila 😉Hope this helps!
Cheers,
AronMay 15, 2014 at 8:56 am #182948In reply to: Translation problem
danbp
ParticipantHi 3×7 !
since 2.0 BP is loading automatic translation; This means that if you had a previous version installed, with a correct translation, that the new one is now active.
Check in the wp/content/languages/ directorythe /plugins/ folder who maybe contain buddypress-xx_XX.mo/po files and it’s possible that you have also buddypress-xx_XX in the /languages/
Open the po file and take a look to header. Normally you will see the version number.
If you use a custom po/mo for your BP, put these files in the wp/content/languages/plugins/
See also in your theme and avoid to use buddypress-xx_XX.mo from /buddypress/bp-languages/ (as a reminder)
More details about translation, here and here.
BP translation for all languages are now on translate.wordpress.org. If you’re a translator or if you want to contribute, i encourage you to participate on this projet. 😉
May 14, 2014 at 11:40 pm #182939In reply to: remove certain elements from private messaging
julianprice
Participant@bp-help I guess form this previous forum topic he’s wanting to create just utilize private messages https://buddypress.org/support/topic/using-buddypress-messaging-in-a-unique-way/
@sparkingproducts Can you gives us more detail of what you trying to accomplish because it could be as simple as deactivating a component or styling CSS elements to be hiddenMay 14, 2014 at 11:28 pm #182937In reply to: Getting the notification link for Activities?
julianprice
Participant@godavid33 Just thought I would comment because you bumped your post. What I understanding bumping a post shows topics have been respond too.
Unfortunately, I am unable to help you because completely out of beginner knowledge but I did go back & look at all your post on the forum. I am trying to understand the logic in all the customization when BuddyPress natively provides notifications.
May 14, 2014 at 11:13 pm #182935In reply to: Missing buttons (Add friend) (Accept group request)
julianprice
ParticipantHave you configured components by checking friend connections located under Settings > BuddyPress > Components https://codex.buddypress.org/getting-started/configure-components/
https://mercime.files.wordpress.com/2013/12/bpcomponents1.png
May 14, 2014 at 10:59 pm #182934In reply to: Select Box – on Select 'Other' open Textbox
julianprice
Participant@antimuffin are you referring to extending profile fields. If so here’s the link for that which supports drop down select. however unsure if it supports conditional/dependent fields. You may have to look into a plugin.
i.e
Drop Down Select:
– option 1 NAME
– option 2 NAME
– option 3 Other
if other [TEXT BOX]Anyways here’s the link to codex https://codex.buddypress.org/buddypress-components-and-features/extended-profiles/
May 14, 2014 at 9:45 pm #182929In reply to: [Resolved] BuddyPress Activity page as Homepage
mth75
ParticipantI did a test on a clean wordpress/buddypress/bbpress install, same problem (no plugins except buddy press/bbpress).
Thx for the tip, i’ve planned to look into this one in new release (parallel to a new buddyboss rel.).
In the meantime I’ve created a ticket … this is a bug.
https://buddypress.trac.wordpress.org/ticket/5643
Very nice corporate site btw, we don’t have those vista’s here in the Netherlands.
May 14, 2014 at 9:31 pm #182926In reply to: [Resolved] BuddyPress Activity page as Homepage
mth75
ParticipantThx for looking Julian. I did check with Buddyboss (they are great indeed). I tested with a none Buddyboss theme/install (wp 2013 en 2014) … same problem. It’s most definitely a Buddypress issue.
The guys from Buddyboss made a note of my problem, but I won’t hold my breath for this one.
Can I elevate this problem as a bug?
Best regards,
Marc
May 14, 2014 at 4:41 pm #182903In reply to: Theme development woes
ernest8888
ParticipantHi Renato
Thanks for your fast reply, yes you are right CIAB does the same as BuddyPress in a way, But it still needs Buddypress. I have looked at many really many BuddyPress theme, compaired them with non BuddyPress themes. I think I understand the template organization and have followed it. it is something else that I miss, I am thinking more on some type of code or function. That tells BuddyPress that I am a BuddyPress theme. I have seen code like this in many BuddyPress Parent themes
if ( ! function_exists( ‘bp_dtheme_setup’ )
function bp_dtheme_setup()
add_theme_support( ‘buddypress’ );
if ( function_exists( ‘bp_is_active’ ) )
if ( bp_is_active( ‘friends’ ) )
add_action( ‘after_setup_theme’, ‘bp_dtheme_setup’ );
endif; Thing something here tell BuddyPress if a theme is a BuddyPress theme Or not
I need to find out what that is and do it in a child theme. So that BuddyPress will now recognize my theme as a BuddyPress theme.
If I get the message this is not a BuddyPress compatible theme what am I missing?Thanks
EMacMay 14, 2014 at 1:40 pm #182884In reply to: Probleme using BP core functions
shanebp
ModeratorYou’re probably calling the BP function before BP has loaded.
Read this: https://codex.buddypress.org/plugindev/checking-buddypress-is-active/There may be additional problems with your code including the issue raised by @henrywright
May 14, 2014 at 12:49 pm #182876In reply to: Theme development woes
Renato Alves
ModeratorHi @ernest8888,
I’ve never used Commons In a Box, so I couldn’t say what kind of theme compatibility is necessary to work with it.
I do think you’re using two plugins that perform the same thing, as far as I know about it, CIAB does what BuddyPress does, am I wrong?
Also, check if there has to be some sort of organization in the template structure for it to work. That must likely be the problem in your case.
May 14, 2014 at 12:35 pm #182875In reply to: Feature request: New user moderation
okamiokami
Participant@sharmavishal; @bp-help
thank you for your reply.I installed BuddyPress Registration Options (latest stable release), and left it as the only Registration plugins.
Apparently everything is working fine: I get an email for every new user request, and I can veto the application if necessary.
I’d like to thank everybody for the help; I’ll post a follow-up in a few weeks.
May 14, 2014 at 12:22 pm #182873In reply to: Probleme using BP core functions
mika89
ParticipantHi ! Thanks for your answer.
Well, I’m a begginer in BP dev so I must have forgot something.
BP is activated, but what do you mean by “Friends component enabled” ? If it means that users can have friends, yes it’s enabled.When you develop a plugin isn’t there issues of dependencies ? Like, shouldn’t I include some files ? I tried :
require_once(ABSPATH . '/wp-content/plugins/buddypress/bp-friends/bp-friends-functions.php'); require_once(ABSPATH . '/wp-content/plugins/buddypress/bp-friends/bp-friends-classes.php');But everytime it tells me that an other function is undefined, so I don’t think it’s the right way to do it…
May 14, 2014 at 11:45 am #182870In reply to: buddypress ready child theme
ernest8888
ParticipantHi it is very nice and friendly from all the people that help us newbe’s , but it seems that at know one want to say add this to your child theme and it will be buddypress v2.0.1 compat.
Thanks
-
AuthorSearch Results