vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=257924

Social Networking in Postbit (with or without block)
by boydy
27 Jan 2011 20:05

6 Attachment(s)
Hi guys,

This is the first mod/hack i have published on here although i do have other projects in use on my own forums.

This mod/hack gives a user the abillity to share their accounts on Twitter/Facebook/MySpace/Bebo/Linkedin/Flickr/Tumblr/Youtube/Vimeo/PSN/XBL which appear in the postbit/postbit legacy.

=|= Install =|=

=|= Step 1 =|=
The first step you will need to go through is creating the custom profile fields for the following:

Profile Field Type
- Single-Line Text Box
Title - Twitter
Description - Add a link to your Twitter profile.
Field Searchable on Members List - NO
Show on Members List - NO

Profile Field Type - Single-Line Text Box
Title - Facebook
Description - Add a link to your Facebook profile.
Field Searchable on Members List - NO
Show on Members List - NO

Profile Field Type - Single-Line Text Box
Title - Google+
Description - Add a link to your Google+ profile.
Field Searchable on Members List - NO
Show on Members List - NO

Profile Field Type - Single-Line Text Box
Title - MySpace
Description - Add a link to your MySpace profile.
Field Searchable on Members List - NO
Show on Members List - NO

Profile Field Type - Single-Line Text Box
Title - Bebo
Description - Add a link to your Bebo profile.
Field Searchable on Members List - NO
Show on Members List - NO

Profile Field Type - Single-Line Text Box
Title - Youtube
Description - Add a link to your Youtube profile.
Field Searchable on Members List - NO
Show on Members List - NO

Profile Field Type - Single-Line Text Box
Title - Vimeo
Description - Add a link to your Vimeo profile.
Field Searchable on Members List - NO
Show on Members List - NO

Profile Field Type - Single-Line Text Box
Title - Linkedin
Description - Add a link to your Linkedin profile.
Field Searchable on Members List - NO
Show on Members List - NO

Profile Field Type - Single-Line Text Box
Title - Flickr
Description - Add a link to your Flickr account.
Field Searchable on Members List - NO
Show on Members List - NO

Title - Tumblr
Description - Add a link to your Tumblr account.
Field Searchable on Members List - NO
Show on Members List - NO

Title - Xbox Live ID
Description - Enter your Xbox Live id.
Field Searchable on Members List - NO
Show on Members List - NO

Title - Playstation Network ID
Description - Enter your Playstation Network id.
Field Searchable on Members List - NO
Show on Members List - NO

Once you have done the above please take a note of the profile field numbers that show under the "name" heading in the admincp, eg;

http://img145.imageshack.us/img145/6461/1296160582.png

=|= Step 2 =|=

The second step is to download one of the attached zip files containing the images and upload them to the root of your forums. The exact URL should be:

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



=|= Step 3 =|=

We have 2 options here, you can have it with or without the block.

Social Networking with Block

This option is ONLY available to members that use the Vertical Postbit (postbit_legacy);

Open Template - Postibit Templates -> postbit_legacy

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



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



NOTE:
Please remember to replace # with the relevant profile field number that you created earlier!

With this update you will also need to add all of your relevant profile field numbers to the line of code at the top, if you are not using all of the social accounts then just add the numbers you need and remove the rest.

This is the line of code in question:

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

------------------------------------------------------------------------------------------------------

Social Networking without Block

This is available to members who use both the Vertical or Horizontal postbit.

Open Template - Postibit Templates -> postbit_legacy or postbit

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



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

-------------------------------------------------------------------------------------------------------

And that's it! Screenshots below showing you how it looks in both postbit templates.

If you have any questions/issues please post below and i'll be happy to help. Also if you wish to request any other Social Networking sites to be added just post a commment and i'll see what i can do!

Hope you enjoy this mod/hack, please make sure you mark as installed!

Thanks!

Boydy

Update Changelog;
  • Added mouseover/mouseout animation.
  • Added new websites and icons.
  • Included PSN and XBL options.
  • Added option of using a block in Vertical postbit with a title.
  • Modified code for both postbits making things much tidier.
Note: New screenshots and images uploaded below, this is effectivley a new modification, i've removed all previous images and code.

For the automatic install product version with no manual edits go here - http://www.vbulletin.org/forum/showthread.php?t=267019


ProFifaLeagues 27 Jan 2011 22:00

Nice little bit of work mate thanks

boydy 28 Jan 2011 00:18

Cheers mate, glad you like it.

Preech 28 Jan 2011 09:19

I like this. Tagged until I get home from work.

Xencored 29 Jan 2011 03:05

I Like it Thanks
Be nice to also show in user profile in the contact box

boydy 29 Jan 2011 10:20

1 Attachment(s)
Quote:

Originally Posted by Animemike (Post 2155927)
I Like it Thanks
Be nice to also show in user profile in the contact box

I'll look into it mate, although the custom profile fields should display in the users profile. Attached an image showing what i am talking about although i am looking into different things with this to possibly expand it.

Xencored 29 Jan 2011 13:29

Quote:

Originally Posted by boydy (Post 2156005)
I'll look into it mate, although the custom profile fields should display in the users profile. Attached an image showing what i am talking about although i am looking into different things with this to possibly expand it.

Yea sorry i meant the images like say where the msn/yahoo etc.. is ill also look into this if thats ok with you?

Cheers

boydy 29 Jan 2011 14:27

Already on it mate, but that's no problem with me if you want to go ahead and look into it first. If you get it sorted before i can then i'll update the mod/hack giving credit to yourself if you like, just let me know.

Xencored 29 Jan 2011 16:38

Quote:

Originally Posted by boydy (Post 2156055)
Already on it mate, but that's no problem with me if you want to go ahead and look into it first. If you get it sorted before i can then i'll update the mod/hack giving credit to yourself if you like, just let me know.

Oh nono you go for it is your mod :)
Ill get on with the other 9mil jobs i have to do :D

Good luck
Cheers

need help , with filed #
by RK KINGKONG
29 Jan 2011 21:14

im getting this message when trying to save after entering the profile field number


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

whats the proper way
<br /><vb:if condition="$post['10']">
<a target ="blank" href="{vb:raw post.10}" do i take out the field# n replace with the number in both spots , or do i just put the number in after field# in 1 spot or both instances ?

Gemma 29 Jan 2011 21:36

Quote:

Originally Posted by RK KINGKONG (Post 2156187)
im getting this message when trying to save after entering the profile field number


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

whats the proper way
<br /><vb:if condition="$post['10']">
<a target ="blank" href="{vb:raw post.10}" do i take out the field# n replace with the number in both spots , or do i just put the number in after field# in 1 spot or both instances ?

Replace the # with your profilefield number in both instances; For example if the profile field is 10


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


Images
by RK KINGKONG
29 Jan 2011 23:58

2 Attachment(s)
@Gemma THANK YOU , that did the trick but for some weird reason its displaying above the aim & i wouldnt know why but the fields in admin cp look different . Also they do show up not where i want them to but besides that when i click them , they go to something else like other fields in my profile feeds section so ofcourse no site . i know it has something to do with the picture how the numbers dont match but i dont know how to fix this . sorry man im new at all this .. the number for the fields n in the TP edits are correct for sure though

Xencored 30 Jan 2011 00:10

Quote:

Originally Posted by RK KINGKONG (Post 2156229)
@Gemma THANK YOU , that did the trick but for some weird reason its displaying above the aim & i wouldnt know why but the fields in admin cp look different . Also they do show up not where i want them to but besides that when i click them , they go to something else like other fields in my profile feeds section so ofcourse no site . i know it has something to do with the picture how the numbers dont match but i dont know how to fix this . sorry man im new at all this .. the number for the fields n in the TP edits are correct for sure though

You have to add the code AFTER

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

As OP posted

RK KINGKONG 30 Jan 2011 00:51

ok i managed to get the field numbers right , alls good works great , I just want to get it to display under my aim . like in my picture its not . im running 4.1.1 IM using the postbit_legacy anyclue i do have it in the right place under it
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Quote:

Originally Posted by Animemike (Post 2156234)
You have to add the code AFTER

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

As OP posted


Xencored 30 Jan 2011 01:42

You have placed it in the Right place

Something else must be pushing it like that
Paste your Full posbit_legacy and i will look


All times are GMT. The time now is 15:06.

Powered by vBulletin® Version 3.8.12
Copyright © 2019, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.