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)

Mellymonster 06-13-2009 06:14 AM

Quote:

Originally Posted by rrudeboy (Post 1828734)
hmz, installed this this morning and if i click on a user's FB icon it directs me to my own FB page...

Right but if you click on someone elses fb icon by there name it should take you to there FB page :)

Greek76 06-13-2009 11:09 AM

Great mod!

Now If you don't want your users to leave your site when they click on the facebook icon then add this part of the code which is in blue.

<a href="http://www.facebook.com/home.php/#/profile.php?id=$post[field11]&ref=profile" target="_blank">

rrudeboy 06-18-2009 05:55 PM

Quote:

Originally Posted by Mellymonster (Post 1828816)
Right but if you click on someone elses fb icon by there name it should take you to there FB page :)

but it does not... i tried both FB id # and since saturday i tried the vanity name, but it does NOT take me to the users FB page.

** fixed my issue.

rrudeboy 06-19-2009 06:18 PM

Facebook link with your FB number works.... but when a member uses his "vanity" name it does not work.

coder of this mod still around ?

skariko 07-05-2009 01:16 PM

What about now that is possible to change the link on own facebook?
:D

Ov3rrun 07-18-2009 02:26 PM

I need it works with vanity name's ??????? ex: facebook.com/myname

UKBusinessLive 07-20-2009 05:04 AM

Quote:

Originally Posted by Ov3rrun (Post 1851128)
I need it works with vanity name's ??????? ex: facebook.com/myname

All you need to do is to change the URL part of the code

Code:

http://www.facebook.com/home.php/#/profile.php?id=$post[field11]&ref=profile">
to something like this

Code:

http://www.facebook.com/[field11]
keeping the field ID for the actual Vanity name ;)

Pokerbanter 07-31-2009 10:31 AM

Quote:

Originally Posted by UKBusinessLive (Post 1852003)
All you need to do is to change the URL part of the code

Code:

http://www.facebook.com/home.php/#/profile.php?id=$post[field11]&ref=profile">
to something like this

Code:

http://www.facebook.com/[field11]
keeping the field ID for the actual Vanity name ;)

No, this doesn't work. It's actually trying to take my to that url rather than replacing field with vanity name.

Suggestions?

PS - I'm trying to do it for Bebo, not Facebook.

Pokerbanter 07-31-2009 10:55 AM

Quote:

Originally Posted by UKBusinessLive (Post 1852003)
All you need to do is to change the URL part of the code

Code:

http://www.facebook.com/home.php/#/profile.php?id=$post[field11]&ref=profile">
to something like this

Code:

http://www.facebook.com/[field11]
keeping the field ID for the actual Vanity name ;)

Fixed it, it should actually be:

Code:

http://www.facebook.com/$post[field11]

rrudeboy 08-10-2009 12:37 PM

dangit, it stopped working (after malicious hack)

code:
Code:

<if condition="is_member_of($bbuserinfo, 2, 4, 6, 7, 20, 19, 18, 16, 17)">
<if condition="$post['field7']">
<a href="http://www.facebook.com/home.php/#/profile.php?id=$post[field11]&ref=profile" target="_#new">
<img alt="My Facebook" border="0" src="http://everythingberry.net/forum/images/misc/facebook.png" border="0"/></a>
</if></if>

url it takes you: http://www.facebook.com/roeiboot?ref=profile

the id is 7, and i tried both 7 and 11... both no worky :]

tks.


All times are GMT. The time now is 10: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.01088 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
  • (8)bbcode_code_printable
  • (5)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