vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Mini Mods - SteamProfile Integration (https://vborg.vbsupport.ru/showthread.php?t=231081)

Bouncer222 01-03-2010 10:00 PM

Can someone please help me, I'm ripping my hair out trying to figure this problem out...

Only my background image shows up for my steam profile, I'm using the one from http://code.google.com/p/steamprofile/

It doesn't really make a difference because they are both the same, just look different. Only my background image shows up, and nothing else, no error, not even an "Invalid steam community id specified!" error.

Can someone please figure out why it only shows background image? You can view it on my profile at http://www.brotherhoodofgamers.com/member.php?1-Bouncer for example its on top of the visitor message box on the top right or any post in the forums, its on the top right.

Please help me fix this, thanks.

Bouncer222 01-03-2010 10:05 PM

And I just uploaded the example.html , if you go here http://www.brotherhoodofgamers.com/example.html it works, but on my forums and memberinfo template it wont show?

Bouncer222 01-03-2010 10:12 PM

K I figured it out, apperently my ComiChat 1.5 interferes with it, and somehow doesn't make it load, I put the comichat 1.5 script codes in the bottom of the footer, so anyone know how to make them not interfer , apperently it somehow is making it not load or something.

allenewood 01-03-2010 10:29 PM

Check it out - we're using it.

http://www.fragdods.com/showthread.p...d-your-STEAMID

Thanks!

Eclyps19 01-04-2010 02:16 AM

I'm getting "Invalid Community Data"

When doing a view source on the page, I've got the following

<div class="steamprofile" title="STEAM_0:1:202611" style="float: right;"></div>

this is the correct steamID. Any idea why i'm getting an invalid community data error?

Skyrider 01-04-2010 09:43 AM

Anyway the steam mini-profiles can be put in the profiles menu in the left? I kinda dislike that it overwrites some quote/posts.

TFGoRP 01-04-2010 01:52 PM

I would also like to know if they can be put on the left.

Skyrider 01-05-2010 12:34 PM

I got it to work, but I do have a question. Once I launch a game and refresh the thread/post, it still says "online". When does it update that it says the user is playing a game?

And PS.. Anyway possible you can make a bit more obvious that you are able to expand the mini-steam profile to add friends/see items? It's a bit hard to tell that you are able to until you press it by accident.

EDIT2:
I see the mini profiles are going through quote and other bbcodes.. Can this be solved? :)

EDIT 3:
I see sometimes the bar loads, but is blank but gets solved by refreshing the page. Any idea what is causing it though?

Caboose 01-07-2010 06:19 PM

Quote:

Originally Posted by Mycologist (Post 1942221)
I wouldn't know the answer to this. I would assume the largest load comes from the two js files that are uploaded.



Substitute the code from Step 14 to this:

Code:

<if condition="$post['fieldx']"><div class="steamprofile" title="$post[fieldx]" style="float: right;"></div></if>
Hopefully that works for you, I cannot support v3.8 beyond this, I don't have it installed.

Yes this substitute code does work on V3.8 . Thanks

My problem is its not showing in the userCP at all for people to edit. Should be somewhere in "Edit your details" I was able to go to my user account via the AdminCP and add my steam ID to test it. Id does work just no edit field for other users.

I would also like to know if anyone had any luck finding where in the postbit_legacy to add the code so it shows under the left side instead of the top right.

Thanks

kilimann 01-08-2010 08:29 AM

hello, can you write an hack like this for the Playstation Network?
that would be very nice

but this mod ist also great

Skyrider 01-08-2010 08:50 AM

Just wanted to add that the steam mini-profile in posts won't load for your newly created quick-post. It shows blank.

And Caboose, it should show up (SteamID Box) in here:

/profile.php?do=editoptions

It's within the forum options, not edit profile.

Mateusz0307zk 01-09-2010 06:30 PM

Hi,

I have a strange problem, everything did turn and I have such a mistake as to the screen ->
http://iv.pl/images/e5gqycux0iwhbz1o6wg.jpg

http://iv.pl/images/l26kzzgeie3tnlofik6.jpg

Mateusz0307zk 01-11-2010 02:25 PM

Help

Mycologist 01-11-2010 03:37 PM

1 Attachment(s)
I've been quite busy lately and i'll try to help everyone out soon, but I have changed how the badges work on my own site and was wondering if you guys would rather have it in this new design?

Mateusz0307zk 01-11-2010 07:20 PM

Precisely how to do so to me because it showed that no-shows

Skyrider 01-12-2010 08:36 AM

There is something wrong with my steam profile within posts. It keeps saying I'm playing team fortress 2 for days now, even while I'm not even online.

Trip3151 01-14-2010 11:59 AM

works like a charm
Thank you :)

TFGoRP 01-14-2010 01:30 PM

Quote:

Originally Posted by Mycologist (Post 1952837)
I've been quite busy lately and i'll try to help everyone out soon, but I have changed how the badges work on my own site and was wondering if you guys would rather have it in this new design?

I love it like that.

How do i attach it to that section of the post?

Skyrider 01-14-2010 03:34 PM

It still says I am playing TF2, while my steam is offline... been doing this for days now. When I click online, it says I've been offline for over 32 hours.

Skyrider 01-16-2010 10:33 AM

*shrugs*, mod uninstalled for now. I know you are busy (author) but I can't have issues like this on the forums.

d3vilfish666 01-16-2010 03:50 PM

I maybe off the ball here but I think if you close your browser then empty your browser cache and then relogin to your website it will show the correct status. { both ie 7/8 & ff 3.x have settings in options to delete browser history cookies cache etc automaticly}
Info for the author if there is anyway to push the cookie to refresh that would be great.

Chainspell 01-19-2010 01:08 AM

k i got it to work except for the images.

the images are displayed fine (the buttons to add friends, etc) in firefox. but in IE the address for the images is: http://www.tf2tactics.com/steamprofi...add_friend.png

anyone got a clue on how to fix this? i've been digging around...

Chainspell 01-19-2010 02:00 AM

http://www.tf2tactics.com/showthread...&p=480#post480

i also edited the colors and some of the icons to look exactly like the friends list on steam. if you guys want me to upload my steamprofile folder just let me know :)

anyone been able to fix the icon thing yet?

Chainspell 01-19-2010 02:16 AM

hahaha!!! i fixed it!

for those who are wondering, i commented out those pesky double src url thingy (added the red comment tags) on steamprofile.js:

Code:

                // load templates
                profileTpl = $(configData.find('templates > profile').text());
                loadingTpl = $(configData.find('templates > loading').text());
                errorTpl  = $(configData.find('templates > error').text());
               
                // add theme path to image src
                //profileTpl.find('img').attrAppend('src', themePath);
                //loadingTpl.find('img').attrAppend('src', themePath);
                //errorTpl.find('img').attrAppend('src', themePath);

then on steamprofile.xml, changed all SRC= images relative to root path. full steamprofile.xml code:
Code:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<steamprofile-config>
        <vars>
                <!-- The Theme used by SteamProfile. Must be the name of a folder inside the "themes/" folder. -->
                <var name="theme">default</var>
                <!-- If set to true, the slider menu with icon links will be shown. -->
                <var name="slidermenu">true</var>
                <!-- If set to true, the banner of the currenty played game will be shown in the badge background. -->
                <var name="gamebanner">true</var>
        </vars>
        <!-- The HTML templates for DOM manipulation. Change only if you know what you're doing. -->
        <templates>
                <profile>
                <![CDATA[
                        <div class="sp-bg-game">
                        <div class="sp-bg-fade">
                        <div class="sp-badge">
                                <div class="sp-avatar">
                                        <a target="_blank" href="">
                                                <img src="" width="32" height="32" alt="" />
                                        </a>
                                </div>
                                <div class="sp-info">
                                        <a target="_blank" href=""></a><br />
                                </div>
                                <div class="sp-extra">
                                        <div class="sp-handle"></div>
                                        <div class="sp-content">
                                                <a class="sp-joingame" title="Join Game" href=""><img src="/steamprofile/themes/default/icon_join_game.png" width="16" height="16" alt="" /></a>
                                                <a class="sp-addfriend" title="Add to Friends" href=""><img src="/steamprofile/themes/default/icon_add_friend.png" width="16" height="16" alt="" /></a>
                                                <a class="sp-viewitems" title="View Items" href="" target="_blank"><img src="/steamprofile/themes/default/icon_view_items.png" width="16" height="16" alt="" /></a>
                                        </div>
                                </div>
                        </div>
                        </div>
                        </div>
                ]]>
                </profile>
                <loading>
                <![CDATA[
                        <div class="sp-loading">
                                <img src="/steamprofile/themes/default/loading.gif" width="32" height="32" alt="" />
                                Loading...
                        </div>
                ]]>
                </loading>
                <error>
                <![CDATA[
                        <div class="sp-error">
                                <img src="/steamprofile/themes/default/error.png" width="16" height="16" alt="Error" />
                        </div>
                ]]>
                </error>
        </templates>
</steamprofile-config>


hulkster 01-28-2010 08:21 PM

1 Attachment(s)
Hi

i have a problem

invalid profile alias

it's looks like js dont work
but on VB option js i on

DJ29Joesph 02-08-2010 09:30 PM

Worked great, thanks :P

hulkster 02-12-2010 01:38 PM

can you help me please ?

Chainspell 02-12-2010 03:23 PM

you cant put in your steam profile login for some reason, it doesnt work. you have to use STEAM_X:X:XXXXXXXX or Steam Community IDs (17 digit number)

also i didnt do this part (number 8 in the guide):

Optional To only accept Steam IDs add the following to "Regular Expression":
STEAM_[0-9]:[0-9]:[0-9]{4,}

because you can't put in the 17 digit number if you do.

hulkster 02-13-2010 04:41 AM

Hi
I do everithings,couple times
i even miss nr 8
but still have this

http://thegames.pl/photos/x.jpg

I have Loadnig and then this /\ (on the sreen)

we rebuild code but don have js adsons

Code:

<vb:if condition="$post['fieldX']"><iframe src="http://steamprofile.com/steam/profile/steamprofile/{vb:raw post.fieldX}.png" align="right" width="254" height="48" scrolling="no" marginheight="0" marginwidth="0" frameborder="0"></iframe></vb:if>

Chainspell 02-13-2010 05:26 AM

whats your url? you have to have the .js files

hulkster 02-13-2010 11:36 AM

for example
Code:

http://forum.thegames.pl/+++++wars/494-street-thug-madafakir-level-262-maniac.html
I have .js files
i upload it to foroomroot/steamprofile folder
but dont work :|

(this forum ban word m-a-f-i-a- in url i have ++++++) [witchout minus of course]

eMike 02-15-2010 07:00 PM

Very cool mod, but im having an issue.
Everything appears to be working, but the only output i get is this:
http://esports.no/img/steamss.jpg

Avatar, Nickname and Online status (which does not seem to change)
Kindof wondering what i am missing here.

DaMani 02-15-2010 09:25 PM

It dont work :( I do all what in Installation say but I dont see it... why? pls help

eMike 02-15-2010 10:04 PM

hm... now it works for some reason
ah well :)

Popa Andrei 02-19-2010 02:08 PM

cant this be made to make the teamplate changes automaticaly?

edit:done it all step by sterp but nothing appears in the post :(

Popa Andrei 02-27-2010 02:46 PM

how do y change the color of the box to suite mi theme?

hulkster 03-16-2010 01:51 PM

ok
works :)
i have a problem with my server and client
because hanged file names and they were just small characters :)

but it works right now great :)

jessay 03-22-2010 03:15 PM

Quote:

Originally Posted by Mycologist (Post 1952837)
I've been quite busy lately and i'll try to help everyone out soon, but I have changed how the badges work on my own site and was wondering if you guys would rather have it in this new design?

Yes, please. I think that the community would really like to have that feature!

Bouncer222 03-22-2010 09:19 PM

K I have not posted here in a long time..
But this is getting irritating and I need to fix this..

It seems that everytime I add some js file to be included in my site (don't remember if it matters what templates I edit)..

But once I add something like maybe cometchat and the twitter login box modification...

All my steam id signatures on forums right away turn to invalid steam community id with an x. Apparently its not working therefore.

How to fix this PLEASE?

Bouncer222 03-22-2010 09:29 PM

k it seems to work now...strange....

Anyway when I put

vb:if condition="$userinfo['field5']"><div class="steamprofile" title="{vb:raw post.field5}" style="float: right;"></div></vb:if>

into the MEMBERINFO template to show the steam id under the avatar..it shows No Profile Id Assigned, why? field 5 is the profile id field.

I changed post to userinfo, hoping that would work cause its on member profile page, what did I do wrong/how to fix?

Thanks.

Example:http://www.brotherhoodofgamers.com/members/bouncer.html


All times are GMT. The time now is 11:56 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.01243 seconds
  • Memory Usage 1,839KB
  • 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
  • (5)bbcode_code_printable
  • (3)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
  • (40)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