Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > Member Archives
scsa20 msn hack- need some help Details »»
scsa20 msn hack- need some help
Version: , by cono cono is offline
Developer Last Online: Mar 2003 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 11-04-2002 Last Update: Never Installs: 0
 
No support by the author.

i did all the file edits correctly and even double checked them. my problem is on the postbit when you are looking at a post and the little icons for msn are there (add a buddy + chat with buddy) you click them and i get a javascript error code. the code thats supplied for the template you make (msn) was all wrong. the images would not show up or anything. i am a newb when is comes to doing this but i did get the images to show, but the pop ups still dont work? i am always getting errors on the page.

here is what the instructions say to put in the template msn,

Quote:
+-------------------------------------------------------------------------------------------------+
| Create a new template named "msn" with this: |
+-------------------------------------------------------------------------------------------------+
<a href=javascript:MsgrApp.LaunchIMUI(\"$userinfo[msn]\")><img src=\"https://vborg.vbsupport.ru/images/msn_talk.gif\" border=0 alt=\"Talk to MSN : $userinfo[username]\"></a>
<a href=javascript:MsgrApp.LaunchAddContactUI(\"$user info[msn]\")><img src=\"https://vborg.vbsupport.ru/images/msn_add.gif\" border=0 alt=\"Add to MSN : $userinfo[username]\"></a>
+-------------------------------------------------------------------------------------------------+
the way i got the images to work is buy removing a couple of the \ . but its still not working properly.

i have seen one of these hacks working. i am not sure if its this one but its the only one i can see that comes close. the board i saw it on... it works flawless? its working on vbulletin v2.2.6 witch is not to far from v2.2.8?

this is driving me crazy! if anyone has a working hack for this, could you please let me know? i have been staying up late and searching all over vbulletin.org for a answer but nothing?

thanks!


** edit -- **

here is the hack i am trying to intall;

[vB v2.2.6] [vbhacker/manual]MSN Hack

i did not use the vbhacker version, since i heard there was problems. i did it manually.

and on these two steps;

Quote:
+
+++
+

+-------------------------------------------------------------------------------------------------+
| In mod/user.php, replace this code: |
+-------------------------------------------------------------------------------------------------+
$user=$DB_site->query_first("SELECT userid,usergroupid,username,password,email,parente mail,coppauser,homepage,icq,aim,yahoo,signature,ad minemail,showemail,invisible,usertitle,customtitle ,FROM_UNIXTIME(joindate) AS joindate,cookieuser,daysprune,FROM_UNIXTIME(lastvi sit) AS lastvisit,FROM_UNIXTIME(lastactivity) AS lastactivity,FROM_UNIXTIME(lastpost) AS lastpost,posts,timezoneoffset,emailnotification,em ailonpm,receivepm,ipaddress FROM user WHERE userid=$userid");
+-------------------------------------------------------------------------------------------------+

+-------------------------------------------------------------------------------------------------+
| With this code: |
+-------------------------------------------------------------------------------------------------+
//MSN Hack by scsa20
//old line
// $user=$DB_site->query_first("SELECT userid,usergroupid,username,password,email,parente mail,coppauser,homepage,icq,aim,yahoo,signature,ad minemail,showemail,invisible,usertitle,customtitle ,FROM_UNIXTIME(joindate) AS joindate,cookieuser,daysprune,FROM_UNIXTIME(lastvi sit) AS lastvisit,FROM_UNIXTIME(lastactivity) AS lastactivity,FROM_UNIXTIME(lastpost) AS lastpost,posts,timezoneoffset,emailnotification,em ailonpm,receivepm,ipaddress FROM user WHERE userid=$userid");

$user=$DB_site->query_first("SELECT userid,usergroupid,username,password,email,parente mail,coppauser,homepage,icq,aim,msn,yahoo,signatur e,adminemail,showemail,invisible,usertitle,customt itle,FROM_UNIXTIME(joindate) AS joindate,cookieuser,daysprune,FROM_UNIXTIME(lastvi sit) AS lastvisit,FROM_UNIXTIME(lastactivity) AS lastactivity,FROM_UNIXTIME(lastpost) AS lastpost,posts,timezoneoffset,emailnotification,em ailonpm,receivepm,ipaddress FROM user WHERE userid=$userid");
+-------------------------------------------------------------------------------------------------+

+
+++
+

+-------------------------------------------------------------------------------------------------+
| In mod/user.php, replace this code: |
+-------------------------------------------------------------------------------------------------+
makeinputcode("AIM Handle","aim",$user[aim],0);
+-------------------------------------------------------------------------------------------------+

+-------------------------------------------------------------------------------------------------+
| With this code: |
+-------------------------------------------------------------------------------------------------+
makeinputcode("AIM Handle","aim",$user[aim],0);
makeinputcode("MSN Handle","msn",$user[msn],0);
+-------------------------------------------------------------------------------------------------+

+
+++
+
i changed the text from admin/user.php to mod/user.php because i could not find those two edits in the admin/users. but they were in the mod/user.php so i gave it a shot. and someone did mention to try it on mod/user.php.

all other file edites when perfect.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 11-04-2002, 06:02 PM
cono's Avatar
cono cono is offline
 
Join Date: Jul 2002
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok, after going through eerything with a fine comb. i got it working.. somehow

is there a way to add this to the memberslist? i made a field for it in the memberlist template. but on the memberslistbit i put

$userinfo[msnicon] and nothing shows up? no images?

thanks,
Reply With Quote
Reply

Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:12 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.10139 seconds
  • Memory Usage 2,207KB
  • Queries Executed 15 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (2)post_thanks_box
  • (2)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit_info
  • (1)postbit
  • (2)postbit_onlinestatus
  • (2)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete