haxcommunity
07-12-2008, 10:00 PM
My 2nd Public Mod, Hope You Guys Like It.
Description:
This Simply Puts A Miniature Youtube Icon At The Bottom Of The Poster's Info
This May Have Been Published Before, But I'm Not Sure, If It Was I'm Sorry To The Owner, I Didn't Mean To Copy, I Just Didn't Come Up When I Searched It
Screenshot:
https://vborg.vbsupport.ru/external/2008/07/55.jpg
Instructions:
Download The Attachment Below,Unzip It And Upload The .GIFTo The Root Of Your Forum, This Is The Youtube Icon
Go To Your Admin Panel, And Go To User Profile Fields>Add New User Profile Field
Select "Single Line Textbox" And Continue
Fill Out The Form As Follows:
Title: Youtube Channel
Description: Enter Your Youtube Username, And It will Be Linked To In Your Posts!
Default Value: Leave Blank
Max length of allowed user input: 25
Field Length: 25
Field Required: No,But Display At Registration
Field Editable By User: Yes
Field Searchable on Members List: No
Show on Members List: This One's Really Up To You..
Which page displays this option: Edit Your Details
Make A Note Of what The Field # Is, You Will have To Modify Code Later To Match Your Forum
Well That Parts Done, Now Lets Move Onto The Template Edits Themselves
Go Into The Style Manager And Edit Template Of Whichever Theme You Would Like This To Apply To
Go Into "Postbit Templates"
Select Either Postbit, Or Postbit Legacy Depending On Which Style You Use
Search For:
$post[skypeicon]
And Add After:
<!-- Youtube start -->
<if condition="$post[field8]"><a href="http://www.youtube.com/user/$post[field8]" alt="Watch My Youtube" target="_blank">
<img src="/youtube.GIF" border="0"></a>
</if>
<!-- Youtube end -->
Replace Both Instances Of "field8" With Your Field #,
Example: If Your Profile Field Was Field3, Then It Would Read
<!-- Youtube start -->
<if condition="$post[field3]"><a href="http://www.youtube.com/user/$post[field3]" alt="Watch My Youtube" target="_blank">
<img src="/youtube.GIF" border="0"></a>
</if>
<!-- Youtube end -->
Save Changes And Enjoy!
If You Used This Modification Please Click Here (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=185149)
If You Have A Request For Another Modification Like This, Send Me A PM And I'll see What I Can Do
Description:
This Simply Puts A Miniature Youtube Icon At The Bottom Of The Poster's Info
This May Have Been Published Before, But I'm Not Sure, If It Was I'm Sorry To The Owner, I Didn't Mean To Copy, I Just Didn't Come Up When I Searched It
Screenshot:
https://vborg.vbsupport.ru/external/2008/07/55.jpg
Instructions:
Download The Attachment Below,Unzip It And Upload The .GIFTo The Root Of Your Forum, This Is The Youtube Icon
Go To Your Admin Panel, And Go To User Profile Fields>Add New User Profile Field
Select "Single Line Textbox" And Continue
Fill Out The Form As Follows:
Title: Youtube Channel
Description: Enter Your Youtube Username, And It will Be Linked To In Your Posts!
Default Value: Leave Blank
Max length of allowed user input: 25
Field Length: 25
Field Required: No,But Display At Registration
Field Editable By User: Yes
Field Searchable on Members List: No
Show on Members List: This One's Really Up To You..
Which page displays this option: Edit Your Details
Make A Note Of what The Field # Is, You Will have To Modify Code Later To Match Your Forum
Well That Parts Done, Now Lets Move Onto The Template Edits Themselves
Go Into The Style Manager And Edit Template Of Whichever Theme You Would Like This To Apply To
Go Into "Postbit Templates"
Select Either Postbit, Or Postbit Legacy Depending On Which Style You Use
Search For:
$post[skypeicon]
And Add After:
<!-- Youtube start -->
<if condition="$post[field8]"><a href="http://www.youtube.com/user/$post[field8]" alt="Watch My Youtube" target="_blank">
<img src="/youtube.GIF" border="0"></a>
</if>
<!-- Youtube end -->
Replace Both Instances Of "field8" With Your Field #,
Example: If Your Profile Field Was Field3, Then It Would Read
<!-- Youtube start -->
<if condition="$post[field3]"><a href="http://www.youtube.com/user/$post[field3]" alt="Watch My Youtube" target="_blank">
<img src="/youtube.GIF" border="0"></a>
</if>
<!-- Youtube end -->
Save Changes And Enjoy!
If You Used This Modification Please Click Here (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=185149)
If You Have A Request For Another Modification Like This, Send Me A PM And I'll see What I Can Do