Back to vBulletin 3.8 Template Modifications

YouTube Subscribe in Postbit
Mod Version: 1.00, by basilrath

vB Version: 3.8.2 Rating: (1 vote - 5.00 average) Installs: 15
Released: 16 Apr 2009 Last Update: Never Downloads: 0
Not Supported Template Edits  

Hi everyone

Just a little modification which will add a small YouTube icon to your postbit / legacy (next to yahoo, aim etc). This will allow the user to add their own youtube "username" in their own profile / usercp etc to allow it to show in the postbit / legacy which other members can click and directly go to the posters YouTube page (allowing easy subscription if needed). I hadnt seen a little mod so added it here, apolagies if its already been added previously.

1.Make A New Profile Field By

User Profile Fields>Add New User Profile Field
Profile field type = Single-line text box
Title: Your YouTube ID For Others To Subscribe (or whatever you like)
Description: Type in your full Youtube "username" not full URL
Private field: No
Field Searchable on Members List: Yes
Show on Members List: No

2. Template changes - In postbit_lecacy & Postbit

Find:
Code:

Code:
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]
Directly After Add:

Code:
<!-- YouTube start -->
<if condition="$post[fieldX]"><a href="http://www.youtube.com/$post[fieldX]" title="Subscribe To My Youtube" target="_blank">
<img src="/images/misc/youtube.png" border="0"></a>
</if>
<!-- YouTube end -->
+++Remember to note the field id. Example: field19. You need to replace the X in the code with the number 19 (on both counts !) +++

3. YouTube Icon Upload
Upload to Your /images/misc/youtube.png (remember to put the correct path in the img src)

YouTube Icon


Demo .......... http://www.tabletennistalk.co.uk/forum/index.php?t=1574&page=3

Screenshot

Download

No files for download.

Screenshots

Click image for larger version
Name:	postbit.JPG
Views:	744
Size:	54.8 KB
ID:	97878  

Similar Mods

Show Thread Enhancements Email to Friend, Print Version, Subscribe Thread in Postbit/Postbit Legacy vBulletin 3.8 Template Modifications
Profile Enhancements Youtube Channel Link In Postbit vBulletin 3.7 Template Modifications
Mini Mods YouTube button in postbit vBulletin 3.6 Template Modifications

vblts.ru supports vBulletin®, 2022-2024