Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

Reply
 
Thread Tools
Steam Mini Profiles (For Steam Connect) Details »»
Steam Mini Profiles (For Steam Connect)
Version: 1.1, by Disasterpiece Disasterpiece is offline
Developer Last Online: Oct 2019 Show Printable Version Email this Page

Category: Add-On Releases - Version: 4.1.4 Rating:
Released: 07-14-2011 Last Update: 05-13-2012 Installs: 95
Uses Plugins Auto-Templates
Additional Files  
No support by the author.

This Addon displays a Mini Steam Box in the postbit template.

It requires the Steam Connect Addon to find the according Steam ID.
It's a vbulletin-implementation of Barracuda's SteamProfile Plugin.


INSTALL

1) Upload all the files inside "upload" directory to their respective locations

2) CHMOD directory "clientscript/steamprofile/cache" to 777

3) Import the product xml file as an Addon inside your AdminCP

4) Navigate to Settings > "Steam Mini Profile Settings" and configure the product to fit your needs.

BASIC STYLING

The best idea is to use it in the upper right corner of the postbit. You can accomplish this by adding this CSS to your CSS > additional.css template:

Code:
div.steamprofile{
float:right;
display:block;
z-index:300;
}
If you want to place it at any other position inside the postbit* template, follow the instructions in this post: https://vborg.vbsupport.ru/showpost....70&postcount=3
Just place the following part anywhere you like the profile to appear:
HTML Code:
<vb:if condition="$post['steamid']"><div class="steamprofile" title="{vb:raw post.steamid}"></div></vb:if>

See Upgrade Notes for Upgrade v1.0 -> v1.1

Download Now

File Type: zip stc_vbminiprofile.zip (49.0 KB, 483 views)
File Type: zip stc_vbminiprofile_v1.1.zip (733.1 KB, 794 views)

Screenshots

File Type: jpg scr3.JPG (65.2 KB, 0 views)
File Type: jpg scr6.jpg (46.1 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
3 благодарности(ей) от:
7emper5i, Garrey, vosur

Comments
  #22  
Old 09-06-2011, 05:04 PM
Disasterpiece's Avatar
Disasterpiece Disasterpiece is offline
 
Join Date: Apr 2007
Location: GER
Posts: 765
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by wtfaatp View Post
For some reason all we are getting is grey boxes were the steam profile should be... Any idea on what might be causing this?
Quote:
Originally Posted by CoZmicShReddeR View Post
Same here I think Steam changed something... Disasterpiece could you please update the code for this?
Anyone still having trouble with this? For some reason, all my boxes seem to work again in my forums, so this might have been a short steam-related issue.
Reply With Quote
  #23  
Old 09-06-2011, 08:34 PM
Skyrider Skyrider is offline
 
Join Date: Feb 2006
Location: Netherlands
Posts: 1,392
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What is the raw code so I can replace the mini-steam profile on a different place within the postbit?
Reply With Quote
  #24  
Old 09-09-2011, 11:20 PM
wtfaatp wtfaatp is offline
 
Join Date: Jan 2011
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Disasterpiece View Post
Anyone still having trouble with this? For some reason, all my boxes seem to work again in my forums, so this might have been a short steam-related issue.
Yes i'm still having this problem... Here is a link to my forums if you would like to view.
http://mfc4life.com/showthread.php?32


Also note that for testing purposes its currently only installed on "Darkness"
Reply With Quote
  #25  
Old 09-24-2011, 02:48 PM
CoZmicShReddeR's Avatar
CoZmicShReddeR CoZmicShReddeR is offline
 
Join Date: Sep 2006
Location: MI, USA
Posts: 338
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes am still having issues with this working...
Reply With Quote
  #26  
Old 09-24-2011, 04:51 PM
Disasterpiece's Avatar
Disasterpiece Disasterpiece is offline
 
Join Date: Apr 2007
Location: GER
Posts: 765
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by CoZmicShReddeR View Post
Yes am still having issues with this working...
Could you send me a link to your forum?
Works in my forum without changing a line of code.
Reply With Quote
  #27  
Old 09-24-2011, 06:56 PM
wtfaatp wtfaatp is offline
 
Join Date: Jan 2011
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this is still a problem on my site also....
http://mfc4life.com/showthread.php?2...e-autoexec.cfg
Reply With Quote
  #28  
Old 09-25-2011, 07:17 AM
Disasterpiece's Avatar
Disasterpiece Disasterpiece is offline
 
Join Date: Apr 2007
Location: GER
Posts: 765
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by wtfaatp View Post
this is still a problem on my site also....
http://mfc4life.com/showthread.php?2...e-autoexec.cfg
According to your sourcecode, you linked jquery 2 times. Try to enable the option "skip jquery inclusion" in the admincp > settings > Steam Mini Profiles
Reply With Quote
  #29  
Old 09-25-2011, 04:42 PM
wtfaatp wtfaatp is offline
 
Join Date: Jan 2011
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've already enabled that option.

For good measure I disabled it check and re-enabled.
Reply With Quote
  #30  
Old 09-25-2011, 05:58 PM
Disasterpiece's Avatar
Disasterpiece Disasterpiece is offline
 
Join Date: Apr 2007
Location: GER
Posts: 765
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Then I suppose, you have the js inclusions from an older installation of steam miniprofile left, I can see the steamprofile.*.js being included twice and jquery being included three times.

You should fix your headinclude organization first.
Reply With Quote
  #31  
Old 09-27-2011, 07:28 PM
mfowler70 mfowler70 is offline
 
Join Date: Apr 2004
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Disasterpiece View Post
Hi

First, go to Admincp > Plugins, deactivate the plugin "add steam profile" in hook "postbit_display_start".

Then you navigate to Styles > Templates > Postbit > postbit/postbit_legacy (depends on what you're using)

Find:
HTML Code:
<!-- / attachments -->
					</vb:if>
Below, add:
HTML Code:
<div class="steamprofile" title="{vb:raw post.steamid}"></div>
That's it!
Tried this, and although it works, I wasn't happy with the results since it also shows the block for users who haven't linked their Steam account. But there's a much easier method.

Go into the "add steam profile" plugin hook, and for the PHP code simply change:

PHP Code:
if ($steam_id get_user_steamid($user_info))
$template_hook['postbit_messagearea_start'] .= '<div class="steamprofile" title="'.$steam_id.'"></div>'
To this:

PHP Code:
if ($steam_id get_user_steamid($user_info))
$template_hook['postbit_userinfo_right'] .= '</div><div class="steamprofile" title="'.$steam_id.'"></div><div>'
Notice the extra DIV tags in the replacement code. This places the block directly under the Join Date/Location/Post Count part of the Userinfo section in the postbit. Your mileage may vary if using postbit_legacy as I don't use that.

Oh yeah, and awesome mod. Thanks!
Attached Images
File Type: png steambit.png (14.7 KB, 0 views)
Reply With Quote
Reply

Thread Tools

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 10:33 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.11766 seconds
  • Memory Usage 2,355KB
  • Queries Executed 26 (?)
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
  • (1)bbcode_code
  • (3)bbcode_html
  • (2)bbcode_php
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (3)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (5)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete