Login
Username: Password:
Remember me

[Sign Up] / [Recover Password]

Theme / Language

Popular
New Torrents
new name
Size: 18.40 MB
Most active
new name
S: 74 L: 3
New Posters
[Hack] NFO Restricted to Certain User Cl
Controls ·  Search New posts · Mark unread

You are in: Forum / Forum / v2.08 / v2 Only Mods Complete

Unknown User
2008-02-09 18:49:59
open functions.php and find:

if ($row["nfo"]=='yes') {





replace with:





if ($row["nfo"]=='yes'&& $CURUSER["class"] >= "2") {
Unknown User
2008-02-10 15:17:03
no diference in my tracker....
Unknown User
2008-02-10 17:40:09
it works on 2.3 you may have to change the "2" to the number that coresponds with your normal members.
Unknown User
2008-02-10 22:03:18
i have 2.02...what number is for normal users??isn't the same?
Unknown User
2008-02-11 18:33:41
my number may be different than yours because i do not allow guest
Unknown User
2008-02-11 20:06:19
neither do i...

i created a normal user for test but he still can view nfo files...
Unknown User
2008-02-11 20:34:01
try setting the number higher if that does not work then i do not know what to tell you
Unknown User
2008-02-12 14:55:48
ok the way you post it her it only works when o browse torrents...like in torrent-today.php, torrents.php, etc...

but i know why it wasn't working with me, i was opening the nfo [+] in torrents-details.php and there any one can see it!

so i applied your code in torrents-detail.php also and it worked 5*****
Unknown User
2008-02-13 00:09:20
good i am glad it is working now for you. i did not think about it being a problem there.
Unknown User
2008-02-27 14:40:46
any screenshot?
Users online

No users online

Search



Statistics

    Torrents

  • Tracking: 3
  • Todays torrents: 0
  • Seeders: 0
  • Leechers: 0
  • Peers: 0
  • Downloaded: 89.96 GB
  • Uploaded: 9.86 GB

  • Members

  • We have: 838
  • New today: 0
  • Guest today: 9

  • Online

  • Total online: 9
  • Members: 0
  • Guests online: 9
  • Comments: 3
  • Messages: 1,728