Back to vBulletin 3.6 Template Modifications

Car Domain button in postbit
Mod Version: 1.00, by SLY LS1

This modification is in the archives.
vB Version: 3.6.7 Rating: (0 vote - 0 average) Installs: 7
Released: 14 Oct 2007 Last Update: Never Downloads: 3
Not Supported Template Edits Additional Files  

This is good little mod for people with car forums as a lot of your members would have a Car Domain site.

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: Car Domain Profile
Description: Type your Car Domain ID number
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:
Code:
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]
After add:
Code:
<!-- Car Domain display start -->
<if condition="$post[fieldX]"><a href="http://www.cardomain.com/ride/$post[fieldX]" alt="View my Car Domain" target="_blank">
<img src="images/misc/im_cardomain.gif" border="0"></a>
</if><!-- Car Domain display end -->
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:
Code:
<if condition="$show['homepage']">
				<tr>
					<td>
						$vbphrase[home_page]:<br />
						<a href="$userinfo[homepage]" target="_blank" dir="ltr">$userinfo[homepage]</a>
					</td>
				</tr>
				</if>
Add above:
Code:
<if condition="$userinfo[fieldX]">
				<tr>
					<td>
						Car Domain Profile:<br />
						<a href="http://www.cardomain.com/ride/$userinfo[fieldX]" target="_blank">Check out my Car Domain page</a>
					</td>
				</tr>
				</if>
Dont forget to change the X to your field number.

Download

No files for download.

Screenshots

Similar Mods

PM button in postbit vBulletin 3.6 Template Modifications
PM Button in postbit vBulletin 3.5 Template Modifications

vblts.ru supports vBulletin®, 2022-2024