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)

Disasterpiece 07-15-2013 07:50 AM

Writing permissions are mostly straightforward but it depends which user it actually is who creates the file. So maybe you uploaded it with different users? ftp/webserver user are usually separated or your provider changed the default permission mask.

Either way, glad you solved your issue :)

Disasterpiece 07-15-2013 07:51 AM

Quote:

Do you have a means show the top frame without distorting the forum?
I have tried many placements it but there is nothing there either distorts the area of ​​the post or the forum?
The button has a unique css class. If you apply float:right / float:left to it, it looses its collision box and you can place it freely via position: relative; top/bottom/left/right: value-in-px

CoZmicShReddeR 07-15-2013 02:04 PM

I was just stating the fact and am sure a lot of people who get the blank squares and have everything working fine could be do to the fact the style part isn't working correctly...

But yes my cache defaulted to 705 without me doing anything and it works fine.

iJay 08-12-2013 07:16 AM

Hey guys,

I've used this plugin before and have since re-installed my forums and decided to re-install this plugin, Now I am having the following issue.

Originally, my mini profile would show just fine, now it's saying the following: Invalid Profile Data.

I've tried re-installing the product on many occasions and replacing all files, I've also CHMOD'd the steamprofile folder to 777, still no luck..

Any ideas would be great!
Screenie: http://i.imgur.com/7lelwyQ.png

Regards,

EDIT: Link to forums - http://forums.illusivegaming.net/

iJay 08-21-2013 12:07 PM

Can anyone please help me???

Replicators 08-27-2013 08:14 PM

I am just gonna say this mod needs a update, or the coding needs a look through because this is hard to get set right.

CoZmicShReddeR 08-27-2013 11:39 PM

Quote:

Originally Posted by Replicators (Post 2441505)
I am just gonna say this mod needs a update, or the coding needs a look through because this is hard to get set right.

That's not saying a whole lot...

Describe your issue with a bit more detail , Provide an error or Screenshot and or what's your Forums or link to site..

I say link site because sometimes the coder will look at your website source code to see if all the scripts are loading properly...

With me it was just added the following to the Headinclude for the style that fixed my issue...

Code:

<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>


Replicators 09-15-2013 03:21 PM

<a href="https://vborg.vbsupport.ru/showpost.php?p=2368177&postcount=97" target="_blank">https://vborg.vbsupport.ru/showp...7&postcount=97</a>

This seems to do the trick for me.

LordVader! 10-04-2013 10:09 PM

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!

100 points for this.

Finally the problem i had is fixed. Good job man!

Archerus 11-01-2013 02:29 PM

Quote:

Originally Posted by Disasterpiece (Post 2428729)
You have 3 different jquery inclusions and 2 different steamprofile.js inclusions.

Maybe you should clean up your header...


The error arose from a refresher zeros site ...
The block remains gray without information ....


Cordialy,

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 :)

Diipisx 01-03-2015 08:27 AM

Hey, Im trying to see witch member link his steam, there is any var for this?
thanks.

Guardian Hope 04-13-2015 03:56 PM

I've been using this in the postbit_legacy template and it works great on 4.2.2 PL4 with one exception: any of the "quick" options like "quick reply" or "edit" result in the user whose doing the quick reply or editing not having their Steam mini profile load. It just draws the grey box empty.

Any solution to this?

Brakedirt 01-18-2016 01:08 AM

Quote:

Originally Posted by thecore762 (Post 2346792)
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?

For me works perfect in 4.2.3, but I cannot get it to the right, have try it all.:confused:

MavRicTWL 03-29-2016 02:17 PM

My site is https://teamwarfare.com and this mod is not calling the style.css. Could it be because I'm behind SSL? I have a dev site without SSL and this mod works. I've tried uninstalling this mod and steamconnect and re-installed but I've had no luck.

Disasterpiece 03-29-2016 02:44 PM

Quote:

Originally Posted by MavRicTWL (Post 2568177)
My site is https://teamwarfare.com and this mod is not calling the style.css. Could it be because I'm behind SSL? I have a dev site without SSL and this mod works. I've tried uninstalling this mod and steamconnect and re-installed but I've had no luck.

This gives me a 404, maybe that's the issue?

https://teamwarfare.com/clientscript...profile.min.js

MavRicTWL 03-29-2016 02:58 PM

Un-installed and re-installed 1.0 then installed 1.1 and no luck.

Disasterpiece 03-29-2016 03:00 PM

Can you give me a link to a post where the badge should appear but doesn't?

Disasterpiece 03-29-2016 03:02 PM

1 Attachment(s)
Also, yes, the https is definitely the problem.

Attachment 154601

MavRicTWL 03-29-2016 03:03 PM

<a href="https://teamwarfare.com/showthread.php?958-Happy-Easter" target="_blank">https://teamwarfare.com/showthread.php?958-Happy-Easter</a>

Try that one. You should see it without registering.

MavRicTWL 03-29-2016 03:11 PM

Is there a workaround?

Disasterpiece 03-29-2016 04:14 PM

You can go through the code and change the url from http://.../somsecript to //...somescript

like here: http://www.paulirish.com/2010/the-pr...-relative-url/

deadlyruler 08-24-2019 03:58 PM

Hello, the class steamprofile is being loaded inside of my postbit legacy template, but is not actually displaying anything. Any ideas?


All times are GMT. The time now is 02:35 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
  • Page Generation 0.01348 seconds
  • Memory Usage 1,819KB
  • 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
  • (4)bbcode_code_printable
  • (1)bbcode_html_printable
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (32)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