Results 1 to 15 of 15

Thread: [release vb2.0b3] VB2ICQ - (Custom status-img and sent icq-message)

Threaded View

  1. #1
    Senior Member Mas*Mind has disabled reputation
    Join Date
    Jun 2000
    Location
    Amsterdam, The Netherlands
    Age
    30
    Posts
    1,450
    HACK: VB2ICQ

    DESCRIPTION: This small-hack enables you to define custom icq-status images and sent icq-messages to members

    EXAMPLE: http://forever.feyenoordnet.nl/forum...d=56&styleid=3

    NOTE: Enabling this feature may result in slower loading of the icq-statuses of your members
    NOTE2: If the icq-server is down, clear.gif is loaded

    INSTRUCTIONS:

    1) Upload "disabled.gif", "offline.gif", "online.gif" to your images directory
    2) Upload "icq.inc.php", "icqmessage.php", "icqstatus.php", "javascript.js" to your vbulletin root-folder
    3) Open your "postbit"-template and change <!-- $ post[icqicon] --> to $post[icqicon]
    4) Open your "headinclude"-template and add: <script language="Javascript" src="javascript.js" type="text/javascript"></script>
    5) Edit your "icq"-template and modify it with the content of "icq.txt"
    6) Create 3 new templates: "icq_message_sent", "icq_message_not_sent" and "icq_send_message" and insert the content of the appropiate .txt files in it

    That's it! Enjoy

    Credits to: F.Kranen - http://www.odsync.net/ for creating icq.inc.php
    Last edited by Mas*Mind; Mon 16th Apr '01 at 8:29pm.
     

  2. #2
    Senior Member snyx has disabled reputation snyx's Avatar
    Join Date
    Aug 2000
    Location
    Vancouver, BC, Canada (whistler.2010)
    Posts
    1,073
    Nice hack man!

    Change your link tho!
    http://forever.feyenoordnet.nl/forum...hp?threadid=20

    Change the & to a ?

    snyx
     

  3. #3
    Senior Member Mas*Mind has disabled reputation
    Join Date
    Jun 2000
    Location
    Amsterdam, The Netherlands
    Age
    30
    Posts
    1,450
    done..
     

  4. #4
    Senior Member The_Sisko is on a distinguished road The_Sisko's Avatar
    Join Date
    Jun 2000
    Location
    Hamburg, Germany
    Age
    31
    Posts
    382
    Nice and cool idea..!
    Will test it in a few hours
    The Sisko
    SciFi-Forum.de
     

  5. #5
    Senior Member Mas*Mind has disabled reputation
    Join Date
    Jun 2000
    Location
    Amsterdam, The Netherlands
    Age
    30
    Posts
    1,450
    Note that there may be the same problem as on this issue here

    Until there is a solution for this, you just have to bear with it I'm affraid
     

  6. #6
    Senior Member Mas*Mind has disabled reputation
    Join Date
    Jun 2000
    Location
    Amsterdam, The Netherlands
    Age
    30
    Posts
    1,450
    If you wanna avoid that you can just use <img src="http://online.mirabilis.com/scripts/online.dll?icq=$userinfo[icq]&img=5" alt="$userinfo[username]'s ICQ status" border=0> in the icq-template instead of <img src="icqstatus.php?uin=$userinfo[icq]&path={ imagesfolder }" alt="$userinfo[icq]" border="0" width="20" height="14"> and use the default icq-img
     

  7. #7
    Member pestilence has disabled reputation pestilence's Avatar
    Join Date
    Feb 2001
    Location
    scotland
    Age
    41
    Posts
    72

    msgs

    installed and tried this the messages dont seem to send from it any ideas it says the msg has been sent but thats it i tried sending to my own icq and my web aware is enabled ?
     

  8. #8
    Senior Member jojo85 is on a distinguished road
    Join Date
    Jan 2001
    Location
    FRANCE
    Age
    24
    Posts
    916
    Cool hack but i wont use it but i love your icons
    Best Regards,
    Geoffrey 'G3oW0RK' BALDET.
     

  9. #9
    Senior Member Mas*Mind has disabled reputation
    Join Date
    Jun 2000
    Location
    Amsterdam, The Netherlands
    Age
    30
    Posts
    1,450

    Re: msgs

    Originally posted by pestilence
    installed and tried this the messages dont seem to send from it any ideas it says the msg has been sent but thats it i tried sending to my own icq and my web aware is enabled ?
    I don't really follow you (hint: use dots ) but do you mean the messages aren't sent?

    Originally posted by jojo85
    Cool hack but i wont use it but i love your icons
    Thanks
     

  10. #10
    Senior Member Mas*Mind has disabled reputation
    Join Date
    Jun 2000
    Location
    Amsterdam, The Netherlands
    Age
    30
    Posts
    1,450
    what did you change exactly?
     

  11. #11
    Senior Member Maverick1236 has disabled reputation
    Join Date
    Apr 2001
    Posts
    346

    another language?

    all my templates i cut and pasted are in another language-do u have english version?
     

  12. #12
    Senior Member Mas*Mind has disabled reputation
    Join Date
    Jun 2000
    Location
    Amsterdam, The Netherlands
    Age
    30
    Posts
    1,450
    Originally posted by insdel
    I have changed in icq.inc.php

    line 44:

    if ($len == 105)$ret = $ICQ_STATUS_ONLINE;

    to

    if ($len == 96)$ret = $ICQ_STATUS_ONLINE;

    line 45:

    if ($len == 18) $ret = $ICQ_STATUS_DISABLED;

    to

    if ($len == 83) $ret = $ICQ_STATUS_DISABLED;

    line 46:

    if ($len == 0) $ret = $ICQ_STATUS_OFFLINE;

    to

    if ($len == 1) $ret = $ICQ_STATUS_OFFLINE;

    I realized that most indicators are shown up correctly but others not. I'm not sure if there's a problem with icq's dll itself or if icq.inc.php doesn't work correctly
    What do you mean with 'most indicators'? If you're using the standard icq indicators (ie: set 1, set 2, set 3 etc..) then you shouldn't using this script, then you can directly link to icq.

    This script is only meant to display custom (self made) images. So in this case it should always be '&img=1' because otherwise indeed the above values won't work.
     

  13. #13
    Senior Member Mas*Mind has disabled reputation
    Join Date
    Jun 2000
    Location
    Amsterdam, The Netherlands
    Age
    30
    Posts
    1,450
    hmm...strange, it works very well for me
     

  14. #14
    Senior Member Mas*Mind has disabled reputation
    Join Date
    Jun 2000
    Location
    Amsterdam, The Netherlands
    Age
    30
    Posts
    1,450
    how did you decide which new values you's use?
     

  15. #15
    Member Sascha is on a distinguished road
    Join Date
    Oct 2000
    Location
    Germany
    Posts
    44
    Hi!

    After the "send"-Button, i only get a white window.

    Thats all.

    Any Idea ?



    Sascha
     

Similar Threads

  1. [RELEASE vB2.0.3] Custom Avatars as Files
    By cocomiel in forum Releases: Version 2.x
    Replies: 26
    Last Post: Tue 30th Oct '01, 2:10am
  2. [release vb2.0b3] World Timezones on indexpage
    By Mas*Mind in forum Releases: Version 2.x
    Replies: 84
    Last Post: Tue 23rd Oct '01, 6:06am
  3. [RELEASE vB2.0] Custom Avatars as Files
    By Kier in forum Releases: Version 2.x
    Replies: 131
    Last Post: Fri 21st Sep '01, 3:50pm
  4. [RELEASE] Vb2.0 Viewing custom avatars
    By JeroenBoonstra in forum Releases: Version 2.x
    Replies: 0
    Last Post: Wed 16th May '01, 7:11am
  5. Private message, ICQ status & sendmail
    By inetd in forum vBulletin 1.1.x Questions
    Replies: 10
    Last Post: Tue 9th Jan '01, 3:19am

Bookmarks

Posting Permissions

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts