Xbox Headset in postbit.
What this does: Allows users to choose from a list of headsets then allows it to show in their postbit legacy.
This mod should only take a few minuets to install There are a few headsets available in the attached zip file. I used the most common ones for my community as well as the new Call of Duty MW3 headsets. There is also a no headset image containing a headset with a red ring/slash around it. They are saved in png 24 with a transparent background. You can add headsets as you need them. I should not have to tell you to BACK UP YOUR FORUM before making any changes! Step 1: Upload the zip file to your images folder and unzip. Step 2: Create a new User Profile Field Choose Single selection Menu Call it "Headset" (Optional) You can show a version of the available headsets below the dropdown menu as well as a forum link for members to request headsets that are not listed by pasting the following in the profile field description. Be sure to update the link to point to a forum on your site... Code:
Please choose your Primary Headset from the drop down list above. If you do not see yours listed please request them <a href="www.yoursite.com/your_forum_for_requests">here. </a> <br/> <img src="images/headsets/No-Headset.png" alt="No-Headset" /> <img src="images/headsets/Stock-Headset.png" alt="Stock-Headset" /> <img src="images/headsets/Microsoft-Wireless.png" alt="Microsoft-Wireless" /> <img src="images/headsets/Halo3-Wireless.png" alt="Halo3-Wireless" /> <img src="images/headsets/Halo-Reach-Wireless.png" alt="Halo-Reach-Wireless" /> <img src="images/headsets/XLC.png" alt="XLC"/> <img src="images/headsets/X1.png" alt="X1"/> <img src="images/headsets/X11.png" alt="X11"/> <img src="images/headsets/X31.png" alt="X31"/> <img src="images/headsets/X41.png" alt="X41"/> <img src="images/headsets/DX11.png" alt="DX11"/> <img src="images/headsets/Black-Ops-Tritons.png" alt="Black-Ops-Tritons"/> <img src="images/headsets/AX-180.png" alt="AX-180"/> <img src="images/headsets/AX-720.png" alt="AX-720"/> <img src="images/headsets/MW3-Bravo.png" alt="MW3-Bravo"/> <img src="images/headsets/MW3-Charlie.png" alt="MW3-Charlie"/> <img src="images/headsets/MW3-Delta.png" alt="MW3-Delta"/> <img src="images/headsets/MW3-Foxtrot.png" alt="MW3-Foxtrot"/> Paste the following into the profile fields options (Be sure there is a carriage return after each choice) Code:
No-Headset Stock-Headset Microsoft-Wireless Halo3-Wireless Halo-Reach-Wireless XLC X1 X11 X31 X41 DX11 Black-Ops-Tritons AX-180 AX-720 MW3-Bravo MW3-Charlie MW3-Delta MW3-Foxtrot Make note of the field# for the profile field you just created as you are going to need this later Step 4: Admincp->Styles & Templates->Style Manager and choose edit templates from the dropdown menu of any or all parent styles you wish to edit. Locate your postbit_legacy template and find Code:
<vb:if condition="$show['avatar']"> <a class="postuseravatar" href="{vb:link member, {vb:raw post}}" title="{vb:rawphrase {vb:raw post['onlinestatusphrase']}, {vb:raw post.username}}"> <img src="{vb:raw post.avatarurl}" alt="{vb:rawphrase xs_avatar, {vb:raw post.username}}" title="{vb:rawphrase xs_avatar, {vb:raw post.username}}" /> </a> </vb:if> Code:
<!-- Headset in postbit --> <vb:if condition="$post['fieldx']"> <img src="images/headsets/{vb:raw post.fieldx}.png" alt="{vb:raw post.fieldx}"> </vb:if> <!-- End Headset in postbit --> You may choose to place your code somewhere else in your postbit legacy to suit your needs but I found I like this location the best. Download
headsets.zip (157.7 KB, 26 downloads) Screenshots |
Similar Mods
Show Thread Enhancements XBOX gamercard and NXE avatar in postbit | vBulletin 3.7 Template Modifications |
Miscellaneous Hacks Show Your XBOX 360 Gamertag as your Avatar in Postbit | vBulletin 3.6 Add-ons |
Xbox User Space postbit addon | vBulletin 3.6 Template Modifications |