![]() |
Follow Me Twitter Icon in Postbit
1 Attachment(s)
Hello,
This is my first "mod" here on VB.org, Its nothing big deal however since I implemented it on my seo forum I thought you might use it too What does this modification do? This modification let's you add a twitter follow me button in your postbit Screenshot http://im.gg/uploaded/12012011-534991.png Instructions Step 1 - Go at User Profile Fields and create a new filed (single line). At the title put something as "Twitter Username" and description put something like "Insert your twitter username". Field length make it 40 and then save it. Make sure you took the field id name Step 2 - Now that you have set up your profile field its time to go and edit your template. According to what style you are using, edit postbit or postbit legacy and find the following code: Code:
{vb:raw post.icqicon} {vb:raw post.aimicon} {vb:raw post.msnicon} {vb:raw post.yahooicon} {vb:raw post.skypeicon} Code:
<vb:if condition="$post['field5']"><a href="https://twitter.com/{vb:raw post.field5}"> <img alt="My Twitter Account" border="0" src="http://www.yourimagesource/images/twittericon.png" border="0"/></a></vb:if> Thats it basically, you go at your Edit Profile link and at the very bottom you add your username WORKING DEMO Attached you will find some icons you can use for this mini modification |
1 Attachment(s)
Installed and working
4.1 PL2 Added an updated Twitter icon (optimized ..ie... Smaller size and a little lighter color) |
Tagged.... thanks :D
|
yey....Thanks allot :)
|
Thank you for this nice little mod! Have used on 4.1.1 and working fine.
|
1 Attachment(s)
We have no graphics tools or knowledge on how to do it, so is there anyone able to help us with a "Follow me on Twitter" icon that blends more with our own color scheme?
Thanks in advance for any assistance ... :up: Regards, Doug |
Thanks :D
Would be great if you could make it into a plugin. Current installation feels a bit like...ehh.... the ancient versions of vbulletin |
how do you center the image in the postbit?
|
Quote:
|
1 Attachment(s)
Quote:
:) |
Quote:
Thank you Sir .. :) That was very gracious of you .... :up: Regards, Doug |
going to uninstall, would be better if the image only showed for members who filled out that profile field..if thats possible.
At moment it looks like every member has a twitter page and you can't tell who has and who hasn't unless i have done something wrong |
I agree that this should be a plugin and have an option in the usercp for inputting the users twitter accnt.
Then an easy conditional in the postbit for whether the user has inputted their twitter accnt info. Once that is done this would be a very nice mod :) |
All times are GMT. The time now is 06:27 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|