Thread: Profile Enhancements - [Sog-team]xFire Custom Profile Block
View Single Post
  #5  
Old 07-04-2008, 04:49 AM
m002.p's Avatar
m002.p m002.p is offline
 
Join Date: Jan 2007
Location: Worcester
Posts: 240
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Jeordie015 View Post
Shouldn't the style options be a single selection menu?

Also, you might want to resize the image you attached since we have to resize it using code to fit in the block. The image gets distorted when you do that.

Edit again: Actually, both images have to be resized via code, distorting them.

Edit 3: It still shows the block in the profile if you don't put anything in the profile field.
Correct. Sorry last night I was tired and probably should have released this mod today.

Basically both images have to be resized if used as a module on the right hand side. I will attach a better xfire logo later, but regarding the actual miniprofile, there is little possible to do bar manually adjust its size like ive done in the template SRC.

However, you are not restricted to use this mod only in the right hand side. You may use it in various locations, even as a new tab next to "Visitor Messages", "Friends", "About Me" etc should you wish.

Simply edit the member_info_xfire template and remove the
Code:
width="230" height="63"
from the miniprofile SRC.

Now go
Code:
ADMIN CP > Plugin Manager > xFire Profile Hack
Ensure the product is "vbulletin" for starters, and secondly in the PHP code find:
Code:
'hook_location' => 'profile_right_mini'
You may adjust the "profile_right_mini" to any of the following parameters:

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

Hope that helps, and sorry about the problems experienced. Ive updated the mod as above.

Matt
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01291 seconds
  • Memory Usage 1,768KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • 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
  • showpost_complete