Forum Replies Created

Viewing 15 replies - 31 through 45 (of 88 total)
  • Thread Starter Martin

    (@speechless)

    Yeah .. I got that!
    But, in the link that the user clicks when they search. They will come to the user profile when clicking the link. I need the email address to be shown in the user profile for the searched user!

    Thread Starter Martin

    (@speechless)

    Hey!

    I copied the shortcake you wrote. It still doesn’t work.

    Thread Starter Martin

    (@speechless)

    yeah .. I figured it out.
    Though, is there any chance of showing the email address in the “user profile page” which in this case is the username the user are using for login?

    Also, the attribute login_necassary=”no” … what does it do?

    Thanks!

    Thread Starter Martin

    (@speechless)

    Also you need to add a labeling option for message that will appear so the admin can change it into their prefered language! =)

    Hey!

    I had the same problem!
    Since my host has blocked the access of SMTP I wasn’t able to use it.
    But, the PHP Mail() will work. In this case the email address is “[email protected]”. So, add this email to your administration panel for your host. Then it will work for you, as it did for me!

    Most hosts has a limit of sent emails from addresses which are not in the domain. But, adding the [email protected] will solve the issue!

    Thread Starter Martin

    (@speechless)

    Allright ..
    You mean like this?

    [forgot-password reset_email_url=’confirm-forgot-password’ ewd-feup-reveal-no-username=’yes’]

    If so .. that doesn’t seem to work! The “proceed message” appears in case of writing an email address that doesn’t exist.

    / Martin

    Thread Starter Martin

    (@speechless)

    Here is also an explanation of the global function in that plugin…

    Thread Starter Martin

    (@speechless)

    In this case I can from the menus choose a condition wether the user is logged in with the Front-page users only plugin or not and then show or hide menu items.

    Thread Starter Martin

    (@speechless)

    Actually there is..

    I’m using another plugin called if menu where other people has done this function that adds to the theme function file.

    Could this be helpful?

    add_filter( 'if_menu_conditions', 'my_new_menu_conditions' );
    function my_new_menu_conditions( $conditions ) {
      if (function_exists("EWD_FEUP_Get_All_Users")) {
        $conditions[] = array(
          'name'    =>   __( 'FEUP is logged in', 'if-menu' ),
          'condition' =>  'if_FEUP_is_logged_in'
        );
      }
        if (function_exists("EWD_FEUP_Get_All_Users")) {
        $conditions[] = array(
          'name'    =>   __( 'FEUP Level 1', 'if-menu' ),
          'condition' =>  'if_FEUP_Level_1'
        );
      }
      return $conditions;
    }
    
    function if_FEUP_is_logged_in() {
              $CheckCookie = CheckLoginCookie();
              $currentUser = $CheckCookie['Username'];
              if( $currentUser ) return true;
              return false;
    }
    
    function if_FEUP_Level_1() {
              global $wpdb;
              global $ewd_feup_user_table_name, $ewd_feup_levels_table_name;
              $FEUP = new FEUP_User;
                if($FEUP->Is_Logged_In()){
                $Level_ID = $wpdb->get_var("SELECT Level_ID FROM $ewd_feup_user_table_name WHERE User_ID='" . $FEUP->Get_User_ID() . "'");
                $Level = $wpdb->get_var("SELECT Level_Privilege FROM $ewd_feup_levels_table_name WHERE Level_ID='" . $Level_ID . "'");
                }
              if( $Level == 1 ) return true;
              return false;
    }
    Thread Starter Martin

    (@speechless)

    Hey!

    yeah, it wasn’t my question though.
    I understand that the restriction for the user roles is connected to the wordpress user. I’m not interested in the wordpress user. I’m using the plugin “Front-end Users Only” which is a plugin where a user can register and access specific pages that I can restrict.

    I need your plugin to be able to “listen” to that plugin. Not the wordpress users if that’s possible!

    Thanks

    / martin

    Thread Starter Martin

    (@speechless)

    Okay, the problem seem to be solved.
    Since the plugin are using the “[email protected]”-address for sending out emails most hosts limits to 20 emails per day if the email adress is not created.

    In this case I didn’t know that the system were using this email address which caused the problem. Now I created the email address in the system and it seem to work again. Not using SMTP but the PHP Mail().

    So, for all of you who has problems that emails doesn’t arrive to the user or the admin. Add [email protected] into your web host and it should work!

    / Martin

    Thread Starter Martin

    (@speechless)

    Yeap… But that’s the thing!
    I need to do the SELECT “email address” FROM EWD_users to show the email address. The user doesn’t register with all its Labels that was entered from the form.

    I can not delete it from there!!!

    Thread Starter Martin

    (@speechless)

    How to delete them?

    Thread Starter Martin

    (@speechless)

    Nope.. Not able to delete. I just find them through the sql method I wrote above.

    Also if I add the email and user
    Manually everything works fine. The user is added with the email that already exists!

    Strange problem, it is! Joda style!

    Thread Starter Martin

    (@speechless)

    Another update!

    The problem about the email seem to be solved by adding the plugin using the PHP Mail() Function. Now the emails is sending out properly!

    BUT, the users that registererd yesterday doesn’t show up in the database at all. But, when they now tries to re-register themselves they got the message that the user email is already registered. The user is not shown at all in system, nor in the database.

    I did a SELECT “the email adress from the user” FROM test_EWD_FEUP_Users and there I see the email adress. But, nothing more than the address.
    Can this be deleted for the users that registered but are not able to re-register?

Viewing 15 replies - 31 through 45 (of 88 total)