on genproc.php
where users creating poll on a topic there is this:
echo "<p align=\"center\">";
//$uid = getuid_sid($sid);
if((getplusses(getuid_sid($sid))>=500)||ismod($uid ))
{
$pid = mysql_fetch_array(mysql_query("SELECT pollid FROM ibwf_topics WHERE id='".$tid."'"));
if($pid[0] == 0)
{ etc.
i have seen this :
if((getplusses(getuid_sid($sid))>=500)||ismod($uid ))
ismod ?.. normal users can not create polls inside forum topics ?
about users..can someone make a code in core.php for automatic delate
users that stay logout for long period of time ( 1 or 2 moths..)
where users creating poll on a topic there is this:
echo "<p align=\"center\">";
//$uid = getuid_sid($sid);
if((getplusses(getuid_sid($sid))>=500)||ismod($uid ))
{
$pid = mysql_fetch_array(mysql_query("SELECT pollid FROM ibwf_topics WHERE id='".$tid."'"));
if($pid[0] == 0)
{ etc.
i have seen this :
if((getplusses(getuid_sid($sid))>=500)||ismod($uid ))
ismod ?.. normal users can not create polls inside forum topics ?
about users..can someone make a code in core.php for automatic delate
users that stay logout for long period of time ( 1 or 2 moths..)
Comment