vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   [RELEASE vB 2.0] MSN Message Center like available on http://www.msn.com (https://vborg.vbsupport.ru/showthread.php?t=16335)

Christian 05-08-2001 10:00 PM

I could manage to implement the Messege Center from msn.com to vBulletin.
It doesn't work yet like the online indicators for Yahoo or ICQ, but that can perhaps be added by editing the VBS file.

Anyway, it offers the function to access your hotmail account, to create a new one, to download MSN Messenger, to start it and viewing the contacts in real time (without to have to refresh the page).

You can look at it here:

http://www.knowledge-emporium.com/tke/forum/index.php


I'm currently writing the instructions how to install it!


But before I release it I need to know one thing:

If someone has the MSN Messenger NOT installed, please go to our site and tell me if there is a link shown where you can download it!
I don't want to uninstall it just to see if it works! :D :p

teenfront 05-09-2001 01:49 PM

nice script ............ the link appeared and worked for me

Christian 05-09-2001 01:58 PM

Cool, thanks for the info! :)

Christian 05-09-2001 03:09 PM

Here is the installation package!

File size: 8.51 KB

[UPDATE]

Version 1.1 now

Changes in v1.1:

- The maximum number of shown online contacts has been changed from 5 to 30

- Contact names are shown in full length now

- Link name to open the MSN window has changed from
"Show all contacts..." to "Open MSN Messenger main window"

- As icon in the left table it is always used ON.GIF now
-> No more wrong displaying icon when not cookied

- Installation instructions in German and Dutch added

[/UPDATE]

Johnny 05-09-2001 03:32 PM

my english is not very good! i want that hack to! it's very cool! can someone tell it me how i must do it in dutch?? :)

Johnny

Christian 05-09-2001 04:34 PM

My co-admin is dutch, i'm sure he will translate the instructions for you! :)

It is not very much anyway!

AssassinGF 05-09-2001 05:07 PM

I can't wait to install this!
Great job Christian!

Christian 05-09-2001 05:33 PM

It was not that hard!

The hardest thing was to filter out the needed code from the MSN page! :D

I have never seen such a crap code! :rolleyes:

I spent hours with reducing it to the minimum.

Some needed scripts have been added to tables with totally different contents, e.g the shop offers and all that.

One line deleted false and you has 1000s of script errors!

In the attached text file is what I started with! ;)

If you wonder if I did anything to the formatting of the text file, or it went something wrong during saving, then the answer is NO!

This is HTML code written in a away that nobody shall understand it!


Nice, eh? ;) LOL

AssassinGF 05-09-2001 05:35 PM

*opens up frontpage, pastes the code into the HTML viewer, and watches it auto format into something very readable*

lol! :D

Christian 05-09-2001 05:43 PM

Do you think it is W3C compliant?

:D :p :D :p

Chris Schreiber 05-09-2001 05:46 PM

Quote:

Originally posted by Christian
Do you think it is W3C compliant?

:D :p :D :p
Nope... it's Microsoft compliant :D

Yaa 101 05-09-2001 06:04 PM

Hi I made the dutch translation for johnny.

Hello all i am the coding and administrative partner of Christian on TKE.
Basicly I do most things in computing and never afraid to experiment with webservers.

We are just starting with another site wich you can get to by clicking the link in my sig.

Bassie. :)

Christian 05-09-2001 06:07 PM

Thanks, my big friend!

You forgot to mention that you are the number 1 database's broken table fixer! :) ;)

Christian 05-09-2001 06:27 PM

To raise the number of shown online contacts from 5 to a higher number, open the file MC.VBS.

There you look for

nc=5

It is in line 130.

Set the number you want to have there!

Upload it again to your server!

BUT:

More than 75 doesn't make sense because that the maximum number of online contacts you can have in MSN Messenger!

Yaa 101 05-09-2001 06:38 PM

Good job my friend the 30 is enough for us indeed...

I thought strange that list and how can we incorperate as like the other icons...
I kinda like it now it even shows the number of mails in your box...

What's next? Weather? lol...

Bassie. :)

Christian 05-09-2001 07:40 PM

The names of the online contacts are cut to 17 letters by default.

To show the full length (the table is wide enough) find:

Code:

AB_=fixName(H_(i).FriendlyName,17)
It is in line 140

Replace it with:

Code:

AB_=fixName(H_(i).FriendlyName,130)
130 signs is the maximum length of a name in MSN Messenger!


:::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::


All updates are included in version 1.1 which replaced the old version.
Zip file is updated

DeMoN 05-09-2001 08:05 PM

god i love you!
well i dont but ya know what i mean. i've asked for this hack b4

cyrus 05-09-2001 08:17 PM

Hi

the hack is working fine apart from the fact that when you log out of the board, the image in the left bar next to the hack doesnt appear.

when i find out the properties of the image location is says :-

...folder/.gif

this is why it doesnt appear but I dont know how I can fix this. :( :( :(

Can someone tell me how please.

Thanx

Christian 05-09-2001 08:31 PM

The same things appeared for some ppl with the world time zone hack!

It uses the icon for the PM status!

I really dunno what accours this.

For me it works fine, and it is not an error in the code!

One question:

Is the icon for the PMs also away?

Christian 05-09-2001 08:42 PM

OK, I found a solution:

in the template replace "$lightbulb.gif" with "on.gif".

The always the yellow icon is shown and it is not dependent on the PM status anymore.

THIS FIX IS ALSO INCLUDED IN 1.1!!!

Sarge 05-09-2001 09:53 PM

This is cool,
But is there anyway that we can get the online names to appear in rows of 4 or 5 next to eachother?

If you have 30 names and all the names are under eachother it would look tore up from the floor up

Just wondering.
Cool hack

Christian 05-09-2001 09:57 PM

First of all 30 online contacts is very much!

I never have 30 of my ppl online the same time although I have about 70 in my list!


Then the problem with the tables is that you can't do that in the template!

You would have to edit the VBS script!
But if you find a solution you can tell me! ;)

Christian 05-10-2001 12:04 PM

Sarge, here is the code which list the users online:

Code:

If I_>0 Then
Dim Z_,ol,nc
Z_=""
ol=0
nc=30
Dim i
i=0
While i<I_ And ol<nc
Dim s
s=H_(i).State
If s AND 2 Then
ol=ol+1
Dim h,AB_
h=" href="""&"vbscript:op("&i&")"""
AB_=fixName(H_(i).FriendlyName,130)
Z_=Z_&"<a"&h&">"&getStateImage(s)&"</a> "&"<a"&h&" title="""
Z_=Z_&"Send an instant message to"&" "&AB_&"."
Z_=Z_&""" class=mclink>"&K_&AB_
Z_=Z_&"</font></a><br>"
End If
i=i+1
Wend
If ol>0 Then
W_="block"

What you could try is to make let this loop run until let's say 10 contacts.
Then make a new loops which runs from 11 to 20, and so on.
Give the class always a different name like mclink1, mclink2, ...
Then you can try if you can create several columns in the table row containing the online contacts in the template, by using clas mclink1 for the first comlumn, mclink2 for the second, and so on.

I think that is the only way to seperate the online users and put them in different tablerows or columns!

Christian 05-10-2001 12:14 PM

What I meant with the creating of the classes mclink1 and mclink2 is the following line:

Code:

Z_=Z_&""" class=mclink>"&K_&AB_
But I really can't say if this commands creates this class or calls it!

You have to ask some Visual Basic coders!

They will know what to do in your case! :)

Wayne Luke 05-10-2001 02:13 PM

I thought about doing this, the thought of redistributing Microsoft's code didn't please me. Especially when it specifically was not released for public distribution and they went to a decent amount of effort to obfuscate it to prevent it from being stolen.

Johnny 05-10-2001 02:14 PM

tnx a lot for the dutch installation version! :D

Johnny

Christian 05-10-2001 02:51 PM

Quote:

Originally posted by wluke
I thought about doing this, the thought of redistributing Microsoft's code didn't please me. Especially when it specifically was not released for public distribution and they went to a decent amount of effort to obfuscate it to prevent it from being stolen.
First of all they did not do any effort to prevent it from being stolen!

Second is that it is NO service that runs from their server!

The Message Center does nothing but reflecting the status of your local running program to an internet site!

It would be something different if you would get access to the MSN main server where the online status is stored so that you could display if a user is online in MSN WITHOUT having to start the program! That would be access to their services!

All it does now it showing your own contacts only to you!

Sarge 05-11-2001 10:33 PM

I removed this hack.

It is a good idea, but it looks like crap (to much wasted space). I will wait for a newer release

Christian 05-11-2001 11:18 PM

What exactly do you want to look it like?

Sarge 05-12-2001 12:03 AM

i dont like how all the names are undereachother.

I had 12 people on the other day and that table was huge.

It would look more sweet if the names were next to eachother and wrapped.

Also if the login boxes were next to eachother also

Johnny 05-12-2001 07:56 AM

yes your right! if i have 23 people in my list from msn then is that much space! and i;ve got my board on f2s :(

johnny

carrillo 05-13-2001 02:46 AM

Mmmm.... do not work with Netscape 6

carrillo

Quote:

Originally posted by Christian
I could manage to implement the Messege Center from msn.com to vBulletin.
It doesn't work yet like the online indicators for Yahoo or ICQ, but that can perhaps be added by editing the VBS file.

Anyway, it offers the function to access your hotmail account, to create a new one, to download MSN Messenger, to start it and viewing the contacts in real time (without to have to refresh the page).

You can look at it here:

http://www.knowledge-emporium.com/tke/forum/index.php


I'm currently writing the instructions how to install it!


But before I release it I need to know one thing:

If someone has the MSN Messenger NOT installed, please go to our site and tell me if there is a link shown where you can download it!
I don't want to uninstall it just to see if it works! :D :p

:(

Sarge 05-13-2001 02:47 AM

Nothing works on netscape 6!
Netscape 6 is a worthless product

webhost 05-26-2001 03:22 AM

Added tonight to http://forums.realwebhost.net

Works Great Thanks For The HACK

Joey

webhost 06-03-2001 12:28 PM

Have loaded the msn hotmail hack. Is there a way to add this to templates where it acks like AOL.ICQ, and Yahoo instead of showing up on the main page?

Joey

Christian 06-04-2001 05:53 PM

You can add the varaible $messageceneter wherever you like

webhost 06-04-2001 06:03 PM

Would I need some kind of ICON are something, I would like it not to show up on the main page but showup in the member list information like aol,icq,yahoo, and also a field in the registration signup form.

Joey

Christian 06-04-2001 06:21 PM

The MSN Hack is not like the ICQ thing, where you can see who is online in ICQ or not!

It only reflects your personal status of your MSN Messenger!

To realize that the online status of a MSN user is shown independent from your local running MSN Messenger application Microsoft would have to publish a code which accesses the MSN server to ask for the online status!
But I doubt that they would do that!

webhost 06-04-2001 06:24 PM

Understand Thanks

mikezs 06-17-2001 08:07 PM

it totally doesnt work for me :S

I have followed the instructions perfectly and it doesnt disply at all :(

Please help?


All times are GMT. The time now is 03:51 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01543 seconds
  • Memory Usage 1,819KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete