PDA

View Full Version : Show Thread Enhancements - Full Member's Yahoo Information In Postbit


VBIran
01-12-2011, 10:00 PM
Hi .
If you like this Modification Mark It As Installed Please . (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=257079)
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 :D
Screenshot :
https://vborg.vbsupport.ru/attachment.php?attachmentid=125572&d=1294952767
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:
<dt>{vb:rawphrase 'posts'}</dt> <dd>{vb:raw post.posts}</dd>
After it Add :

<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&amp;yids={vb:raw post.field7}">
<img src="http://img.msg.yahoo.com/avatar.php?format=jpg&amp;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 :&nbsp; <img src="http://opi.yahoo.com/online?u={vb:raw post.field7}&amp;m=g&amp;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>

IMPORTANT NOTE : You must replace your field id With {vb:raw post.field7} !
You can force users to fill this field in register( In field Options )or trying other ways . :up:
If you like this Modification Mark It As Installed Please . It takes up Only 1 Second. (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=257079)
Good Luck . :)

ehsanix
01-14-2011, 09:00 AM
OMG :)
Thank you so much!
ali dude :D

A.Chakery
01-14-2011, 10:57 AM
thankx, installed :)

hamedbia2
01-30-2011, 05:12 PM
that's great