![]() |
Steam Mini Profiles (For Steam Connect)
1 Attachment(s)
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{ 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 |
But how can I move it? It's before post - but I would like to get it after post and aligned to right.
Thanks! |
Quote:
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 --> HTML Code:
<div class="steamprofile" title="{vb:raw post.steamid}"></div> Add this to the template somewhere: Code:
div.steamprofile{ That's it! |
You are fast!
Thanks a lot! :) |
doesnt display the miniprofile...
i went and disabled the plugin hook ' Admincp > Plugins, deactivate the plugin "add steam profile" in hook "postbit_display_start". ' and i check the source of the html... it is where it needs to be, but it doesnt display... any ideas? ps. steam connect works 100% |
Quote:
It should appear within the head-tags of your template. If it doesn't, you need to include the following line in your headinclude template manually: HTML Code:
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> |
its there... have looked around at all the settings, still no idea... all the files are in the right folders.. steam connect is 100% all settings look 100%.
http://www.wkaclan.com/ if you want to peak at the source. (youll only be able to see the news section, which should be enough to see the source of a page with it on it) |
iv also tried it with this on and off
Quote:
|
The plugin Add steamprofile should remain active.
It seems you're missing jquery. What does the setting "Skip JQuery" say in your admincp > steam mini profile settings? |
works now, thanks
|
I get Invalid profile data. any one know why?
|
Quote:
|
Quote:
yeah I chmod it to 777 but still getting the same problem http://forum.builtforsin.org/showthr...-Through-STEAM! |
Quote:
If so, take a look in the steam_link field in the vb_users table and send me a few values per PM from users where the mini profile is not working. |
What code do I use to manually add the code so I can move the mini-profile to a different template or position?
Small bug report: When viewing a private message, at the message of someone else that I'm viewing, it shows the steam information of my own, not of the person that messaged me. |
Quote:
Quote:
|
Well, the mini-profile shows it within the legacy template. But the problem is that the thread icon is in the way (in my opinion) and it fills up some space. Perhaps I wanted to add it in the user profile information at the left within posts rather than above the title of the thread.
But when I remove the icons from the template's code, it also removes the small black line as well which is shown just below the thread's and replies icon which I don't want. Hence I'd like the steam mini-profile's template code so I can add it on different places. EDIT: Can users make their own steam-mini profile private so it won't display within threads? Also, I think the mini-profile should be hidden if it displays this text: Quote:
|
For some reason all we are getting is grey boxes were the steam profile should be... Any idea on what might be causing this?
|
Same here I think Steam changed something... Disasterpiece could you please update the code for this?
|
Right at it, give me a few days please...
|
Quote:
Quote:
|
What is the raw code so I can replace the mini-steam profile on a different place within the postbit?
|
Quote:
http://mfc4life.com/showthread.php?32 Also note that for testing purposes its currently only installed on "Darkness" |
Yes am still having issues with this working...
|
Quote:
Works in my forum without changing a line of code. |
this is still a problem on my site also....
http://mfc4life.com/showthread.php?2...e-autoexec.cfg |
Quote:
|
I've already enabled that option.
For good measure I disabled it check and re-enabled. |
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. |
1 Attachment(s)
Quote:
Go into the "add steam profile" plugin hook, and for the PHP code simply change: PHP Code:
PHP Code:
Oh yeah, and awesome mod. Thanks! |
Ah cool, looks nice btw :)
|
Love these mods, great work!!!
I have a small issue the mini profile. It displays "BCMath extension required" in the mini display http://reactgaming.net.au/showthread...allenge-react-next i think this will be something simple though i have scoured these mod pages to no avail. Cheers in advance |
Well, BCMath is a math php extension, you can find it here: http://www.php.net/manual/en/book.bc.php
Installing it should solve the problem. However, I don't recall any functions the vbulletin mod is using, maybe the code from barracuda's original steam mini profiles tool requires this somehow. Do you have an older php version than 5.2? |
Not sure on the php version, contacted host and they enabled BCMATH extensions. Used a repository in LINUX? Apparently I was very lucky :/
Love the mod :) |
"No profile ID assigned"
Anyway to hide if members get this? Plus, how do you hide the SteamID profile from even being shown to members that don't want to show it to the public? |
Quote:
|
Hey DP. I'm getting the "Invalid profile data." on my test site on another server. It works great on the other site but I can't figure out why it's not working on this site. I had to check no for Skip JQuery Inclusion on this site and the other site is set the same.
|
Oh, hey, if you would like a vB 4.1.7 suit to test and work with I will hook you up with my test site to use for working on your mods.
|
Quote:
Quote:
|
What would I need to do/change to get this to work in the Member's Profile. I specifically want it to show above the tabs (visitor messages, about me..etc). I placed the code manually where I want it in "MEMBERINFO" but gives me "No Profile ID assigned".
This is code by Steam Connect used to show in postbit... PHP Code:
Quote:
|
All times are GMT. The time now is 07:19 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|