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
Contact (icq,msn,yahoo,aim,skype)
Controls ·  Search New posts · Mark unread

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

Unknown User
2008-07-09 16:22:34
Add in msql code

ALTER TABLE `users` ADD `icq` VARCHAR( 255 ) NOT NULL AFTER `email` ;
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` ;

find code in account.php

print("<TR><TD align=right class=table_col2><B>" . ACCOUNT_EMAIL_NOTIFICATION . ":</B> </TD><TD align=left class=table_col2><input type=checkbox name=pmnotif" . (strpos($CURUSER['notifs'], "[pm]") !== false ? " checked" : "") .
" value=yes><B>" . ACCOUNT_PM_NOTIFY_ME . "</B><br><i>The system will email you when you receive a PM.</i></td></tr>");

after add code

print("<tr><td class=\"tablecat\" colspan=\"2\" align=left><b>Contacts</b></td></tr>\n");

tr(" ", "    <table cellSpacing=\"3\" cellPadding=\"0\" width=\"100%\" border=\"0\">

<tr>

<td style=\"font-size: 1

1px; font-style: normal; font-variant: normal; font-weight: normal; font-family: verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif\" colspan=2>

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

</tr>

<tr>

<td style=\"font-size: 11px; font-style: normal; font-variant: normal; font-weight: normal; font-family: verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif\">

Namber ICQ<br>

<img alt src=pic/contact/icq.gif width=\"17\" height=\"17\">

<input maxLength=\"30\" size=\"25\" name=\"icq\" value=\"" . htmlspecialchars($CURUSER["icq"]) . "\" ></td>

<td style=\"font-size: 11px; font-style: normal; font-variant: normal; font-weight: normal; font-family: verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif\">

Name in AIM<br>

<img alt src=pic/contact/aim.gif width=\"17\" height=\"17\">

<input maxLength=\"30\" size=\"25\" name=\"aim\" value=\"" . htmlspecialchars($CURUSER["aim"]) . "\" ></td>

</tr>

<tr>

<td style=\"font-size: 11px; font-style: normal; font-variant: normal; font-weight: normal; font-family: verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif\">

Youre MSN<br>

<img alt src=pic/contact/msn.gif width=\"17\" height=\"17\">

<input maxLength=\"50\" size=\"25\" name=\"msn\" value=\"" . htmlspecialchars($CURUSER["msn"]) . "\" ></td>

<td style=\"font-size: 11px; font-style: normal; font-variant: normal; font-weight: normal; font-family: verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif\">

Name in Yahoo!<br>

<img alt src=pic/contact/yahoo.gif width=\"17\" height=\"17\">

<input maxLength=\"30\" size=\"25\" name=\"yahoo\" value=\"" . htmlspecialchars($CURUSER["yahoo"]) . "\" ></td>

</tr>

<tr>

<td style=\"font-size: 11px; font-style: normal; font-variant: normal; font-weight: normal; font-family: verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif\">

Name in Skype<br>

<img alt src=pic/contact/skype.gif width=\"17\" height=\"17\">

<input maxLength=\"32\" size=\"25\" name=\"skype\" value=\"" . htmlspecialchars($CURUSER["skype"]) . "\" ></td>

<td style=\"font-size: 11px; font-style: normal; font-variant: normal; font-weight: normal; font-family: verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif\">

</td>

</tr>

</table>",1);

find code

$avatar = $_POST["avatar"];
$title = $_POST["title"];

after add code

/////contact//////
$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);

//end conatct///////

FIND CODE IN account-details.php

Warnings: <?=htmlspecialchars($user["warned"])?><BR>
<?if ($user["privacy"] == "strong"){ echo "Privacy: <b>Strong</b><BR>"; }?>

</td>

</tr>

AFTER ADD CODE

<tr>
<td class=tablea><b>Contact</b></td><td class=tablea align=left>

<?

if ($user["icq"])

print("<img src=http://web.icq.com/whitepages/online?icq='".htmlspecialchars($user['icq'])."&img=5'  alt=icq border=0 /> ".htmlspecialchars($user['icq'])." <br>\n");

if ($user["msn"])

print("<img src=pic/contact/msn.gif alt=msn border=0 /> ".htmlspecialchars($user['msn'])."<br>\n");

if ($user["aim"])

print("<img src=pic/contact/aim.gif alt=aim border=0 /> ".htmlspecialchars($user['aim'])."<br>\n");

if ($user["yahoo"])

print("<img src=pic/contact/yahoo.gif alt=yahoo border=0 /> ".htmlspecialchars($user['yahoo'])."<br>\n");

if ($user["skype"])

print("<img src=pic/contact/skype.gif alt-skype border=0 /> ".htmlspecialchars($user['skype'])."\n");

?>

</td>

</tr>

Add the root site on my attachment

[url="http://devscorner.xyz/applications/core/interface/file/attachment.php?id=2575"]pic.zip[/url]
pic.zip
Download
Unknown User
2008-07-09 16:23:32
images









aim.gif
aim.gif
icq.gif
icq.gif
msn.gif
msn.gif
skype.gif
skype.gif
yahoo.gif
yahoo.gif
Unknown User
2008-07-09 16:28:40
screenshoot

CODE WORKING 100%



details.jpg
details.jpg
setings.jpg
setings.jpg
Unknown User
2008-07-09 19:26:55
nice....
Unknown User
2008-07-09 19:29:38
Thank you SpaZiur :mellow:
Unknown User
2008-07-09 20:18:57
ok nice mod but it has an issue that should be dealt with. in version 2.xx of TT the bark function is no longer used. other than that I do not see any other problems with it. if i see any I will let you know. thanks for the mod
Unknown User
2008-07-09 20:23:18
My version 2.04 working perfect.I dont no problem.
Unknown User
2008-07-14 04:32:46
thanks for bringing this mod over  :mellow:  also walker was correct when he mentioned the bark function is no longer used [url="http://www.torrenttrader.org/index.php?showtopic=6546"]Link[/url] to see
Unknown User
2008-07-14 11:20:22
bark("Heading", "Text", "Type") does exactly what show_error_msg("Heading", "Text"); does
Unknown User
2008-07-18 00:10:40
this mod has some cosmetic issues as in it does not fit in the table and contacts are listed to right why contact text is on far left it appears be same with screen shots of the mod too
Unknown User
2009-01-17 16:21:29
This Will Help You

Replace Whatever You Have In account.php for this mod with

print("<TR><TD align=right class=table_col1 valign=top><B>Contacts: </B></td><TD align=left class=table_col1><i>If you want, that other visitors could contact quickly you, specify the data in following systems of fast messages</i><BR><center><BR><B>Namber ICQ</b><br>   

<img alt src=images/icq.gif width=\"17\" height=\"17\">

<input maxLength=\"30\" size=\"25\" name=\"icq\" value=\"" . htmlspecialchars($CURUSER["icq"]) . "\" ><br><b>Name in AIM</b><br>

<img alt src=images/aim.gif width=\"17\" height=\"17\">

<input maxLength=\"30\" size=\"25\" name=\"aim\" value=\"" . htmlspecialchars($CURUSER["aim"]) . "\" ><br><b>Youre MSN</b><br>

<img alt src=images/msn.gif width=\"17\" height=\"17\">

<input maxLength=\"50\" size=\"25\" name=\"msn\" value=\"" . htmlspecialchars($CURUSER["msn"]) . "\" ><br><b>Name in Yahoo!</b><br>

<img alt src=images/yahoo.gif width=\"17\" height=\"17\">

<input maxLength=\"30\" size=\"25\" name=\"yahoo\" value=\"" . htmlspecialchars($CURUSER["yahoo"]) . "\" ><br><b>Name in Skype</b><br>

<img alt src=images/skype.gif width=\"17\" height=\"17\">

<input maxLength=\"32\" size=\"25\" name=\"skype\" value=\"" . htmlspecialchars($CURUSER["skype"]) . "\" ></td></center>");


if u dnt wnt centerd remove <center> , </center> and they will sit to the left
Unknown User
2009-01-18 05:25:31
"djhowarth, post: 51808":
This Will Help You
Replace Whatever You Have In account.php for this mod with

print("<TR><TD align=right class=table_col1 valign=top><B>Contacts: </B></td><TD align=left class=table_col1><i>If you want, that other visitors could contact quickly you, specify the data in following systems of fast messages</i><BR><center><BR><B>Namber ICQ</b><br>   

<img alt src=images/icq.gif width=\"17\" height=\"17\">

<input maxLength=\"30\" size=\"25\" name=\"icq\" value=\"" . htmlspecialchars($CURUSER["icq"]) . "\" ><br><b>Name in AIM</b><br>

<img alt src=images/aim.gif width=\"17\" height=\"17\">

<input maxLength=\"30\" size=\"25\" name=\"aim\" value=\"" . htmlspecialchars($CURUSER["aim"]) . "\" ><br><b>Youre MSN</b><br>

<img alt src=images/msn.gif width=\"17\" height=\"17\">

<input maxLength=\"50\" size=\"25\" name=\"msn\" value=\"" . htmlspecialchars($CURUSER["msn"]) . "\" ><br><b>Name in Yahoo!</b><br>

<img alt src=images/yahoo.gif width=\"17\" height=\"17\">

<input maxLength=\"30\" size=\"25\" name=\"yahoo\" value=\"" . htmlspecialchars($CURUSER["yahoo"]) . "\" ><br><b>Name in Skype</b><br>

<img alt src=images/skype.gif width=\"17\" height=\"17\">

<input maxLength=\"32\" size=\"25\" name=\"skype\" value=\"" . htmlspecialchars($CURUSER["skype"]) . "\" ></td></center>");


if u dnt wnt centerd remove <center> , </center> and they will sit to the left


thanks to me for getting DJ to fix it ye know Lol
Unknown User
2009-01-18 08:00:26
Thx, works fine in version 2.05
Unknown User
2009-01-18 09:09:21
Yep If It Wont For Daffy Asking For Fix Then Wouldnt Of Been Done  :)
Unknown User
2009-01-19 19:29:33
Mod moved to mods complete forum.

For those who have probs with v2.05 make the changes taht  torrential said:

Replace all:

bark("Sorry, Namber icq too long  (Max - 10)");





by:





show_error_msg("Sorry", "Text");
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: 3
  • Members: 0
  • Guests online: 3
  • Comments: 3
  • Messages: 1,728