Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 04-30-2004, 03:52 AM
k1nk0s's Avatar
k1nk0s k1nk0s is offline
 
Join Date: Apr 2004
Location: U.S.
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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.
Reply With Quote
  #2  
Old 04-30-2004, 07:13 PM
Beermonster Beermonster is offline
 
Join Date: Dec 2003
Location: England
Posts: 362
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #3  
Old 09-09-2004, 10:08 AM
Spinball's Avatar
Spinball Spinball is offline
 
Join Date: Feb 2002
Location: Telford, England
Posts: 705
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Beermonster, that doesn't work,mate.
Put the code in exactly as you stated but nothing gets displayed in vB3.0.3
Reply With Quote
  #4  
Old 09-09-2004, 10:59 AM
Beermonster Beermonster is offline
 
Join Date: Dec 2003
Location: England
Posts: 362
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #5  
Old 12-20-2004, 02:26 PM
smdani smdani is offline
 
Join Date: Nov 2004
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Beermonster,
I use vb 3.0.3, I put your code changing field name to the correct, but it doesnt work. it doesnt show.
Reply With Quote
  #6  
Old 12-20-2004, 05:27 PM
Beermonster Beermonster is offline
 
Join Date: Dec 2003
Location: England
Posts: 362
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #7  
Old 12-20-2004, 08:57 PM
smdani smdani is offline
 
Join Date: Nov 2004
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #8  
Old 12-20-2004, 09:08 PM
smdani smdani is offline
 
Join Date: Nov 2004
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I added to postbit_legacy and it worked like a charm!!
Thanks a lot
Reply With Quote
  #9  
Old 12-28-2004, 01:58 PM
MikaK's Avatar
MikaK MikaK is offline
 
Join Date: Nov 2004
Location: Helsinki, Finland
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

*installed*-Mika
Reply With Quote
  #10  
Old 03-07-2005, 02:38 AM
Wastl Wastl is offline
 
Join Date: Mar 2005
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
Reply


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 01:40 AM.


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.05931 seconds
  • Memory Usage 2,271KB
  • Queries Executed 14 (?)
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
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (4)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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_postinfo_query
  • fetch_postinfo
  • 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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete