Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Template Modifications
Youtube Channel Link In Postbit Details »»
Youtube Channel Link In Postbit
Version: 1.00, by haxcommunity haxcommunity is offline
Developer Last Online: Nov 2017 Show Printable Version Email this Page

Category: Profile Enhancements - Version: 3.7.2 Rating:
Released: 07-12-2008 Last Update: 07-12-2008 Installs: 18
Template Edits
Code Changes Additional Files  
No support by the author.

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 Here
    If You Have A Request For Another Modification Like This, Send Me A PM And I'll see What I Can Do




Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 07-14-2008, 06:39 AM
SMosher SMosher is offline
 
Join Date: Jul 2008
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

THanks!
Reply With Quote
  #3  
Old 07-15-2008, 01:53 AM
haxcommunity haxcommunity is offline
 
Join Date: Jun 2008
Location: Virginia
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

-removed-
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:56 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03395 seconds
  • Memory Usage 2,209KB
  • Queries Executed 16 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (3)post_thanks_box
  • (3)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit_info
  • (2)postbit
  • (3)postbit_onlinestatus
  • (3)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete