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
  #82  
Old 07-10-2012, 10:33 AM
Disasterpiece's Avatar
Disasterpiece Disasterpiece is offline
 
Join Date: Apr 2007
Location: GER
Posts: 765
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by thecore762 View Post
Question Disaster,
I am not sure why the steam mini profile is showing 2x.
There is a plugin which adds the steam badge autonomously to the postbit template.
If you add the steambadge in your postbit template manually, you need to disable said plugin:



Or if you're ok with the position, just skip the template edit part and just leave this plugin activated.

Quote:
Originally Posted by thecore762 View Post
also is there a way to hide the bar if a user doesn't have steam linked to their account?
It already works like this in the plugin way.
Reply With Quote
  #83  
Old 07-10-2012, 09:31 PM
thecore762 thecore762 is offline
 
Join Date: Jul 2008
Posts: 510
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Disaster,
Code:
div.steamprofile{
float:right;
display:block;
z-index:300;
}
When I use that in additional.css it doesn't line up to the top right, it lines up in the bottom right.
Is there a way for me to fix this?
Reply With Quote
  #84  
Old 07-11-2012, 10:06 PM
thecore762 thecore762 is offline
 
Join Date: Jul 2008
Posts: 510
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@Disasterpiece, some issues:

http://www.webpagetest.org/result/12...4MF/1/details/
Showing as: http://edge.47r-squad.com/clientscri...le/ajax/themes//style.css
should be http://edge.47r-squad.com/clientscri...e/ajax/themes/steam/style.css

Anyway for this to be fixed is users are using a CDN?
Reply With Quote
  #85  
Old 07-21-2012, 07:15 AM
Jncocontrol's Avatar
Jncocontrol Jncocontrol is offline
 
Join Date: Mar 2009
Location: St.louis
Posts: 95
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I keep getting "No API Key specified, please correct!"
Reply With Quote
  #86  
Old 07-21-2012, 12:19 PM
Disasterpiece's Avatar
Disasterpiece Disasterpiece is offline
 
Join Date: Apr 2007
Location: GER
Posts: 765
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Jncocontrol View Post
I keep getting "No API Key specified, please correct!"
Did you set an API key in the AdminCP?
Reply With Quote
  #87  
Old 07-30-2012, 05:19 PM
jldrake jldrake is offline
 
Join Date: Jul 2010
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Where can you allow people to use there Steam avatar, on vbulletin.

I got this working fine on 2 forums, On here it shows up blank a grey box for all users...
I, CHMOD directory "clientscript/steamprofile/cache" to 777

I deletd everything in the cache folder, now nothing seems to be posting in there.

Turning on Skip JQuery Inclusion, made the box go away completely.


http://www.preytech.com/forum/showth...ech-Gaming-amp


I see:

</script>
<script type="text/javascript" src="http://www.preytech.com/forum/clientscript/vbulletin-core.js?v=420"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script type="text/javascript" src="http://www.preytech.com/forum/clientscript/steamprofile/ajax/steamprofile.js"></script>

You said in a previous post:
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script type="text/javascript" src="http://www.example.com/forum/clientscript/steamprofile/ajax/steamprofile.min.js"></script>

Seems to be different: steamprofile.min.js">

Which is slightly different. I tried putting that in heaaderinclude with no luck.


I put it on the same host on this site with no issues.:
http://www.boomgaming.net/forums/sho...ate-07-30-2012
Reply With Quote
  #88  
Old 08-01-2012, 02:19 PM
Hitman235234532 Hitman235234532 is offline
 
Join Date: Nov 2010
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello, I kinda have the same problem. Well I enabled CHMOD 777 on those folders, I've tried with the "Skipe JQuery" on and the box disapeared.

It gives me this error in the box: Invalid profile data.

I don't know now, please help.
Reply With Quote
  #89  
Old 08-04-2012, 03:51 AM
Disasterpiece's Avatar
Disasterpiece Disasterpiece is offline
 
Join Date: Apr 2007
Location: GER
Posts: 765
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jldrake View Post
Where can you allow people to use there Steam avatar, on vbulletin.

I got this working fine on 2 forums, On here it shows up blank a grey box for all users...
I, CHMOD directory "clientscript/steamprofile/cache" to 777

I deletd everything in the cache folder, now nothing seems to be posting in there.

Turning on Skip JQuery Inclusion, made the box go away completely.


http://www.preytech.com/forum/showth...ech-Gaming-amp


I see:

</script>
<script type="text/javascript" src="http://www.preytech.com/forum/clientscript/vbulletin-core.js?v=420"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script type="text/javascript" src="http://www.preytech.com/forum/clientscript/steamprofile/ajax/steamprofile.js"></script>

You said in a previous post:
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script type="text/javascript" src="http://www.example.com/forum/clientscript/steamprofile/ajax/steamprofile.min.js"></script>

Seems to be different: steamprofile.min.js">

Which is slightly different. I tried putting that in heaaderinclude with no luck.


I put it on the same host on this site with no issues.:
http://www.boomgaming.net/forums/sho...ate-07-30-2012
Hi

Yes this is weird, I get a javascript error when visiting your site:


Code:
Zeitstempel: 04.08.2012 06:44:42
Fehler: TypeError: profileTpl.find("img").attrAppend is not a function
Quelldatei: http://www.preytech.com/forum/clientscript/steamprofile/ajax/steamprofile.js
Zeile: 200
Not sure what this means tbh, I only bundle the steam mini profiles mod, I'm not the original author. I'll contact him tho and will report back if anything comes up.

Quote:
Originally Posted by Hitman235234532 View Post
Hello, I kinda have the same problem. Well I enabled CHMOD 777 on those folders, I've tried with the "Skipe JQuery" on and the box disapeared.

It gives me this error in the box: Invalid profile data.

I don't know now, please help.
Invalid profile data usually refers to a bad/nonfunctional connection to the steam community servers.
Things that may cause this:
- Steam community is down right now. Does this still appear after a few days waiting?
- some kind of host restriction that your webhost scripts aren't allowed to pull data from other websites? Maybe if you're using a very huge forum and the number of queries is extremely high?

Otherwise, regarding the cache directory, it should be enough to set the directory to CHMOD 777:
Code:
forum/clientscript/steamprofile/cache
Reply With Quote
  #90  
Old 08-05-2012, 07:51 PM
jldrake jldrake is offline
 
Join Date: Jul 2010
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I fixed the error: some reason I had Jquery twice, once I removed the 2nd link it worked fine.

A suggestion was given:
I'm not sure if that's the reason, but in your first site, you're loading jQuery 1.4.0 and jQuery 1.4.2 at the same time. I would recommend to remove the link to 1.4.0 to avoid conflicts.

Avatar:
Allow vbulletin user to set avatar as there steam avatar? How do I do this?
Or is there a setting to make it automatically do it?
Where can you allow people to use there Steam avatar, on vbulletin.
Reply With Quote
  #91  
Old 08-05-2012, 09:32 PM
Disasterpiece's Avatar
Disasterpiece Disasterpiece is offline
 
Join Date: Apr 2007
Location: GER
Posts: 765
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jldrake View Post
I fixed the error: some reason I had Jquery twice, once I removed the 2nd link it worked fine.

A suggestion was given:
I'm not sure if that's the reason, but in your first site, you're loading jQuery 1.4.0 and jQuery 1.4.2 at the same time. I would recommend to remove the link to 1.4.0 to avoid conflicts.
That's actually what the option "skip jquery inclusion" is for. Weird that it didn't work for you..

Quote:
Originally Posted by jldrake View Post
Avatar:
Allow vbulletin user to set avatar as there steam avatar? How do I do this?
Or is there a setting to make it automatically do it?
Where can you allow people to use there Steam avatar, on vbulletin.
Steam avatars are already available in the postbit templates as 3 different sizes:

Code:
{vb:raw post.steamavatarfull}
{vb:raw post.steamavatarmedium}
{vb:raw post.steamavatar}
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 05:48 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.05782 seconds
  • Memory Usage 2,347KB
  • 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
  • (5)bbcode_code
  • (1)bbcode_html
  • (7)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