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 03-25-2010 08:05 PM

Any idea why when I put it in MEMBERINFO template with this html...

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

using $userinfo it shows "No profile ID Assigned"?
It's some error but I cannot figure it out
Thanks.

PaidGamers.net 03-28-2010 06:00 AM

Nice work. Installed

AzzX 03-29-2010 02:41 AM

Looks Great. Nice Job.

Alucard^ 04-07-2010 11:41 AM

Would be really cool if you can do something like http://steamprofile.com (i am talking about the deisgn). For example, if you are online the border of the avatar is green, if you are offline is black.

Sry for my english.

Valof 04-09-2010 02:53 PM

Quote:

Originally Posted by Alucard^ (Post 2017389)
Would be really cool if you can do something like http://steamprofile.com (i am talking about the deisgn). For example, if you are online the border of the avatar is green, if you are offline is black.

Sry for my english.



I made something like this on my forum cs

CampinCarl 04-14-2010 11:34 PM

For some reason, this only works for the first post. Is there a way to fix it so that all the posts work?

Kamern 05-06-2010 01:13 AM

I'm getting the same problem as the above user.

Senja 05-10-2010 06:55 PM

1 Attachment(s)
What's wrong?
Sry for my english.

P.Jackson 05-10-2010 08:22 PM

<a href="http://www.clan-killers.com/forum/showthread.php/1-We-are-back" target="_blank">http://www.clan-killers.com/forum/sh.../1-We-are-back</a>-! Whats with that?

PcGamer 06-02-2010 08:56 PM

Quote:

Originally Posted by CampinCarl (Post 2021442)
For some reason, this only works for the first post. Is there a way to fix it so that all the posts work?

Same here... this is only shown in the first post. Would like to see it on replies as well.

**Update**
Figured out why it's not shown on every post. Because we set the code within a condition, only posts with a Title or Message Icon will show the steam profile.

Go to CP -> Settings -> Options -> Message Posting and Editing Options -> Automatically Quote Post / Thread Title: Set to "YES".

This will give each post a title and therefore will show the steam profile.

lavagod 06-04-2010 03:24 AM

Has any one found a way to add it to the left side yet? I would like to at it to the same section the Avatar is listed.

Right now I have it working, but to show up in every post you have to make it post the thread title, and I don't like how that looks.

CampinCarl 06-05-2010 03:29 PM

Quote:

Originally Posted by PcGamer (Post 2047307)
Same here... this is only shown in the first post. Would like to see it on replies as well.

**Update**
Figured out why it's not shown on every post. Because we set the code within a condition, only posts with a Title or Message Icon will show the steam profile.

Go to CP -> Settings -> Options -> Message Posting and Editing Options -> Automatically Quote Post / Thread Title: Set to "YES".

This will give each post a title and therefore will show the steam profile.

You are amazing.

MattIS 06-27-2010 01:42 PM

Can anyone tell me how to get this to work on 3.8?

VSLucky 08-09-2010 01:36 PM

Quote:

Originally Posted by MattIS (Post 2060504)
Can anyone tell me how to get this to work on 3.8?

Code:

<if condition="$post['fieldx']"><div class="steamprofile" title="$post[fieldx]" style="float: right;"></div></if>
Substitute that for Step 14. Myco walked me through this earlier in the thread for one of my older boards and that should work.

Bunni U 08-10-2010 06:17 PM

heres a more idiot proof regex for the steam profile field validation:
Code:

^STEAM_\d{1}:\d{1}:\d+$|^$
It ensures that there is nothing infront of steam (we had a description of the field along the lines of "Your steam id, EX: STEAM_0:1:12345", and we actually had a handful of users enter "EX: STEAM_0...", this regex will prevent it), also allows users to clear the userfield. Should also perform a bit better.

unknown22 08-18-2010 02:45 PM

Hey,

One thing when someone enters there steam id it shows the status etc.. but if someone hasn't entered their id it shows nothing no box at all. Also it's showing everyone as: This profile is private.

Code:

                        <div class="postrow<vb:if condition="$show['postedited'] || $post['signature']"> has_after_content</vb:if>">
                                {vb:raw template_hook.postbit_messagearea_start}
                                <vb:if condition="$post['title'] OR $show['messageicon']">
<vb:if condition="$post['field5']"><div class="steamprofile" title="{vb:raw post.field5}" style="float: right;"></div></vb:if>
                                <h2 class="title icon">
                                        <vb:if condition="$show['messageicon']"><img src="{vb:raw post.iconpath}" alt="{vb:raw post.icontitle}" /> </vb:if>{vb:raw post.title}
                                </h2>
                                </vb:if>


unknown22 08-20-2010 03:42 PM

anyone?

unknown22 09-03-2010 03:15 PM

hello can someone help the steam profiles shows on there top right when they post but not replys?? Adn doesn't update if someone switches from private to non private profile, stays on private even if they switch it.

JRodriguez 09-05-2010 11:45 AM

Nice work mate i put in the postbit section left side under the avatar look very sexy

unknown22 09-11-2010 10:11 PM

How you put under avatar

johkalhaups 10-05-2010 12:11 AM

<a href="http://www.theriseoftsm.com/forums/index.php" target="_blank">http://www.theriseoftsm.com/forums/index.php</a>

I use posbit instead of postbit_legacy, is there anyway to have this show up to the left of the info in posts like location, posts, join date, etc?

i3lack 10-25-2010 12:23 AM

I put this under my postbit right under the Posts:XXX

To Do this follow the instructions below.

1. Go to Postbit_Legacy
2. Search "Posts" should look like this
Code:

{vb:rawphrase 'posts'} : {vb:raw post.posts}
    </div>

Below Put
Code:

<vb:if condition="$post['fieldx']"><div class="steamprofile" title="{vb:raw post.fieldx}" style="float: left;"></div></vb:if>
<script type="text/javascript" src="steamprofile/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="steamprofile/steamprofile.js"></script>

Make sure to change ['fieldx'] to your field number exp: ['field5']

Save and Load . It too long so to edit this go to steamprofile/themes/default
Edit the Style.css file and change to this

Code:

.steamprofile {
        position: relative;
        width: 180px;
        height: 48px;
        background: #8ba6b8 url(background.png);
        overflow: hidden;
        margin: 4px;
        z-index: 100;
}

To Change how far it comes out change
Code:

width: 180px;
I have mine at width: 180px;

Code:

http://thogaming.com/forums/news-center/4325-new-tho-media.html#post4708
If you have already installed this make sure you delete the coding you put in. If you dont it will not work with this!

R4Z0R49 10-25-2010 10:59 AM

Hello Mycologist,

Works perfect Thank you

PS Steam ids can be found here: http://steamidfinder.com/

T3MEDIA 10-25-2010 11:02 AM

cool. will check it out.

horussjr 10-28-2010 06:31 PM

can somebody make the 2.0.4 work on vbulletin 4.0.8? (or any other v4). here is the official project link
http://code.google.com/p/steamprofile/


PS: not changing the status because of the setting in the files. it's veri ugly made, unfinished etc. i made some changings into the files and themes and it's a lot nicer. and work very well changing the refresh rate

kroko 10-31-2010 11:44 PM

so dose this works with the newest version vbulletin?

lcn 11-01-2010 01:58 AM

Works well with Vbulletin 4.0.8
I modified one small part so the Steam information is posted on the left.

# Go to AdminCP > Styles & Templates > Style Manager > Edit Templates > Postbit Templates > postbit_legacy.
# Find the following line:
Code:

                <vb:if condition="$post['title'] OR $show['messageicon']">
in DeepSkyBlue change the word right to center
Code:

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

ccsdef 11-02-2010 01:07 AM

For those asking about http://code.google.com/p/steamprofile/.

Just use the same instructions as given here however note that you need only include the javascript files included in the new release you do not need jQuery.

If you want the Steam profile to show up on every post simply just move it (the code from step 14) before the code found in step 13.

Also in the default CSS to fix the quote overlap problem you must add a z-index. I used the following to properly display all images and fix the quote overlap.

.steamprofile z-index = 1

.steamprofile .sp-extra z-index = 2 (this just pertains to the stuff that rolls out)

.steamprofile .sp-handle z-index = 3 (this is the part you click to roll out the extras)

Hope this helps!:cool:

Stheal 01-12-2011 01:31 PM

does the mod work? cause i have this problem

https://vborg.vbsupport.ru/

Can anyone help me getting it work?

matrixmark 01-13-2011 10:09 AM

Quote:

Originally Posted by stuky4ever (Post 1940054)
How can I add the Steam Profile thing below the Post Count. Example.

Took a bit of playing around but finally got it for me :D

find:

Quote:

{vb:raw post.yahooicon} {vb:raw post.skypeicon}
In your postbit_legacy file.

and under that ^ line paste in:

Quote:

<vb:if condition="$post['fieldX']"><div class="steamprofile" title="{vb:raw post.fieldX}" style="float: left;"></div></vb:if>
Make sure to change the X in ['fieldX'] part to the number of your field when you created it.

Save and reload.

p.s you might and probably will have to modify the css a little to fit it in there better! but that I wont explain as it might be different all depending what theme you are using etc. The css file is located in "/steamprofile/themes/default" this is the block you need to edit up a little bit to fit your needs.

Quote:

.steamprofile {
position: relative;
width: XXXpx;
height: XXXpx;
background: #8ba6b8 url(background.png);
overflow: hidden;
margin: 4px;
z-index: 100;
}

Replace the XXX's with the sizes for your forum, i used width: 170px; height: 48px; for mine but it might be different for yours
Well hopefully that made sense :p if not let me know and i'll try and explain better. Oh and here is a lil screenshot of what it looks like... hope this is allowed :O


Mark

Johnny5_Hull 01-13-2011 10:16 AM

Well I have tried installing it and All I get is the steam code on the page, althoug it is greyed out when looking at it with firebug (As in it isn't displaying).

I have tried a number of things, including the css, not using the jquery, turning off all other plugins etc

I even tried it on the default template to see if it was something on my template not working...

Im running Version 4.1.0PL2

Ive disabled it for now untill it's clear that it works, But I would really like it running, so if anyone has any suggestions.

Johnny5_Hull 01-13-2011 07:19 PM

Update....

It was working all along, what was happening is that on occasion, it just doesnt show, almost like the JS has timed out when trying to bring the profile through. A couple of refreshes and it appears.

Not very reliable though, but still a good little mod nontheless :)

horussjr 01-15-2011 10:44 AM

it is full working. you have to know how to install it. installed the last version from google when it appeared:). take a look www.stormzone.ro/forum

it is embeded in posts

lcn 02-16-2011 11:25 PM

Works fine, very nice addition to my forums.

tdkmatt 02-17-2011 02:20 AM

will this work with 4.1.1

archet1337 02-18-2011 01:20 AM

Just installed it on my 4.1.2 board, and it's working great. Thanks!

johkalhaups 09-29-2011 02:44 PM

Quote:

Originally Posted by ccsdef (Post 2116992)
For those asking about http://code.google.com/p/steamprofile/.

Just use the same instructions as given here however note that you need only include the javascript files included in the new release you do not need jQuery.

If you want the Steam profile to show up on every post simply just move it (the code from step 14) before the code found in step 13.

Also in the default CSS to fix the quote overlap problem you must add a z-index. I used the following to properly display all images and fix the quote overlap.

.steamprofile z-index = 1

.steamprofile .sp-extra z-index = 2 (this just pertains to the stuff that rolls out)

.steamprofile .sp-handle z-index = 3 (this is the part you click to roll out the extras)

Hope this helps!:cool:

I updated my Steamprofile with the Google code version and everything works ok but where do I put that CSS at because Ive tried it in several .css templates on my skin and the quote box still overlaps it.

You just said to put it in the "default" css but there is no template named that.

Im on vB 4.1.6 if that matters.

stwan 01-15-2012 04:14 PM

Quote:

Originally Posted by Stheal (Post 2148005)
does the mod work? cause i have this problem

http://img696.imageshack.us/img696/5346/sinttuloxur.jpg

Can anyone help me getting it work?

in 4.1.10 bug confirm

ianskate 02-07-2012 07:07 PM

I had it working in 4.1.9, but it no longer shows up in 4.1.10. Same code, same locations, same templates. I'm confused.

Kodi 07-01-2013 05:48 AM

Hello,
What is my problem? http://scr.hu/0nw5/p9stu
I made the installation of the subjectand and what, ass.
Please help me.


All times are GMT. The time now is 07:47 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.01420 seconds
  • Memory Usage 1,838KB
  • 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
  • (10)bbcode_code_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
  • (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