vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Mini Mods - STEAM Profile/Status Display (https://vborg.vbsupport.ru/showthread.php?t=211193)

drpeppper 04-13-2009 10:00 PM

STEAM Profile/Status Display
 
1 Attachment(s)
[S]This is something that will give your users an ability to view member's status for their STEAM account. Offline/online/games playing/etc.

You can find an example here:

http://forums.tf2maps.net/

Just look at any thread and find a post. The widget should be in the upper right hand corner of the post.

Nothing has to be installed on your server.

Step 1
Create a custom user profile field. Name it Steam ID.
Code:

Single-Line Text Box          Editable, Searchable, Members List
Find what your field id is. It should look something like fieldx where x is the number.

Step 2
Plug your field id in to the following code
Code:

<if condition="$post['fieldx']"><iframe src="http://steamprofile.com/profile/default/sphtml.php?id=$post[fieldx]" align="right" width="254" height="48" scrolling="no" marginheight="0" marginwidth="0" frameborder="0"></iframe></if>
Make sure to change x to your id.

Step 3
Place the code in step 2 that has been changed to reflect your profile field after

Code:

$template_hook[postbit_messagearea_start]
                <if condition="$show['messageicon'] OR $post['title']">
                        <!-- icon and title -->
                        <div class="smallfont">

in your postbit or postbit_legacy (depending on what you use) template[/S]

If you would just like to have the options of having the status as sigs, visit http://steamprofile.com

updated instructions for vbulletin 3.8

http://steamprofile.com/forums/showthread.php?tid=3

ahmadatom 04-14-2009 03:50 PM

This is very good :)

P.Jackson 04-14-2009 04:21 PM

anychance of this being in a profile block ?

drpeppper 04-14-2009 05:04 PM

Quote:

Originally Posted by P.Jackson (Post 1791128)
anychance of this being in a profile block ?

You would just need to edit your MEMBERINFO template IIRC.

Jasem 04-14-2009 05:06 PM

it's nice work :)

P.Jackson 04-14-2009 07:00 PM

Quote:

Originally Posted by drpeppper (Post 1791156)
You would just need to edit your MEMBERINFO template IIRC.

What would the code be?

ZiG 04-14-2009 08:08 PM

i have this working on my site nicely, but it doesn't seem to be showing my status as online even though I am. why is that? i've only been able to test this with one steam id so far though...could just be my id?

nevermind works

DontWannaName 04-14-2009 10:28 PM

The image doesnt work very well on dark backgrounds because of the white corners, although its better than other images. Does it require the numerical steam id or does it work with links?

cdnbacon 04-15-2009 12:16 AM

Oh wow, this is sexy! VERY nice release. I'm about to install and will consider donating. We're a source oriented community.

drpeppper 04-15-2009 01:14 AM

Quote:

Originally Posted by ZiG (Post 1791283)
i have this working on my site nicely, but it doesn't seem to be showing my status as online even though I am. why is that? i've only been able to test this with one steam id so far though...could just be my id?

nevermind works

there is a delay of about 5min on your status.


All times are GMT. The time now is 03:39 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.01182 seconds
  • Memory Usage 1,738KB
  • 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
  • (3)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
  • (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