Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'registration'

Viewing 25 results - 2,051 through 2,075 (of 7,642 total)
  • Author
    Search Results
  • jessicana
    Participant

    Hello

    I tried to redirect my subdomain registration page on [multsite] to the main domain site registration page. I used the following code in my child theme functions.php for the site which I want to redirect its registration page:

    //redirect to the registration page
    function MyRedirect() {
        if(is_page('register')) {
            wp_redirect( 'http://domain.com/register/', 301 );
            exit;
        }
    }
    add_action('template_redirect','MyRedirect');

    Interestingly, the above code did not work, .htaccess is not working as well. I am, for sure, missing something but I don’t know what! .htaccess code is:

    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^sub\.domain\.com$
    RewriteRule ^register/(.*)$ http://domain.com/register/$1 [R=301,L]

    Any help from you is highly appreciated as I am really stuck in this.

    Thanks in advance for all of you specially: @djpaul , @boonebgorges , @henrywright , @r-a-y , @danbp , @modemlooper , @imath , @shanebp .

    Jessica

    #250959
    jessicana
    Participant

    Hello

    I used a code in my child theme functions.php to change the code at registration and it worked, that code was:
    //Change username and email at registration
    // changing from name

    function rv_mail_from_name($name) {
        return 'Enter your Site Name Here';
    }
    // changing email
    function rv_mail_from($content_type) {
        return 'no-reply@Enter-your-domain-here.com';
    }
    
    add_filter('wp_mail_from','rv_mail_from');
    add_filter('wp_mail_from_name','rv_mail_from_name');

    Private messages notifications via email is still showing wordpress@domainname, to change this, I used:

    function custom_wp_mail_from( $email ) {
        $handle = 'no-reply';
        $find = 'http://';
        $replace = '';
        $link = get_bloginfo( 'url' );
        $domain = str_replace( $find, $replace, $link );
        return $handle . '@' . $domain ;
    }
    add_filter( 'wp_mail_from', 'custom_wp_mail_from' );

    This still doesn’t work, I appreciate any help to change the notifications email through a child theme functions.php.

    Regards

    #250949
    dgalfano
    Participant

    I found the issue. Flipping to view in twenty fourteen revealed a duplicate registration (name) field that was being hidden (and was required). So, thus, registration could never submit if it was never populated.

    dgalfano
    Participant

    I was able to get the registration to work with BuddyPress on Twenty Fourteen. Is there much of a difference between Twenty Fourteen and Twenty Fifteen?

    dgalfano
    Participant

    1. Which version of WordPress are you running? WordPress 4.4.2
    2. Did you install WordPress as a directory or subdomain install? Directory
    3. If a directory install, is it in root or in a subdirectory? Subdirectory
    4. Did you upgrade from a previous version of WordPress? If so, from which version? We always keep WordPress up to date, so of course it’s an upgrade. Not sure which version. Maybe 4.1.X?
    5. Was WordPress functioning properly before installing/upgrading BuddyPress (BP)? e.g. permalinks, creating a new post, commenting. Yes
    6. Which version of BP are you running? BuddyPress 2.5
    7. Did you upgraded from a previous version of BP? If so, from which version? No
    8. Do you have any plugins other than BuddyPress installed and activated? If so, which ones? Yes, far too many. However, I did deactivate most to troubleshoot leaving only BuddyPress 2.5, BBpress 2.5.8 and Visual Composer 4.3.4
    9. Are you using the standard WordPress theme or customized theme? Customized theme (Bridge by Qode)
    10. Have you modified the core files in any way? No
    11. Do you have any custom functions in bp-custom.php? No
    12. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in? bbPress 2.5.8
    13. Please provide a list of any errors in your server’s log files. Not available
    14. Which company provides your hosting? Blue Host
    15. Is your server running Windows, or if Linux; Apache, nginx or something else? VPS Server, Apache

    I stole this from another thread as it’s the exact same issue:

    I have a problem with getting the registration page to work – the registration page itself is displayed properly, however when I try to submit the registration form (“Complete Sign Up”), all it does is reload the page with fields already filled in (only password fields are blank) and nothing more happens.

    WordPress Registration works just fine when BuddyPress is disabled using the Bridge theme. Registration also works when BuddyPress is enabled and I switch to the 2014 theme. Even with all the plugins installed. Perhaps some script conflict within the main theme files?

    Here’s a link to the registration page: http://tinyurl.com/gwdmt6n

    jessicana
    Participant

    Hello

    I have two subdomains that I want to redirect their registration page to the main domain, how to do this using functions.php or wp-config.php?

    Please help
    Jessica

    IngeB1983
    Participant

    Hi there,

    I’d like to personalise my registration page a bit more. I want to achieve this:

    What I want

    What I get is this:

    Top of page on the right

    What I have done so far:

    1. I have adjusted the Buddypress registration.php (child theme) and added this line:

    <?php
    echo "Hello World!";
    ?>

    pretty much anywhere to test where it would show up.
    Result: image number 2.

    2.
    Created a custom template (copy of page.php) for the registration page and again added this code:

    <?php
    echo "Hello World!";
    ?>

    to see if it would do anything.
    Result: nothing.

    Can anyone tell me where to put what code to get a line of text on the bottom of the buddypress registration page? I’d like to add a link there to terms & conditions.

    Thanks in advance everybody!

    #250720
    fidelleon
    Participant

    Hi Paul,

    I can’t find such mu-plugins folder but after adding the one-liner from your Gist to my functions.php file, I have tried a fake registration and the “user” has received the activation mail, using the new v2.5 format 🙂

    #250593
    richdal
    Participant

    Found an outside link where someone is trying to modify the same information that I am.

    http://stackoverflow.com/questions/25485299/how-to-add-placeholder-in-buddypress-registration-how-to-make-field-descriptio

    $field_type = bp_xprofile_create_field_type( bp_get_the_profile_field_type() );
    $field_type->edit_field_html();

    Sounds like I might need to copy and rename the BP_XProfile_Field_Type_Textbox class and put that in my functions.php file. Hopefully I can edit that there.

    #250449
    anandguru
    Participant

    I am using website
    I have installed 4.4.2 and latest plugin 2.4.3 registration is happening but no success message and mail . I am not getting any mail to activate the subscriber how to solve>>>???//

    cybmeta
    Participant

    Once more test.

    wp_registration_url() returns https://example.com/wp-singup.php incorrectly.

    As soon I deactivate BuddyPress, it returns https://example.com/wp-login.php?action=register correctly.

    With no other active plugin and using a core theme, this just confirm that the problem is in BuddyPress.

    I’m really stuck with this issue.

    I said it is not a multisite installation, and it is not, is_multisite() returns false. Which is probably what is generating the infinite redirection. In wp-signup.php there are these lines:

    if ( !is_multisite() ) {
    	wp_redirect( wp_registration_url() );
    	die();
    }

    But because wp_registration_url() returns incorretly example.com/wp-signup.php when BuddyPress is active, I get the infinte redirection loop.

    cybmeta
    Participant

    I’ve made some more tests.

    In the database, the bp-pages row seems correct and the “register” option is correctly set to the page ID for registration.

    If I do this in the header.php of the theme:

    var_dump( bp_get_signup_page() );

    I get the incorrect value `https://example.com/wp-singup.php

    If I do this inside the function bp_get_signup_page() (I’ve tried to include the full code function but the system gives error submiting the post, so I’ve include only the modified lines of the function):

    var_dump( $page );
    return apply_filters( 'bp_get_signup_page', $page );

    I get the correct value http://example.com/register/.

    If I remove the filter bp_get_signup_page inside bp_get_signup_page() , just to check if there is some filter altering the value:

    return $page;

    Then I get the correct value in the header.php of the theme, but if I go to http://example.com/register/, the page doesn’t shows the registration form.

    It seems that there is some bp_get_signup_page filter changing the value but the problem exists without any other active plugin and with a core theme, so it have to be a filter insdie BuddyPress itself. Anyway, with the correct value of bp_get_signup_page(), the registration page doesn’t work.

    cybmeta
    Participant

    The site is http://goo.gl/Znj4nu

    Manually going to wp-login.php?action=register shows the WordPress registration form and works correctly.

    #250146
    Henry Wright
    Moderator

    On each new member registration, you could loop through each existing member and add the new member as a friend?

    #250128
    ITAScorpion
    Participant

    Hi,

    I have a problem when it comes to registration confirmation email, the link is not clickable.

    lnik

    Andrew Tibbetts
    Participant

    I have a handful of member types that I would like to manually confirm by an admin.
    Users choose their member type upon registration so, regular members can register, confirm email and start using the site, but special member types I want to be able to register, confirm email and then get put into some kind of user confirmation status.
    Couple things:
    – maybe this can be done by hooking into bp_core_activate_account in bp_core_screen_activation()?
    – what are the meanings of the ints for user_status in the wp_users table? Seems like WordPress doesn’t use it and Buddypress uses it but only 0 and 2. Maybe use 1 as a custom pending status?

    #249904
    johnywhy
    Participant
    #249838
    shanebp
    Moderator

    I’ve added a group in BuddyPress profile panel…

    If you add / move that group into the Base (Primary) field group in wp-admin > Users > Profile Fields, then it will appear on the registration screen.

    #249768
    yinjang
    Participant

    Have you allowed registration under settings – general?
    These folders are missing is normal.

    What do you mean with:

    it works as an admin , when i checking it from other brower ,probelm is still same

    #249731
    yinjang
    Participant

    Why don’t you install it through WordPress?
    Dashboard -> Plugins -> Install -> search for Buddypress and then install it.
    Then go to Settings -> Buddypress -> Sites and you can change the site fore registration and activation, it can be, that the sites don’t exist, so you need to create them and link them to it.

    #249700
    johnywhy
    Participant

    hmm, ok, taking a different approach. i’m inspecting donmik’s files in ‘buddypress-xprofile-custom-fields-type’. Hope that’s ok, donmik!

    i found ‘datepicker’ in:

    bp-xprofile-custom-fields-type.php
    classes\Bxcft_Field_Type_Datepicker.php
    lang\buddypress-xprofile-custom-fields-type.pot
    lang\en_US.mo
    lang\en_US.po

    (ignoring the non-english files for the moment).

    i simply duplicated all the ‘datepicker’ code-chunks in these files, and replaced ‘datepicker’ with ‘textarea’.

    also duplicated the file ‘classes\Bxcft_Field_Type_Datepicker.php’, renamed it ‘Bxcft_Field_Type_Textarea.php’, and removed any date-specific code i found there.

    and so on and so forth.

    then i zipped it, uploaded to wordpress, activate, and added my new Textarea field to a form.

    i actually got no errors, and actually got a text field on my registration form!

    unfortunately, it’s only a one-line textbox, not a multiline textarea.

    hrm. In inspector, the displayed field is:

    <input type="string">

    so something in donmik’s code, or BP, or WP, is causing this to render as an <input> rather than <textarea>

    ….

    #249697
    johnywhy
    Participant

    i found ‘multiselectbox’ in the following files:

    buddypress.pot
    buddypress.pot
    buddypress.pot
    buddypress.pot
    bp-members\admin\css\admin-rtl.css
    bp-members\admin\css\admin-rtl.min.css
    bp-members\admin\css\admin.css
    bp-members\admin\css\admin.min.css
    bp-themes\bp-default\functions.php
    bp-themes\bp-default\functions.php
    bp-themes\bp-default\functions.php
    bp-themes\bp-default\functions.php
    bp-themes\bp-default\members\single\profile\edit.php
    bp-themes\bp-default\registration\register.php
    bp-xprofile\bp-xprofile-classes.php
    bp-xprofile\bp-xprofile-functions.php
    bp-xprofile\bp-xprofile-template.php
    bp-xprofile\bp-xprofile-template.php
    bp-xprofile\admin\js\admin.js
    bp-xprofile\admin\js\admin.min.js
    bp-xprofile\classes\class-bp-xprofile-field-type-multiselectbox.php
    bp-xprofile\classes\class-bp-xprofile-field-type-multiselectbox.php
    bp-xprofile\classes\class-bp-xprofile-field-type-multiselectbox.php
    bp-xprofile\classes\class-bp-xprofile-field-type-multiselectbox.php
    bp-xprofile\classes\class-bp-xprofile-field-type.php
    bp-xprofile\classes\class-bp-xprofile-field-type.php
    bp-xprofile\classes\class-bp-xprofile-field-type.php

    i welcome any suggestions on which of these i actually need to edit, at minimum, to create a new field-type.

    thx!

    #249668
    johnywhy
    Participant

    hi, thx for reply.

    enter in user registration form, and display in user front-end profile.

    want to be able to use it like any other field in “user fields” editor.

    thx!

    #249638
    johnywhy
    Participant
Viewing 25 results - 2,051 through 2,075 (of 7,642 total)
Skip to toolbar