Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
UKBL ~ Twitter profile link on Postbit ~ Clickable Details »
UKBL ~ Twitter profile link on Postbit ~ Clickable
Mod Version: 1.00, by UKBusinessLive (Designer) UKBusinessLive is offline
Developer Last Online: Feb 2012 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.7.6 Rating: (2 votes - 4.00 average) Installs: 9
Released: 26 Apr 2009 Last Update: Never Downloads: 24
Not Supported Template Edits Re-usable Code Translations  

UKBL ~ Twitter profile link on Postbit ~ Clickable !!


Member on Twitter? Show other members that you have a Twitter presance by adding a Twitter Icon to your postbit

Not been on for a while but i've had numerous requests for this Twitter hack so here we go....

This is a cool hack which will let your members add a Twitter Icon to their Postbit template, They need to add their Twitter Profile user name in their userCP for this to show, If they don't enter one, then the badge don't show

Runs along the same lines as the Facebook Hack, so if you've installed that, you'll love this




How to install.

Its really easy to do, as always, so if your sitting comfortably, lets begin

Now we need to create a User Custome field, so.....

AdminCP and add a custom field > User Profile fields > Add New User Profile Field

Title = Twitter User Name

Description = Enter Your Twitter username from your Twitter User Profile

Default Value = Leave empty

Max length of allowed user input = 20

Display Size = 10

Display Order = 10 or 15

Field Required = No as default

Field Editable by User = Yes in case member wants to delete, Later

Private Field = No

Field Searchable on Members List = No

Show on Members List = Yes

Regular Expression = leave empty

Save the field

Once you've saved you can see what the field number is, So lets say its Field11 for example, Remember this as will need it for your Postbit Edits

Thats the first bit done, now Part Two

Go to the template you are using in Styles & Templates/Style Manager, and select Edit templates.

Go to "postbit templates" and select the template you are using, either postbit or postbit_legacy.

Find the following


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

Directly above it add


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

replace the RED Field attribute for your own and dont forget to replace the twitter image show in the above code for your own, see below


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

I've added several twitter images below but feel free to use your own

They are in .gif and .png, use the ones you feel happiest with








Now when members sign up their Twitter badge and enter their profile user ID into the "Enter your twitter username from your Twitter User Profile" section in their UserCP, The Badge will automatically appear in their Postbit

Don't forget to change the usergroup condition with the number of the usergroups that you want to be able to view this


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

That means that guests and banned users will not be able to view members Twitter profile urls

Members who do not add a user id will not be shown anything.

Next, Upload the Twitter icon to your forums/images/misc folder and add the full url to the part in the code which shows the image.

if you are just seeing a red cross on your postbit, then its because your image url is not right

Oh Forgot to say, Badge is fully clickable so members can click directly to Twitter



Please Click Installed and I'll support you 100%

Thanks

Download Now

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

Screenshots

Click image for larger version

Name:	twit1.gif
Views:	4
Size:	10.9 KB
ID:	98379   Click image for larger version

Name:	twit2.gif
Views:	4
Size:	7.2 KB
ID:	98380   Click image for larger version

Name:	twit3.png
Views:	3
Size:	5.0 KB
ID:	98381   Click image for larger version

Name:	twit4.png
Views:	6
Size:	6.1 KB
ID:	98382  

Click image for larger version

Name:	twit5.png
Views:	3
Size:	7.4 KB
ID:	98383   Click image for larger version

Name:	twit6.gif
Views:	5
Size:	1.7 KB
ID:	98384   Click image for larger version

Name:	twit7.gif
Views:	5
Size:	2.7 KB
ID:	98385  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Forum Home Enhancements UKBL ~ FaceBook profile link on Postbit UKBusinessLive vBulletin 3.8 Template Modifications 87 23 Sep 2011 06:11
Profile Enhancements Twitter Profile 1.0 (displays Twitter on a member's profile page) AlexanderT vBulletin 3.7 Add-ons 102 21 May 2011 20:48
End-User Options UKBL ~ Twitter profile link on Postbit ~ Clickable UKBusinessLive vBulletin 3.8 Template Modifications 52 18 Jul 2010 10:32
End-User Options UKBL ~ Selling on Ebay Link in Postbit UKBusinessLive vBulletin 3.8 Template Modifications 18 15 Feb 2010 10:21
Forum Home Enhancements UKBL ~ FaceBook profile link on Postbit ~ Clickable UKBusinessLive vBulletin 3.7 Template Modifications 2 22 Apr 2009 01:29

Comments
  #2  
Old 26 Apr 2009, 17:02
UKBusinessLive UKBusinessLive is offline
 
Join Date: Sep 2008
Real name: Gerry
Reserved
Reply With Quote
  #3  
Old 10 Oct 2009, 00:58
Chuta's Avatar
Chuta Chuta is offline
 
Join Date: Aug 2009
Real name: Andrés Durán
Very, Very Nice!!
Is there a Demo or Screenshot?
__________________
Andrés Durán Hewitt / Crawlability Inc.
vBSEO Search Engine XML Sitemap 3.0 - Fully revamped version of the previously "vBSEO Google/Yahoo Sitemap Generator".
Reply With Quote
  #4  
Old 11 Oct 2009, 01:59
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
 
Join Date: Sep 2008
Real name: Michael Miller Jr
Originally Posted by Chuta View Post
Very, Very Nice!!
Is there a Demo or Screenshot?
One of those images above will be in the postbit template... so look above my actual (this here your reading) text and above under my title it could be there or if your forums use postbit_legacy it can be near the location info etc you can place it virtually anywhere in postbit but again look above the post content where it has my avatar/name and it would be near those typically.

Hope that helps
__________________
Daddy Does Dios and Figs!
https://www.linkedin.com/in/thelastsuperman

Search - Use the search feature to find similar issues/answers.
Information - Include screenshots, copy/pasted error codes, url etc.
Fixed - Please return to your thread/post and let us know how it was fixed!
Thanks - For participating! Click the "Like" on a post if someone helped you!
Reply With Quote
  #5  
Old 12 Oct 2009, 20:59
Nabs Nabs is offline
 
Join Date: Oct 2004
Works nicely and quite simple to install. thank you.
Reply With Quote
  #6  
Old 22 May 2010, 22:52
NP Carling26 NP Carling26 is offline
 
Join Date: Jul 2009
Well, I just installed this and I love it! But there's a problem, doing exactly as you stated, I put it above my registration date, which is fine, and the picture becomes clickable, but so does alot of other things including my Join Date, Location, Posts, Reputation, vBux, etc. Anyway to make it so that just the image is clickable? I used the exact code you provided, so it must just be some simple error with the hyper linking, but I can't figure out how to make it apply only to the image.
Reply With Quote
  #7  
Old 09 Nov 2011, 12:56
MaXimus's Avatar
MaXimus MaXimus is offline
 
Join Date: Nov 2011
I followed the guide but but when I saved the template it gave me the following error:

Warning: Invalid argument supplied for foreach() in [path]/includes/functions.php on line 3545

The following error occurred when attempting to evaluate this template:
%1$s
This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.


I guess the guide was made for an earlier version of vBulletin I am using the latest 4.1.7

Please help
Reply With Quote
  #8  
Old 09 Nov 2011, 15:45
HMBeaty HMBeaty is offline
 
Join Date: Sep 2005
Real name: Brooks
Originally Posted by Matrix Leader View Post
I guess the guide was made for an earlier version of vBulletin I am using the latest 4.1.7

Please help
Considering you're in the forum for vBulletin 3.7.x modifications.....
Reply With Quote
  #9  
Old 20 Nov 2011, 13:15
MaXimus's Avatar
MaXimus MaXimus is offline
 
Join Date: Nov 2011
Originally Posted by HMBeaty View Post
Considering you're in the forum for vBulletin 3.7.x modifications.....
oh sorry coz I landed here via the Google Search
__________________
MaxGeek Forum - #1 Site for PC supports and tweaking guides!
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 20:44.

Layout Options | Width: Wide Color: