About Users

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    About Users

    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=&#39;".$tid."&#39;"));
    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..)
    sigpicthe italian/international COMMUNITY of friendship
    http://people2000.netne.net
    WAP/WEB
    peoplemailbox@katamail.com

    #2
    no that means if a user with over 500 plusses can create a poll or a mod can create a poll without the need of 500 plusses

    Comment


      #3
      <div class='quotetop'>QUOTE (something else @ Dec 9 2008, 02:54 AM) <{POST_SNAPBACK}></div>
      no that means if a user with over 500 plusses can create a poll or a mod can create a poll without the need of 500 plusses [/b]
      ah, now i &#39;ve understood..thanks..
      about delete user i &#39;m gonna try this :
      {

      $inactive = time()-(12*7*24*60*60);
      mysql_query("DELETE FROM ibwf_users WHERE lastact<&#39;".$inactive."&#39;");
      }

      but i&#39;m not sure if the will work into 12 weeks..
      sigpicthe italian/international COMMUNITY of friendship
      http://people2000.netne.net
      WAP/WEB
      peoplemailbox@katamail.com

      Comment

      Working...
      X