Full Member's Yahoo Information In Postbit
Hi .
Description : With this small mod you can make a place in postbit that shows member's Yahoo ID , Yahoo Avatar And Yahoo Status . Lets go Screenshot : Installation : Step 1 - Go to User Profile Fields(In AdminCP) and create a new Field (single line). In the title put "Yahoo ID" and description put something like "Insert your Yahoo ID". Field length must be 40 Check it then save field options. Make sure you take 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:
<dt>{vb:rawphrase 'posts'}</dt> <dd>{vb:raw post.posts}</dd> Code:
<vb:if condition="$post['field7']"> <head> <style type="text/css"> .vbiran0 { direction: ltr; text-align: left; } </style> </head> <div class="vbiran0"> <span class="vb.org" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium;"> <span class="vb.org" style="font-family: tahoma; font-size: 11px; text-align: -webkit-right;"> Yahoo Avatar : <a href="http://img.msg.yahoo.com/avatar.php?format=jpg&yids={vb:raw post.field7}"> <img src="http://img.msg.yahoo.com/avatar.php?format=jpg&yids={vb:raw post.field7}" alt="" border="0" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; cursor: pointer; " width="56" height="51"></a><br> Yahoo ID : {vb:raw post.field7}<br> Yahoo Status : <img src="http://opi.yahoo.com/online?u={vb:raw post.field7}&m=g&t=5" alt="" border="0" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; cursor: pointer; " width="12" height="12"></div> </span></span></div> </vb:if> You can force users to fill this field in register( In field Options )or trying other ways . Good Luck . Download No files for download. Screenshots |
Similar Mods
Show Thread Enhancements PS - Boxed Postbit Information & Centered Postbit | vBulletin 3.7 Template Modifications |