Back to vBulletin 3.7 Template Modifications

Youtube Channel Link In Postbit
Mod Version: 1.00, by haxcommunity

This modification is in the archives.
vB Version: 3.7.2 Rating: (0 vote - 0 average) Installs: 18
Released: 13 Jul 2008 Last Update: 13 Jul 2008 Downloads: 59
Not Supported Template Edits Code Changes Additional Files  

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:


Instructions:
  1. Download The Attachment Below,Unzip It And Upload The .GIFTo The Root Of Your Forum, This Is The Youtube Icon
  2. Go To Your Admin Panel, And Go To User Profile Fields>Add New User Profile Field
  3. Select "Single Line Textbox" And Continue
  4. 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
  5. 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
  6. Go Into The Style Manager And Edit Template Of Whichever Theme You Would Like This To Apply To
  7. Go Into "Postbit Templates"
  8. Select Either Postbit, Or Postbit Legacy Depending On Which Style You Use
    Search For:
    Code:
    $post[skypeicon]

    And Add After:

    Code:
    <!-- 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 -->
  9. Replace Both Instances Of "field8" With Your Field #,
    Example: If Your Profile Field Was Field3, Then It Would Read
    Code:
    <!-- 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 -->
  10. Save Changes And Enjoy!

    If You Used This Modification Please Click
    If You Have A Request For Another Modification Like This, Send Me A PM And I'll see What I Can Do



Download

This modification is archived, downloads are still allowed.

File Type: %1$s youtube.zip (690 Bytes, 65 downloads)

Similar Mods

Miscellaneous Hacks VBKeepLink GoogleVideo, Metacafe, Youtube ... Get Video Download Link vBulletin 3.6 Add-ons
New Posting Features Youtube display link parser without bbcode vBulletin 3.6 Add-ons
Mini Mods YouTube button in postbit vBulletin 3.6 Template Modifications

vblts.ru supports vBulletin®, 2022-2024