Search Results for 'buddypress'
-
AuthorSearch Results
-
August 21, 2014 at 4:29 pm #187714
danbp
ParticipantOops !
i’m customize the buddypress template files in bp-legacy folder in buddypress plugin directory.
Don’t that, as at next BP update your work will be overridden.
Message URL’s are built dynamically. So you can’t fetch them diretly from within the template. You need a custom function to do that and use it from your theme’s functions.php.
Read in file bp-messages/bp-messages-classes.php
Read this topic for some inspiration.
August 21, 2014 at 3:02 pm #187708aces
ParticipantUsing firefox on http://animalsfunnypictures.com/members/sanaa/ I can see
entry-content img {which has awidth: 510pxif i disable it in firefox it becomes the ‘normal’ size.This is coming from Marla theme’s style.css on line 1464 – see for yourself…
August 21, 2014 at 2:43 pm #187705In reply to: [Resolved] No button for finishing registration
danbp
Participanthave you salt keys in your wp-content.php ?
http://stackoverflow.com/questions/18771957/wordpress-does-not-properly-display-css-file
and use the given script to check the db.
aside, @r-a-y responded on the ticket. Unsurprisingly, like me, he couldn’t replicate the issue
August 21, 2014 at 2:14 pm #187696In reply to: [Resolved] How do I modify the navigation?
danbp
ParticipantWhich theme do you use ?
And have you already created a child-theme ?Generally such modification can be done by CSS.
August 21, 2014 at 2:09 pm #187695In reply to: Please help – Use WordPress Avatars not BuddyPress?
Henry Wright
ModeratorThere might actually be more things you’d need to do. For example, the
bp_get_message_thread_avatar()function usesbp_core_fetch_avatar()so you would need to filter that usingbp_get_message_thread_avataretc.Unless someone else knows of an easier way, it seems as though it’ll be a big task of going through everything. You’d also need to be comfortable with PHP.
Alternatively, you could try disabling avatars by adding this to your bp-custom.php file
define( 'BP_SHOW_AVATARS', false );Note: I’ve not tested that, I’m just going on what I see at the beginning of the
bp_core_fetch_avatar()function. i.e:// If avatars are disabled for the root site, obey that request and bail if ( ! buddypress()->avatar->show_avatars ) return;August 21, 2014 at 1:59 pm #187693In reply to: register.php
danbp
Participantok, supposing you did a translation file (even if you use english by default) to test the above solution and assuming it hasn’t work, let’s try the hard way.
Add this to functions.php, it will force gettext to translate the string.
function bpfr_force_translation( $translated, $original_text, $domain ) { if ( 'buddypress' !== $domain ) return $translated; switch ( $original_text ) { case 'Registering for this site is easy, just fill in the fields below and we'll get a new account set up for you in no time.': return 'Join PushkarGuide.com - share your experience, thoughts about this pretty town Pushkar (INDIA).'; default: return $translated; } } add_filter( 'gettext', 'bpfr_force_translation', 10, 3 );If it doesn’t work i have no other solution to propose.
August 21, 2014 at 1:53 pm #187692In reply to: Please help – Use WordPress Avatars not BuddyPress?
Martin Waller
ParticipantOkay, so searching that GitHub repo there is only one file under the bp-themes/bp-legacy/buddypress folders which mentions
bp_core_fetch_avatar()(but lots within the core BuddyPress code. So I just need to replace the reference in that one file and add it to by child theme under a BuddyPress folder and it should work?August 21, 2014 at 12:12 pm #187690In reply to: Please help – Use WordPress Avatars not BuddyPress?
Henry Wright
ModeratorIf your theme doesn’t explicitly use BuddyPress templates then the default templates will be used. For a quick look at the templates check out the GitHub repo.
I’m guessing your theme doesn’t explicitly use the templates so what you’d have to do is create them yourself. The general idea is to create a folder called
buddypressinside your theme and then add the templates you’d like to customise to that folder. So for example, you’d end up with/wp-content/themes/your-theme/buddypress/. Everything goes inside there.August 21, 2014 at 12:01 pm #187689In reply to: Please help – Use WordPress Avatars not BuddyPress?
Martin Waller
ParticipantSo I’m checking the theme files and not the BuddyPress files? How would it be referenced in the theme files. Sorry – bit of a beginner with this and appreciate your help 🙂
August 21, 2014 at 11:50 am #187687In reply to: Please help – Use WordPress Avatars not BuddyPress?
Henry Wright
ModeratorIt will do, sort of indirectly, actually. For more info on how it works, check out the Template Hierarchy article.
August 21, 2014 at 11:19 am #187685In reply to: Please help – Use WordPress Avatars not BuddyPress?
Martin Waller
ParticipantThanks @henrywright…
I’m not entirely sure that my front-end template actually references bp_core_fetch_avatar() as it is not a BuddyPress theme but rather a regular WordPress theme (Responsive Pro).
Martin
August 21, 2014 at 10:42 am #187677In reply to: Please help – Use WordPress Avatars not BuddyPress?
Martin Waller
ParticipantHi @henrywright
Thanks for the reply. I checked out that plug-in and it just removes the avatar from displaying on the BuddyPress profile – it still actually retains the ‘Mystery Man’ style avatar as opposed to using the one set in WordPress.
Martin
August 21, 2014 at 10:42 am #187676Henry Wright
ModeratorHi @elshobokshy
Take a look at Customizing BuddyPress Avatars
August 21, 2014 at 10:36 am #187675In reply to: Please help – Use WordPress Avatars not BuddyPress?
Henry Wright
ModeratorHi @multimartin
I just tried searching the WP plugin repo and came across an old plugin that may be of some help. Take a look at Remove Avatars
August 21, 2014 at 8:51 am #187665In reply to: register.php
danbp
Participantthere are only two files […] which need to be modified.
False.
If you use the old BP-default theme, you only modify a copy of bp-themes/bp-default/registration/register.php placed in your child-theme
If you use any other theme, you modify only bp-legacy/buddypress/members/register.php
placed in the child /your-child-theme/buddypress/members/register.phpThe one or the other, but not both. And don’t forget that you should never modify core files, as your work will be lost at the next BP update. That’s why child-theme exist and is so important for customization.
If this change doesn’t work (but it should), you have to try something different.
Create a language file containing only the mentionned string.
Read here.Do you already use a language file ? §Is your site in english ? If not indicate the used language.
And gave your plugin list and theme name. It could be you have somewhere a conflict with ajax who block something on the registration page.August 21, 2014 at 8:37 am #187662danbp
ParticipantAsking for help and guidance is OK. But asking for doing the job at your place is something completely different. How much do you estimate my work ? The one already done and the one you ask for now ? If you need a professionnal, you can post on the Job Board to hire a freeelancer.
I told you how to accomplish it.
You use a theme that i even don’t know the name, and which is most probably a Premium theme.
How to customize it is certainly explained on the theme support. And if it’s Premium, you already payed for this service, so use it and if you don’t know, ask there.August 21, 2014 at 8:28 am #187661In reply to: [Resolved] Editing User "Homepage"
MrMarkG
ParticipantUnderstood. I’ve managed to create a blank buddypress.php and I’m putting the various loops on it so they can have their look and feel changed.
Hopefully I might even have something to show you in a few weeks 😉
Mark
August 21, 2014 at 5:46 am #187654In reply to: register.php
sachin550
Participant@danbp i tried with
https://wordpress.org/plugins/quick-cache/
but still getting same line !!
Create an Account
Registering for this site is easy, just fill in the fields below and we’ll get a new account set up for you in no time.
there are only two files
- plugins/buddypress/bp-themes/bp-default/registration/register.php
- bp-templates/bp-legacy/buddypress/members/register.php
which need to be modified i have done that but getting same @aces @mercime
August 21, 2014 at 3:59 am #187652laxmanvel
ParticipantHi Danbp,
Thanks for your valuable reply.But i want save draft message functionality in Buddypress Compose message area.!
Will you Fix this?I added SaveDraft message functionality in buddypress bp-tamplate directory to compose.php template file but Message content text area value i will not get from it. when i click a save draft link in Buddypress Compose message area, the saved draft message update and insert to it’s database and whenever i will compose message this draft message show me again. until i clear the draft message?
How will i do it?
I such like a website Quora. it’s a support forum site.
goto message area then goto compose message. then you will see the Save draft field in quora website.
-Laxmanvel
August 21, 2014 at 12:39 am #187641conwayjc
ParticipantHi danbp,
Thanks for your reply. Followed your guidelines and found the file I needed. Cheers! I’m following a tutorial in a book titled BuddyPress Theme Development by Tammie Lister. Will check
out those links you attached too.Thanks again!
John.
August 21, 2014 at 12:19 am #187640danbp
ParticipantI would be grateful is someone could suggest why the file is not contained within the folder.
Once upon a time, after very looooooong and ice cold winter, a wolf came out of the deep forest. He was so hungry that he eat the index file. Miam ! 🙄
Do not thank me. My pleasure. 😉
If you’re looking in buddypress/bp-activity/ folder, it’s normal that it doesn’t contain a index.php file. It’s a core folder who works internaly.
The index you search is in bp-templates/bp-legacy/buddypress/activity/index.php
Note: this file is only the index for activities.If it is not the case, don’t worry. Reload a fresh copy and pray that it is not corrupted during the FTP transfer.
Don’t know which tutorial you follow, but if you learn BP, read absolutely the Codex.
If, as i guess, your concern is theming, see here:or here on the left sidebar index
August 20, 2014 at 11:50 pm #187636danbp
Participant@saurabhsjain91
you asked for searching members by xprofile value. You want this on the member directory or in the backend ?Add custom filters to loops and enjoy them within your plugin
https://codex.buddypress.org/plugindev/using-bp_parse_args-to-filter-buddypress-template-loops/
See xprofile in Conclusion chapter.August 20, 2014 at 11:33 pm #187635In reply to: strong passwords
danbp
Participantbp_core_general_settings_before_submit is not a function but an action hook.
@cwjordan, maybe interesting things to find
Line 43: http://phpxref.ftwr.co.uk/buddypress/nav.html?bp-core/bp-core-settings.php.source.htmlA bbpress half soluce :
For inspiration ? This old BP plugin…
https://wordpress.org/plugins/bp-xtra-signup/
More recent
https://wordpress.org/plugins/login-security-solution/ (maybe not compatible with BP)If not affraid of expirimentation:
https://github.com/mgmartel/BuddyPress-Password-Strength-Meter/blob/master/bp-password-strength-meter.phpFor the fun, on @imath ‘s blog (in french), some code to study (php is in english)
August 20, 2014 at 11:18 pm #187634In reply to: strong passwords
cwjordan
ParticipantI sat down and tried it and if I do modify bp-settings-actions.php then I can get it to enforce strong passwords just fine. Of course that will break every time Buddypress comes out with a new version, so it’s not really a solution. Sigh.
August 20, 2014 at 10:31 pm #187632In reply to: strong passwords
cwjordan
ParticipantFabius219, I never could quite figure this out. I got as far as figuring out how to modify my theme’s function.php file to add a filter to bp_core_general_settings_before_submit to add the password strength bar to the buddypress settings page, but I couldn’t figure out how to get the “Force Strong Passwords” plugin to enforce that the password must be a certain strength. For the regular WordPress Profile page, that plugin hooks into ‘user_profile_update_errors’, but I don’t see an equivalent hook in buddypress/bp-settings/bp-settings-actions.php, which I think is the right place to look. Googling around I don’t see that anyone else has done it either, which is too bad.
-
AuthorSearch Results