MyBB.de Forum

Normale Version: Facebook Connect for MyBB
Du siehst gerade eine vereinfachte Darstellung unserer Inhalte. Normale Ansicht mit richtiger Formatierung.
Seiten: 1 2
Eine neue Erweiterung wurde veröffentlicht: Facebook Connect for MyBB

Zitat:Features:
* People can register an account using Facebook
* They can choose a Username during registration
* Their emails are fetched during registration
* People whose Facebook Email matches a user in the database gets logged in automatically and their accounts are linked (configurable)
* Includes a language file for easy translation
* Plugin will not work if the language file is not up to date
* Hooks added for other plugins to complement. FBServices is one example of such plugin
* You can disallow users to choose usernames
* You can use cURL method to fetch data from Facebook
* Additional permissions can now be requested.
* New!!! Birthday is fetched from Facebook.
* New!!! Facebook avatar is set for existing users who don't have an avatar.
* New!!! Facebook birthday are fetched for existing users.

Installation instructions:
1. Get your Facebook application and secret by completing the form here
2. Install and activate the plugins FBCore and FBConnect
3. Go to AdminCP >> Configuration >> FBCore
4. Insert your Facebook Application number and secret
5. Insert "{$fbconnect}" (without quotes) anywhere you want in the header template to display the Facebook Connect button
6. Save

Vorschau:
http://khdra.com/
Hey,
das Plugin funktioniert, also man kann sich darüber einloggen...allerdings bekomme ich jedes mal per E-Mail einen Error zugeschickt....einer der beiden hier ist es hier:

Zitat:Your copy of MyBB running on KickAss (http://www.gilde-kickass.de) has experienced an error. Details of the error include:
---
Type: 2
File: fbcore/fbconnect.php (Line no. 55)
Message
file_get_contents(https://graph.facebook.com/oauth/access_...&amp;code=) [<a href='function.file-get-contents'>function.file-get-contents</a>]: failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request

Zitat:Your copy of MyBB running on KickAss (http://www.gilde-kickass.de) has experienced an error. Details of the error include:
---
Type: 2
File: fbcore/fbconnect.php (Line no. 61)
Message
file_get_contents(https://graph.facebook.com/me?) [<a href='function.file-get-contents'>function.file-get-contents</a>]: failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request

hat jemand eine idee was ich dagegen machen kann?
Bei dem ersten scheint irgendein Verifizierungs-Code zu fehlen.
ja da steht ja die weiterleitungs url fehlt, aber wo geb ich sowas an? oder wie soll ich das verstehen/was kann ich machen?
Nein, da steht:
Zitat:{
"error": {
"message": "Invalid verification code format.",
"type": "OAuthException"
}
}
bei mir kommt wenn ichs aufruf:

Code:
{
   "error": {
      "message": "Missing redirect_uri parameter.",
      "type": "OAuthException"
   }
}

gut dass wir uns da einig sind xD
problem gelöst:
in den beiden zeilen vor "file_get_contents" ein "@" gesetzt
Damit funktionieren die Abfragen doch immer noch nicht?
hm ja also ich bekomm jetzt keine fehlermeldung mehr, der login wenn man bereits einen account hat geht auch ohne probleme, nur das neue registrieren funktioniert iwie nicht richtig. also er holt sich zwar die daten, jedoch bekommt man eine 404 seite wenn man auf registrieren drückt. der account wird zwar trotzdem erstellt und man ist eingeloggt, aber hat nichmal nen passwort gewählt und die 404 seite ist schon iwie doof Big Grin was hast du denn noch für ideen stefan?
ein Passwort kann man ja auch nicht auswählen, was für nen Passwort bekommen solche Nutzer dann?
Seiten: 1 2