Version: 1.01, by m002.p
Developer Last Online: Jun 2022
Category: Profile Enhancements -
Version: 3.7.x
Rating:
Released: 07-02-2008
Last Update: 10-25-2008
Installs: 28
Uses Plugins Template Edits Auto-Templates
Re-useable Code Additional Files
No support by the author.
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?
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:
Single line text box
Title: Xfire User ID
Field Editable by User > Yes
Save
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
Save
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)
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)
2)
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'
3)
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)
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
=.= Neither one of these templates work for me. Everything under the XFire block is in the footer. The code Replicators posted only posts an empty block.