Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   Mods & Themes (http://www.bvlist.com/forumdisplay.php?f=109)
-   -   Welcome PM (http://www.bvlist.com/showthread.php?t=2536)

sammygo 1st May 2009 15:33

Welcome PM
 
1 Attachment(s)
When you register to a tracker you will get a Welcome PM

FOR WHO USE WITH EMAIL CONFIRM:
In confirm.php

BEFORE
Code:

header("Refresh: 0; url=../../ok.php?type=confirm");
ADD
Code:

$added = sqlesc(get_date_time());
$welcome = sqlesc("Welcome to $SITENAME, Feel to download torrents, and talk in the forums, please do your best to seed everything to at least 0.6! We are very glad to have you here in our community, and we hope you have a good stay. Please feel free to contact any staff member about anything. Thanks for joining.
~Staff");

mysql_query("INSERT INTO messages (sender, receiver, msg, added) VALUES(0, $id, $welcome, $added)") or sqlerr(__FILE__, __LINE__);

FOR THOSE WHO DON'T USE EMAIL CONFIRMATION :
in takesignup.php

BEFORE
Code:

header("Refresh: 0; url=ok.php?type=". (!$arr[0]?"sysop":("signup&email=" . urlencode($email))));
ADD
Code:

$added = sqlesc(get_date_time());
$welcome = sqlesc("Welcome to $SITENAME, Feel to download torrents, and talk in the forums, please do your best to seed everything to at least 1.1! We are very glad to have you here in our community, and we hope you have a good stay. Please feel free to contact any staff member about anything. Thanks for joining.
~Staff");

mysql_query("INSERT INTO messages (sender, receiver, msg, added) VALUES(0, $id, $welcome, $added)") or sqlerr(__FILE__, __LINE__);



Thanks to WARADE @ tbdev.net for this mod :X :drink:


PICTURE
Attachment 1319

aeLED 31st July 2009 03:50

Thanks dude ;)

tomys 31st July 2009 17:46

f
 
dude ty.!

HUnter83 20th August 2010 13:24

Thanks For This


All times are GMT +2. The time now is 11:18.

Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.