Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
[Sog-team]xFire Custom Profile Block Details »»
[Sog-team]xFire Custom Profile Block
Version: 1.01, by m002.p m002.p is offline
Developer Last Online: Jun 2022 Show Printable Version Email this Page

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?


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"
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)

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
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)
4) Done

--------------------------------------------------------------------------------------------------------------------
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

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 12-02-2008, 09:28 PM
nightbloom's Avatar
nightbloom nightbloom is offline
 
Join Date: Mar 2008
Location: Whidbey Island, WA
Posts: 145
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

=.= 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.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:22 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03940 seconds
  • Memory Usage 2,214KB
  • Queries Executed 17 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (6)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (2)post_thanks_box
  • (2)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit_info
  • (1)postbit
  • (2)postbit_onlinestatus
  • (2)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete