vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=236)
-   -   Forum Home Enhancements - UKBL ~ FaceBook profile link on Postbit (https://vborg.vbsupport.ru/showthread.php?t=208147)

UKBusinessLive 03-25-2009 05:58 PM

Quote:

Originally Posted by down.low (Post 1776615)
I'm a 3.8.1 user
|
This code doesn't work:
Code:

<if condition="is_member_of($bbuserinfo, 6, 7, 9)">
<if condition="$post['field11']">
<a href="http://www.facebook.com/home.php/#/profile.php?id=$post[field11]&ref=profile">
<img alt="My Facebook" border="0" src="http://www.yourforum.com/images/misc/facebook.png" border="0"/>
</if></if>

|
It's missing a </a>

Has an extra border="0"

Why URL for href?
|
|
|
If you'd like to get you're facebook icon here:
|

http://i472.photobucket.com/albums/r...tion/face2.jpg

|
|

First, upload http://i472.photobucket.com/albums/r...n/facebook.png to your server in this directory: images/misc/

Then edit postbit_legacy and look for this string:

Code:

<if condition="$show['reportlink']"><a href="report.php?$session[sessionurl]p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/report.gif" alt="$vbphrase[report_bad_post]" border="0" /></a></if>
|
|

Below it add this string after changing both ?? to your field number:
Code:

<if condition="$show['member']">
<if condition="$post['field??']">
<a href="http://www.facebook.com/home.php/#/profile.php?id=$post[field??]&ref=profile">
<img alt="Facebook" src="images/misc/facebook.png" border="0"/></a>
</if></if>

|
Save the template and you're done.
|

wow thanks for the update :D

i'll update my first post in a moment :up:

UKBusinessLive 03-25-2009 06:01 PM

Quote:

Originally Posted by RedHacker (Post 1776828)
<if condition="is_member_of($bbuserinfo, 6, 7, 9)">

In there what put...?

My team members or my team members who dont show facebook ID....?

Thats for the user groups that you want to be able to use this hack, Just add your registered members usergroup ID, plus your mods and admins, if you don't add the usergroup id for unregistered, or banned members then they will not be able to see the facebook icon ;)

RedHacker 03-25-2009 06:06 PM

If put said down.low the image put down but saw little up from others images

UKBusinessLive 03-25-2009 06:37 PM

Quote:

Originally Posted by RedHacker (Post 1776844)
If put said down.low the image put down but saw little up from others images

What you've said don't make sense?? :confused:

can you be a bit clearer??

RedHacker 03-25-2009 07:24 PM

Finally i fixed..!!!The facebook ID where is...?

UKBusinessLive 03-25-2009 07:25 PM

Quote:

Originally Posted by RedHacker (Post 1776914)
Finally i fixed..!!!The facebook ID where is...?

Well done Buddy :D:D

RedHacker 03-25-2009 07:40 PM

I haven't ID Facebook and saw as put 12 numbers..!!!!!Can find this my members....?

UKBusinessLive 03-25-2009 08:38 PM

Quote:

Originally Posted by RedHacker (Post 1776934)
I haven't ID Facebook and saw as put 12 numbers..!!!!!Can find this my members....?

Not sure what you mean??

RedHacker 03-25-2009 11:02 PM

Who find the ID...?

UKBusinessLive 03-26-2009 12:53 AM

Quote:

Originally Posted by RedHacker (Post 1777094)
Who find the ID...?

the member get the id from their facebook profile url, and enters this into their Custom profile field, once they do that, the icon shows in their post bit ;)


All times are GMT. The time now is 03:32 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.01200 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
  • (3)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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