Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   Mods & Themes (http://www.bvlist.com/forumdisplay.php?f=109)
-   -   Contact (icq,msn,yahoo,aim,skype) (http://www.bvlist.com/showthread.php?t=727)

\n");

tr(" ", "   
Nilsons 30th July 2008 23:33

Contact (icq,msn,yahoo,aim,skype)
 
Add to database
Code:

ALTER TABLE `users` ADD `icq` VARCHAR( 255 ) NOT NULL AFTER `website` ;
ALTER TABLE `users` ADD `msn` VARCHAR( 255 ) NOT NULL AFTER `icq` ;
ALTER TABLE `users` ADD `aim` VARCHAR( 255 ) NOT NULL AFTER `msn` ;
ALTER TABLE `users` ADD `yahoo` VARCHAR( 255 ) NOT NULL AFTER `aim` ;
ALTER TABLE `users` ADD `skype` VARCHAR( 255 ) NOT NULL AFTER `yahoo` ;

In my.php search
Code:

photobucket.",1);
after add
Code:

print("
Contacts

           
       
     
     
       
       
     
     
       
       
     
     
       
       
     
   

        If you want, that other visitors could contact quickly you, specify the data in following systems of fast messages

        Namber ICQ

       
       

        Name in AIM

       
       

        Youre MSN

       
       

        Name in Yahoo!

       
       

        Name in Skype

       
       

       
",1);
in takepfroedit search
Code:

/*
if ($privacy != "normal" && $privacy != "low" && $privacy != "strong")
    bark("whoops");

$updateset[] = "privacy = '$privacy'";
*/

before add
Code:

$icq = unesc($_POST["icq"]);
if (strlen($icq) > 10)
    bark("Sorry, Namber icq too long  (Max - 10)");
$updateset[] = "icq = " . sqlesc($icq);

$msn = unesc($_POST["msn"]);
if (strlen($msn) > 30)
    bark("Sorry, Yours msn too long  (Max - 30)");
$updateset[] = "msn = " . sqlesc($msn);

$aim = unesc($_POST["aim"]);
if (strlen($aim) > 30)
    bark("Sorry, Yours aim too long  (Max - 30)");
$updateset[] = "aim = " . sqlesc($aim);

$yahoo = unesc($_POST["yahoo"]);
if (strlen($yahoo) > 30)
    bark("Sorry, Yours yahoo too long  (Max - 30)");
$updateset[] = "yahoo = " . sqlesc($yahoo);

$skype = unesc($_POST["skype"]);
if (strlen($skype) > 20)
    bark("Sorry, Yours skype too long  (Max - 20)");
$updateset[] = "skype = " . sqlesc($skype);

open userdetails.php and search
Code:

$addrn");
after add
Code:

?>

Contact
if ($user["icq"])
    print("icq $user[icq]
\n");
if ($user["msn"])
    print("msn $user[msn]
\n");
if ($user["aim"])
    print("aim $user[aim]
\n");
if ($user["yahoo"])
    print("yahoo $user[yahoo]
\n");
if ($user["skype"])
    print(" $user[skype]\n");
?> 




or


Code:

if ($user["icq"])
print("ICQicq $user[icq] \n"); 
if ($user["msn"])
print("MSNmsn $user[msn]\n");
if ($user["aim"])
    print("AIMaim $user[aim]\n");
if ($user["yahoo"])
print("Yahooyahoo $user[yahoo]\n");
if ($user["skype"])
print("Skype $user[skype]\n");

in pic folder add pictures

http://www.tbdev.net/uploads/monthly...1197117990.gif
http://www.tbdev.net/uploads/monthly...1197117993.gif
http://www.tbdev.net/uploads/monthly...1197117997.gif
http://www.tbdev.net/uploads/monthly...1197118000.gif
http://www.tbdev.net/uploads/monthly...1197118003.gif

All times are GMT +2. The time now is 14:50.

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