h1k3's Forum Posts

  • I am updating it but I haven't released the updates. I'm considering reworking the whole project to be more user friendly then I'm considering throwing it up on kick starter to raise the cost of a business license. Just giving you the update. :)

  • Is it possible to only show some of the available conditions/actions? I want to redesign my Facebook plugin now that it has an overwhelming number of actions(my beta version has at last check over 40 actions alone) I would like to use parameters to restrict listed actions. For example one parameter might be "will you be using payments?" If they answer no then don't display the related actions/conditions. Is this possible?

  • JonathanCastro

    This plugin works fine on all of those as a web app as long as you use the URL redirect login. I'm not sure if the javascript works on all of those. This plugin won't work as a strictly native app. So as long aspeople log into your app through a URL bar or some hybrid stripped down html5 browser then this will work just fine. (Just make sure that for payments and login that you are using the redirect action. You could test the javascript I honestly have no idea if it works across all those, although I don't see why it wouldn't.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • eldods

    I actually have a few of those implemented in a version I haven't uploaded here. I will likely publish these at some point.

  • Used to be you could use a special redirect but I think they changed that back around January. The push now is for mobile apps to be built using the native code. I'll look more into it tonight but I'm pretty sure this plugin and the standard Facebook plugin won't work for you in this case. Only the cocoonjs plugin will work. As far as the app secret, it's a very bad idea to put it into a plugin because anyone with knowledge of ajax could take that and your app I'd and start doing things you may not want them to. So I took it out of this plugin, instead I fetch a user token and make calls using that.

    Here is the redirect URL that used to work:

    facebook.com/connect/login_success.html

  • 1: Upload your game to a server.

    2: Create a c2 app which has podes iframe plugin on screen.

    3:Point the iframe plugin to your game file.

    4:Upload your c2 game to the same server.

    I'm not sure but I think doing the above should do what you are looking for.Hope that helps.

  • 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.

  • 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.