vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Profile Enhancements - Show extra social networks to your Instant Messaging/Send Message and Postbit (https://vborg.vbsupport.ru/showthread.php?t=224861)

utahraves 10-08-2009 10:00 PM

Show extra social networks to your Instant Messaging/Send Message and Postbit
 
1 Attachment(s)
Please look at the screen shots for more details.


Let me know if there are any problems. I tried to do this from memory as I did this a long time ago and overwrote the script, so I decided to re-do it and post it so I wouldn't forget :). I don't know how to automatically do this kind of thing with a plugin, so it is ALL manual updates to your files/templates.


Version Info:
1.0 - Initial Release
1.1 - Fixed the missing </if> and the tutorial to point to the right template.
1.2 - Added Last.FM and YouTube.

ShawneyJ 10-09-2009 01:53 AM

wow this looks good, will test it now thanks.

graham_w 10-09-2009 02:05 AM

Nice work. Hopefully someone can give you a hand to make it all auto so you only have to add the product :)

ShawneyJ 10-09-2009 02:20 AM

1 Attachment(s)
im stuck :D what template am i looking for here, please see attachment?
it says in template memberinfo_block_contactinfo but i cant find any of that code.

XtremeOffroad 10-09-2009 02:24 AM

Great idea, I'll watch this for updates.
Thanks

ShawneyJ 10-09-2009 02:37 AM

1 Attachment(s)
ah great, utahraves is offline. its not the type of hack just to want to come back to and continue the next day lol.
there has to be something wrong with the instructions.
step 1, 2, and 3 is done. but template name is missing between step 3 and 4!
anyone know the name of the template in my attachment? thanks ;)

EDIT: maybe it is template memberinfo_block_contactinfo, i just cant find the code thats in the instructions.

utahraves 10-09-2009 04:24 AM

Oops, its on memberinfo I believe. I'm not home so I'm not sure. Ill see if I can find a laptop and look

ShawneyJ 10-09-2009 04:32 AM

Quote:

Originally Posted by utahraves (Post 1896967)
Oops, its on memberinfo I believe. I'm not home so I'm not sure. Ill see if I can find a laptop and look

yep your right ;) its memberinfo template thanks.

also im not sure but at the end of

Code:

<if condition="$userinfo['field8']">
<li class="vbmenu_option"><img src="$stylevar[imgdir_misc]/twitter.gif" alt="" class="alt2 inlineimg" /> <a href="http://www.twitter.com/$userinfo[field8]" target="_blank" dir="ltr"><phrase 1="$prepared[username]">$vbphrase[visit_twitter]</phrase></a></li>

you may have missed a </if> tag

i was getting a </if> tag error and had to add it.

utahraves 10-09-2009 04:38 AM

Haha crapola, I was nervous writing the tutorial and copy/pasting stuff. I'll add that to the list to fix.

ShawneyJ 10-09-2009 04:47 AM

lol, good news is, it works like a charm. :D thanks m8.


All times are GMT. The time now is 02:25 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.01142 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_code_printable
  • (1)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