Quote:
Originally Posted by goranbaxy
On a default style it works normally
|
I have noticed with another user that a "customized style" can have an effect on some functions calls, namely these ones:
$this->registry->userinfo
defined('LOCATION_BYPASS')
nominate_topic_off($thread['forumid'], $post, $thread['firstpostid'], THIS_SCRIPT)
They all return false some how on some "customized styles", hence the non display of the nomination button and stamps since they are activated by successful completion of the test:
Code:
if ($this->registry->userinfo['userid'] != 0 && !(defined('LOCATION_BYPASS')) && !(nominate_topic_off($thread['forumid'], $post, $thread['firstpostid'], THIS_SCRIPT))){...}
I have installed one of those "customized" styles on my test site and I have the nomination button displaying properly. I am still trying to figure out why it does not display on other users sites. Any suggestions are welcome.