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?
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"Use the following options:
2)
Now add another profile field again if not already done so previously. This will be the style options.
3)
Upload the attached image to forum/images
4)
Upload the attached product xml
5)
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 Hack2)
Edit the plugin, ensure it is set as a product for "vbulletin", then edit the PHP code to find:
-------------------------------------------------------------------------------------------------------------------
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
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?
Code:
http://www.sog-team.co.uk/forum/member.php?u=539
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"Use the following options:
Code:
Code:
Single line text box
Title: Xfire User ID
Field Editable by User > YesSave
Now add another profile field again if not already done so previously. This will be the style options.
Code:
Code:
Single Line Selection Menu
Title: xFire Profile Style
Options: sh, co, sf, os, wow, bg (Separate by carriage return)
Field Editable by User > YesSave
Upload the attached image to forum/images
4)
Upload the attached product xml
5)
Code:
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.
-------------------------------------------------------------------------------------------------------------------
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 Hack2)
Edit the plugin, ensure it is set as a product for "vbulletin", then edit the PHP code to find:
Code:
Code:
'hook_location' => 'profile_right_mini'3)
Now change "profile_right_mini" with any of the following explained options:
Code:
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)4) Done
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