The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
UKBL ~ Twitter profile link on Postbit ~ Clickable Details »» | |||||||||||||||||||||||||||||||||||||||||||
UKBL ~ Twitter profile link on Postbit ~ Clickable
Developer Last Online: Feb 2012
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 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 :up: 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 Code:
<if condition="$post['joindate']"><div class="postbit">$vbphrase[join_date]: $post[joindate]</div></if> Code:
<if condition="is_member_of($bbuserinfo, 6, 7, 9)"> <if condition="$post['field11']"> <a href="https://twitter.com/$post[field11]"> <img alt="My Twitter" border="0" src="http://i475.photobucket.com/albums/rr114/ukbusinesslive/twitter3.gif" border="0"/> </if></if> Code:
http://i475.photobucket.com/albums/rr114/ukbusinesslive/twitter3.gif 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 Code:
<if condition="is_member_of($bbuserinfo, 6, 7, 9)"> 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
Screenshots
Show Your Support
|
Comments |
#42
|
|||
|
|||
It works great in 3.84 but how can I get the icons to show in users profile as well?
|
#43
|
|||
|
|||
What postbit file where u using, the legacy or regular one? Use legacy if ur postbit is to the left and regular postbit for the postbit on top.. I could help you get it to work, you might have installed it on wrong file...
|
#44
|
|||
|
|||
Im haveing some problems here and support would be very gratefull
i have the tweet image showing but when i clic it it takes me to a page that says : https://twitter.com/Show%20Tweet Sorry, that page doesn’t exist! i am desperate to get this working ASAP thanks in advance Andy If you need to see this for your self, then just go here and click the ttwitter button in my postbit : http://www.sharemee.com/clones/4467-....html#post6840 (you may have to join to view, but if you have a facebook account you can log in with that ) |
#45
|
||||
|
||||
Quote:
Mike |
#46
|
|||
|
|||
any update for vb 4.0.3 ?
|
#47
|
|||
|
|||
There is an error that causes all items in the profile portion of the postbit to become hotlinked to your twiter account. If some new HTML code that fixes this could be released, that'd be great!
|
#48
|
||||
|
||||
Quote:
Code:
<if condition="is_member_of($bbuserinfo, 6, 7, 9)">
<if condition="$post['field11']">
<a href="https://twitter.com/$post[field11]">
<img alt="My Twitter" border="0" src="http://i475.photobucket.com/albums/rr114/ukbusinesslive/twitter3.gif" border="0"/>
</if></if>
Code:
<if condition="is_member_of($bbuserinfo, 6, 7, 9)">
<if condition="$post['field11']">
<a href="https://twitter.com/$post[field11]">
<img alt="My Twitter" border="0" src="http://i475.photobucket.com/albums/rr114/ukbusinesslive/twitter3.gif" border="0"/></a>
</if></if>
|
#49
|
|||
|
|||
I've followed this to a T, not working for me either, image doesn't show up at all.
|
#50
|
||||
|
||||
Quote:
http://www.midlandsheritage.co.uk/mi...oundaries.html |
#51
|
||||
|
||||
nice work
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|