Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Facebook button in postbit Details »
Facebook button in postbit
Mod Version: 1.00, by SLY LS1 (Designer) SLY LS1 is offline
Developer Last Online: Aug 2019 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.6.8 Rating: (2 votes - 5.00 average) Installs: 28
Released: 14 Oct 2007 Last Update: Never Downloads: 7
Not Supported Template Edits Additional Files  

I couldn't find this anywhere else so I made my own using Bratz-Designs Myspace mod as a start.

1. Make a profile field

In Admin CP go to - User Profile Fields - Add New User Profile Field
Profile field type = Single-line text box
Title: Facebook Profile
Description: Type your Facebook ID number
You can leave the rest to default

**Note down the number of the field! Example: field16. You need to replace the fieldX in the next code with the number!**

2. Template changes - In postbit_lecacy & Postbit

Find:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

After add:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

3. Button Upload

Upload the attached image to your: /images/misc folder!


4. Add link in members profile "Contact Info: section

Edit template - "memberinfo"

Find:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Above add:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Dont forget to change the X to your field number.

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Mini Mods MySpace & FaceBook buttons in member profile and postbit ChU v2 vBulletin 3.6 Template Modifications 74 24 Jan 2011 04:57
PM button in postbit peterska2 vBulletin 3.6 Template Modifications 80 29 Apr 2008 12:30
PM Button in postbit peterska2 vBulletin 3.5 Template Modifications 74 30 Dec 2007 09:02

  #16  
Old 16 Nov 2007, 13:01
SLY LS1's Avatar
SLY LS1 SLY LS1 is offline
 
Join Date: May 2007
Real name: Wayne
Originally Posted by ged View Post
Shouldn't it show a link there? It only show IDs...

The link shows on the right hand side of the page on the member profile and also in the postbit.
Reply With Quote
  #17  
Old 16 Nov 2007, 13:05
SLY LS1's Avatar
SLY LS1 SLY LS1 is offline
 
Join Date: May 2007
Real name: Wayne
Originally Posted by powerful_rogue View Post
Managed to get it working.

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

thats already in your code

<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>
The facebook icon will only show if you have it filled in on your profile.
Reply With Quote
  #18  
Old 31 Dec 2007, 14:16
cSh's Avatar
cSh cSh is offline
 
Join Date: Sep 2007
Real name: Sedat YÜCEL
nice add !
thank u SLY LS1
__________________
msn : [email protected]om
Reply With Quote
  #19  
Old 01 Jan 2008, 16:41
gizabo gizabo is offline
 
Join Date: Oct 2007
can u do the same with Myspace?
Reply With Quote
  #20  
Old 02 Jan 2008, 01:05
gizabo gizabo is offline
 
Join Date: Oct 2007
Instead of the code

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

I have this code....

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

and it dosent work.... is it now working cuz of that?
Reply With Quote
  #21  
Old 10 Jan 2008, 16:16
hyppa's Avatar
hyppa hyppa is offline
 
Join Date: Dec 2007
Location: Sandnes, Norway
Cant get it to work.
Reply With Quote
  #22  
Old 10 Jan 2008, 16:30
hyppa's Avatar
hyppa hyppa is offline
 
Join Date: Dec 2007
Location: Sandnes, Norway
Sorry, my mistake, forgot to change the fieldnumber in posbit.

thanks!
Reply With Quote
  #23  
Old 10 Mar 2008, 05:00
sunnycher sunnycher is offline
 
Join Date: Mar 2005
Real name: Cher
Mine isn't working either and I have followed all the instructions, uploaded the image, etc.
Not sure what else to do.
Reply With Quote
  #24  
Old 10 Mar 2008, 05:16
Brandon Sheley's Avatar
Brandon Sheley Brandon Sheley is offline
 
Join Date: Mar 2005
Real name: Brandon
would be nice if something like this was made for linkden
__________________

Love and support one another #vote2020
I offer Managed IT Services in Kansas
Reply With Quote
  #25  
Old 10 Mar 2008, 05:59
sunnycher sunnycher is offline
 
Join Date: Mar 2005
Real name: Cher
Got it working! There is another fieldx and I was missing it
THANK YOU! love it!
Reply With Quote
  #26  
Old 10 Mar 2008, 05:59
sunnycher sunnycher is offline
 
Join Date: Mar 2005
Real name: Cher
I'd love to see one of these for HELLO

www.hello.com
Reply With Quote
  #27  
Old 14 May 2008, 21:25
MAZAG MAZAG is offline
 
Join Date: May 2008
NOt Working, idid all instruction exactly and i entered my facebook ID in my profile and there is no facebook icon in my postbit
Reply With Quote
  #28  
Old 14 May 2008, 21:44
ChU v2 ChU v2 is offline
 
Join Date: May 2007
Real name: Nick
Originally Posted by sunnycher View Post
I'd love to see one of these for HELLO

www.hello.com
hello.com is shutting down.

Originally Posted by MAZAG View Post
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 http://www.vbulletin.org/forum/showthread.php?t=174863

Originally Posted by Loco.M View Post
would be nice if something like this was made for linkden
This has linkdin: http://www.vbulletin.org/forum/showthread.php?t=174863
Check post 22.
Reply With Quote
  #29  
Old 27 Oct 2009, 06:38
SnapOff Racing SnapOff Racing is offline
 
Join Date: Apr 2006
Originally Posted by powerful_rogue View Post
Managed to get it working.

<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
Originally Posted by SLY LS1 View Post
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
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #30  
Old 15 Sep 2010, 00:44
zonaenlinea's Avatar
zonaenlinea zonaenlinea is offline
 
Join Date: Dec 2009
for 4.0.6 ?
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 16:20.

Layout Options | Width: Wide Color: