Thank you for your reply !! i have tried with both files
plugins/buddypress/bp-themes/bp-default/registration/register.php
bp-templates/bp-legacy/buddypress/members/register.php
But still i am getting same
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.
Where this line are calling from ?
For this i have modified /wp-content/plugins/buddypress/bp-themes/bp-default/registration/register.php
@sachin550 Are you using the BP Default theme or a child theme of BP Default? If not, then you should not modify that file. Instead, create a child theme of your WP theme of choice, create a folder named buddypress
in that child theme folder and copy over https://buddypress.trac.wordpress.org/browser/trunk/src/bp-templates/bp-legacy/buddypress/members/register.php following the directory structure and revise it.
Thank you @mercime for you reply !! i have modified both the files with my custom text but still getting the same default message !!
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.
plugins/buddypress/bp-themes/bp-default/registration/register.php
bp-templates/bp-legacy/buddypress/members/register.php
thank you
Perhaps purge your navigator history or site cache if you use one.
@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
there 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.php
The 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.
thnak you dear @danbp yes but its pretty surprising if both files have modified why its showing the default text
the demo site is located here http://sachinesolutions.in/final/register/
@danbp
ok, 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.
I fixed it this way. I read this once somewhere and this is the ONLY solution that worked for me. Use this following step:
Copy the folder Members with it files (but i think you should delete all others except-register) located in:
/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/
and paste it in:
wp-content/themes/(the WP theme you use now)
now you can modify the file reigster ^^