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
Redirect to Current Page after change th
Controls ·  Search New posts · Mark unread

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

Unknown User
2011-10-29 15:05:21
By default when you change a theme/language it will redirect you back to the index.php, to change it to go back to the page you was on do this

Find

header("Location: index.php");
Above Add




 if (isset($_SERVER["HTTP_REFERER"]))

{

header("Location: {$_SERVER["HTTP_REFERER"]}");

return;

}



Added to SVN
Unknown User
2011-10-31 17:25:49
Which .php?
Unknown User
2011-10-31 17:34:41
take-theme
Unknown User
2011-10-31 17:42:18
its ok now   :(  ;)

thanks
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