Webfan Auth - Facebook-, Twitter-, Google-, etc. Login
Version 1 ist online.
http://www.webfan.de/Downloads-lid-Webfan-Auth-Facebook-Twitter-Google-etc-Login-65.html
:bye:
ebend noch einen fehler korriegiert.
Edit:
Der Download oben verweist auf das InstallShield,
hier gibt es die "Roh-" Version des Modules:
http://www.webfan.de/v_downloads/webfan_auth.zip
danke :smile:
is it working with 1.12 ?
i try to install it but i don't understand how it's works.
When i try to acces to the mod i get this :
This module will be used by other plugins or modules and does not provide any own frontend yet.
Webfan PragmaMx Modules...
configuration in modules/webfan_auth/config/*.ini
http://www.tradezone.fr/services/modules.php?name=webfan_auth
It's webfan api needed also for it's works ?
It's permit to put a link where use car choose their social network to import account like you show me .
Thanks for your great work
regards.
shorty
Hello Shorty,
there are tow packeages
1) the Webfan For PMX InstalShield Modul wich also provides the current version of the api modul.
That onbe is needed for Intallation, registration and so on.
After you have installed the installshield modul, you can chose available module( here "webfan auth...") and install it with the installshield modul by just klicking with mouse.
Once it is installed, xou have to registerr an "interface" (there is a link invkode by the api modul to do ist).
This one requires an resistered Webfan User Account.
The Interfacae registration enables to access the API-D Rest API interfaces.
To install an OAuth client, you need to regsister a Webfan Homepagesystem Homepage anf of cause one of the develpers accounts at facebook, google, whatever.
Youe easyl can than connect your OAuth app with the homepagesystem OAUth client
so at a result you have a qualified homepage with own OAuth Apps just by clicking withoth the need to do any programming or oauth knwoledge.
Now the new thing is, you can foward this OAuth Homepagesystem Applikation to any external other Homepages you own, so you can use the API to administrate several oAuth Logins, and so on...
Zitati try to install it but i don't understand how it's works.
When i try to acces to the mod i get this :
Code:
This module will be used by other plugins or modules and does not provide any own frontend yet.
Webfan PragmaMx Modules...
configuration in modules/webfan_auth/config/*.ini
the Webfan_Auth Modul has now Interface for now, it just provides a function invoked as plugin by the webfan_api Modul
The webfan_Api Modul is delivered together with the webfan core liobrary and update helpers, the new webfan_Auth is exapmle, the first new Modul with a new funtanallity.
Zitat
It's webfan api needed also for it's works ?
All further webfan pragmamx modules will require this packet, so I decided to not publish the api modul standalone, but distribute it together with the new Mai Webfan Modul as one package.
Ich freue mich über reges Feedback und Anregungen und stehe für Fragen gerne zur Verfügung.
Viele Grüße
Till Wehowski
ZitatIt's webfan api needed also for it's works ?
It's permit to put a link where use car choose their social network to import account like you show me .
Sorry I cant realy understand the last sentence, excuse moi.
This service (free version) is required to use/register and API for the Homepagesystem Homepage:
http://www.webfan.de/News-sid-Deine-Homepagesystem-Homepage-mit-eigener-Facebook-Xing-OAuth-App-563.html
For every App/Iterface you get to API Callback Urls:
- One for use at the Homepagesystem Homepage
- And one redirect url to your external Homepage, this reqest you can revalidate
and attach the OAUth FAcebook, TWitter, Google, Whatever User to a User stored in you (otional) own inhouse user administration system.
Meine Tastatur muckt etwas, deswegen sieht der vorletzte Text so grauenhaft aus, nicht das hier jemand was falsches denkt :red:
Was das Modul betrifft, sorry ich sollte es noch etwas überarbeiten, ich melde mich die Tage wenn ich mehr und eine kleine Doku zu bieten habe...
re, thanks for your support :smile:
Ok, i will try to do it in the right way with your instructions.
But, when i to this page for download wbfan module http://www.webfan.de/Downloads-lid-Webfan-PragmaMx-Module-63.html
it's written, Requirements:
- PragmaMx (empfohlen V. 2+)
is it also a pmx version, problem ?
regards
Hello shorty,
pmx 1.2 is required, pmx 2 is recommended.
But I have a mistake in the current version and will upload a new version tomorrow.
regards,
Till
New version uploaded.
Unfortunately the detection of the host did not work correct in my last test,
however the interface registration works.
Ich habe eine neue Version hochgeladen.
Leider funktiolnierte bei meinem letzten Test die Host Erkennung nicht richtig,
die Interface Registrierung funktioniert aber.
Interface Registrierung=API Account Registrierung
The "webfan Auth" Modul requires PragmaMx 2.0+ .
Edit:
Ich werde den Anmeldeprozess in der nächsten Version vereinfachen, gefällt mir noch nicht...
So, ich habe die callback validation zunächst deaktiviert (fehlerhaft, nicht zwingend nötig), nun funktioniert alles.
Kleine Anleitung:
- Modul installieren: http://www.webfan.de/Downloads-lid-Webfan-PragmaMx-Module-63.html
- Homepagesystem + OAuth einrichten: http://www.webfan.de/News-sid-Deine-Homepagesystem-Homepage-mit-eigener-Facebook-Xing-OAuth-App-563.html
- Webfan Auth installieren:
http://DEINE_DOMAIN.de/modules.php?name=webfan&op=webfan&WEBFAN_SETUP=install&OID=1.3.6.1.4.1.37553.8.1.8.8.5.5.12 - Deine Homepagesystem Homepage auswählen -> Admin -> Schnittstellen -> OAuth -> client wählen -> Callback Url kopieren und bei Provider registrieren
- wie oben Login Url kopieren und an entsprechender Stelle verlinken
- Regelmäßig das Webfan Modul aufrufen und nach Updates suchen
thanks for your help :)
but i can't upgrade now to 2.0 my server can't do it for the moment.
Is i a way to put it 1.12 ? :quest
Is it working if i try to install it like this ?
regards.
Salut shorty :bye:
C'est etrange http://www.tradezone.fr/ est chez ovh!
Regarde ton .htaccess actuel
désactive le ou remplace SetEnv PHP_VER 5
par
SetEnv PHP_VER 5_4
puis verifie le fichier http://www.tradezone.fr/pmx_check.php
Voir ici:
http://www.pragmamx.org/Downloads-pmx_check-Prftool-fr-PragmaMx-zwei-dot-x-view-865.html
OVH sont au top :thumbup:
Bien amicalement
Hello shorty,
ZitatIs i a way to put it 1.12 ?
as there is "REST like" API, yes there is a way to use ANY system, the provided modules are just working examples of how to use.
But the provided Modul uses the the function pmx_user_setlogin wich requires pmx 2.
If you want to use the modul with pmx 1.+ you have to alter
modules/webfan_auth/plugin/auth.php
function login.
regards,
Till
Thanks for your support :)
Thanks alex but TradeZone.fr dedicated server is inside ovh datacenter but not hosted directly by ovh ;)
So i can't upgrade php version now for example.
Thanks for your info Till.
So i will try to do it with 1.12.
regards
Alternative function should work with 1.2:
modules/webfan_auth/plugin/auth.php
public function login($uid)
{
global $user_prefix, $prefix;
$q="SELECT * FROM ".$user_prefix."_users
WHERE
uid='".intval($uid)."'
LIMIT 1
";
$result = sql_query($q);
while($row = sql_fetch_array($result))
{
$this->userdata = $row;
$dbdata = $row;
mxSetUserSession($dbdata['uid'], $dbdata['uname'], $dbdata['pass'], $dbdata['storynum'], $dbdata['umode'], $dbdata['uorder'], $dbdata['thold'], $dbdata['noscore'], $dbdata['ublockon'], $dbdata['theme'], $dbdata['commentmax']);
mxSessionDelVar('formvalues');
mxSessionDelVar('ucountbadlogin');
mxSessionDelVar('newusercheck');
mxSessionSetVar('lang', $this->userdata['user_lang']);
pmx_run_hook('user.login', $dbdata['uid']);
return mxRedirect($this->nexturl);
}
return trigger_error('Unexpected login error in '.__CLASS__.' '.__METHOD__.' '.__LINE__ .'<br />'
.'Please move to <a href="'.PMX_HOME_URL.'/modules.php?name=User_Registration">here...</a>', E_USER_ERROR);
}
Danke ! :thumbup:
i will try :smile: