vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=160220

YouTube button in postbit
by SLY LS1
14 Oct 2007 17:25

1 Attachment(s)
1. Make a profile field

In Admin CP go to - User Profile Fields - Add New User Profile Field
Profile field type = Single-line text box
Title: YouTube Profile
Description: Type your YouTube ID
You can leave the rest to default

**Note down the number of the field! Example: field16. You need to replace the fieldX in the next code with the number!**

2. Template changes - In postbit_lecacy & Postbit

Find:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


After add:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

3. Button Upload

Upload the attached image to your: /images/misc folder!


4. Add link in members profile "Contact Info: section

Edit template - "memberinfo"

Find:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Above add:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Dont forget to change the X to your field number.


All times are GMT. The time now is 02:07.

Powered by vBulletin® Version 3.8.14
Copyright © 2021, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.