vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Skype (https://vborg.vbsupport.ru/showthread.php?t=64563)

k1nk0s 04-30-2004 03:52 AM

Skype
 
I have downloaded Skype software (www.skype.com) but vbulletin doesn't support this. Being a little like AIM, I want a hack that when they click a "skype" button, it adds that user to their skype contact list. This hack should integrate just like all the other contact buttons and profile.

Beermonster 04-30-2004 07:13 PM

1 Attachment(s)
A mate of mine sorted this one out for VB2 just needed a small change for VB3, Upload the attached image to your image dir.

In your postbit find

Code:

<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon]
After it put

Code:

<!-- skype -->
<if condition="$post[field5]">
<A HREF="CALLTO://$post[field5]"><IMG SRC="/images/skype.gif" alt="Click Here to Skype $userinfo[username]" BORDER=0></A><br></if>
<!--- skype --->

You will also need to go to User Profile Fields/Add New User Profile Field and change the 5 in $post[field5] to the new number of your field

Hope that's what you are looking for :)

Spinball 09-09-2004 10:08 AM

Beermonster, that doesn't work,mate.
Put the code in exactly as you stated but nothing gets displayed in vB3.0.3

Beermonster 09-09-2004 10:59 AM

Quote:

Originally Posted by Spinball
Beermonster, that doesn't work,mate.
Put the code in exactly as you stated but nothing gets displayed in vB3.0.3

Have you changed both

Code:

$post[field5]
To match your own field number?

smdani 12-20-2004 02:26 PM

Beermonster,
I use vb 3.0.3, I put your code changing field name to the correct, but it doesnt work. it doesnt show.

Beermonster 12-20-2004 05:27 PM

Quote:

Originally Posted by smdani
Beermonster,
I use vb 3.0.3, I put your code changing field name to the correct, but it doesnt work. it doesnt show.


Are you using postbits or postbit_legacy? if you are using postbit_legacy then you will need to add the code to that template

Also in the code remove the first / in <IMG SRC="/images/skype.gif" or it won't show the image

smdani 12-20-2004 08:57 PM

I added the code at postbi template.
So, must i add it to postbit_legacy?

Is this code correct?
Quote:

<!-- skype -->
<if condition="$post[field6]"><div><A HREF="CALLTO://$post[field6]"><IMG SRC="$stylevar[imgdir_misc]/skype.gif" alt="Skype $userinfo[username]" BORDER=0></A><br></div></if>
<!--- skype --->
Thanks in advance

smdani 12-20-2004 09:08 PM

I added to postbit_legacy and it worked like a charm!!
Thanks a lot

MikaK 12-28-2004 01:58 PM

*installed*-Mika

Wastl 03-07-2005 02:38 AM

Wasn't really easy to follow your instructions since I never modified a template, but in the end I got it. Only problem I had that the User Profile Fields Manager doesn't show anything (version 3.0.6), but at least the Add User Profile Field did what it should.
As an addition, if one uses the service of Qzoxy/Jyve, you can directly display the online status as vbulletin does it for ICQ, MSN etc. In this case just change the image tag like this:
Code:

<IMG SRC="http://jyvepresence1.com/qzoxy/$post[field5].png?icon=small" alt="Click here to Skype $userinfo[username]" BORDER=0>
See here to know how to publish skype online status to use with the status icon.

Wastl


All times are GMT. The time now is 01:50 PM.

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.02168 seconds
  • Memory Usage 1,744KB
  • 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
  • (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