Edited 7/3/2008:
Changelog:
I switched 2 of the images back to the original from CoC, I was confused with how rollovers work, I messed up.
I made the Halo 3 button a rollover
Note:
After updating your code if you use this, do a theme and imageset refresh, then purge cache.
When you check it out, if not immediately updated, click refresh in your browser a few times. I have to refresh the browser twice in Fire Fox 3.0 before the changes show up.
------------------------------------------------------------------------------------
Here you all go!
Open ./styles/prosilver/template/viewtopic_body.html
Find,
Code: Select all
<!-- IF postrow.U_JABBER --><li class="jabber-icon"><a href="{postrow.U_JABBER}" onclick="popup(this.href, 550, 320); return false;" title="{L_JABBER}"><span>{L_JABBER}</span></a></li><!-- ENDIF -->
After Add,
Code: Select all
<!-- IF postrow.XBL_ID --><li class="xblmessage-icon"><a href="http://live.xbox.com/profile/MessageCenter/SendMessage.aspx?gt={postrow.XBL_ID}" target="_blank" title="{L_MESSAGE_XBL}"><span>{L_MESSAGE_XBL}</span></a></li>
<li class="xbladd-icon"><a href=http://live.xbox.com/profile/FriendsMgmt.aspx?gt={postrow.XBL_ID}&act=Add target="_blank" title="{L_ADD_XBL}"><span>{L_ADD_XBL}</span></a></li>
<li class="xblh3-icon"><a href=" http://www.bungie.net/Stats/Halo3/Default.aspx?player={postrow.XBL_ID}" target="_blank" title="{L_H3_XBL}"><span>{L_H3_XBL}</span></a></li><!-- ENDIF -->
------------------------------------------------------------------------------------
Open ./styles/prosilver/theme/buttons.css
Find,
Code: Select all
.quote-icon, .quote-icon a { background: none top left no-repeat; }
After Add,
Code: Select all
.xblmessage-icon, .xblmessage-icon a { background: none top left no-repeat; }
.xbladd-icon, .xbladd-icon a { background: none top left no-repeat; }
.xblh3-icon, .xblh3-icon a { background: none top left no-repeat; }
Find,
Code: Select all
ul.profile-icons li.warn-icon { width: {IMG_ICON_USER_WARN_WIDTH}px; height: {IMG_ICON_USER_WARN_HEIGHT}px; }
After Add,
Code: Select all
ul.profile-icons li.xblmessage-icon { width: 20px; height: 20px; }
ul.profile-icons li.xbladd-icon { width: 20px; height: 20px; }
ul.profile-icons li.xblh3-icon { width: 30px; height: 20px; }
------------------------------------------------------------------------------------
Open ./styles/prosilver/theme/colours.css
Find,
Code: Select all
.quote-icon, .quote-icon a { background-image: url("{IMG_ICON_POST_QUOTE_SRC}"); }
After Add,
Code: Select all
.xblmessage-icon, .xblmessage-icon a { background-image: url("{T_IMAGESET_PATH}/icon_message_xbl.gif"); }
.xbladd-icon, .xbladd-icon a { background-image: url("{T_IMAGESET_PATH}/icon_add_xbl.gif"); }
.xblh3-icon, .xblh3-icon a { background-image: url("{T_IMAGESET_PATH}/icon_add_h3.gif"); }
------------------------------------------------------------------------------------
Open ./language/en/mods/xbl.php
Find,
Code: Select all
//Common
$lang = array_merge($lang, array(
'XBOX_LIVE' => 'Xbox Live ID',
'XBOX_COPY' => '<div id="page-footer">Xbox Live Tag Mod © 2007 <a href="http://www.skyblueuntrust.com/">CoC</a></div>',
));
After Add,
Code: Select all
//Contact Buttons
$lang = array_merge($lang, array(
'ADD_XBL' => 'Add as Xbox Live Friend',
'MESSAGE_XBL' => 'Send Message Over Xbox Live',
'H3_XBL' => 'View Halo 3 Stats',
));
------------------------------------------------------------------------------------
Copy the images to ./styles/prosilver/imageset
./styles/prosilver/imageset /icon_add_h3.gif =

./styles/prosilver/imageset /icon_message_xbl.gif =

./styles/prosilver/imageset /icon_add_xbl.gif =
------------------------------------------------------------------------------------
Do not forget to refresh both your image sets and your theme on the style tab, then purge your cache on your general tab. Then Enjoy!
Note: to open up the button clicks in a new tab instead of a new window change the target="_blank" to target="_new", or, to just let the button navigate you away from the board, remove the target="_blank"
Edit: 10/01/08 was to replace the images, the links were dead.