Advertisement:
NameCheap

Navigation

SMF Mod Site

Mod Name:
Steam Profile Ajax Mod v1.0
Created By:
roco
Type:
New Feature
First Created:
January 08, 2010, 06:01:12 PM
Last Modified:
March 09, 2010, 10:39:39 AM
Latest Version:
1.0
Compatible With:
1.1.11, 2.0 RC2, 2.0 RC3
Total Downloads:
3457

Download this mod

steam_profile_ajax_mod_v1.zip (90kB) [3452]
Manual Install Instructions for SMF


Below are some preview images of what the mod looks like when being used

Description:

Version: 1.0 Date: January 7, 2o1o
Compatibility: 1.1.11 and 2.0 RC2 / RC3


Steam Profile - Ajax Indicator Mod - v1.0
by Roco - priv Polish SMF-Help! Board

Link to Mod | Support Topic | Demo and My Own Suport


SteamProfile
About

SteamProfile is an Ajax-based Java-Script widget to embed the profile status of a Steam Community member into a HTML webpage.
( ..and now with my mod, into SMF Boards to..)

It uses the Steam Community XML API to read the raw data and jQuery for the transformation into HTML elements.

PHP is used as well for a server-side XML proxy to ensure fast and stable XML delivery.
See example.html for examples and instructions for proper embedding into your website, (ins steamprofile folder).

Examples:



With slider menu opened:





Steam Profile Mod for SMF will:

Integrate Steam profile script, into SMF Board
  • Adds Steam Profile field to the "Forum Profile Information" page, (in SMF 2.0 "Profil Forum").
  • Adds Steam Profile image-indicator and link to the "View Profile", (sumary view), page showing the status of that user.
  • Adds Steam Profile image,(baner)-indicator to user details in forum posts that links to their Steam Community page.

The following files get edited, so if you use a custom theme that changes any of these files, you will need to manually update them yourself.
This Mod change files:

In SMF 1.1.11 -

Themes/default/
  • Profile.template.php
  • Display.template.php

Themes/default/Languages/
  • Modifications.english.php
  • Modifications.english-utf8.php
  • Modifications.polish.php
  • Modifications.polish-utf8.php


In SMF 2.0 -

Sources/
  • Profile-Modify.php

Themes/default/ (the Curve Theme)
  • Profile.template.php
  • Display.template.php

Themes/default/Languages/
  • Modifications.english.php
  • Modifications.english-utf8.php
  • Modifications.polish.php
  • Modifications.polish-utf8.php

The mod will update only the default templates, for another please read install[1 or 2].xml - is easy for integration with different styles as well.


Entries language for translators:

Code: [Select]
// Steam Profile Mod by Roco
$txt['steamprofile'] = 'Steam Profile';
$txt['steamprofile_profile'] = 'Profile';
$txt['steamprofile_user_ID'] = ' or: Steam Community <b>Number</b>, or: Profile <b>Alias</b><br />
Like: <b>76561197965018417</b> or: <b>STEAM_0:0:148902</b> or: <b>robinwalker</b>';
$txt['steamprofile_input_title'] = 'Type Your Steam Profile: ID - here';
$txt['steamprofile_view'] = 'view';
$txt['steamprofile_view_desc'] = 'Your own Profil from Steam Community';
// End of Steam Profile Mod by Roco

= = = = = = = = = = = = = = = = = = = =

From the Autor of the script.:

SteamProfile
SteamProfile Overview

Installation and Usage

The directory cache is used for caching, therefore it must be read- and writable for the web server process.
..so.. folder "cache" in cataloge "steamprofile" (here --> YourForum/steamprofile/cache), must stetting CHMOD into 777 (or 0777  - is the same)

You can change configurations for the XML proxy in xmlproxy.php. For client configuration and template editing, open steamprofile.xml.
See example.html for examples and instructions for proper embedding into your website, (ins steamprofile folder).


Requirements


Server Requirements

  • Any PHP-compliant webserver (tested with Apache/2.2.11)
  • PHP 5.0.0 or higher, 5.2.x recommended (tested with PHP/5.2.6-3ubuntu4.2)


Required PHP extensions

  • SteamProfile Ajax
    • cURL (libcurl 7.x)


  • SteamProfile Image
    • cURL (libcurl 7.x)
    • GD2 (libgd 2.0.x)


Client Requirements

  • Any modern browser with enabled JavaScript


Browser Compatibility

  • no problems:
    • Firefox 3.7
    • Opera 10.10
    • Internet Explorer 8
    • Safari 4.0
    • Chrome 3.0


  • minor problems:
    • Internet Explorer 7 & Internet Explorer 8 in compatibility mode:
      • - "Loading..." is not displayed
      • - icons are not showing up


  • major problems:
    • Internet Explorer 6:
      • - unable to display transparent 32-bit PNG images
      • - slider menu unusable
      • - flawed layout
      • - annoys web developer
      • - causes cancer
      • - eats small babies


= = = = = = = = = = = = = = = = = = = = = = = = = = = = = =


Changelog
1.0 - 07th January 2010
-  Initial Release

09th March 2010
- Update for SMF 2.0 RC3


Best Regards :)
Roco