Need help with two plugins.

I haven't used either of those addons. But if those functions aren't already included with the addons then they would have to be added by the author. You should post in the discussion threads for those addons. For example, adding bump limits would require some sort of logging to be implemented in the addon.
 
I haven't used either of those addons. But if those functions aren't already included with the addons then they would have to be added by the author. You should post in the discussion threads for those addons. For example, adding bump limits would require some sort of logging to be implemented in the addon.
How do I make a plugin set cookies? The support for the steam plugin is dead..
 
JavaScript:
Code:
XenForo.setCookie
 
        /**
        * Sets a cookie.
        *
        * @param string cookie name (escaped)
        * @param mixed cookie value
        * @param string cookie expiry date
        *
        * @return mixed cookie value
        */
        setCookie: function(name, value, expires)

php:

PHP:
XenForo_Helper_Cookie::setCookie
 
 
    /**
    * Sets a cookie with XenForo-specific options.
    *
    * @param string $name Name of the cookie
    * @param string $value Value of the cookie
    * @param integer $lifetime The number of seconds the cookie should live from now. If 0, sets a session cookie.
    * @param boolean $httpOnly Whether the cookie should be available via HTTP only
    * @param boolean|null $secure Whether the cookie should be available via HTTPS only; if null, value is true if currently on HTTPS
    *
    * @return boolean True if set
    */
    public static function setCookie($name, $value, $lifetime = 0, $httpOnly = false, $secure = null)
    {
 
XenForo_Helper_Cookie::setCookie('your_cookie_id', 'foobar');



and you can read it via

XenForo_Helper_Cookie::getCookie('your_cookie_id ');
 
Top Bottom