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
  #172  
Old 11-26-2013, 08:07 AM
goarack goarack is offline
 
Join Date: Nov 2012
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how do you put the mini profile in a forum block
thanks
Reply With Quote
  #173  
Old 12-13-2013, 02:04 PM
Bestrafung Bestrafung is offline
 
Join Date: Aug 2009
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by goarack View Post
how do you put the mini profile in a forum block
thanks
I'm also working on including this in a separate location. I'm trying to add this to the profile page under the avatar. I've included the below code to the memberinfo_block_ministats template:
HTML Code:
<vb:if condition="$post['steamid']"><div class="steamprofile" title="{vb:raw post.steamid}"></div></vb:if>
It seems to be working but gets a 'No Profile ID assigned' error (after removing the if statement for testing).

I made a new plugin at member_start with the following code:
Code:
global $vbulletin;
include_once(DIR . '/includes/functions_steamconnect.php');

$steam_info = fetch_steam_info(get_user_steamid($userinfo), $vbulletin->options['stc_apikey']);

echo "$steam_info[steamid]";
This echoes the steamid to the top of the page so I know it's working so far. I'm still learning PHP and Javascript and I'd appreciate any help getting the rest of this figured out. I guess all that's left is I just need to know how to set the ProfileID variable with the steam id. I assume it's something as simple as the below bit but I just need to know what the variable is:
Code:
global $vbulletin;
include_once(DIR . '/includes/functions_steamconnect.php');

$steam_info = fetch_steam_info(get_user_steamid($userinfo), $vbulletin->options['stc_apikey']);

$ProfileID = $steam_info[steamid];
If this is wrong please let me know. I imagine this same code (once working) would work anywhere, even for the forum blocks, you just need to set the proper plugin hook.
Reply With Quote
  #174  
Old 04-14-2014, 01:41 PM
iJay iJay is offline
 
Join Date: May 2010
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi there, First off... I love this plugin.

But I cannot get it to work properly
Could you please assist me in the right direction...

I've installed it and it shows up when you post, but it's just a grey box for me.. nothing else.

Screen:

Here is also the link to my site: http://infinity-community.net/showth...test&p=1#post1

Thanks in advance,

If you prefer to contact me via email surfserverniff[at]hotmail.com
Reply With Quote
  #175  
Old 05-22-2014, 05:14 AM
LordVader!'s Avatar
LordVader! LordVader! is offline
 
Join Date: Sep 2009
Posts: 52
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by iJay View Post
Hi there, First off... I love this plugin.

But I cannot get it to work properly
Could you please assist me in the right direction...

I've installed it and it shows up when you post, but it's just a grey box for me.. nothing else.

Screen:

Here is also the link to my site: http://infinity-community.net/showth...test&p=1#post1

Thanks in advance,

If you prefer to contact me via email surfserverniff[at]hotmail.com

I had exact the same problem for a long time. this helped me out:

Quote:
Originally Posted by hakkuo23 View Post
I found a fix

Go to clientscripts/steamprofile/ajax/steamprofile.js

Open it and add the following after the commented out lines:
(function($) {

Then at the bottom of the script add the following:
})(jQuery);

That should get it working It worked for me!
Reply With Quote
  #176  
Old 05-22-2014, 05:24 AM
LordVader!'s Avatar
LordVader! LordVader! is offline
 
Join Date: Sep 2009
Posts: 52
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

everything solved, thx for the awesome support!
Reply With Quote
  #177  
Old 07-01-2014, 07:18 AM
LordVader!'s Avatar
LordVader! LordVader! is offline
 
Join Date: Sep 2009
Posts: 52
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this mod is awesome, but i'm close to losing my mind.
yesterday the profiles vanished. i've deinstalled a recent installed mod - profiles went back.

today i woke up and the profiles are gone again. without changing anything.

anyone any idea what could cause it? :x

nvm: the teamspeak 3 slider deactivated the steam profiles :x
Reply With Quote
  #178  
Old 08-15-2014, 01:32 AM
unit12stealth unit12stealth is offline
 
Join Date: Mar 2012
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can't get this to display at all. Using vB 4.2.2. Manually added the lines to the headinclude, no dice. Added the additional.css script to the very bottom of the additional.css, doesn't seem to do anything. Can't get it to appear at all.

my site: http://www.wisegamer.net

Any help would be appreciated!
Reply With Quote
  #179  
Old 09-06-2014, 09:21 AM
goc-forum.de goc-forum.de is offline
 
Join Date: Jun 2008
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I used this code to display the mini profiles in postbit_legacy and it worked fine! But the mini profil is too long...is it possible to give the mini profile a fix size?
Reply With Quote
  #180  
Old 09-06-2014, 03:15 PM
Disasterpiece's Avatar
Disasterpiece Disasterpiece is offline
 
Join Date: Apr 2007
Location: GER
Posts: 765
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by goc-forum.de View Post
I used this code to display the mini profiles in postbit_legacy and it worked fine! But the mini profil is too long...is it possible to give the mini profile a fix size?
You'd have to consult the author of the steam mini profiles tool, my vb addon only includes this 3rd party addon into the post.
Reply With Quote
  #181  
Old 09-06-2014, 09:02 PM
goc-forum.de goc-forum.de is offline
 
Join Date: Jun 2008
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok....thanks
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 01:09 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.05763 seconds
  • Memory Usage 2,349KB
  • 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
  • (3)bbcode_code
  • (2)bbcode_html
  • (4)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
  • (4)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