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)
-   -   Mini Mods - Steam IM Card v4.x (now with Steam Profile Tab) (https://vborg.vbsupport.ru/showthread.php?t=244291)

bananalive 06-08-2010 10:00 PM

Steam IM Card v4.x (now with Steam Profile Tab)
 
1 Attachment(s)
This adds the ability of having for each user of your board to enter their Steam ID like the MSN, ICQ, AOL, Yahoo and Skype Messenger contact cards.

Users can enter their steam id in the following forms:This hack also integrates itself into the AdminCP User editor and the User Control Panel when its enabled.

A profile tab with the steam profile information is also implemented. (optional - can be disabled)

Permission granted for port of this hack to vB v3.8 (and now to vB 4.x). Originally developed by Kalle Sommer Nielsen (c) 2007

Installation
  1. upload im_steam.gif to images/misc/
  2. import product

bananalive 06-09-2010 06:13 PM

Version History

v4.0.2
- Different handling for community pages
- Added steam profile tab with option to turn on/off


v4.0.1
- Fixed issue of icons not displaying on Who's Online or Memberlist

v4.0.0
- Initial vB v4 port

bananalive 06-09-2010 06:14 PM

reserved post #2

Skyrider 06-10-2010 05:51 AM

Thanks, works great! :D

cortinator 06-11-2010 03:57 AM

Trying to test this on my board, but it doesn't seem to work. When I try inputting my steam ID and I click on save, it won't save. It will remain blank. Some things to note: I have CSS saved as files and I use vB Supercharged.

Skyrider 06-11-2010 10:51 AM

Bananalive, the steam icon won't show in: xxxxxx/online.php

bananalive 06-11-2010 01:17 PM

Quote:

Originally Posted by FF|Skyrider (Post 2051987)
Bananalive, the steam icon won't show in: xxxxxx/online.php

Fixed in v4.0.1

bananalive 06-11-2010 01:17 PM

Quote:

Originally Posted by cortinator (Post 2051844)
Trying to test this on my board, but it doesn't seem to work. When I try inputting my steam ID and I click on save, it won't save. It will remain blank. Some things to note: I have CSS saved as files and I use vB Supercharged.

What format are you entering it in?

Skyrider 06-11-2010 02:25 PM

Thanks Bananalive! :)

Theater 06-11-2010 03:05 PM

Not saving for me either. No matter what I put in that field it comes back blank.

cortinator 06-11-2010 06:00 PM

Quote:

Originally Posted by Theater (Post 2052078)
Not saving for me either. No matter what I put in that field it comes back blank.

Pretty much my problem. I tried entering all formats and it doesn't seem to register. I also tried editing it through the AdminCP and that doesn't seem to do anything either.

Skyrider 06-12-2010 10:47 AM

You guys are not using profile names, are you? Example:

http://steamcommunity.com/id/Skyrider

^ That won't work. It needs to be either the SteamID or the number ID of your profile.

flussmitteldj 06-12-2010 02:19 PM

Thanks for the nice addon :)

bananalive 06-12-2010 03:49 PM

Quote:

Originally Posted by cortinator (Post 2052142)
Pretty much my problem. I tried entering all formats and it doesn't seem to register. I also tried editing it through the AdminCP and that doesn't seem to do anything either.

Quote:

Originally Posted by FF|Skyrider (Post 2052464)
You guys are not using profile names, are you? Example:

http://steamcommunity.com/id/Skyrider

^ That won't work. It needs to be either the SteamID or the number ID of your profile.

Quote:

Originally Posted by Theater (Post 2052078)
Not saving for me either. No matter what I put in that field it comes back blank.

I've changed the handler for community urls. So if you have enabled Enable Access to Steam Community you could input http://steamcommunity.com/id/*** and it now works out your steamid.

cortinator 06-13-2010 05:34 AM

Ah, that last update did the trick. Now it works flawlessly. Excellent mod!

TerrorKalle 06-19-2010 12:37 PM

Amazing to see its progress since vB 3.6, good job Banana

-Kalle

John Streetz 07-01-2010 11:34 PM

I have iTrader on my site. When the Steam tag is live on a profile page after they enter in their Steam info, the other tabs don't work. You click on them and the profile page goes blank underneath the tabs. How can I fix this?

bananalive 07-05-2010 10:22 AM

Quote:

Originally Posted by John Streetz (Post 2063000)
I have iTrader on my site. When the Steam tag is live on a profile page after they enter in their Steam info, the other tabs don't work. You click on them and the profile page goes blank underneath the tabs. How can I fix this?

I have just tested this error and i cannot reproduce it. Can you give any more details?

Trip3151 07-10-2010 11:09 PM

Would you know why I get a link instead of the steam image in the postbit?

http://www.outkasts.net.au/forum/sho...132-New-Roster

Trip3151 07-11-2010 12:35 AM

Never mind worked it out :)

thisgeek 09-21-2010 08:30 AM

Quote:

Originally Posted by John Streetz (Post 2063000)
I have iTrader on my site. When the Steam tag is live on a profile page after they enter in their Steam info, the other tabs don't work. You click on them and the profile page goes blank underneath the tabs. How can I fix this?

Quote:

Originally Posted by bananalive (Post 2064736)
I have just tested this error and i cannot reproduce it. Can you give any more details?

I'm getting the same issue. If I enable the plugin "Steam Profile Tab", then any tabs that occur after the steam profile don't render. The tab headings render, but not the actual tab contents.

I have the addon 'vbExperience' installed which creates a profile tab, as well as 'Display Reputation Comments on User Profile' installed. Neither of the profile tabs work - including the vBulletin Blogs tab.

I have attached screenshots, with the steam profile tab enabled, and with it disabled.

bananalive 09-22-2010 09:54 AM

1 Attachment(s)
Quote:

Originally Posted by thisgeek (Post 2101318)
I'm getting the same issue. If I enable the plugin "Steam Profile Tab", then any tabs that occur after the steam profile don't render. The tab headings render, but not the actual tab contents.

I have the addon 'vbExperience' installed which creates a profile tab, as well as 'Display Reputation Comments on User Profile' installed. Neither of the profile tabs work - including the vBulletin Blogs tab.

I have attached screenshots, with the steam profile tab enabled, and with it disabled.

Import attached file

Or find in template memberinfo_block_steam
HTML Code:

</if>
Replace with
HTML Code:

</vb:if>

kroko 11-01-2010 12:24 AM

dose this work with vbulletin 4,8?

Trip3151 11-01-2010 12:44 AM

Quote:

Originally Posted by kroko (Post 2116582)
dose this work with vbulletin 4,8?

yes

Foxtrotelite 11-07-2010 11:51 PM

Nice mod! I had a lot of this already custom added, but this was a lot nicer and easier. Thanks!

websimplicity 03-09-2011 06:04 PM

1 Attachment(s)
Hi, my steam tab appears with out the actual tab when you first load the profile page
if I click on the steam tab then it shows as it should when active and if i go to another tab it then looks as it should as well. its only on page load.

any suggestions?
Attachment 127302

MissSavitri 05-17-2011 08:52 PM

Getting the following error on 4.1.3

Warning: DOMDocument::load() [domdocument.load]: URL file-access is disabled in the server configuration in [path]/member.php(500) : eval()'d code on line 41

Warning: DOMDocument::load(http://steamcommunity.com/profiles/7...17321000?xml=1) [domdocument.load]: failed to open stream: no suitable wrapper could be found in [path]/member.php(500) : eval()'d code on line 41

Warning: DOMDocument::load() [domdocument.load]: I/O warning : failed to load external entity "http://steamcommunity.com/profiles/76561198017321000?xml=1" in [path]/member.php(500) : eval()'d code on line 41

Warning: Invalid argument supplied for foreach() in [path]/member.php(500) : eval()'d code on line 43

crazymilk 05-21-2011 10:04 AM

sorry but I'm missing where you get the im_steam.gif

ICannt.org 05-25-2011 02:42 PM

1 Attachment(s)
Hello,

There appears to be a bit of a glitch with this plugin.

When a person's Steam Community Profile is set to Friends Only or Private, there becomes a glitch in the HTML which causes a leak somewhere on the user's forum profile page - as seen in the comparative screenshots.

If you have a look at

Additionally, the "Steam" tab has border-lines where they shouldn't be, is there any known reason for this or how it could be fixed?

If you compare between no-steam-tab.png and steam-tab.png, the bottom navbar links change colour, as does the background, and the navigation breadcrumb at the top becomes separated (A misplaced </div> maybe?)

And finally, one feature request:

Would it be possible to have an entry in the "Contact" area of the profile with something about adding them on Steam?


Anyway, aside from my dribbling on, I'd just like to thank you for your awesome mod! It works well, and is very effective!

Cheers :)

luckid 06-22-2011 01:34 AM

With vb 4.1.3 is ok but with the VB 4.1.4 plugin error when you go to "connected users"

PHP Code:

Database error in vBulletin 4.1.4:

Invalid SQL:

    
SELECT IF(userid 010) as isuserCOUNT(session.userid) as online_users
    
user.steam
    FROM session 
as session
    
    WHERE session
.lastactivity 1308709383
    
    
    
    GROUP BY isuser
;

MySQL Error   Unknown column 'user.steam' in 'field list'
Error Number  1054
Request Date  
TuesdayJune 21st 2011 10:38:03 PM
Error Date    
TuesdayJune 21st 2011 10:38:04 PM
Script        
http://***********/forum/online.php
Referrer      http://**********/forum/forum.php
IP Address    : **********
Username      : *****
Classname     vB_Database
MySQL Version 
5.0.77 

Tnx in advance for this fix :-)

thisgeek 06-29-2011 07:09 PM

Quote:

Originally Posted by luckid (Post 2211128)
With vb 4.1.3 is ok but with the VB 4.1.4 plugin error when you go to "connected users"

PHP Code:

Database error in vBulletin 4.1.4:

Invalid SQL:

    
SELECT IF(userid 010) as isuserCOUNT(session.userid) as online_users
    
user.steam
    FROM session 
as session
    
    WHERE session
.lastactivity 1308709383
    
    
    
    GROUP BY isuser
;

MySQL Error   Unknown column 'user.steam' in 'field list'
Error Number  1054
Request Date  
TuesdayJune 21st 2011 10:38:03 PM
Error Date    
TuesdayJune 21st 2011 10:38:04 PM
Script        
http://***********/forum/online.php
Referrer      http://**********/forum/forum.php
IP Address    : **********
Username      : *****
Classname     vB_Database
MySQL Version 
5.0.77 


Getting the same problem. Disabling the product fixes the error. I'll leave it disabled until this mod is updated.

Thanks :)

luckid 07-01-2011 02:11 AM

Quote:

Originally Posted by thisgeek (Post 2214692)
Getting the same problem. Disabling the product fixes the error. I'll leave it disabled until this mod is updated.

Thanks :)

I had to disable it ... I hope in a fix as soon as possible :o

Gerdeman 07-02-2011 02:17 AM

Definitely update this mod, great feature to have.

techanalyst 07-02-2011 04:22 AM

Possible etas for 4.1.1 users :)

kardac.stenfot 08-23-2011 02:56 PM

Quote:

Originally Posted by luckid (Post 2211128)
With vb 4.1.3 is ok but with the VB 4.1.4 plugin error when you go to "connected users"

PHP Code:

Database error in vBulletin 4.1.4:

Invalid SQL:

    
SELECT IF(userid 010) as isuserCOUNT(session.userid) as online_users
    
user.steam
    FROM session 
as session
    
    WHERE session
.lastactivity 1308709383
    
    
    
    GROUP BY isuser
;

MySQL Error   Unknown column 'user.steam' in 'field list'
Error Number  1054
Request Date  
TuesdayJune 21st 2011 10:38:03 PM
Error Date    
TuesdayJune 21st 2011 10:38:04 PM
Script        
http://***********/forum/online.php
Referrer      http://**********/forum/forum.php
IP Address    : **********
Username      : *****
Classname     vB_Database
MySQL Version 
5.0.77 

Tnx in advance for this fix :-)

Confirming that I have the same problem. Disable this plugin until update is posted.

Skyrider 09-02-2011 08:40 AM

No updates on this?

chamoul 09-03-2011 02:28 PM

I didn't really managed to make it properly, but my hack made this add-ons work for vBulletin 4.1.5 Patch Level 1


in product-imsteamv4.0.2.xml
remove or put in comment (<!-- -->) the code below
Code:

<plugin active="1" executionorder="5">
                        <title>add online bit</title>
                        <hookname>online_query</hookname>
                        <phpcode><![CDATA[$hook_query_fields .= ", user.steam";]]></phpcode>
</plugin>

and if you want to display the steam icon in the online.php

you need to change this

Code:

$globaltemplates = array(
        'forumdisplay_sortarrow',
        'im_aim',
        'im_icq',
        'im_msn',
        'im_yahoo',
        'im_skype',
        'WHOSONLINE',
        'whosonlinebit'
);

by

Code:

$globaltemplates = array(
        'forumdisplay_sortarrow',
        'im_aim',
        'im_icq',
        'im_msn',
        'im_yahoo',
        'im_skype',
        'im_steam',
        'WHOSONLINE',
        'whosonlinebit'
);

and at line 263 you need to change the sql query
Code:

SELECT user.username, session.useragent, session.location, session.lastactivity,
                user.userid, user.options,
                session.host, session.badlocation, session.incalendar, session.inthread, 
                user.aim, user.icq, user.msn, user.yahoo, user.skype,

by

Code:

SELECT user.username, session.useragent, session.location, session.lastactivity,
                user.userid, user.options,
                session.host, session.badlocation, session.incalendar, session.inthread, 
                user.aim, user.icq, user.msn, user.yahoo, user.skype, user.steam,

This is just a hack until maybe to author find a solution to the problem :)

FTG LIQUID CL 02-04-2013 05:04 PM

anyway to make this work with 4.1.12

Pictureclass 06-25-2013 07:47 PM

wow, great Plugin. Thank you very very much. Works great with 4.2.1

ruger 04-27-2014 05:25 AM

Working fine on 4.2.2PL1


All times are GMT. The time now is 05:57 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.01429 seconds
  • Memory Usage 1,865KB
  • 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
  • (2)bbcode_html_printable
  • (3)bbcode_php_printable
  • (14)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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