Right now I have a 'Players List' (member's list). Its got all of the normal things etc - but I want to add a column titled 'Xbox Live' and have the code from a little "hack" I released appear underneath (they look just like the IM buttons). Here is the postbit modification:
Quote:
Open Admin CP/Styles and Templates/Edit Templates/Postbit Templates/Postbit_Legacy or Postbit
Find
Code:
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]
Insert immediately after:
Code:
<!-- Xbox Live Icon by Bluestrike2 of the MLGPwnCast.com and MLGTeams.com -->
<if condition="$post[field5]"><a id="gamertagmenu_$post[postid]" href="#" title="View Xbox Live! profile for $post[musername]"><img src="$stylevar[imgdir_misc]/im_xbl.gif" border="0" /></a><script type="text/javascript"> vbmenu_register("gamertagmenu_$post[postid]", true); </script><div class="vbmenu_popup" id="gamertagmenu_$post[postid]_menu" style="display:none"><iframe src="http://gamercard.xbox.com/$post[field5].card" scrolling="no" frameBorder="0" height="140" width="204">$post[field5]</iframe> </div> </if>
<!-- /Xbox Live Icon by Bluestrike2 of the MLGPwnCast.com and MLGTeams.com -->
<!-- Halo 2 Stats Icon by Bluestrike2 of the MLGPwnCast.com and MLGTeams.com-->
<if condition="$post[field5]"><a href="http://www.bungie.net/Stats/PlayerStats.aspx?player=$post[field5]" title="View Halo 2 Stats for $post[musername]"><img src="$stylevar[imgdir_misc]/im_h2.gif" border="0" /></a></if>
<!-- /Halo 2 Stats Icon by Bluestrike2 of the MLGPwnCast.com and MLGTeams.com --></div>
|
Basically, I'd just like to have these appear on the member's list, but make sure that the javascript popup still works, while in a new column called "Xbox Live."
Do you have any suggestions?