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)
-   -   Msn in post (https://vborg.vbsupport.ru/showthread.php?t=40452)

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

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 ...

Koss 10-01-2002 12:02 AM

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:

Quote:

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!

Brad 08-29-2003 09:03 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 :)


All times are GMT. The time now is 08:44 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.01054 seconds
  • Memory Usage 1,730KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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