Back to vBulletin 3.6 Add-ons

Add XBOX Gamertag to IM List
Mod Version: 1.00, by WNxWakko

This modification is in the archives.
vB Version: 3.6.5 Rating: (1 vote - 5.00 average) Installs: 26
Released: 05 Mar 2007 Last Update: 05 Mar 2007 Downloads: 183
Not Supported DB Changes Uses Plugins Template Edits Additional Files  

Please remember to click Mark as Installed if you use this modification

XBOX 360 Gamertag Postbit/Profile icon and gamertag popup plugin.

This is my first plugin. The original code was taken from burnist who made an old skype plugin way back in 3.5 beta 4. I did however have to change almost all of it, just used his as a template to guide me in making this one. I hope it is useful to many of you.

I wanted it the same as how the icq/aim/msn/yahoo worked. I saw some other template mods around here where javascripts were included for hover-over. Problem I had with it is I dont like the extra heavy javacode and/or js includes that were required on every page to make those function.

Doesnt use custom profile fields. Creates a new xbox field of its own next to the msn field in the database. This mod is much more server friendly.

When you click the members xbox icon in post or profile it opens up a popup window resized with the gamertag card info in it.

Anyone who would like to show me how to roll these template mods into the hooks, Id be happy to add that in to make this even easier to install.

Time to install 2 minutes.

Download the zip file, Template edit instructions are included in the zip.

Import the product.
Upload the xbox image to images/misc/
Perform the following template edits,

MODIFYPROFILE template
Find:
Code:
<td>$vbphrase[skype_name]<br />
						<img src="$stylevar[imgdir_misc]/im_skype.gif" alt="" />
						<input type="text" class="bginput" name="skype" value="$bbuserinfo[skype]" size="25" maxlength="32" dir="ltr" /></td>
					<td>&nbsp;</td>
Replace with:
Code:
<td>$vbphrase[skype_name]<br />
						<img src="$stylevar[imgdir_misc]/im_skype.gif" alt="" />
						<input type="text" class="bginput" name="skype" value="$bbuserinfo[skype]" size="25" maxlength="32" dir="ltr" /></td>
					<td>Xbox 360 Gamertag<br />
<img src="$stylevar[imgdir_misc]/im_xbox.gif" alt="" />
<input type="text" class="bginput" name="xbox" value="$bbuserinfo[xbox]" size="25" maxlength="50" /></td>
POSTBIT or POSTBIT_LEGACY template

Code:
<if condition="$post[yahooicon]">$post[yahooicon]</if>
Add below or above:
Code:
<if condition="$post[showxbox]">$post[xboxicon]</if>

MEMBERINFO template
Find:
Code:
<td>$userinfo[yahooicon]</td>
						<td><a href="#" dir="ltr" onClick="imwindow('yahoo', '$userinfo[userid]', 400, 200); return false;">$userinfo[yahoo]</a></td>
Add below:
Code:
<td>$userinfo[xboxicon]</td>
<td><a href="#" onclick="openWindow('http://live.xbox.com/member/$userinfo[xbox].card', 210, 145); return 
false;">$userinfo[xbox]</a></td>
SCREENSHOT

Download

This modification is archived, downloads are still allowed.

File Type: %1$s xbox.zip (3.5 KB, 195 downloads)

Similar Mods

Popup XBOX 360 gamertag vBulletin 3.6 Template Modifications
Miscellaneous Hacks Show Your XBOX 360 Gamertag as your Avatar in Postbit vBulletin 3.6 Add-ons

vblts.ru supports vBulletin®, 2022-2024