View Full Version : Msn in post
Requested in a few topics, so i decided to release this.
Hack: Msn in post
What this dose: Allows user to input their msn info in via their User CP's, If they do this then a msn icon will be in their post (postbit template), this links to their profile and in a alt tag shows their info
In Next Verson: a java pop-up with the users msn name
Info: Template driven, query optimized, easy to install
By: Anime-loo
Text install in zip and all icons needed.
pattox2k1
06-30-2002, 04:27 AM
k00l hack man....i was gonna make one of these but never got around to it....i was also gonna make mine so it could make the MSN address a mailto link ;)
the zip was updated, left in some bad code :/.
pattox2k1
06-30-2002, 05:04 AM
yeh ummm..........but where does the MSN field go???? does it go under ICQ and AIM in the profile??? if not i will edit it and release it here ;)
pattox2k1
06-30-2002, 05:04 AM
yeh ummm..........but where does the MSN field go???? does it go under ICQ and AIM in the profile??? if not i will edit it and release it here ;) to make it do that.....
arg...its late and i havent slept in 36 hours :p, i forgot that, ill add it in the new verson tomorrow with the other stuff, you can edit and post it if you want for now
pattox2k1
06-30-2002, 05:54 AM
ok ill have a look at that ;)
bluecat
06-30-2002, 01:47 PM
Screenshot or a site we can look at?
globalwin
06-30-2002, 05:27 PM
Originally posted by pattox2k1
yeh ummm..........but where does the MSN field go???? does it go under ICQ and AIM in the profile??? if not i will edit it and release it here ;)
https://vborg.vbsupport.ru/showthread.php?s=&threadid=40471
lordnet
06-30-2002, 06:40 PM
can we see i screen shot
my best wish...
LORD :)
ill have one when i release verson 2, alot of hacking to do on my forums tonight. expect it by late tonight or early tomorrow :). sorry i released this at the wrose possible time ;)
mashby
07-03-2002, 12:30 AM
Thanks for bringing this hack to my attention from vBulletin.com! Tell me, has the latest update moved to 2.0 yet?
mashby
07-03-2002, 02:48 AM
After looking at the install instructions, it seemed to match what I was trying to do, so I went ahead and installed it. Worked like a charm and is a really nice hack.
Thanks again for bringing it to my attention. Nice work!
Mithan
07-08-2002, 07:34 AM
Just so you know the instructions, you need to switch step 2 and 3, I was unable to do step 3 after I did step 2. I then flip flopped the steps and it worked fine.
mashby
07-10-2002, 02:51 PM
Anyone know how I could include this in the getinfo template?
Elmer
09-17-2002, 06:46 PM
This changes put two images in your postbit une make pop up the add a contac window of msn meseenger and add the other image make to send an instant massage to the person who ow tha email address.. that imag pop up the messenger..
I hop you understand my bad inglish :banana:
I replace all the code in msnicon template with this one:
<a id="lll" href=javascript:MsgrApp.LaunchIMUI("$post[field6]")>
<img
src="images/icon_messenger0.gif" alt="send instant massage" border=0 width="16" height="16"></a>
<a
href=javascript:MsgrApp.LaunchAddContactUI("$post[field6]")>
<img
src="images/icon_messenger1.gif" alt="add to buddy list"
border=0 width="16" height="16"></a>
and i put an script in my header template just before this code
<center><table width="744" border="0" cellspacing="0" cellpadding="0" bgcolor=000000>
i put this code:
<object classid="clsid:F3A614DC-ABE0-11d2-A441-00C04F795683"
codebase="#Version=2,0,0,83" codetype=application/x-oleobject id=MsgrObj
width=0 height=0>
</object>
<OBJECT classid="clsid:FB7199AB-79BF-11d2-8D94-0000F875C541"
codeType=application/x-oleobject id=MsgrApp width=0
height=0></OBJECT>
<font face="Arial" size="2"><b>
<SCRIPT LANGUAGE="JavaScript">
<!--
function stopError() { return true; }
window.onerror = stopError;
// -->
</script>
and i got this on my postbit :)
http://www.2spoemas.com/bgs/hack.gif
this ones are the two images i used
http://www.2spoemas.com/a/foros/images/icon_messenger0.gif http://www.2spoemas.com/a/foros/images/icon_messenger1.gif
PHiXTiT
09-17-2002, 09:17 PM
Great haCK
Nice addition, elmer
ThanX
5 StarZ
mewgood
09-20-2002, 06:49 AM
is it possible to have a ICQ in post?
Help me please..
Bison
09-20-2002, 03:51 PM
Doesn't or not workin here for some reason ... I hover over the image and it points to "htxp://www.mysite.com/forum/java" directory!
I placed this code:
<object classid="clsid:F3A614DC-ABE0-11d2-A441-00C04F795683"
codebase="#Version=2,0,0,83" codetype=application/x-oleobject id=MsgrObj
width=0 height=0>
</object>
<OBJECT classid="clsid:FB7199AB-79BF-11d2-8D94-0000F875C541"
codeType=application/x-oleobject id=MsgrApp width=0
height=0></OBJECT>
<font face="Arial" size="2"><b>
<SCRIPT LANGUAGE="JavaScript">
<!--
function stopError() { return true; }
window.onerror = stopError;
// -->
</script>
in the header ... right above this:
<!--- Logos and Buttons ---->
<center>
<table border="0" width="100%" cellpadding="0" cellspacing="0">
<tr>
<td valign="top" align="left" background="https://vborg.vbsupport.ru/vbimages/menu_backround.gif"><a href="index.php?s=$session[sessionhash]"><img src="https://vborg.vbsupport.ru/vbimages/vBulletin_logo.gif" border="0" alt="$bbtitle" bordercolor="#555576"></a></td>
Please advise!
Elmer
09-20-2002, 04:27 PM
But in my forum work perfect...
this is the code i have in my msnicon template:
<a id="lll" href=javascript:MsgrApp.LaunchIMUI("$post[field6]")>
<img
src="images/icon_messenger0.gif" alt="Enviar mensaje instantaneo" border=0 width="16" height="16"></a>
<a
href=javascript:MsgrApp.LaunchAddContactUI("$post[field6]")>
<img
src="images/icon_messenger1.gif" alt="Agregar a lista de contactos"
border=0 width="16" height="16"></a>
Note that i put $post[field6] cause the fiel id for msn email is 6 but if you never before have add an other field your fiel id must be 5...
you can go to my forum and see that working... but i have a problen that works even if you are not registered..
Foros Latinos (http://www.2spoemas.com/a/foros/)
Bison
09-20-2002, 04:42 PM
Problem Solved ...
58sniper
09-30-2002, 08:47 PM
Make sure you fix vBulletin's "code mangling" when copying/pasting the above code. Notice that it changes the single word "javascript" to two words - "java script"
Oh - and you can't test this with your own MSN account, since you can't send messages to yourself.
Bison
09-30-2002, 09:04 PM
I must have posted in the wrong forum ... I already figured it out. I also posted the problem ... somewhere. The email reply system might have sent my post into the wrong forum!
Oh Well ...
hmmm for some reason I still get the MSN field under biography and not undder ICQ
any ideas??
-thanks :)
The General
12-10-2002, 11:41 AM
works great with 2.2.9!
nnjj.net
01-31-2003, 05:49 PM
I installed too
but I can see nothing also
somebody hellllp :(
PhoenixBB
08-28-2003, 10:01 PM
Hmm, I'm getting:
Parse error: parse error, expecting `']'' in /home/blahblah/admin/functions.php(222) : eval()'d code on line 1
I merely cut and paste, and swapped the asterisk thus:
if ($post[field5]) {
eval("\$post[msn] = \"".gettemplate("msnicon")."\";");
} else {
$post[msn]="";
}
What am I missing here?
PhoenixBB
08-28-2003, 11:08 PM
My bad! I forgot to remove the asterisk in the template. Duh!
Wow I forgot about this hack, im going to update it to be more proper soon, and include a update script for all the current users :)
TheLab
09-28-2003, 08:07 AM
Wow I forgot about this hack, im going to update it to be more proper soon, and include a update script for all the current users :)
Any luck with the update? :)
patriciafrankie
10-12-2003, 12:18 AM
n/m
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.