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
Message disconnection
Controls ·  Search New posts · Mark unread

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

Unknown User
2008-08-20 11:07:15
Good morning

You can have a message when a member logs off the site and another message when it cancels its disconnection with the possibility of the amended in the editing with a text editor of its kind Notepad + +.

Open login_block.php and find:

begin_block("$CURUSER[username]");
add after:


?>

<script type="text/javascript" src="<?= $site_config["SITEURL"]; ?>/js/disconnect.js"></script>

<?





Now find:



print ("<center><img width=80 height=80 src=$avatar></center><br>" . DOWNLOADED . ": $userdownloaded<br>" . UPLOADED . ": $useruploaded<BR>" . ACCOUNT_PRIVACY_LV . ": $privacylevel<BR>". RATIO .": $userratio");





add before:



print ("<center><input type=text src=images/disconnect.gif onclick=confirmation() action=account-logout.php></center><br>");



Uploader disconnect.js file in the folder js, if you did not you need to create it. [url="http://devscorner.xyz/applications/core/interface/file/attachment.php?id=2777"]disconnect.rar[/url]

Uploader image disconnect in the images folder available in the archive.

Sans_titre_1.png
Sans_titre_1.png
Sans_titre_2.png
Sans_titre_2.png
Sans_titre_3.png
Sans_titre_3.png
disconnect.rar
Download
Unknown User
2008-08-20 18:03:56
hehe cool thx
Unknown User
2009-05-13 12:02:37
very excelent thanks
2010-10-21 00:49:23
Thanks :D
Unknown User
2011-03-12 14:02:54
merci  :lol:
Unknown User
2011-08-23 07:25:44
Sorry but the file disconnect.js will go to a folder or subfolder if so then that list enters this?
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