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
[MOD] Limited Access to AdminCP
Controls ·  Search New posts · Mark unread

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

Unknown User
2007-12-24 01:39:56
"teamfsx, post: 35278":
lol, lol, lol, read please, i don't say to put the code in the linking menu, lol
read this....

search this (for exemple protect your block section) in your admincp.php file :

///////////////// BLOCKS MANAGEMENT /////////////

if ($action=="blocks" && $do=="view") {

stdhead("Blocks Management");

navmenu();

begin_frame("View Blocks");
and replace by this


///////////////// BLOCKS MANAGEMENT /////////////

if ($action=="blocks" && $do=="view") {

stdhead("Blocks Management");

navmenu();

if (get_user_class() < 7)

show_error_msg("STOP", "This page is reserved for administrators");

begin_frame("View Blocks");



Protect by class, so 7 is the admin class. If you want atorize supermodos use 6 and etc....


thanks work very good :(
2010-11-15 15:18:25
I put it so to give access only to me!

~~~~~~~~~~~~~~~~~~~~~~~~~~~/

J'ai mis ce si pour donner l'acc
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: 3
  • Members: 0
  • Guests online: 3
  • Comments: 3
  • Messages: 1,728