- Bonus Points for activity on site
im looking for this mod anyone know of it i do have the - Bonus already just need to add it for users online to get it
- Bonus Points for activity on site |
for comment on torrent = 3 points
in comment.php just after
add
also in comment.php just after
add
find in takethankyou.php:
add under it:
|
for comment on torrent = 3 points
in comment.php just after Code:
@mysql_query("UPDATE torrents SET comments = comments + 1 WHERE id = $torrentid"); Code:
//===add karma Code:
mysql_query("UPDATE torrents SET comments = comments - 1 WHERE id = $torrentid"); for saying thanks = 2 points - several versions of this adapt yours if you need to Code:
//===Remove karma Code:
mysql_query("UPDATE torrents SET thanks = thanks + 1 WHERE id = ".sqlesc($id).""); Or for putyns new thanks mod find : Code:
mysql_query("UPDATE users SET seedbonus = seedbonus+5.0 WHERE id = ".sqlesc($CURUSER["id"])."") or sqlerr(__FILE__, __LINE__); |
Your welcomed mate glad I was on track with your idea :friend::ok:
|
All times are GMT +2. The time now is 08:10. |
Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.