Search Results for 'wordpress'
-
AuthorSearch Results
-
January 30, 2017 at 12:22 am #263286
In reply to: Syntax Question: bp_before_displayed_user_fullname
shanebp
ModeratorIn which file are you seeing
bp_before_displayed_user_fullname?It’s probably a wordpress do_action hook.
https://developer.wordpress.org/reference/functions/do_action/January 29, 2017 at 11:29 pm #263281In reply to: Getting Registration Errors
January 29, 2017 at 11:26 pm #263280In reply to: Create user account only after purchase
danbp
ParticipantHi,
BuddyPress follow your wordpress registration settings. Some other details can be found here:
January 27, 2017 at 4:47 pm #263221In reply to: delete user profile fields
danbp
ParticipantHum, i have not noticed such an issue on any of my BP sites, what ever theme i use…
Have you tested with all plugins deactivated ?Afaik you have to debug properly.
Use WP and BP only, with Twenty Sixteen and wp_debug activated.https://codex.wordpress.org/Debugging_in_WordPress
Read also here and give details.
January 27, 2017 at 4:33 pm #263218In reply to: Private Messaging Limit with Membership plans
danbp
Participantit’s not an issue but eventually an enhancement.
As nothing new appeared in the plugin sphere, and if you don’t know further, follow Shane’s recommendation.To monetize your BP, perhaps you can consider MyCred ?
Closing this tread now.
January 27, 2017 at 4:25 pm #263217In reply to: user role box under profile picture
danbp
ParticipantHi,
you have many errors in your code.
– in the css you declare a class (a dot ) while you use an ID (#) in the html
– in the code, you omit to close a p tag, and you need also a user_id and a way to get the displayed user (WordPress) role. Both are missing.Here, the whole thing corrected.
– we don’t need a extra div, as we only add a p tag in an existing div.
– the code to get the role holds in 2 small lines.The CSS (goes into child theme’s style.css)
#item-header-avatar p { margin: auto; border:1px solid green; background: yellow; width: 110px; text-transform: capitalize; }The html and php for the template (starts aroud line 24 of cover-image-header.php)
<div id="item-header-avatar"> <a href="<?php bp_displayed_user_link(); ?>"> <?php bp_displayed_user_avatar( 'type=full' ); ?> </a> <?php $user = new WP_User( bp_displayed_user_id() ); echo '<p>'. $user->roles[0] .'</p>'; ?> </div><!-- #item-header-avatar -->Do it simple ! ๐
January 25, 2017 at 9:29 pm #263175In reply to: Buddypress registration option plugin
shanebp
ModeratorPlease use the support forum for that plugin –
https://wordpress.org/support/plugin/bp-registration-optionsJanuary 25, 2017 at 8:54 am #263163In reply to: Update user Role?
danbp
ParticipantHi,
guess you confuse member types and user roles. MT where introduced to allow site owners to “categorize” their users. WP user role is slightly different, as it defines what user can do on a site, a kind of access management. So in brief, roles are independent from BP member types.
MT and roles are also stored in different tables: MT in wp_terms and roles in wp_usermeta – with the denomination of wp_capabilities…
By default, roles are automatically attibuted at registration level or manually by a site admin. Member types follow the same logic, under condition the xprofile component is activate.
Now the question is: what do you want to do exactly after registration ? Change the role or change the type ?
Roles can be affected from the admin user list page. I would recommand to not modify this behave at registration level, to avoid abuse by promoting fake user for example.
MT can be changed from the xprofile admin interface. There is also this plugin for a more in depth management.
Using a custom function is of course possible. But just to clarify, the one you give as example let’s suppose you have a need for bulk action over user status. Automated task is well and good, but in this case, why not attribute a higher role or type to all by default ?
And if it is not intended for “all” (what i suppose is the case), do you have so many exception that you need such a function ? Can’t you do that manually ? Just my 2 cents. ๐January 24, 2017 at 6:46 pm #263151Topic: Hide members
in forum How-to & Troubleshootingbeforeplastic
ParticipantHello,
How do I hide members from the member directory?
Use-case: For WordPress theme support I have created logins for plugin and theme support as well as dev. I would like to hide these “users” from the membership page in BuddyPress.Thank you for your assistance!
January 24, 2017 at 11:36 am #263145In reply to: User Meta Output On Profile
shanebp
ModeratorDid you try using the meta function?
https://codex.wordpress.org/Function_Reference/get_user_metaAnd you don’t need
user_can.
Just request the meta and show if it exists.January 24, 2017 at 8:42 am #263142danbp
ParticipantI have looked everywhere and tried everything!
If so, what could we do more for you ? You’re asking for help for a page question. Pages are part of WordPress and fortunately, WordPress has a codex, where “page” is a well documented department.
https://codex.wordpress.org/Pages
Concerning BP pages, that documentation is much shorter, because BP doesn’t use page like WP and when it use a page it is internally only, and only for one of his component, not to allow users to write a page.
January 24, 2017 at 8:38 am #263141In reply to: Bug after install
danbp
ParticipantDeactivate all plugins before activating BP.
Activate a Twenty theme.
Then activate BP. If your admin remains blank again, remove BP from the server – there may be corrupted files – and upload a fresh copy by FTP.If still trouble, contact your host and see if you have minimum requirements to install BP (including enough php memory (at least 64 mo)
As apparently you never have to debug your install, read here for more recommendation (to follow if possible).
January 24, 2017 at 7:57 am #263137In reply to: How to show media upload button
danbp
Participant[Topic moved and closed by MOD]
Please don’t jump into topics who aren’t related to your question and don’t double post.BuddyPress use WordPress tinymce editor. See WP codex:
https://codex.wordpress.org/Function_Reference/wp_editor
https://codex.wordpress.org/TinyMCEJanuary 23, 2017 at 2:42 pm #263118Topic: Hastag filter search
in forum How-to & Troubleshootingmanishn
ParticipantHello there..
I am newbie in buddypress, can anyone help me in this:
I am using this plugin for hashtagin https://rup.wordpress.org/plugins-wp/buddypress-activity-stream-hashtags/
Its working fine, but I want to show #hashtag filter on site. So when anyone can search particular #hashtag it will display the result for that #hashtag only. I know there must be a way which I can’t find.
Thanks you in advance.
January 22, 2017 at 9:59 am #263079In reply to: Template hierarchy for edit.php page??
danbp
ParticipantHi,
sidebar is part of your theme. The edit.php (members/single/profile/edit.php) template file doesn’t contain a sidebar, but a form. And this form goes into any theme who has a place for “content” (usually it is the main content).
If you don’t want a sidebar on the member page or on the profile, you can add a conditionnal on your (child)theme sidebar.php or around the call to sidebar you can find in almost all your theme files.
The thing to search is
get_sidebarwhich calls the sidebar template.Note that BP use mostly to “page.php”, so if your theme has such a file, it is where to start. You already know the way to BP’s template doc. More about this on WP codex:
https://codex.wordpress.org/Function_Reference/dynamic_sidebarJanuary 21, 2017 at 4:34 pm #263072danbp
ParticipantHi,
seems you’re in wp-admin media library when you get that error. The message comes from WordPress. BuddyPress doesn’t use backend editing and doesn’t use edit tools on front-end like “mirror” or “rotate” when he handles pictures.
With BP, a user can handle his avatar picture and the cover header for profile and groups, and all that from front-end.
Where is the image in BuddyPress that you try to edit ?
Please give details, so your issue could evtl. be reproduced.January 21, 2017 at 8:40 am #263062In reply to: How to change/modify buddypress default player
danbp
ParticipantHi,
BuddyPress hasn’t a video player. By default, BP use WordPress embeds. Read attentively this document, to understand how embeding videos is working and how READING videos is automatted.
If you want thumbnails in place of the default wrapper, you could use some plugin like this one (untested). And they’re many other on the plugin repo. Only thing you have to take attention with such a plugin, is his compatibility with BP. For ex. wall activities are not exactly blog posts.
If you’re comfortable with CSS, you can even try to modify the existing wrapper size.
Note also that all of these tips have not very much to do with BuddyPress, but with theming.
January 20, 2017 at 2:32 pm #263045In reply to: Email notification
Henry Wright
ModeratorCrowdmentions will web notify members of a group if a @ keyword is used in the update’s text. However, emails aren’t sent for various reasons.
Disclaimer: I’m the plugin author.
January 20, 2017 at 8:40 am #263039In reply to: BuddyPress not PHP 7.1 compatible – Broke my site
danbp
ParticipantThank you for the report. Devs are aware of the problem. You can also participate or follow this on Trac.
Read from #7406January 20, 2017 at 8:35 am #263038In reply to: When I upload something site suddenly down.
danbp
ParticipantJanuary 19, 2017 at 6:53 pm #263020In reply to: Link from email goes to 404 when not logged in
Henry Wright
ModeratorThis isn’t ideal. Can you open a ticket on Trac explaining the issue?
January 19, 2017 at 3:50 pm #263014In reply to: Spam via messages.
danbp
ParticipantJanuary 18, 2017 at 3:18 pm #262994In reply to: [Resolved] My Profile
Humiges
ParticipantThank you @danbp,
I saw those and others.
What I can’t figure out is how to add the for example:bp_core_get_user_domain( $user_id ) . 'activity'to the existing nav-menu in wordpress ๐Thanks
January 18, 2017 at 7:47 am #262974In reply to: xprofile fields on Group members directory
danbp
ParticipantYou simply use one of the 6 action hook available on the group member template.
The file to check isbuddypress/bp-templates/bp-legacy/buddypress/groups/single/members.phpThe hook to use, for example
bp_group_members_list_item.WP hook reference.
January 17, 2017 at 4:10 am #262949In reply to: Wont let me accept or apply to groups
gprovostjr
Participant1. Which version of WordPress are you running? 4.7.1
2. Did you install WordPress as a directory or subdomain install? Directory
3. If a directory install, is it in root or in a subdirectory? Root
4. Did you upgrade from a previous version of WordPress? If so, from which version? no
5. Was WordPress functioning properly before installing/upgrading BuddyPress (BP)? e.g. permalinks, creating a new post, commenting. yes
6. Which version of BP are you running? 2.7.4
7. Did you upgraded from a previous version of BP? If so, from which version? no
8. Do you have any plugins other than BuddyPress installed and activated? If so, which ones? YES
Analytics Cat 1.0.1
bbPress 2.5.12
Photo Gallery 1.3.26
Ultimate Social Media PLUS 2.5.1
User Role Editor 4.31.1
WP Discord 0.2.39. Are you using the standard WordPress theme or customized theme? Standard
10. Which theme do you use ? 2017
11. Have you modified the core files in any way? no
12. Do you have any custom functions in bp-custom.php? no
13. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in? listed earlier
14. Please provide a list of any errors in your serverโs log files.
15. Which company provides your hosting? ipage
16. Is your server running Windows, or if Linux; Apache, nginx or something else?
-
AuthorSearch Results