The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Twitter Postbit by YoBroMoFo Details »» | |||||||||||||||||||||||||||
UPDATE:
This mod, is a Twitter hack for your members Postbit. It allows them to enter their Twitter ID, in edit your details section, and then the Link to their twitter account is displayed in their Postbit. It is also usergroup permissable. See the first if condition. If you USE this mod, please click INSTALLEd and RATE it please. This way I know people are interested in my stuff YoBroMoFo British Expats Twitter Link in Postbit. www.yobromofo.com Brought to you by TimberFloorAu April 2009 ************************************************** **** Goto ADMIN CP User Profile Fields Add new User Profile Field > Single Line Text Box Title: My Twitter for under my Avatar Description: Enter your twitter id here Example: BobSmith Field Length 30 Profile Field Type: Single Line Text Box Field required NO Field editable by User : YES Private field: no Field searchable on Members list Yes Show on members list YES Regular expression: ^[0-9a-zA-Z_]{1,15}$|^$ Which page to display this option? Edit Your Details ______________________________________________ Click SAVE On next page take a note of the field number for this new profile field. Example field18 In the code below, change fieldi to your field number, example field18. There are 2 edits, make sure you do them both. Also ensure you have entered the correct path for your image, normally http://yourwebsite.com/forum/styles/...me/twitter.jpg Replace yourwebsite.com with your website Replace forum with forums if your forum is in folder forums ( i think you understand) Replace styles/stylename with whatever folder you are using for your forum, ie: mine is styles/australia DO NOT REMOVE Copyright <!-- yobromofo british expats twitter addin code--> _______________________________________________ Now goto postbit_legacy CODE: Code:
<!-- yobromofo british expats twitter addin code--> <if condition="is_member_of($bbuserinfo, 2, 6, 7, 5)"> <if condition="$post[fieldi]"> <a href="http://twitter.com/$post[fieldi]" target="_blank"><img class="inlineimg" src="http://www.yourwebsite.com/forum/styles/stylename/statusicon/twitter.png" alt="View $post[username]'s Twitter Profile" width="16px" height="16px" border="0" /></a></if></if> <!--end british expats twitter addin code--> Ensure you paste the amended code, as you have edited it, with correct file path to the image. Plus correct field names ! There is only one actual field, but it does need to be edited in 2 places in the above code. In Postbit_legacy find: $post[skypeicon] </center> After this add the code above. Now upload the image to your respective folder. Thats it. Have fun. Brought to you by British Expats Australia Ok enclosed in zip: full instructions, and image Download Now
Show Your Support
|
Comments |
#12
|
||||
|
||||
Typically ( my postbit is heavily customized ) lol.
But here is how I have Twitter within my postbit ( we also have twit this in each post ) Ste Code:
$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon] </center> <!-- yobromofo british expats twitter addin code--> <if condition="is_member_of($bbuserinfo, 2, 6, 7, 5)"> <if condition="$post[field29]"> <a href="http://twitter.com/$post[field29]" target="_blank"><img class="inlineimg" src="http://www.yobromofo.com/forum/styles/webpoint/statusicon/twitter.png" alt="View $post[username]'s Twitter Profile" width="16px" height="16px" border="0" /></a></if></if> <!--end british expats twitter addin code--> |
#13
|
||||
|
||||
work with postbit?
|
#14
|
||||
|
||||
Quote:
I have a question though. It is about that screenshot. I see that you have "Rep Power: 2465" for the user from that screenshot. I'm trying to figure out how to do that, please see my thread here: https://vborg.vbsupport.ru/showthread.php?t=213855 How do I do that rep power number thing? Thanks in advance. |
#15
|
|||
|
|||
nice
|
#16
|
|||
|
|||
great mod, but it ain't working for me..
actually i'm running a 3.8.0 if that makes a difference. i don't see any </center>. it's $post[skypeicon]</div> i modified the code and inserted it after </div>, but it didn't work. then again i inserted it before </div>, still didn't work.. any ideas? thnx |
#17
|
|||
|
|||
I have the same problem as above.
Edit: Found the solution, our templates are using postbit not postbit_legacy. Search for the same code in postbit and place it under the skype div's ender tag. |
#18
|
|||
|
|||
YouBabble, thank you very much!
i'd give u rep points, but there is no such system here. |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|