Recent content by @Meigem

  1. @

    Problem with $lifetime in setCookie() function

    This is not what I want. What I want is that if the checkbox is pressed, the lifetime is 0 seconds for the session to close automatically. The resulting cookie is the same, press or not press the checkbox.
  2. @

    Problem with $lifetime in setCookie() function

    I'm creating an external login form in my website and I have a problem with the parameter $lifetime in setCookie() function (from XenForo_Helper_Cookie). This is the setCookie() function in XenForo_Helper_Cookie: public static function setCookie($name, $value, $lifetime = 0, $httpOnly = false...
  3. @

    How to implement templates in external pages

    Thank you so much one more time Vincent :) This is what I wanted.
  4. @

    How to implement templates in external pages

    One more question about your script, Vincent: How exactly works the function called renderTemplate()? I put 'register_form' in the first parameter, but I don't know what is array $params :S This is my code: <?php require_once('../foros/XenForoSDK.php'); $sdk = new XenForoSDK; $template =...
  5. @

    How to implement templates in external pages

    Thank you so much, Vincent! :)
  6. @

    How to implement templates in external pages

    A few days ago, we bought a XenForo license for our project and we have been exploring the code to try to understand how MVC works, but it's difficult. We want to use the "register_form" template in an external page, generating the HTML code. The question is: ¿How can we use the "register_form"...
Top Bottom