vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   Mini Mods - Facebook button in postbit (https://vborg.vbsupport.ru/showthread.php?t=160214)

hyppa 01-10-2008 03:16 PM

Cant get it to work.

hyppa 01-10-2008 03:30 PM

Sorry, my mistake, forgot to change the fieldnumber in posbit.

thanks!

sunnycher 03-10-2008 04:00 AM

Mine isn't working either and I have followed all the instructions, uploaded the image, etc.
Not sure what else to do.

Brandon Sheley 03-10-2008 04:16 AM

would be nice if something like this was made for linkden :)

sunnycher 03-10-2008 04:59 AM

Got it working! There is another fieldx and I was missing it :)
THANK YOU! love it!

sunnycher 03-10-2008 04:59 AM

I'd love to see one of these for HELLO

www.hello.com

MAZAG 05-14-2008 08:25 PM

NOt Working, idid all instruction exactly and i entered my facebook ID in my profile and there is no facebook icon in my postbit

ChU v2 05-14-2008 08:44 PM

Quote:

Originally Posted by sunnycher (Post 1461235)
I'd love to see one of these for HELLO

www.hello.com

hello.com is shutting down.

Quote:

Originally Posted by MAZAG (Post 1519778)
NOt Working, idid all instruction exactly and i entered my facebook ID in my profile and there is no facebook icon in my postbit

You courl try https://vborg.vbsupport.ru/showthread.php?t=174863

Quote:

Originally Posted by Loco.M (Post 1461217)
would be nice if something like this was made for linkden :)

This has linkdin: https://vborg.vbsupport.ru/showthread.php?t=174863
Check post 22.

SnapOff Racing 10-27-2009 05:38 AM

Quote:

Originally Posted by powerful_rogue (Post 1376186)
Managed to get it working.

Quote:

<if condition="$post[icqicon] OR $post[aimicon] OR $post[msnicon] OR $post[yahooicon] OR $post[skypeicon] OR $post[field6]"><div class="nzbpostbit">$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon] <!-- Facebook display start -->
<if condition="$post[field6]"><a href="http://www.facebook.com/profile.php?id=$post[field6]" alt="View my Facebook" target="_blank">
<img src="images/misc/facebook.gif" border="0"></a></div>
</if><!-- Facebook display end --> </div></if>
</div>

I had to add the bolded bit into the code, otherwise the facebook icon would only show if someone had MSN/ICQ etc

Quote:

Originally Posted by SLY LS1 (Post 1383710)
thats already in your code



The facebook icon will only show if you have it filled in on your profile.

powerful_rogue is right, your not realizing what he is saying. If a user doesn't have an MSN or Yahoo listed in their profile, then the FaceBook button WILL NOT SHOW UP regardless if they have any info listed in their facebook field or not. So let's say a user has listed info in their facebook field but they haven't listed a yahoo or msn etc, then the facebook button will not show up.

You have to add OR $post[field6] after $post[skypeicon] so it looks like this
Code:

$post[skypeicon] OR $post[field6]

zonaenlinea 09-14-2010 11:44 PM

for 4.0.6 ?


All times are GMT. The time now is 04:52 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.01064 seconds
  • Memory Usage 1,738KB
  • 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
  • (6)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