About Users

Started on the old forum in December 2008 · view the original in the archive · old links redirect here

2 replies · 381 views · started 17 years ago · 1 min read

2 participants
honkytonkman Senior · 252 posts #1

on genproc.php where users creating poll on a topic there is this:

echo "

"; //$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..)

the italian/international COMMUNITY of friendship http://people2000.netne.net WAP/WEB peoplemailbox@katamail.com

something else Fellow · 2,296 posts #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 🙂

honkytonkman Senior · 252 posts #3

QUOTE (something else @ Dec 9 2008, 02:54 AM) <{POST_SNAPBACK}>

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 :)

ah, now i 've understood..thanks.. about delete user i 'm gonna try this : {

$inactive = time()-(127246060); mysql_query("DELETE FROM ibwf_users WHERE lastact<'".$inactive."'"); }

but i'm not sure if the will work into 12 weeks..

the italian/international COMMUNITY of friendship http://people2000.netne.net WAP/WEB peoplemailbox@katamail.com

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close