Search Results for 'wordpress'
-
AuthorSearch Results
-
January 31, 2017 at 5:36 pm #263378
In reply to: Buddypress breaks php 7.1 wordpress site.
danbp
ParticipantHi,
BP devs are aware of this detail… Please read https://buddypress.trac.wordpress.org/ticket/7392
January 30, 2017 at 10:57 pm #263358maccast
ParticipantThanks @shanebp. Yes for sure we would want to avoid the scenario where we are “re-uploading” the default choosen image for each user. I guess I was sort of hoping there was a way in the uploader to just offer them to choose images from our custom library. Sort of like when you use the WordPress media uploader and can choose to pick from the library limiting it to “uploaded to this post”. Overloading the template and using our own custom image picker will work fine. By it being stored in another custom user meta data field it does add some complexity in figuring out how to decide which cover image to use. Meaning that if they upload an image and have also chosen one of our images I need to decide which image takes priority. I’m not sure how I’d do that since meta data fields don;t maintain an “updated” timestamp.
January 30, 2017 at 8:22 pm #263307In reply to: Syntax Question: bp_before_displayed_user_fullname
rgrober
ParticipantThank you very much for the reply @shanebp!
I found this on the member-header.php file.
On a member’s profile page, I’m attempting to insert an element before the user’s name (directly before, not above), but I’m not sure which hook I’m supposed to use.
I’m successfully adding content after/below the User’s name by using
bp_before_member_header_metaDo plugins and themes create custom hooks in addition to the standard wordpress hooks?
Again, I really, really appreciate your help!
January 30, 2017 at 12:22 am #263286In 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
Participant -
AuthorSearch Results