[Sog-team]xFire Custom Profile Block
This modification is in the archives.
What is it?
This mod will allow you to have an extra "module" on user profile pages which will display a xfire status block with a miniprofile link and option to add the user to your contacts list. Demo? http://www.sog-team.co.uk/forum/member.php?u=539 See right hand side of profile page. Installation Instructions: 1) First add a new profile field if not already present, where the user can add their xfire user id. Code:
"Admin CP > User Profile Fields > Add new user profile field" Code:
Single line text box Title: Xfire User ID Field Editable by User > Yes 2) Now add another profile field again if not already done so previously. This will be the style options. Code:
Single Line Selection Menu Title: xFire Profile Style Options: sh, co, sf, os, wow, bg (Separate by carriage return) Field Editable by User > Yes 3) Upload the attached image to forum/images 4) Upload the attached product xml 5) Now edit template "memberinfo_block_xfire" for the relevant styles For all instances of $userinfo[fieldxx], replace "xx" with the number of the field ID for your xfire user ID entry field created. For the one instance of $userinfo[field00], replace "00" with the field ID of your xfire style selection profile field (the second one we created in this tutorial) Save the template. 6) COMPLETE ------------------------------------------------------------------------------------------------------------------- Display Options Now although it seems as if this mod may only be displayed on the right hand side as shown in the demo, you may actually change its order or have it displayed in a new tab on the left if required (as there can be some problems with the image sizing when as a block on the right) All you have to do is this. 1) Go Code:
Admin CP > Products & Plugins > Plugin Manager > Xfire Profile Hack Edit the plugin, ensure it is set as a product for "vbulletin", then edit the PHP code to find: Code:
'hook_location' => 'profile_right_mini' Now change "profile_right_mini" with any of the following explained options: Code:
'profile_left_first' (Will be displayed first in front of "Visitor Messages") 'profile_left_last' (Will be located last in the tabs after "Contact Info") 'profile_right_first' (Will be located first / top on the right) 'profile_right_mini' (Will be located after the mini stats block) 'profile_right_album' (Will be located after the albums block) 'profile_right_last' (Last block on right hand side) -------------------------------------------------------------------------------------------------------------------- UPGRADE: Please just import the new product XML, and ensure you click "overwrite" to YES! ------------------------------------------------------------------------------------------------------------------- Please INSTALL this modification should you use it for notification of the future releases! Planned Future Updates: Alternate TAB template for users wanting to display as a tab Intergrated vbulletin admincp options BB Code addition for users to distribute their sig Version Tracker: Version 1.0: Initial Release Version 1.1: Fixed Product XML Download
This modification is archived, downloads are still allowed. Addons Supporters / CoAuthors
Screenshots |
Similar Mods
Add-On Releases [Sog-team]xFire in Postbit Hack [Add On] | vBulletin 3.7 Add-ons |