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] Login to view site
Controls ·  Search New posts · Mark unread

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

Unknown User
2010-07-26 13:46:49
Hello, I created a mod that dosen't lets you access to the web site at least you are  logged whit  the exception of "account-signup.php", "account-recover.php", "faq.php" and "rules.php." It is much easier than the one  i've seen on the forum I hope you enjoit!.

In Header.php of you theme

After

$GLOBALS['tstart'] = array_sum(explode(" ", microtime()));





Insert



if (!$CURUSER)

{

$site_config["LEFTNAV"] = $site_config["MIDDLENAV"] = $site_config["RIGHTNAV"] = false;

require_once('aplicacion_top.php');

}





Create aplicacion_top.php

And insert



<?php

$url = $_SERVER['PHP_SELF'];



switch ($url)

{

case '/account-login.php':

break;

case '/account-recover.php';

break;

case '/account-signup.php';

break;

case '/faq.php';

break;

case '/rules.php';

break;

default:

header('Location: account-login.php');

break;

}





?>
Unknown User
2010-07-26 13:49:59
this is okay but like myself i made the index.php viewable for guest and non guest with different material
Unknown User
2010-07-26 13:53:48
"djhowarth, post: 64570":
this is okay but like myself i made the index.php viewable for guest and non guest with different material

I didn't get so far xD im still on testing fase of the torrent trader ;)
Unknown User
2010-07-26 13:57:13
still it is a good idea mate ;)
Unknown User
2010-08-03 14:47:55
signu up, dont work  ;)  whats the problem?
Unknown User
2010-08-03 20:10:35
"Grogz, post: 64723":
signu up, dont work  ;)  whats the problem?

What do you mean dosen't work? more info pls
Unknown User
2010-08-03 20:13:25
nothing happens when I press on signup just like that it only updates the site ;)
Unknown User
2010-08-03 20:22:04
"Grogz, post: 64733":
nothing happens when I press on signup just like that it only updates the site  ;)

Where can i see? url to test
Unknown User
2010-08-04 14:25:37
work now, i most delete my old cookies smile.gif tnx
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: 1
  • Members: 0
  • Guests online: 1
  • Comments: 3
  • Messages: 1,728