aha.. thanks for the tip.

but still doesnt work stefan... the code above will make dissapear my poll on forumhome page.
however, if i switch back to:
Code:
if ($thread[pollid] and in_array($thread[postuserid], array(1, 5, 18))) {
everything is back to normal... any solutions?
also the code i inserted on the main page boosts the no. of queries to 15, instead of 13.. so what do you think?? should i toss it?
i hate the fact that the poll adds 2 extra queries on forumhome..
but is nice to have it there... give some spice to the site.