Search Results for 'wordpress'
-
AuthorSearch Results
-
February 27, 2017 at 2:35 pm #264213
In reply to: Choose categories or tags for activities
Henry Wright
ModeratorBuddyPress activity items aren’t WordPress posts so as far as I know you can’t associate categories or tags with them. However, activity items do have associated meta.
Take a look at these functions which will be useful to you:
bp_activity_add_meta() bp_activity_update_meta() bp_activity_get_meta() bp_activity_delete_meta()February 27, 2017 at 8:51 am #264203In reply to: Styling BuddyPress
danbp
ParticipantHi,
in brief: yes!
But it depends greatly of your CSS and design knowledge. Fortunately, you can access to the whole theme code used on buddypress.org, by clicking here.Official announcement of this was in 2014.
February 26, 2017 at 2:15 am #264181In reply to: Login with facebook/google+
psnation
ParticipantThere are quite a few social login plugins. I use WordPress Social Login. If you click Add New in plugins and search social login you’ll see quite a few.
February 26, 2017 at 1:57 am #264179In reply to: BuddyPress Newbie. Help needed on some issues
psnation
ParticipantI would suggest https://wordpress.org/plugins/buddypress-xprofile-custom-fields-type/ to create your profile fields. There also conditional field plugins that would allow you to set up different fields to members and doctors.
February 25, 2017 at 8:13 pm #264170In reply to: Questions about media, profile photos, cover image.
mrjarbenne
ParticipantYou’ll need FTP access for that probably. These items are not stored in the Media Library. Avatars are stored in wp-content/uploads/avatars. RTmedia probably stores items in another directory in uploads (I’m not familiar with that plugin).
If you just need to ghost a few offensive users, perhaps a plugin like this, which allows you to impersonate the user, might help: https://wordpress.org/plugins/user-switching/
February 25, 2017 at 4:29 pm #264162In reply to: Buddypress with Genesis framework?
mrjarbenne
ParticipantI would suggest asking this question in the Studiopress forums. It could be that the Genesis Connect plugin was required before BP enhanced their theme compatibility. BP now works in any well designed WordPress Theme. You can read more about that here, along with instructions on building out your own child theme to tweak how BP renders within your selected theme:
February 25, 2017 at 3:57 pm #264158mrjarbenne
ParticipantHi Dee,
I would suggest that you download the plugin and give it a try. If you already have a WordPress install, there isn’t anything to “buy”.
Once you log in, the Main activity stream has a central area where users can post updates:
Allowing users to post media to the activity stream, rather than just text, is going to require an additional plugin. Although I don’t use it, this will do the trick: https://wordpress.org/plugins/buddypress-activity-plus/
Commenting on each other’s posts is there by design. If you go into Settings/Discussion you can set the Threaded Discussion depth in the same space you would manipulate this for blog posts.
Rating each other’s posts could be done with https://en-ca.wordpress.org/plugins/bp-reactions/
Allowing users to also post to the blog on the site (as well as the activity feed) will require you to elevate their permissions. By default, users who are Subscribers (WordPress Roles https://codex.wordpress.org/Roles_and_Capabilities) can post to the Activity Stream, but not to the blog post. If you promote them to Contributor, they can post articles to the blog post as well: given your wish to moderate those posts, you want Contributor rather than Author, so you can read the posts first before publishing. You can’t moderate the activity feed. Users can post there freely (like FB)
February 24, 2017 at 5:08 pm #264133In reply to: Show Active Directory Fields in profile
r-a-y
KeymasterFirst, you need to figure out how to fetch the Active Directory data for a user and how to display it. This isn’t dependent on BuddyPress.
Once, you’ve figured that out, you’ll need to hook into the BuddyPress profile template to add those fields.
If you are a WordPress developer, there are various hooks you could use. View the profile template:
https://buddypress.trac.wordpress.org/browser/tags/2.8.1/src/bp-templates/bp-legacy/buddypress/members/single/profile/profile-loop.phpAnd hook into any of the
do_action()hooks to display your AD data. To get the current user’s ID on a profile page, usebp_displayed_user_id().February 23, 2017 at 7:19 pm #264101In reply to: Hide Required BuddyPress Name Field
Henry Wright
ModeratorYou have 2 options. I’d recommend the 2nd:
1: Copy and paste the JavaScript to your my-theme/buddypress/members/register.php template. In this case you’ll need to copy the
<script>tags also.
2: Create a separate file (my-theme/js/script.js for example) and paste the JavaScript into that. In this case you don’t need to copy the<script>tags. If you go down this route you will need to enqueue the script. See this article for info on how to do that:February 23, 2017 at 5:59 pm #264098In reply to: Odd Characters in Emails
r-a-y
KeymasterIt’s being caused by the BP Group Email Subscription plugin.
View the following for a fix until the next version is released:
https://wordpress.org/support/topic/styling-issue-of-letters-with-v3-7-0/#post-8832281February 23, 2017 at 10:52 am #264082In reply to: Random User when /Members is loaded?
coolhunt
ParticipantI found this handy
It works in BP-custom.php — im trying to get it to load instead of “alphabetical”
// Exit if accessed directly if ( !defined( 'ABSPATH' ) ) exit; class BP_Loop_Filters { /** * Constructor */ public function __construct() { $this->setup_actions(); } /** * Actions * * @uses bp_is_active() * @uses is_multisite() */ private function setup_actions() { /** * Adds the random order to the select boxes of the Members, Groups and Blogs directory pages */ // Members component is core, so it will be available add_action( 'bp_members_directory_order_options', array( $this, 'random_order' ) ); // You need to check Groups component is available if( bp_is_active( 'groups' ) ) add_action( 'bp_groups_directory_order_options', array( $this, 'random_order' ) ); // You need to check WordPress config and that Blogs Component is available if( is_multisite() && bp_is_active( 'blogs' ) ) add_action( 'bp_blogs_directory_order_options', array( $this, 'random_order' ) ); } /** * Displays a new option in the Members/Groups & Blogs directories * * <a class="bp-suggestions-mention" href="https://buddypress.org/members/return/" rel="nofollow">@return</a> string html output */ public function random_order() { ?> <option value="random"><?php _e( 'Random', 'buddypress' ); ?></option> <?php } } // 1, 2, 3 go ! function bp_loop_filters() { return new BP_Loop_Filters(); } add_action( 'bp_include', 'bp_loop_filters' );February 23, 2017 at 8:56 am #264075In reply to: Random User when /Members is loaded?
danbp
ParticipantHi,
you need a child theme and a small code modification.
The code is explained here.
if ( bp_has_members( bp_ajax_querystring( 'members' ) ) )is to replace by something like (can be different)
if ( bp_has_members( 'type=random' ) )In a “buddypress” folder of your child theme, you add a copy of this file:
wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/members-loop.phpWhat ever you modify in that file while now be interpreted by BuddyPress. The advantage of this method is that BP can be updated while your modification in the child will always be save and taken in account over the current version.
You can also search the forum for members-loop to get other information.
February 23, 2017 at 12:03 am #264066In reply to: Buddypress Future Suggestons
r-a-y
Keymaster1,2,3,4,6 should be left to WordPress plugins as these are specific to WP.
7, 10 have been discussed as core options. It just takes time for developers and the team to finalize specs and to code as this is all done on a volunteer basis. 10 is hard because it relies on a ton of dependent code that hasn’t been written or finalized yet.
5 – There’s been some preliminary work on this. See https://github.com/buddypress/bp-types-ui.
9 – If you’re using WordPress multisite, this should be already available as a WordPress option under “Network Admin > Settings”. Otherwise, this plugin might work, but does the opposite. It restricts signup to email domains that you specify.
Notifications
2 should already be in core.
3 is a good request, but unreliable due to how the notifications data is stored. It would be easy to do for BP core notifications, but notifications generated by plugins could store the user ID differently, making this unreliable.
4 could be done via a custom template or via a small code snippet.February 22, 2017 at 7:55 pm #264061In reply to: BuddyPress causing white screen
r-a-y
KeymasterYou need to figure out what is causing the white screen.
Turn on
WP_DEBUGand view the notices that are logged or displayed:
https://codex.wordpress.org/Debugging_in_WordPress#WP_DEBUGList the notices here if you want us to attempt to diagnose your problem.
My first guess is your problem is memory-related as your webhost might have restricted memory usage. Or if you’re using a caching plugin that is not correctly configured.
February 22, 2017 at 5:18 am #264034In reply to: Page title – group name instead of topic title
danbp
ParticipantHi,
not the solution, but more a way to resolution and to see how you could do that title adjustment.
Read here.WP function reference you have to explore:
pre_get_document_title
wp_title..anything related to “title” in bbPress.
February 22, 2017 at 3:25 am #264024In reply to: Redirect user role to own profile at login
djsteveb
ParticipantI use https://wordpress.org/plugins/buddypress-login-redirect/ – and it does exactly that.
February 21, 2017 at 6:07 pm #264006In reply to: whats-new-textarea – size
danbp
ParticipantThis field is visible by default.

If not, so the problem might be with your theme.
For other what’s new form questions, search the forum.Some answers here:
https://buddypress.org/support/topic/how-do-i-remove-textarea-resize-without-editing-the-js-script/February 21, 2017 at 5:01 pm #264001In reply to: Email all users of updated Forums
February 21, 2017 at 4:57 pm #263999In reply to: How do I hide dashboard?
danbp
ParticipantHi,
sorry but this is not related to BuddyPress.
Dashboard access is part of WordPress and the way it is displayed on your screensht indicate that it is also theme dependant somehow.
You can hide any menu item from the WP toolbar by following these instructionsor you can chosse to active/deactive the toolbar option in BP settings or use a plugin to limit dashboard access.
February 20, 2017 at 6:45 am #263941In reply to: Code visible on ‘change cover photo’ tab?
shanebp
ModeratorThat is used by the
backbone– javascript library which is included with WordPress.
Perhaps something, maybe your theme, is preventing it from being loaded.
Try switching to a WP theme like 2015.February 18, 2017 at 7:36 pm #263923In reply to: BP 2.8.0 Update Broke Profiles
leewells
ParticipantThanks Shane! I’ll give this a shot when I get back to home this evening and let you guys know how it works out. I’m afraid the little profile I made doesn’t do any sorts of compares, it just lets me know if it is loaded before or after certain other hooks like init, the_content and such.. I’ll have to reopen that and add bp_load and get a better idea of where it loads to buddypress though.
My I make a request, though, developer to developer 😛 This seems to have broken a lot of plugins and I like to say I follow the methods of WordPress to the letter without getting hacky :P. If changes like this are made, can we still preserve a method of backward compatibility? The profile info, for instance shouldn’t matter much when it loads, so long as the BP class is loaded, which means, I guess what I’m saying is I’m drawing a blank to what it would be that would require the xprofile fields to be dropped to such a low load order that it doesn’t initialize with the plugin class init.
February 18, 2017 at 3:32 am #263906In reply to: Cannot Sign up
Bradley Ross
ParticipantFrom my previous post, changing AllowOverride None to AllowOverride FileInfo seems to have made the member, groups, and other pages operational.
The following is a diff of the httpd.conf from the Yosemite version of macOS and my current version. Remember that there are three configuration files: httpd.conf, my.cnf, php.ini
https://bradleyaross.wordpress.com/2017/02/04/wordpress-installation-problems/BradleyRossMacBook:apache2 bradleyross$ diff httpd.conf httpd.conf-YosemiteDefault
22,25d21
< #
< # History:
< # Starting with httpd.conf.pre.update which was dated July 1, 2015
< #
107,109d102
< #
< # The line for mod_include.so was uncommented 17-February-2017
< # to allow the use of server side includes
164,167c157
< #
< # The line for mod_cgi.so was uncommented on 17-Feb-2017
< #
< LoadModule cgi_module libexec/apache2/mod_cgi.so
—
> #LoadModule cgi_module libexec/apache2/mod_cgi.so
178,186c168,170
< # See http://askubuntu.com/questions/48362/how-to-enable-mod-rewrite-in-apache
< LoadModule rewrite_module libexec/apache2/mod_rewrite.so
< #
< # The two following lines had been commented out as part of the
< # update July, 2015. They are now being uncommented to
< # put them back in
< #
< LoadModule php5_module libexec/apache2/libphp5.so
< LoadModule hfs_apple_module libexec/apache2/mod_hfs_apple.so
—
> #LoadModule rewrite_module libexec/apache2/mod_rewrite.so
> #LoadModule php5_module libexec/apache2/libphp5.so
> #LoadModule hfs_apple_module libexec/apache2/mod_hfs_apple.so
235,237d218
< # Apparently the slash at the end of the Directory open tag
< # refers to the root of the file system rather than /> indicating
< # an empty tag
269,270c250
< # The attribute Includes was added 17-Feb-2017
< Options FollowSymLinks Multiviews Includes
—
> Options FollowSymLinks Multiviews
278,281c258
< # The attribute None was changed to FileInfo 17-Feb-2017:wq
<
< #AllowOverride None
< AllowOverride FileInfo
—
> AllowOverride None
453,455c430,431
< # The following two lines were uncommented on 17-Feb-2017
< AddType text/html .shtml
< AddOutputFilter INCLUDES .shtml
—
> #AddType text/html .shtml
> #AddOutputFilter INCLUDES .shtml
BradleyRossMacBook:apache2 bradleyross$February 18, 2017 at 12:33 am #263903In reply to: Cannot Sign up
Bradley Ross
ParticipantI have .htaccess
I have loaded the entire system three times and followed the directions
I have made sure that all of the files have an owner of _wwwI have already screamed and will probably do so again. I am currently using
Apple Macintosh macOS 10.12.3
Wordpress 4.7.2
Theme: TwentySeventeen
bbPress 2.5.12
BuddyPress 2.8.0
Jetpack 4.6The requested URL /blogs/wordpress/template/members/bradleyross/profile/edit/ was not found on this server.
The page register has the permalink http://localhost/blogs/wordpress/template/index.php/members
Does this sound correctIt also appears that multiple attempts to load the software may result in things like members-2 and members-3. You may have to send pages with those permalink to the trash and then empty the trash. Hopefully, you can then recreate the pages correctly
I now assume that the problem is somewhere in the rewrite module. In the httpd.conf file, I am going to change the line Allow None to Allow FileInfo. Does this sound reasonable and are there any other changes you think that I should make.
in httpd.conf, I have
LoadModule alias_module libexec/apache2/mod_alias.so
LoadModule rewrite_module libexec/apache2/mod_rewrite.so
#
# The two following lines had been commented out as part of the
# update July, 2015. They are now being uncommented to
# put them back in
#
LoadModule php5_module libexec/apache2/libphp5.so
LoadModule hfs_apple_module libexec/apache2/mod_hfs_apple.soand
<Directory “/Library/WebServer/Documents”>
#
# Possible values for the Options directive are “None”, “All”,
# or any combination of:
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
#
# Note that “MultiViews” must be named *explicitly* — “Options All”
# doesn’t give it to you.
#
# The Options directive is both complicated and important. Please see
# http://httpd.apache.org/docs/2.4/mod/core.html#options
# for more information.
#
# The attribute Includes was added 17-Feb-2017
Options FollowSymLinks Multiviews Includes
MultiviewsMatch Any#
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be “All”, “None”, or any combination of the keywords:
# AllowOverride FileInfo AuthConfig Limit
#
AllowOverride None#
# Controls who can get stuff from this server.
#
Require all granted
</Directory>February 17, 2017 at 2:02 pm #263877In reply to: V2.8 Undefined Function in MU when Creating Site
thefierywell
ParticipantCould this be the same thing?
February 17, 2017 at 11:07 am #263871In reply to: Cannot Sign up
Slava Abakumov
ModeratorHave you read the article that was linked by @danbp?
Do you have.htaccessfile in the same diretory where you installed WordPress?
If not, create it with this content:# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPressMore details here: https://codex.wordpress.org/htaccess
-
AuthorSearch Results
