Verify that you will speak English on my hotel?

Results 1 to 13 of 13
  1. #1
    Account Upgraded | Title Enabled! tomsandz is offline
    MemberRank
    Nov 2012 Join Date
    EnglandLocation
    272Posts

    Verify that you will speak English on my hotel?

    I downloaded UBERCMS V1 and whenever you register and try to go on the client it says you have to verify you're english by typing out some stupid sentence, does anyone know anyway of taking this off without causing any errors?


  2. #2
    fak Dysfunctional is offline
    MemberRank
    Jul 2012 Join Date
    AustraliaLocation
    391Posts

    Re: Verify that you will speak English on my hotel?

    I second this, anyone know how to fix it?

  3. #3
    fak Dysfunctional is offline
    MemberRank
    Jul 2012 Join Date
    AustraliaLocation
    391Posts

    Re: Verify that you will speak English on my hotel?

    bump ;s. Sorry for bumping a thread that's not one of my own but lol, I really need help with this too.

  4. #4
    nyan. Doctorate is offline
    MemberRank
    Sep 2012 Join Date
    NarniaLocation
    332Posts

    Re: Verify that you will speak English on my hotel?

    Could you post a snippet of Register & Client page on New - Pastie

  5. #5
    Valued Member Muhd Nazmi is offline
    MemberRank
    Dec 2012 Join Date
    Kepler22Location
    107Posts

    Re: Verify that you will speak English on my hotel?

    Change something about "newbie_status" = 1 , that pages only work when newbie_status=0.

  6. #6
    Member aagje323 is offline
    MemberRank
    Sep 2011 Join Date
    netherlandsLocation
    50Posts

    Re: Verify that you will speak English on my hotel?

    Yes it does Change it and just look up the code and delete it, Simple as hell

  7. #7
    fak Dysfunctional is offline
    MemberRank
    Jul 2012 Join Date
    AustraliaLocation
    391Posts

    Re: Verify that you will speak English on my hotel?

    Quote Originally Posted by aagje323 View Post
    Yes it does Change it and just look up the code and delete it, Simple as hell
    No, because then the template wouldn't exist and there'd be an error upon registering.

  8. #8
    Valued Member Muhd Nazmi is offline
    MemberRank
    Dec 2012 Join Date
    Kepler22Location
    107Posts

    Re: Verify that you will speak English on my hotel?

    Then edit that class.users.php , when user registering it will be set for newbie_status=1 .Need a bit work because i'm not using ubercms now.

  9. #9
    I don't even know azaidi is offline
    MemberRank
    Apr 2010 Join Date
    the NetherlandsLocation
    2,065Posts

    Re: Verify that you will speak English on my hotel?

    Can you post client.php please?

  10. #10
    fak Dysfunctional is offline
    MemberRank
    Jul 2012 Join Date
    AustraliaLocation
    391Posts

    Re: Verify that you will speak English on my hotel?

    Quote Originally Posted by azaidi View Post
    Can you post client.php please?
    client.php or page-client.tpl?

  11. #11
    I don't even know azaidi is offline
    MemberRank
    Apr 2010 Join Date
    the NetherlandsLocation
    2,065Posts

    Re: Verify that you will speak English on my hotel?

    Client.php

  12. #12
    fak Dysfunctional is offline
    MemberRank
    Jul 2012 Join Date
    AustraliaLocation
    391Posts

    Re: Verify that you will speak English on my hotel?


  13. #13
    Member Whippet is offline
    MemberRank
    Dec 2012 Join Date
    United StatesLocation
    56Posts

    Re: Verify that you will speak English on my hotel?

    Change this in client.php:
    Code:
    if ($users->GetUserVar(USER_ID, "newbie_status", false) == "1")
    {
    	header("Location: " . WWW . "/account/policy-verify");
    	exit;
    }
    to:
    Code:
    if ($users->GetUserVar(USER_ID, "newbie_status", false) == "1")
    {
    	dbquery("UPDATE users SET newbie_status = '2' WHERE id = '" . USER_ID . "' LIMIT 1");
    	header("Location: /client");
    	exit;
    }
    Also, you'd best make sure dbquery sanitizes input, but that's the fix.



Advertisement