Reputation

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

5 replies · 631 views · started 18 years ago · 1 min read

3 participants
SpiderWap Lead · 622 posts #3

Hi learner

I have the reputation coding you require.

But dont have the time now to get all peaces out my script to share with you.

Amylee posted a a version of lavalair, the reputation coding is in there, sorry that i cant post coding now, but i hope that info helps you?

SpiderWap Lead · 622 posts #5
  $daytm = 7*60;

  $reptime = time() - $daytm;

  $rminfo = mysql_fetch_array (mysql_query("SELECT id, name, ficon, fmsg FROM ibwf_users WHERE reputation>='50' AND ficon!='' AND fmsg!='' AND lastact>'".$reptime."' ORDER BY RAND() LIMIT 1"));

  //if(isbanned($rminfo[0]) $rminfo[0] = 0;

  if($rminfo[0]>0)

  {

mysql_query("UPDATE ibwf_users SET ruse=ruse+1 WHERE id='".$rminfo[0 ]."' LIMIT 1");
echo "
<img src=\"$rminfo[2]\" height=\"40\" width=\"45\" alt=\"R.\"/>

<a href=\"index.php?action=viewuser&sid=$sid&who=$rminfo[0]\"> $rminfo[1]</a> (".htmlspecialchars($rminfo[3]).")
";

}

This worked for me.

learner Lead · 587 posts #6

spider bru i not have all coding i get sql error i put reputation in ibwf_users i also put table ruse but what are rest? they giving error it not work 🙁

Failure is not when a girls leaves you, its only when you let her go virgin. heheh!!

BEST MOBILE ADVERTISER

External image (may be gone)

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