h1k3's Recent Forum Activity

  • Rofl

    Don't feel bad we all made silly mistakes early on. :)

  • ok, simple fix. Open the createaccountscreen layout so the left side of the screen is filled with the layout properties. Change the event sheet from noe to signupscreen. That I'm guessing will fix your problem.

  • Silly question, but the text you are inputting into and the layer it's on are both set to visible right?

  • And as kyat rid said you already tried to catch the text from an on error event? Would you mind sharing your website so people can try to log in and see what kind of error message if any apply? Are you familiar with developer tools in the browser? There would only be three outcomes I think in the tool once you click the button. One it echos back the desired result(error in your c2 implementation), an error would be attached pointing to the problem, or nothing happens meaning your button click action isn't working as desired. If you are familiar, try that, if not post a link so people on here can try for you :). I'm currently at a loss otherwise, sorry :(

  • I pulled one of my public functions, as you can see I did skip the tick marks for the variables, albeit I can't for the life of me remember why. Maybe give it a shot without the variable ticks.

    public function addUserNotes($suids, $CID, $note){

        $query = $this->mysqli->prepare("INSERT INTO `Notes` (`Contact_ID`, `UID`, `Note`) VALUES (?, ?, ?)");

              $query->bind_param("sis", $CID, $suids, $note);

              

              $query->execute();

              $query->close();

    Note:

    I notice you declared php twice, I'm not a php expert so excuse me if it's an obvious answer. Can you declare php twice in the same script? What would be the benefits to doing that?

  • Hmm lemme look at my php script for a sec, brb. I used a similar php script in the past and I think I had a problem as well back then. I almost want to say it ended up being those tick marks ' were not all good. I'm probably not accurate though brb.

  • Pul up the developer tools in your browser just before you login and watch for the expected get call. If it show up check the response to see what it says. If it doesn't then you never fired the event in c2.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • For one you're posting in construct2 but your php is set up to $_get the info. Switch to a get in c2 and see if that works. :) might be more not sure i stopped when I saw that.

  • If you know the users IP address and web browser you could change the index.html to checked.html or something then create an index.php script that checks for a matching IP address/browser information before and if a match occurs direct to the checked.html file. I have a more involved method of verifying users at contactwizardpro.com but it was a real pain to set up properly in c2. However it does prove verification is possible on a hosted server.

    Also make sure using the above that you set your directory attributes on the server so people can't read them. Otherwise they could just view your php check file and adjust so they can gain access using your set rules.

  • You set something up incorrectly on your developer app page from the sounds of it.

  • I had actually built this feature for a guy using c2. It was basically a php file that uploaded the picture to the server. The ajax call was made with the picture string and encoded/saved and in this case uploaded to Facebook. Look on stack exchange for example php code then use the ajax in c2 to transmit the picture. What you would want to do is name the file based on user unique I'd ie player1.jpg to you know when they log in you can load image via URL by just throwing their userid and jpg.

    Long story short it is possible but it may be beyond the average users level of experience.

  • Try putting a trigger once in the vida = 0 check

h1k3's avatar

h1k3

Member since 1 Apr, 2012

Twitter
h1k3 has 3 followers

Connect with h1k3

Trophy Case

  • 12-Year Club
  • x5
    Coach One of your tutorials has over 1,000 readers
  • Educator One of your tutorials has over 10,000 readers
  • Email Verified

Progress

15/44
How to earn trophies