Skip to:
Content
Pages
Categories
Search
Top
Bottom

Registration activation page takes too long to load


  • amkh
    Participant

    @amkh

    I have noticed and received many complaints from members that the activation page takes too long to load. It sometimes takes such long time that the browser times out. Is there any solution to load this page quickly? Are there any alternative safe methods for user activation in addition to activation through email?

Viewing 14 replies - 1 through 14 (of 14 total)

  • Prashant Singh
    Participant

    @prashantvatsh

    Hi,

    You can do it manually then. Please check this https://wordpress.org/plugins/bp-registration-options/

    Using this plugin you can restrict members to their profile only and then can easily approve them one by one.

    Thanks


    amkh
    Participant

    @amkh

    Thank you very much. I tried this plugin but still the activation email is sent. Is the email activation unavoidable with this plugin too?


    amkh
    Participant

    @amkh

    Thank you very much. I tried this plugin but still the activation email contains the activation code that we have to click which opens activation page and i need to click activate. The only change I noticed is this activation page now contains additional message of this plugin


    Prashant Singh
    Participant

    @prashantvatsh

    Please put this code https://pastebin.com/h6hCidML in child theme’s functions.php or use code snippets plugin to add new snippet and then there add this code.

    Thanks


    amkh
    Participant

    @amkh

    I added your code. When I register I still get this message after registering :-

    You have successfully created your account! To begin using this site you will need to activate your account via the email we have just sent to your address.

    The expected displayed message was the above plugin instead. Also the email is not received. Probably more needs to be done.

    I tried disabling above code. Then I received the activation email. But the content of email is confusing. Just above the Activation key is written “Please prove a valid activation key” This confuses members and they try to wonder if the key mentioned in the activation key textbox is valid or not.


    Prashant Singh
    Participant

    @prashantvatsh

    You have successfully created your account! To begin using this site you will need to activate your account via the email we have just sent to your address.

    You can remove this message easily. Just install the plugin loco translate and find this message there and in translation just hit a space or you can easily write ‘Account is held for moderation’

    Thanks


    amkh
    Participant

    @amkh

    Thank you very much. Just a question :- I do not want the message in section “Activate & Profile Alert Message:” of plugin to be displayed on activation page. But I want it to be displayed on profile page. How can I achieve this?


    Prashant Singh
    Participant

    @prashantvatsh

    There will be a message on the profile already that your profile is held for moderation, isn’t it?


    amkh
    Participant

    @amkh

    True dear Prashant.. But additionally the message from this section(“Activate & Profile Alert Message:”) of plugin is also shown on activation page. And also the same message is shown on Profile page also till the user is moderated. Hence I do not want this message to appear on Activation page.


    Prashant Singh
    Participant

    @prashantvatsh

    Please do same thing just remove the message and hit a space there in the box and save the settings.


    amkh
    Participant

    @amkh

    I think you didn’t got me. See the plugin has one message box under the section I mentioned above. The message in the box shows on activation page as well as on profile page. My need was this message should only appear on profile page and not on activation page. If I hit space and remove the message in the box then it will not appear on profile page as well. I don’t want this to happen as I want this message to appear on profile page.


    Prashant Singh
    Participant

    @prashantvatsh

    Ok got it.

    remove_filter( 'bp_after_activate_content', 'bp_registration_options_bp_after_activate_content',9999 );

    Please try this code.

    Thanks


    amkh
    Participant

    @amkh

    It does not work. The message still appears.


    Prashant Singh
    Participant

    @prashantvatsh

    Hi,

    Please open this plugin files and go to includes folder and in the core.php file try removing this code add_filter( 'bp_after_activate_content', 'bp_registration_options_bp_after_activate_content' );

    If this removes the content then certainly this should remove_filter( 'bp_after_activate_content', 'bp_registration_options_bp_after_activate_content',9999 ); work with some priority changes like we can change priority 9999 to 9.

    Thanks

Viewing 14 replies - 1 through 14 (of 14 total)
  • You must be logged in to reply to this topic.
Skip to toolbar