Anbas
08-05-2007, 05:37 AM
Hi,
I want to code an if-condition in hook "global_start". It has to look somewhat like this
if ($groupid==15 AND $thread_is_sticky AND $userid==$creator_id_of_the_thread)
But I don't know which variables to use.
$userid (id of the user)
$groupid (groupid of the user)
$thread_is_sticky (is the actual opened thread a stick one?)
$creator_id_of_the_thread (id of the user who created the actual opened thread)
Thank You..
I want to code an if-condition in hook "global_start". It has to look somewhat like this
if ($groupid==15 AND $thread_is_sticky AND $userid==$creator_id_of_the_thread)
But I don't know which variables to use.
$userid (id of the user)
$groupid (groupid of the user)
$thread_is_sticky (is the actual opened thread a stick one?)
$creator_id_of_the_thread (id of the user who created the actual opened thread)
Thank You..