Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Steam freinds status in postbit Details »»
Steam freinds status in postbit
Version: 1.00, by CampinCarl CampinCarl is offline
Developer Last Online: May 2012 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.7.2 Rating:
Released: 07-16-2008 Last Update: Never Installs: 18
Template Edits
Re-useable Code Translations  
No support by the author.

Well, I'm a newb when it comes to coding and such, but this was a relatively simple mod to whip up. What it does is displays your steam friends status in the postbit
Screen shot

DEMO: (NOTE I use the legacy postbit customized to fit my needs, but this is still a good demo for you guys ;D) http://forum.usgcommunity.com/showthread.php?p=313

Installation:
I'm not experienced enough to create and xml file for simple install, but installation is very simple anyway ;D

Step #1 Creating the steam id profile field
Go to admin control panel> User profile fields> Add new user profile field
Create a Single line text box
Title: STEAM ID
Description: Enter your Steam Id here (alter this to w/e you want ;D)
You don't need to change anything else, unless you deem it necessary
IMPORTANT!!!!: if this is the first custom field you have entered, the value will be field5, if however it is not, you need to go to admin control panel> User profile fields> user profile field manager and write down the field number (ie: field6, field7, etc)


Step #2 Editing the postbit
Navigate to Styles & templates > style manager> your style> edit templates> postbit templates> postbit and double click on it.

Find
Code:
				<if condition="$post['usertitle']"><div class="smallfont">$post[usertitle]</div></if>
				<if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if>
				$template_hook[postbit_userinfo_left]

			</td>
			<td width="100%">
and after add
Code:
<if condition="$post['field5']"><iframe src="http://steam.appspot.com/beta/api/iframe?steamID=$post[field5]" width="250" height="60" scrolling="no" marginheight="0" marginwidth="0" frameborder="0"></iframe></if>
NOTE: remember that field you wrote down from the end of step one? if it says anything other then field5, change the above code to $post['your field here'] and $post[your field here]

once youve edited the template accordingly, hit save and enter your STEAM ID in the profile field, and check out your postbit! your should look alot like the screenshot above!

Credits:
Kost: This guy did pretty much everything! he is the creater of http://steam.appspot.com/ (the site that the iframe came from)
View his site @ http://www.steamfortress.com/

Additional notes:
If anyone has any suggestions, please let me know!
If you use it, please click install
I have been asked by some people to remove the brand at the top saying something like "steamfreinds2web beta by KoST", however, I am unable to do that, and you must contact KoST and possibly pay him a small fee to do so
http://steamcommunity.com/profiles/76561197960465058

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 08-03-2008, 08:31 AM
P.Jackson P.Jackson is offline
 
Join Date: Sep 2003
Location: Newcastle,Uk
Posts: 170
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yea mines

STEAM_0:1:2xxx

And its ot working

Quote:
Originally Posted by niake View Post
If you have a steam id like STEAM_0:1:00000 it is not working
Reply With Quote
  #13  
Old 03-28-2009, 03:54 AM
tbrown7552 tbrown7552 is offline
 
Join Date: Sep 2007
Location: USA
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

im getting the same as the others. Any 0:1 is showing Invalid Steam ID. uninstalled.
Reply With Quote
  #14  
Old 05-27-2009, 02:25 AM
Fastbird's Avatar
Fastbird Fastbird is offline
 
Join Date: Aug 2005
Posts: 135
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works for me! I installed almost a year ago and has been working flawlessly ever since.
Reply With Quote
  #15  
Old 05-27-2009, 07:09 AM
lm3a.net's Avatar
lm3a.net lm3a.net is offline
 
Join Date: May 2009
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks,,,
Reply With Quote
  #16  
Old 07-26-2009, 03:07 PM
Bommando Bommando is offline
 
Join Date: Jan 2008
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is neat. Used it to display status for members at Focused Gaming:



The size is just a little too large for my liking, so I'm going to play around with the API myself to see if I can generate a smaller status image.

Installed
Reply With Quote
  #17  
Old 08-03-2009, 02:43 AM
Bommando Bommando is offline
 
Join Date: Jan 2008
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Looks like the app engine is over quota
Reply With Quote
  #18  
Old 01-16-2011, 09:12 AM
Hdeaf.com's Avatar
Hdeaf.com Hdeaf.com is offline
 
Join Date: Jul 2009
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice!
Thanks
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:45 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04173 seconds
  • Memory Usage 2,273KB
  • Queries Executed 22 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (7)postbit
  • (8)postbit_onlinestatus
  • (8)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete