vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Add-On Releases - Steam Mini Profiles (For Steam Connect) (https://vborg.vbsupport.ru/showthread.php?t=266884)

goarack 11-26-2013 08:07 AM

how do you put the mini profile in a forum block
thanks

Bestrafung 12-13-2013 02:04 PM

Quote:

Originally Posted by goarack (Post 2463797)
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.

iJay 04-14-2014 01:41 PM

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: https://vborg.vbsupport.ru/external/2014/05/17.png

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

LordVader! 05-22-2014 05:14 AM

Quote:

Originally Posted by iJay (Post 2493113)
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: https://vborg.vbsupport.ru/external/2014/05/17.png

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 (Post 2368177)
I found a fix :D

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!


LordVader! 05-22-2014 05:24 AM

everything solved, thx for the awesome support! :)

LordVader! 07-01-2014 07:18 AM

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

unit12stealth 08-15-2014 01:32 AM

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!

goc-forum.de 09-06-2014 09:21 AM

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?

Disasterpiece 09-06-2014 03:15 PM

Quote:

Originally Posted by goc-forum.de (Post 2513947)
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.

goc-forum.de 09-06-2014 09:02 PM

ok....thanks :)


All times are GMT. The time now is 09:59 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.01158 seconds
  • Memory Usage 1,746KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)bbcode_html_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete