You must be a subscriber to download! Subscribe now

Thread Rating:
  • 5 Vote(s) - 3.4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
FaceBook Connect plugin
#61
(10-08-2010, 02:31 AM)Lennart Wrote: Hello Foo, it should be there usually. This is how it looks for me (german though):


EDIT: Looks like it's a bug by facebook, you should contact them for this issue:
http://bugs.developers.facebook.net/show...i?id=12014


SECOND EDIT:
There is a workarround at the bottom, try it:
Quote:Hey all!! I've found a way to workaround this problem!! Here's what I did :

- Edit your new application;
- Right-click... View source;
- Save this file on your server;
- Search for this :

Code:
You are not allowed to see code.

- At the end of the line you just searched for, add :

Code:
You are not allowed to see code.

- Save this file again;
- Call this page on your server;
- Click on "Save";

Tadam!!! You will now be able to add the Post-Authorize Callback URL to anyone
of your new applications!

I hope this helps you guys!!

Hi Lennart,

I was hoping you can assist me with this. Unfortunately as you am aware my technical skills are somewhat lacking.

I went to edit the application and then viewed the source. However I am then not sure by what it means, save to my server? I assumed it wouldn't mean by site server as how would this then amend the app?

If you could just clarify that point for me I can get on testing this.

Cheers
Reply
#62
??????????

Could someone write a instruction / tutorial manual for dummys?

Please :-)
Reply
#63
(10-27-2010, 05:19 AM)Disciple of Nagash Wrote:
(10-08-2010, 02:31 AM)Lennart Wrote: Hello Foo, it should be there usually. This is how it looks for me (german though):


EDIT: Looks like it's a bug by facebook, you should contact them for this issue:
http://bugs.developers.facebook.net/show...i?id=12014


SECOND EDIT:
There is a workarround at the bottom, try it:
Quote:Hey all!! I've found a way to workaround this problem!! Here's what I did :

- Edit your new application;
- Right-click... View source;
- Save this file on your server;
- Search for this :

Code:
You are not allowed to see code.

- At the end of the line you just searched for, add :

Code:
You are not allowed to see code.

- Save this file again;
- Call this page on your server;
- Click on "Save";

Tadam!!! You will now be able to add the Post-Authorize Callback URL to anyone
of your new applications!

I hope this helps you guys!!

Hi Lennart,

I was hoping you can assist me with this. Unfortunately as you am aware my technical skills are somewhat lacking.

I went to edit the application and then viewed the source. However I am then not sure by what it means, save to my server? I assumed it wouldn't mean by site server as how would this then amend the app?

If you could just clarify that point for me I can get on testing this.

Cheers

Here how I do it and it work for me.
Edit the application
view source using your browser
go to file to save it into your pc
use any text editor to add the code as instruct and save it again
use the browser to open the local file (the file u just save in your pc)
the missing field will be shown now and you can enter the information
save and it will be shown when u go to facebook application again.
Reply
#64
Logout is still not working, I have everything setup correctly according to instructions on FaceBook Application even the post-authorize callback url. Anyone figure out how to get logout working??

Regards.
Reply
#65
After much work, I mean like half a day, I managed to install and run correctly this plugin on my website, on mybb 1.4.x. It look like it works fine now Smile Thx.


LE: It's not working fine, sometimes it shows: No username detected! instead of logging in, other times it works... it's bugged...

------------

Ah... one little error... the v3c validator shows some errors due to the fact that in the login link the "&" is not escaped.

in fbconnect.php, here:

Code:
You are not allowed to see code.

$loginUrl is made of "http://facebook.com/..." and a lot of paramaters after. Those parameters need to be escaped... I was thinking of manyally splitting this string but I'm sure that there is a better way to do this.
Reply
#66
Hi

Thanks for the plug in. It is working great.
I would like to have my own button, instead of the text.
Which file do i need to edit to this?

Thanks,

Edwin

http://www.onlyheavymetal.com/onlyheavymetal-forum/

Update: I found a way to do it

1. Copy the link that you are using “connect with facebook” after the installation.
2. Go to templates/ Header Templates/header_welcomeblock_guest in the admin
4. Add your code for the picture with the facebook connect link

Example:
<a rel="nofollow" href="https://www.facebook.com/yourlink"><img src="http://yourlink/images/facebook-login.png" border="0" ></a>

5. Go to templates/Header Templates/header look for {$fb_template} and remove this tag.

For example see
http://www.onlyheavymetal.com/onlyheavymetal-forum/

Cheers,

Edwin
Reply
#67
I install correctly fb connect but I use portal and portal when I logout apper white page.
Reply
#68
First sorry for the delayed reply - having a tough time in real life at the moment.

(10-27-2010, 01:21 PM)carsenk Wrote: Logout is still not working, I have everything setup correctly according to instructions on FaceBook Application even the post-authorize callback url. Anyone figure out how to get logout working??

Regards.

My plugin should kill the facebook cookie while MyBB does logout the user. That works for my demo sites and most other sites. Could you make a screenshot of your cookie settings and send it to me?
Also, do you really do not run any other logout plugins? Do you use the MyBB logout link instead of the Facebook disconnect link (removed in latest version)?

(10-30-2010, 06:19 PM)Hector Wrote: After much work, I mean like half a day, I managed to install and run correctly this plugin on my website, on mybb 1.4.x. It look like it works fine now Smile Thx.


LE: It's not working fine, sometimes it shows: No username detected! instead of logging in, other times it works... it's bugged...

------------

Ah... one little error... the v3c validator shows some errors due to the fact that in the login link the "&" is not escaped.

in fbconnect.php, here:

Code:
You are not allowed to see code.

$loginUrl is made of "http://facebook.com/..." and a lot of paramaters after. Those parameters need to be escaped... I was thinking of manyally splitting this string but I'm sure that there is a better way to do this.

If no username was detected the user did not authorize the application or we do have a connection plugin with Facebook or the user field is empty.

Facebook does generate all links that's why they are not properly escaped, I'll not write a special routine for that.

(10-30-2010, 08:11 PM)Only Heavy Metal Wrote: Hi

Thanks for the plug in. It is working great.
I would like to have my own button, instead of the text.
Which file do i need to edit to this?

Thanks,

Edwin

http://www.onlyheavymetal.com/onlyheavymetal-forum/

Update: I found a way to do it

1. Copy the link that you are using “connect with facebook” after the installation.
2. Go to templates/ Header Templates/header_welcomeblock_guest in the admin
4. Add your code for the picture with the facebook connect link

Example:
<a rel="nofollow" href="https://www.facebook.com/yourlink"><img src="http://yourlink/images/facebook-login.png" border="0" ></a>

5. Go to templates/Header Templates/header look for {$fb_template} and remove this tag.

For example see
http://www.onlyheavymetal.com/onlyheavymetal-forum/

Cheers,

Edwin

You can do that in the language files too, it's described a few pages ago.
Please remember that if you do not use my routine you do not have dynamic links, meaning if you change your facebook app you'll have to edit the template too. I'd not recommend that.

(11-01-2010, 08:23 PM)caygri Wrote: I install correctly fb connect but I use portal and portal when I logout apper white page.

What kind of portal do you use? Logout should bring you to the same site you visited before.

Best regards
Lennart Sauter
Forum Admin
Reply
#69
I suse the file portal.php now I see it but link for facebook connect dont redirect on facebook
My site is http://farmville-italia.com
Reply
#70
Very nice Smile good work
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)