Search Results for 'wordpress'
-
AuthorSearch Results
-
October 11, 2016 at 5:29 pm #259734
In reply to: [Resolved] Registration Not Saving
danbp
ParticipantYou posted another question on Buddypress Profile Search support, where it appears that you try to remove the member search form.
In regard of the BuddyPress support forum, you use at least two third party plugins aside BP and perhaps proceeded to template customization !
You have to isolate the culprit: one of your plugins or your theme customization. BuddyPress is not concerned. Sorry.
October 11, 2016 at 9:29 am #259711In reply to: [Resolved] Allow html in xprofile fields
danbp
Participant@djpaul ‘s advice is wise !
But you could try following which doesn’t compromise your security and will avoid the sky falling on your head !First remove the filter hack, we don’t need it.
Then built your drop-down list and add only the site name instead the whole URL.
For example,
– create a new field
– call it Test drop down
– enforce visibility
– disallow clickable
– add some options: buddypress.org, wordpress.org
– save
Go to your profile > edit and choose buddypress.org. Save.
You see now buddypress.org on your profileNow we have to make this text clickable and linked to bp.org
For this, you can use this snippet, placed in bp-custom.php
function bpfr_set_checkbox_output( $field_value ) { // ensure xprofile is activated if ( bp_is_active( 'xprofile' ) ) // call the field $bp_this_field_name = bp_get_the_profile_field_name(); // field name (case sensitive) if( $bp_this_field_name == 'Test drop down' ) { // here we change site name to url $field_value = str_replace('buddypress.org' ,'http://buddypress.org', $field_value); $field_value = str_replace('wordpress.org' ,'http://wordpress.org', $field_value); } // fire the result! return $field_value; } add_filter( 'bp_get_the_profile_field_value', 'bpfr_set_checkbox_output' );October 11, 2016 at 6:52 am #259697In reply to: My profil link on menu header with submenu
danbp
ParticipantHi,
that’s a wordpress question (related to
wp_nav_menu_items).See WP Codex for answers:
Many similar related topics also on BuddyPress forum. Ie. :
https://buddypress.org/support/topic/how-to-get-notification-count-code/October 10, 2016 at 9:06 pm #259687In reply to: Online Status
danbp
ParticipantHi,
check the code you used for “16 minutes ago”. You will find it in the buddypress-de_DE.po file. Normally, you should have
%s ago -> vor %s. If you omit % or s, the string won’t be translated.If it’s not a typo error of yours:
– where is this untranslated “ago” string showing ? Site activity, profile, widget, other ?– do you use a specific “buddypress” theme ?
– does the issue remain when using the “official” translation file ? If not, download it here (po & mo). Don’t forget to remove your version before adding the original one into wp-content/languages/plugins/
October 10, 2016 at 8:16 pm #259685In reply to: Online Status
Venutius
ModeratorHow about setting the theme to 2015? IF that fails then there must be something up with your basic WordPress install.
October 10, 2016 at 11:50 am #259669danbp
Participant@r083r7,
glad you got it to work ! 😉
Not sure if it is a theory or simply how it works, but deactivating/reactivating (plugins, themes) will in most case recalculate the permalinks.October 9, 2016 at 7:41 pm #259656In reply to: Admin bar icons do not display on some devices
giuseppecuttone
ParticipantI will be your savior,
for same rasons, wordpress decided not show admin bar like default in mobile.
It is so,maybe, because when user log in in mobile device, a lot of menu will be showed… really I dont know why…
But if you dont have this problem, and want show admin bar for log in an log out users, you must add in CSS the following codec:@media screen and (max-width:782px) { #wpadminbar { display:block; } html { position:absolute; top:-46px; } }The codec where say html position absolute is for delete noise black bar located in the up side zone.
If you want, you can also show the notification icon (I think it is named budlle notification) into the admin mar, adding the following codec in CSS zone:/* Show only default top level items */ #wp-toolbar > ul > li { display: block; }I have gone mad to find the solution, but now we have it.
If you dont want show menu in admin bar to the suscriptors, colaborator and authors, you can use the AG CUSTOM ADMIN plugin. It hide them and help you in a clean design. (you can also hide wordpress logo, and so much things…)Now, I have only a litlle / big problem:
the drop down menu, when I click in the “notification icon” in the admin bar, is not showed correctly… It is showed from the “notification icon” to the right zone, so in mobiles user can red the title of the notification.
The solution is show the dropdown menu from the “notification icon” to the left zone. So, also in mobiles users can red the title of the notification.
Can you help me for to make that?
I have helped you, now I hope someone can help me 😉
Thank for your support and have funnyOctober 8, 2016 at 12:14 pm #259612In reply to: Change MetaDescriptions
Slava Abakumov
ModeratorTry WordPress SEO plugin AND this hack:
https://github.com/Yoast/wordpress-seo/issues/1971#issuecomment-227008322That will fix titles. There is no solution for meta descriptions, unfortunately.
October 8, 2016 at 12:03 pm #259609Slava Abakumov
ModeratorAFAIK, installing BuddyPress on a subdomain of WordPress MultiSite won’t give you BP widgets (and other content) on a main site, thus you won’t be able easily (without coding) display BuddyPress content on any site in the network, excerpt the BP-site.
So BuddyPress content will be available only on site where you activated BuddyPress.I hope I’ve answered your question.
October 8, 2016 at 11:46 am #259606In reply to: Trouble in posting message in a sub domain instal
Slava Abakumov
ModeratorSo bp.example.com is the subdomain, that you use for BuddyPress. Does it have separate WordPress installation (not related to example.com)?
Is WordPress on your example.com MultiSite or ordinary?October 8, 2016 at 11:35 am #259602In reply to: Activity BuddyPress
Slava Abakumov
ModeratorThat’s quite a lot of custom code.
All that activities are not related to BuddyPress directly. Although you can store them in activity directory when that action was performed using bp_activity_add() function.But as everything you described is not a default WordPress and BuddyPress functionality – I strongly advice you to find some developers, that will implement all that.
October 8, 2016 at 11:30 am #259601In reply to: Registration validation based on profile field
danbp
ParticipantOctober 7, 2016 at 7:40 pm #259590In reply to: Groups on Buddy press
jillparks
ParticipantVery helpful. Yes, I use Yammer now, and I can have my post (not a blog post, more like a FB post) email everyone in the group.
Sounds like https://wordpress.org/plugins/groups-members-mail/ will work. Thank you!
October 7, 2016 at 7:30 pm #259589In reply to: Groups on Buddy press
danbp
ParticipantHi,
if you mean mailing blog posts to members and if you use BuddyPress only for it’s group component, you have better to use WP Groups plugin. You don’t need BP.
if you mean group notices, you can code something yourself or use this plugin or this one and send the post permalink to the group users.
Not exactly what you asked for, but i have no better idea.
For the phone question, i’ve never heard about such an app.
October 7, 2016 at 4:07 pm #259583In reply to: How to hide / remove the General tab under Settings
danbp
Participanthi @sherissa_r,
i asked on Slack where @hnla answered that “clearly something is wrong”. I opened a ticket, just in case of.Now we’ve to wait a little moment the time a dev can investigate this.
October 6, 2016 at 8:21 pm #259554In reply to: Forums linked to Sensei Courses
danbp
ParticipantOctober 6, 2016 at 8:14 pm #259553danbp
ParticipantHi,
by reading the first topic, it sounds like you try to use more than one child theme !
I already have activated my other child theme
If it is the case, it’s not the way to proceed. 😉
1) You should have only one child-theme activated.
2) in this child, you add a folder called buddypress.
3) if you need to modify some BP templates, you copy the original fromwp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/into the child BP folder.Example of what you should have:
wp-content/themes/XYZ theme
wp-content/themes/XYZ-child/Let’s say you want to modify BP’s register page.
wp-content/themes/XYZ-child/buddypress/members/register.php
or you want to modify the profile header template
wp-content/themes/XYZ-child/buddypress/members/single/member-header.phpAnd that’s it ! The only thing you have to do is to pick the right file and add it to the child by respecting the original path who starts at:
/buddypress/path/to/file.phpInside the template file, yo can manipulate html tags and find different action hooks (
do_action( 'something' );). Take care to not rename or remove the existing class/ID names whithout knowing what you do.In bp-custom.php, you can manipulate BP’s behave by adding custom functions.
In the child-theme style.css, you manipulate whatever related to your theme layout – for the entire site, including BP or other plugins.
And as all this is done via the child, anything will remain after any update of BuddyPress, your original theme, WordPress or plugins.
Reading actively the forum will bring you other answers, tips and tricks.
October 6, 2016 at 6:51 pm #259547In reply to: [Resolved] Registration Not Saving
October 6, 2016 at 5:42 pm #259541In reply to: [Resolved] Changing from a slug to a dynamic url
danbp
ParticipantOk, i misunderstood the whole… The initial question was:
what I am trying to link to is
http://localhost/wordpress/community/profile/<displayed_user>/Try this:
function tab_custom_link_to_page() { if ( bp_is_activity_component() || bp_is_page( BP_MEMBERS_SLUG ) ) { // link to what you want $link = bp_get_root_domain() . '/community/profile/'. bp_get_displayed_user_username(); echo '<li><a href="'. $link .'">Community</a></li>'; } } add_action( 'bp_member_options_nav', 'tab_custom_link_to_page' );October 6, 2016 at 5:09 pm #259540In reply to: Registration page Font style and size
Slava Abakumov
ModeratorThe only option is to use CSS (in
style.css) in your child theme to modify that. Or some plugins, that give ability to apply styles without modifying files (Siteorigin CSS).#buddypress #register-page label { font-size:120%; }October 6, 2016 at 4:54 pm #259536In reply to: [Resolved] Changing from a slug to a dynamic url
wolfpup64
ParticipantThat seems to work for pulling the appropriate user, I input it into the line shane provided
function communityprofile_screen() { bp_core_redirect( site_url( '/community/profile/'.bp_get_loggedin_user_link()() ) ); }but it looks like it gets overwritten by the slug in the aforementioned code that makes the tab appear and leads me to the url:
http://localhost/wordpress/users/*username*/communityprofile/
once again, if I try to remove the slug from the line the tab itself disappears. oh man this has been frustrating.
October 6, 2016 at 4:43 pm #259534In reply to: Moderator add users to group
danbp
ParticipantNo, nothing like that. This can only be achieved within site admin. And by default a group mod is a simple subscriber which has no access to group members administration.
The first option is to promote mods to group admin, and in this case he can from front-end, kick/ban user, promote or remove users and nothing else.
The other option would be to give them a WP role who let them access to group members admin and evtl. using a plugin to block their access to all other admin parts… (ie. user role editor)
In addition, you could also get some dev’s opinion to this…
https://buddypress.trac.wordpress.org/ticket/5543
https://buddypress.org/support/topic/how-could-a-group-moderator-edit-group-details/October 6, 2016 at 8:54 am #259525bermudastream
ParticipantI would like to keep the activity stream short – 7-10 updates only. Where can I set the number of activities to return?
Thanks
Mark M.Buddypress Version 2.6.2
WordPress 4.6.1October 6, 2016 at 7:29 am #259520In reply to: [Resolved] Changing from a slug to a dynamic url
danbp
ParticipantHi,
Shane’s answer is related to the BP way to get a user name inside a redirection. wpF use probably a similar method, but certainly also his own function(s) for that. You have to find out how it does. Unfortunately, this plugin doesn’t provide documentation at the moment.Accordingly to wpForum support, there is still a button to wpforum on each profile. If you have difficulties to tweak the default behave, you have to ask for on their support.
https://wordpress.org/support/topic/buddypress-compatibility-plans/
October 4, 2016 at 10:08 pm #259408In reply to: Missing BP Pages/links section on Menu Admin Page
Toni
ParticipantI’M deleting the entire installation and reinstalling WordPress.
-
AuthorSearch Results