YouTube Subscribe in Postbit
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] 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 --> 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 |
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 |