The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Comments |
#62
|
|||
|
|||
Installed at UZI Talk Forums. Thanks! :banana:
|
#63
|
|||
|
|||
Does this one work with MSN 5?
The other hack seems to be having problems with that version, has any one tried? |
#64
|
||||
|
||||
i've added on some things to make this a little more complete. gives search functionality in memberlist.php as well as the admin user section.
=============== in memberlist.php =============== find: Code:
aim Code:
,msn
Code:
if ($aim!="") { $condition.=" AND aim LIKE '%".addslashes(htmlspecialchars($aim))."%' "; } Code:
if ($msn!="") {
$condition.=" AND msn LIKE '%".addslashes(htmlspecialchars($msn))."%' ";
}
Code:
if ($userinfo[aim]!="") { eval("\$userinfo[aimicon] = \"".gettemplate("aim")."\";"); } else { $userinfo[aim]=" "; } Code:
if ($userinfo[msn]!="") {
eval("\$userinfo[msnicon] = \"".gettemplate("msn")."\";");
} else {
$userinfo[msn]=" ";
}
Code:
&aim=$aim Code:
&msn=$msn
=============== in admin/user.php =============== find: Code:
makeinputcode("AIM Handle","aim"); Code:
makeinputcode("MSN Messenger Handle","msn"); Code:
aim, Code:
msn,
Code:
'".addslashes(htmlspecialchars($aim))."', Code:
'".addslashes(htmlspecialchars($msn))."', Code:
makeinputcode("AIM Handle","aim",$user[aim],0); Code:
makeinputcode("MSN Messenger Handle","msn",$user[msn],0); Code:
,aim='".addslashes(htmlspecialchars($aim))."' Code:
,msn='".addslashes(htmlspecialchars($msn))."'
Code:
makeinputcode("and AIM Handle contains","aim"); Code:
makeinputcode("and MSN Messenger Handle contains","msn"); Code:
makeyesnocode("Display AIM ID","displayaim",0); Code:
makeyesnocode("Display MSN ID","displaymsn",0);
Code:
and $displayaim == 0 Code:
and $displaymsn == 0 Code:
if ($aim!="") { $condition.=" AND INSTR(LCASE(aim),'".addslashes(strtolower($aim))."')>0"; } Code:
if ($msn!="") {
$condition.=" AND INSTR(LCASE(msn),'".addslashes(strtolower($msn))."')>0";
}
Code:
,aim Code:
,msn
Code:
if ($displayaim==1) { echo "<td><p><b><span class='tblhead'>AIM ID</span></b></p></td>"; } Code:
if ($displaymsn==1) {
echo "<td><p><b><span class='tblhead'>MSN ID</span></b></p></td>";
}
Code:
if ($displayaim==1) { if ($user[aim]=="") { $user[aim]=" "; } echo "<td><p>$user[aim]</p></td>"; } Code:
if ($displaymsn==1) { if ($user[msn]=="") { $user[msn]=" "; } echo "<td><p>$user[msn]</p></td>"; } Code:
makehiddencode("aim",$aim); Code:
makehiddencode("msn",$msn);
Code:
makehiddencode("displayaim",$displayaim); Code:
makehiddencode("displaymsn",$displaymsn); In memberlist template ================== find: Code:
<td align="center" bgcolor="{ tableheadbgcolor }"><smallfont color="{ tableheadtextcolor }"><b>AIM</b></smallfont></td> Code:
<td align="center" bgcolor="{ tableheadbgcolor }"><smallfont color="{ tableheadtextcolor }"><b>MSN</b></smallfont></td>
in memberlistsearch template ================== find: Code:
<tr> <td bgcolor="{ secondaltcolor }"><normalfont><b>and AIM Handle contains</b></normalfont></td> <td bgcolor="{ secondaltcolor }"><normalfont><input type="text" class="bginput" size="35" name="aim" value=""></normalfont></td> </tr> Code:
<tr> <td bgcolor="{ firstaltcolor }"><normalfont><b>and MSN Messenger Handle contains</b></normalfont></td> <td bgcolor="{ firstaltcolor }"><normalfont><input type="text" class="bginput" size="35" name="msn" value=""></normalfont></td> </tr> in memberlistbit template ================== find: Code:
<td bgcolor="{firstaltcolor}">$ userinfo[aimicon]</td> Code:
<td bgcolor="{firstaltcolor}">$ userinfo[msnicon]</td> *note: you will need to remove the spaces (" ") between the {} on the template mods for the colors. also, fix the secondalt and firstalt colors to suit your board (i use the same for both, so i didn't need to make any fixes). |
#65
|
|||
|
|||
Before i go throught the install, it is important to first determine if the actual handle is EXPOSED to general users? I scanned all threads and haven't found the answer. I LOVE the concept.
|
#66
|
||||
|
||||
if someone puts in their handle and saves their profile, then yes, it will be exposed to general users. its just like AIM and Yahoo and ICQ defaultly setup with vBulletin...
|
#67
|
|||
|
|||
Everything seems to work ok, except the javascript for sending a message. I just get a js error. Anyone else?
|
#68
|
|||
|
|||
I'm getting an error too, with MSN 5. Any suggestions?
|
#69
|
|||
|
|||
I found the problem. The script is called InstantMessage in the javascript that is included in headinclude, but it is linked as DoInstantMessage in the link to the icon on the posts. Just change one or the other, that solves it.
|
#70
|
||||
|
||||
when i want to sen a message via link in showthread is making some error?
|
#71
|
||||
|
||||
when i register and put in the msn messanger filed my name or if i try to update it it doesnt register it in.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|