Skip to content

Commit

Permalink
2.0.1 ; Avatar Cache, and Update Checker
Browse files Browse the repository at this point in the history
  • Loading branch information
madman32395 committed Oct 25, 2015
1 parent 0ffac63 commit 6273aab
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 5 deletions.
34 changes: 32 additions & 2 deletions Steam_Login.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<plugin name="Sign in through Steam" version_long="20000" version_human="2.0.0" author="Adam Lavin" website="https://adamlav.in" update_check="https://raw.githubusercontent.com/Lavoaster/IP.Board-Steam-Authentication-Method/master/updatecheck.php"><hooks/><tasks/><widgets/><htmlFiles><html filename="steam.phtml">PGlwczp0ZW1wbGF0ZSBwYXJhbWV0ZXJzPSIkdXJsIiAvPgoKPGEgaHJlZj0neyR1cmx9JyBjbGFzcz0naXBzQnV0dG9uIGlwc0J1dHRvbl92ZXJ5U21hbGwgaXBzQnV0dG9uX2Z1bGxXaWR0aCBpcHNTb2NpYWwgaXBzU29jaWFsX3N0ZWFtJz4KCTxzcGFuIGNsYXNzPSdpcHNTb2NpYWxfaWNvbic+PGkgY2xhc3M9J2ZhIGZhLXN0ZWFtJz48L2k+PC9zcGFuPgoJPHNwYW4gY2xhc3M9J2lwc1NvY2lhbF90ZXh0Jz57bGFuZz0ibG9naW5fc3RlYW0ifTwvc3Bhbj4KPC9hPg==</html></htmlFiles><cssFiles><css filename="buttons.css">Lmlwc1NvY2lhbF9zdGVhbSB7CiAgICBiYWNrZ3JvdW5kLWNvbG9yOiAjMTcxYTIxOwp9CgouaXBzU29jaWFsX3N0ZWFtIC5pcHNTb2NpYWxfaWNvbiB7CiAgICBiYWNrZ3JvdW5kOiAjMmIzMjNkOwp9</css></cssFiles><jsFiles/><resourcesFiles/><lang><word key="login_handler_Steam" js="0">Steam</word><word key="profilesync__Steam" js="0">Steam</word><word key="login_steam" js="0">Sign in with Steam</word><word key="login_steam_key" js="0">Steam API Key</word><word key="login_steam_key_desc" js="0"><![CDATA[Entering a Steam API Key will provide additional features. You can find or register for an api key <a href="http://steamcommunity.com/dev/apikey" target="_blank">here</a>.]]></word><word key="login_steam_name" js="0">Use Steam Username?</word><word key="login_steam_name_desc" js="0">If this is set to true then when a new member logs through Steam it will attempt to use their steam username as their username on the forums, if it is taken or If this setting is disabled then they will be prompted to provide a username.</word></lang><versions><version long="10000" human="1.0.0"><![CDATA[//<?php
<plugin name="Sign in through Steam" version_long="20001" version_human="2.0.1" author="Adam Lavin" website="https://adamlav.in" update_check="https://raw.githubusercontent.com/Lavoaster/IP.Board-Steam-Authentication-Method/master/updatecheck.php"><hooks/><tasks/><widgets/><htmlFiles><html filename="steam.phtml">PGlwczp0ZW1wbGF0ZSBwYXJhbWV0ZXJzPSIkdXJsIiAvPgoKPGEgaHJlZj0neyR1cmx9JyBjbGFzcz0naXBzQnV0dG9uIGlwc0J1dHRvbl92ZXJ5U21hbGwgaXBzQnV0dG9uX2Z1bGxXaWR0aCBpcHNTb2NpYWwgaXBzU29jaWFsX3N0ZWFtJz4KCTxzcGFuIGNsYXNzPSdpcHNTb2NpYWxfaWNvbic+PGkgY2xhc3M9J2ZhIGZhLXN0ZWFtJz48L2k+PC9zcGFuPgoJPHNwYW4gY2xhc3M9J2lwc1NvY2lhbF90ZXh0Jz57bGFuZz0ibG9naW5fc3RlYW0ifTwvc3Bhbj4KPC9hPg==</html></htmlFiles><cssFiles><css filename="buttons.css">Lmlwc1NvY2lhbF9zdGVhbSB7CiAgICBiYWNrZ3JvdW5kLWNvbG9yOiAjMTcxYTIxOwp9CgouaXBzU29jaWFsX3N0ZWFtIC5pcHNTb2NpYWxfaWNvbiB7CiAgICBiYWNrZ3JvdW5kOiAjMmIzMjNkOwp9</css></cssFiles><jsFiles/><resourcesFiles/><lang><word key="login_handler_Steam" js="0">Steam</word><word key="profilesync__Steam" js="0">Steam</word><word key="login_steam" js="0">Sign in with Steam</word><word key="login_steam_key" js="0">Steam API Key</word><word key="login_steam_key_desc" js="0"><![CDATA[Entering a Steam API Key will provide additional features. You can find or register for an api key <a href="http://steamcommunity.com/dev/apikey" target="_blank">here</a>.]]></word><word key="login_steam_name" js="0">Use Steam Username?</word><word key="login_steam_name_desc" js="0">If this is set to true then when a new member logs through Steam it will attempt to use their steam username as their username on the forums, if it is taken or If this setting is disabled then they will be prompted to provide a username.</word></lang><versions><version long="10000" human="1.0.0"><![CDATA[//<?php


/* To prevent PHP errors (extending class does not exist) revealing path */
Expand Down Expand Up @@ -62,4 +62,34 @@ class ips_plugins_setup_install

// You can create as many additional methods (step2, step3, etc.) as is necessary.
// Each step will be executed in a new HTTP request
}]]></version><version long="20000" human="2.0.0"/></versions></plugin>
}]]></version><version long="20000" human="2.0.0"></version><version long="20001" human="2.0.1"><![CDATA[//<?php
/* To prevent PHP errors (extending class does not exist) revealing path */
if ( !defined( '\IPS\SUITE_UNIQUE_KEY' ) )
{
header( ( isset( $_SERVER['SERVER_PROTOCOL'] ) ? $_SERVER['SERVER_PROTOCOL'] : 'HTTP/1.0' ) . ' 403 Forbidden' );
exit;
}
/**
* 2.0.1 Upgrade Code
*/
class ips_plugins_setup_upg_20001
{
/**
* ...
*
* @return array If returns TRUE, upgrader will proceed to next step. If it returns any other value, it will set this as the value of the 'extra' GET parameter and rerun this step (useful for loops)
*/
public function step1()
{
return TRUE;
}
// You can create as many additional methods (step2, step3, etc.) as is necessary.
// Each step will be executed in a new HTTP request
}
]]></version></versions></plugin>
6 changes: 3 additions & 3 deletions updatecheck.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"version": "2.0.0",
"longversion": 20000,
"released": 1430265600,
"version": "2.0.1",
"longversion": 20001,
"released": 1445765312,
"updateurl": "https://community.invisionpower.com/files/file/7555-sign-in-through-steam-ipb4/"
}

0 comments on commit 6273aab

Please sign in to comment.