Search Results for 'buddypress'
-
AuthorSearch Results
-
December 22, 2015 at 6:47 pm #247970
In reply to: How to display a custom field?
@mcuk
ParticipantHi David,
Can’t see any errors in your code, so it should work for BuddyPress (try the do_action within a BP file to double check). Hopefully Shane’s suggestions will work for you!
December 22, 2015 at 2:40 pm #247965In reply to: Front-End Login
mrky007
ParticipantThere should be a BuddyPress log in widget, which you can easily add to any widget area.
December 22, 2015 at 1:11 pm #247963In reply to: How to create pages in buddypress like facebook??
Henry Wright
ModeratorDoes How to make my site like Facebook help?
December 22, 2015 at 12:10 pm #247961In reply to: How to display a custom field?
VersGemerkt
ParticipantThanks for the quick reply!
Ohhhh, I think I know why it’s not working. It’s because order.php is in de Learnpress plugin, and trying to get data from Buddypress. I’m not using your code inside Buddypress only…
So: order.php in the Learnpress plugin needs to pull the data from the Buddypress plugin. When I change
Opleiding: <?php do_action ( 'user_opleiding_field' ); ?>in order.php to your new suggestion it doesn’t work either. Should your new suggestion work with a secondairy plugin (Learnpress?).
Sorry if I’m asking dumb questions. I’m do have some PHP knowledge, but not enough to figure this kind of stuff out myself. I hope you can help us out!
David
December 20, 2015 at 4:35 pm #247934In reply to: bp-custom.php bp nav
codyt
ParticipantIt’s working now but the priority didn’t change anything. I’m not sure why it’s working now. I did figured out how to turn some of the tabs off courtesy of this site. However I still can’t find a way to add my own tab named “characters”. Maybe I just have to make a copy of a tab, change the name and then link it to the the page I want. If I find out how, I will let you know.
Thanks Henry!
December 20, 2015 at 4:13 pm #247932In reply to: CSS causing cover image to disappear.
@mcuk
ParticipantAhh I see. I haven’t used that approach personally for my custom CSS. Just got the one CSS file (style.css) for everything at the moment, WP Theme and BuddyPress. I use comments and sections to organise it.
I can only think of a few things to try, though you probably have done these already (ensure the cover image option is ticked in the WP dashboard):
1. Remove all your custom CSS files temporarily and see if the cover image appears by default. If it does, then the problem is probably isolated to your CSS rather than with BuddyPress or your main Theme.
2. Use the browser developer tools (F12) to see if the id for cover image appears in the code even if you can’t see anything on screen. If it does try manipulating its attributes to bring it to the foreground as it may be hidden beneath other layers (z-index). Or display: none layers around it to see what is hiding it.
3. Check the id’s against your CSS. New id’s were obviously introduced for the cover image which weren’t in old BuddyPress CSS files which you may have used as a base for your custom one.
4. Try another theme with your custom CSS to see if it is a theme issue
5. Put all your custom BuddyPress CSS into the standard style.css file within a child theme and see if it works that way.December 20, 2015 at 1:34 pm #247929In reply to: CSS causing cover image to disappear.
aldin_abdagic
ParticipantHI ! I have the same problem … I understand what coeycoey writes , here is the explanation ;
Everything is great and everything works , just does not appear cover image … ??? any Solution ?
December 20, 2015 at 4:32 am #247919In reply to: CSS causing cover image to disappear.
@mcuk
ParticipantMaybe I’m misunderstanding you, not sure from your description whether or not you have already created a child theme with your own CSS file?
https://codex.wordpress.org/Child_Themes
You can just make all your styling changes in that instead of copying various whole CSS files from the BuddyPress folders (and your changes will be kept whenever WP or BP are updated).
Also double check the box for cover photo is ticked on your WP dashboard if you want your users to be able to use them.
December 19, 2015 at 6:39 pm #247910In reply to: Rich Textet Editor toolbar
dlongm01
ParticipantOK – I found it:
/* Buddypress rich text toolbar – hide fullscreen button*/
.mce-i-fullscreen::before {
display:none;
}December 19, 2015 at 5:30 pm #247908In reply to: position profile field description
dlongm01
ParticipantIn fact I have found a reasonable solution using CSS. I found some key clues on in the support forum for this plugin: Buddypress Xprofile Custom Fields Type (though I’m not using that plugin).
If anyone has any advice about how to improve this I would be glad to hear it. Thanks
/* Buddypress profile field description position*/
.editfield {
position: relative;
top: 5px;
}
.editfield label {
font-weight:bold;
margin-bottom: 30px;
}
.input field_4 {
margin-top: 5px;
}form.standard-form p.description {
margin: 0 0 15px;
position: absolute;
top: 20px;
line-height:1em;
}December 19, 2015 at 4:55 pm #247906In reply to: Favourites in Sidebar
December 19, 2015 at 1:53 pm #247899In reply to: position profile field description
shanebp
ModeratorWhere are you viewing the profile field?
On a member profile page?
If so, you can use this php functionbp_the_profile_field_description()in a template overload ofbuddypress\bp-templates\bp-legacy\buddypress\members\single\profile\profile-loop.php.If you mean the register page, create a template overload of that template
buddypress\bp-templates\bp-legacy\buddypress\members\register.php
and move the call tobp_the_profile_field_description()wherever you want it.I don’t think you can do it with just css.
December 19, 2015 at 1:20 pm #247896In reply to: Plugin Buddy Press leads to error 508.what to do?
danbp
ParticipantHi,
generally, a 508 error means that your website is hitting one or more of the hosting account’s virtual resource limits: CPU Usage, RAM Usage, I/O usage or Entry Processes.
first thing to check is your server ressources. Use phpinfo() to get thoose information.
Then compare with minimum requirements for a WordPress/BuddyPress install.
In the meantime, open wp-config.php and activate debug mode (set it from false to true) and see if you receive some notices or warnings.
If you get a php error, such as a missing tag, you have to repair that. Or upload a new copy of an eventually mentionned file. Or if you did some custom coding somewhere, remove it or revert back…
If there is no error mentionned, it is your host plan which is not taylored for WordPress/BuddyPress. In this case, you have to change your host or plan, if you want to use the full power of WP !
You will be confortable with at least php 5.5 and a memory_limit of 64 mb
December 19, 2015 at 12:22 pm #247893In reply to: Problem with translation of some strings
przemyslawrosa
ParticipantSorry, when i wrote every plugin i mean buddypress / bbpress / time-bank. Theme is also trnslated in 100%
December 19, 2015 at 8:29 am #247886In reply to: Problem with translation of some strings
danbp
ParticipantHi,
check your theme translation or menu settings and eventually your plugins (if you use some).
On your members page source code, there is a long phrase in english inside a div which is not from BuddyPress:
You can browse all activities here. Use menu below if you want to browse only specific activities like […]The theme was published in 2013, it could be possible that it is not updated for latest BP version…
December 18, 2015 at 7:50 pm #247880In reply to: Buddypress Multisite/Multinetwork.
vinaysagar4u
ParticipantHi Valuser,
That’s exactly what I mean Valuser. The way they do it right now is by using third party plugins called BP Multinetwork by segregating databases for every subsite.My idea is that, it need not be segregated to achieve this. Actually, WordPress does this very well with Multisite. Buddypress can do it too if it stored the blog ID value in database for every activity captured, groups and members. That way you can design options to filter members of the present site, activity and groups that can all have separate and sitewide data. This way they don’t have to segregate database by the BP Multinetwork plugin and still have separate activity, groups and members. Better thing is you can “Internetwork”. Which means, you can have a group that is subsite specific and still build an option to share it with another subsite/main site as well, within the network/multinetwork platform.
December 18, 2015 at 5:28 pm #247878In reply to: admin only field visible to certain other users
pnet
ParticipantCan you point me in the right direction on this?
I am still kind of new to buddypress 🙂
December 18, 2015 at 5:22 pm #247877Andrew
ParticipantThanks Henry. I’ve got more info on this to help the core team fix this issue.
I think all WordPress conditionals are not working correctly inside the bp_after_has_activities_parse_args filter. Only BuddyPress conditionals are working inside it.
I also have custom member pages too using bp_after_has_members_parse_args, but WordPress conditionals inside that are all working fine, example:
// filter member pages function cm_members_filter( $retval ) { if ( is_page('custom-page-3') ) { $retval['per_page'] = 1; } if ( is_page('custom-page-4') ) { $retval['per_page'] = 5; } if ( is_search() ) { $retval['per_page'] = 3; } return $retval; } add_filter( 'bp_after_has_members_parse_args', 'cm_members_filter' );It is just the activity parse args that is having problems with WordPress conditionals. I can provide further info to help figure out why WordPress conditionals don’t work correctly inside bp_after_has_activities_parse_args, it has something to do with the way ajax is used on the load more button to load more items:
If I remove activity ajax features by removing <div class=”activity”></div> or by removing bp-templates/bp-legacy/js/buddypress.min.js. The load more button now works like a pagination next page button (similar to the members directory pagination). This makes the WordPress conditionals work fine and all my custom activity pages are now filtering correctly.
So to conclude, WordPress conditionals are working OK inside bp_after_has_members_parse_args, but they are not working correctly inside bp_after_has_activities_parse_args unless the activity ajax is removed.
December 18, 2015 at 5:14 pm #247876In reply to: admin only field visible to certain other users
shanebp
ModeratorYou will need to create a template overload of this file:
buddypress\bp-templates\bp-legacy\buddypress\members\single\profile\profile-loop.phpAnd write a conditional to handle the visibility of that field.
December 18, 2015 at 5:01 pm #247873Paul-tCGs
ParticipantThanks for the quick replies @venutius and @henrywright –
re: memory bumps, I found elsewhere that edits to the wp-config.php would solve, but it didn’t… I’ll look at the php.ini next.
re: which plugin, I’ve narrowed it down to the main buddypress plugin.
A symptom no doubt, when I attempt to bring up the the member directory, I get…
MEMBER DIRECTORY
[UPB_profile_list]and my own photo uploaded to replace the default avatar, is not showing on my own profile.
December 18, 2015 at 4:36 pm #247869In reply to: Categorise Users by XProfile Field
shanebp
ModeratorSee this for an example of collecting user ids based on xprofile field:
https://codex.buddypress.org/developer/loops-reference/the-members-loop/If you plan to use the members loop code, BP will reorder the members based on last_activity.
But you can preserve the order by using theuser_idsfield.
More info: https://codex.buddypress.org/developer/bp_user_query/#code-examplesYou may be able to accomplish your task via
bp_parse_args, but I’m not sure if you can preserve the order:
https://codex.buddypress.org/developer/using-bp_parse_args-to-filter-buddypress-template-loops/December 18, 2015 at 3:01 am #247861Topic: CSS causing cover image to disappear.
in forum How-to & TroubleshootingCoeyCoey
ParticipantHello all,
I copied the buddypress.css and buddypress.min.css from buddypress/bp-templates/bp-legacy/css to mythemes/css folder, and I began editing the file to make some changes and it worked fine. However, I noticed the cover image is missing. The profile photo is fine. I thought I did something to the CSS, so I copied it over, but it is still missing. If I disable the mytheme/css folder, it works normally. I would like to edit the css in the mythemes/css folder so I don’t lose changes on edits. Is there anything else I need to do so that the css files work correctly from outside the buddypress folder?
Thank you
Just updated, so latest version of WP and BP.
December 18, 2015 at 2:05 am #247859In reply to: Trouble with custom activity function
synfrag
ParticipantThat works to an extent but it filters everything on the page and what I need is essentially two user’s activity streams on the same page. Any advice on how to make that work? It sounds like someone was trying to do something very similar in this post but it was years ago
December 17, 2015 at 8:40 pm #247854In reply to: Trouble with custom activity function
Henry Wright
ModeratorAh OK, cool. In that case you may also be interested to hear about
bp_parse_args(). I think it’s a better way of doing what you want. This approach will also handle the loop pagination for you. For example:function my_func( $ret ) { // Your custom stuff here. return $ret; } add_filter( 'bp_after_has_activities_parse_args', 'my_func' );See the Using bp_parse_args() to filter BuddyPress template loops article for a complete guide.
December 17, 2015 at 7:43 pm #247848In reply to: Trouble with custom activity function
Henry Wright
Moderatorsw_partner_activityisn’t a BuddyPress hook. Are you using a plugin? -
AuthorSearch Results