![]() |
I'm trying to add the Steam card (it's the only part of this mod we use on our site) to the free agent page in our tournaments. I have a working plugin that shows the currently logged in user's steam card instead of the user whose page you're on. If anyone could give me an idea on how to do this I'd greatly appreciate it. Here's what I have at the moment:
PHP Code:
HTML Code:
<a target="_blank" href="http://steamcommunity.com/id/{vb:raw steamid_mycard}"><img width="203" border="0" alt="" src="http://steamcard.com/do/original/{vb:raw steamid_mycard}.png"></a> PHP Code:
|
Quote:
I was looking at your info was just wondering if the fictional name was supposed to be the same as the output name? Like vb:raw steamid_mycard was wondering why isn't the name reflective of the steamid_facard name?? |
Quote:
Regarding the difference between facard and mycard it was just a copy/paste issue. When I first started a made a plugin that only loaded the currently logged in user, hence the mycard. Then I switched to facard for "free agent card". All of the code in the plugin itself is now facard. All I need is to get the userid for the agent's page. With my limited experience the only way I know to proceed at the moment is to grab the agent number from the URL and try to use that to find the userid from the database but I'm sure there must be an easier way. |
Well I am sure we have decent coders who look through these pages but getting their attention could take eons or maybe if they consider Steam is one of the top most widely used gaming platforms in the world they might re-consider but I doubt it... ;(
|
I'm still trying to get the gamercards to load in a location other than postbit or user profile. I'm not a VB coder and barely get by with PHP so if anyone can help I'd be immensely grateful. You would think it would be as simple as just copying the profile block to another page somehow. I had hoped the developer would be willing to help but it's not looking good at the moment.
EDIT: Just in case anyone else is after this I finally figured it out after taking a crash refresher course in working with databases in PHP and including PHP in vb templates. Create a plugin at global_start, execution order 5, with the following code: PHP Code:
Then create and upload freeagent_steamcard.php to the same directory as your teams.php and other tournament files (usually the forum root) with the following code: PHP Code:
|
So is it working for Xbox one.?
|
Only 360 games are noticed. :(
|
Any updates to show the xbox one games and avatar?
|
The profile page gamercard now shows (a tiny bit of) the xbox homepage.
edit: ignore! seems ok now. |
I'm going to fiddle around with the raptr one to make it into a TrueAchievements feed - their gamercard shows both 360 and One results now and Raptr have stated they will not be supporting current gen any time soon. :(
http://www.trueachievements.com/gamercards/charlesr.jpg There's still no movement from MS to support XboxOne in their own gamecard. |
All times are GMT. The time now is 03:49 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|