• [MOD] Facebook Connector V1.0 & V2.0 5 0 5 1
Currently:  

Author Topic: [MOD] Facebook Connector V1.0 & V2.0  (Read 263304 times)

0 Members and 1 Guest are viewing this topic.

Offline budduke

  • Hero Member
  • *****
  • Posts: 506
    • View Profile
    • http://www.budduke.com
Re: [MOD] Facebook Connector V1.0
« Reply #90 on: December 21, 2010, 04:58:56 PM »
@comicart,
Look around the last insert in the details.php file, that is where the graphic is added.
The code looks correct and as long as the user allows the avatar and they have a facebook account it should display, otherwise it will not.
My site does not show the symptoms that yours has...

Can you zip and attach your details.php file for me to look at?
Buddy Duke
www.budduke.com

Offline comicart

  • Full Member
  • ***
  • Posts: 151
    • View Profile
Re: [MOD] Facebook Connector V1.0
« Reply #91 on: December 21, 2010, 07:21:36 PM »
Thanks for looking. I can't see the mistake myself.
Terry

Offline budduke

  • Hero Member
  • *****
  • Posts: 506
    • View Profile
    • http://www.budduke.com
Re: [MOD] Facebook Connector V1.0
« Reply #92 on: December 21, 2010, 07:45:35 PM »
Thanks for looking. I can't see the mistake myself.
Terry

The file looks correct, looking at the source code on the page with an error the fb_userid on that user is set to "registered"
That field should be blank for every user unless they have an account with facebook, then it should contain their numeric userid with facebook.

I think you will find your error in how the fb_userid was created in your database. the registered should be related to fl_facebook field instead.
Buddy Duke
www.budduke.com

Offline comicart

  • Full Member
  • ***
  • Posts: 151
    • View Profile
Re: [MOD] Facebook Connector V1.0
« Reply #93 on: December 21, 2010, 07:56:00 PM »
I think you will find your error in how the fb_userid was created in your database. the registered should be related to fl_facebook field instead.

But it is - see?

Offline budduke

  • Hero Member
  • *****
  • Posts: 506
    • View Profile
    • http://www.budduke.com
Re: [MOD] Facebook Connector V1.0
« Reply #94 on: December 21, 2010, 08:55:13 PM »
@comicart,
this is what the source code looks like for that page with the error.
Quote
    <b>christophe</b><br />
   Member<br /><img src="http://graph.facebook.com/registered/picture" /><br /><
Look at the database under that user "christophe" in their "fb_userid" field and what is written there?
From the code above, you should see "registered" which should not be in that field. If it is there then delete it and then the avatar should not show up for that user.
Buddy Duke
www.budduke.com

Offline comicart

  • Full Member
  • ***
  • Posts: 151
    • View Profile
Re: [MOD] Facebook Connector V1.0
« Reply #95 on: December 21, 2010, 09:21:04 PM »
Thanks - I did that and that user doesn't show up.
However I have hundreds of comments from people who are now showing as "registered".
Is there a Sql command that will change ALL of my existing users except alrioart to "blank" instead of registered?

Terry

Offline budduke

  • Hero Member
  • *****
  • Posts: 506
    • View Profile
    • http://www.budduke.com
Re: [MOD] Facebook Connector V1.0
« Reply #96 on: December 23, 2010, 12:53:03 AM »
Thanks - I did that and that user doesn't show up.
However I have hundreds of comments from people who are now showing as "registered".
Is there a Sql command that will change ALL of my existing users except alrioart to "blank" instead of registered?

Terry

Have not tested it but I think this will work. backup your database just in case...
Code: [Select]
UPDATE 4images_users SET fb_userid = '' WHERE 4images_users.user_name <> 'alrioart'
Buddy Duke
www.budduke.com

Offline comicart

  • Full Member
  • ***
  • Posts: 151
    • View Profile
Re: [MOD] Facebook Connector V1.0
« Reply #97 on: December 23, 2010, 02:24:19 AM »
Perfect! Thanks so much!
T

New Problem - the "numbers" beside Share and Like seem to be skewed.
I've got the *exact same* number count on Likes and Shares for an image.

For example - 54 of each on this image:
http://alrioart.com/details.php?image_id=4268

4 of each on this image:
http://alrioart.com/details.php?image_id=2573

Anyone else have this same problem?
« Last Edit: December 25, 2010, 10:54:12 PM by comicart »

Offline uploadeur

  • Newbie
  • *
  • Posts: 47
    • View Profile
Re: [MOD] Facebook Connector V1.0
« Reply #98 on: March 23, 2011, 11:47:27 PM »
There is no easyway to make this? I just want to share tumbnails in facebook? How can do this with an easyway?

Offline budduke

  • Hero Member
  • *****
  • Posts: 506
    • View Profile
    • http://www.budduke.com
Re: [MOD] Facebook Connector V1.0
« Reply #99 on: March 24, 2011, 12:55:41 AM »
New Problem - the "numbers" beside Share and Like seem to be skewed.
I've got the *exact same* number count on Likes and Shares for an image.

For example - 54 of each on this image:
http://alrioart.com/details.php?image_id=4268

4 of each on this image:
http://alrioart.com/details.php?image_id=2573

Anyone else have this same problem?
I have not paid attention to this but I see what you are talking about. I have noticed facebook has updated/changed the way things work for connector but my way still seems to work but I am planning on sitting down and redoing this mod using the new coding facebook is wanting, maybe it will work better but it is such a pain to work with facebook unless you do it everyday so no eta when it will be ready to post.

There is no easyway to make this? I just want to share tumbnails in facebook? How can do this with an easyway?
I thought other people already had ways of doing it a little easier if you search for facebook in the search on this forum. I am not sure if they actually give just the link to the page or the thumbnail.
The problem I saw with posting thumbnails to facebook is that they need certain things in the header of the page for it to work and it is info that 4images does not use all the time so it takes a little trial and error.
I would think it should not be that hard to come up with something. I will look into it and post anything I can find unless someone else knows that one of the other posted sharings are actually posting the thumbnails or not.
Buddy Duke
www.budduke.com

Offline budduke

  • Hero Member
  • *****
  • Posts: 506
    • View Profile
    • http://www.budduke.com
Re: [MOD] Facebook Connector V1.0
« Reply #100 on: March 28, 2011, 12:15:19 AM »
@comicart,
The shares and like are being combined as one entity on facebook. I believe that they will be moving everything to the Like button from now on.

@uploader,
I just posted my version of the like button for you to try out,
am waiting for it to be moved to the mods section before I post a link to it.
Buddy Duke
www.budduke.com

Offline comicart

  • Full Member
  • ***
  • Posts: 151
    • View Profile
Re: [MOD] Facebook Connector V1.0
« Reply #101 on: April 04, 2011, 06:03:56 AM »
I had to uninstall this mod today.
So many times since I've installed it I've tried to go to a random page on my site and the browser kept loading and reloading over and over and over - and I know it was the Facebook login trying to work. But that's not a good user experience so I took it out.

Terry

Offline budduke

  • Hero Member
  • *****
  • Posts: 506
    • View Profile
    • http://www.budduke.com
Re: [MOD] Facebook Connector V1.0
« Reply #102 on: April 04, 2011, 12:15:21 PM »
I had to uninstall this mod today.
So many times since I've installed it I've tried to go to a random page on my site and the browser kept loading and reloading over and over and over - and I know it was the Facebook login trying to work. But that's not a good user experience so I took it out.

Terry

I think you might be running into the same thing I did and it had nothing to do with this mod that I can find.
What happens when you load my site? http://www.budduke.com
I found my site was doing it after I upgraded to IE9 and found out it was Java and Flash that was causing my problem and not any mods I had installed.
After I put the latest Java and the Latest flash, then my site loaded just fine, or when testing I removed any Java/flash stuff from my site and it also worked.
Buddy Duke
www.budduke.com

Offline comicart

  • Full Member
  • ***
  • Posts: 151
    • View Profile
Re: [MOD] Facebook Connector V1.0
« Reply #103 on: April 05, 2011, 06:55:08 AM »
What happens when you load my site? http://www.budduke.com

Nothing - it appears normal.

I found my site was doing it after I upgraded to IE9 and found out it was Java and Flash that was causing my problem and not any mods I had installed.
After I put the latest Java and the Latest flash, then my site loaded just fine, or when testing I removed any Java/flash stuff from my site and it also worked.

I never use IE. Just Firefox Mac and Safari Mac.
Thanks for the help though.

Terry

Offline budduke

  • Hero Member
  • *****
  • Posts: 506
    • View Profile
    • http://www.budduke.com
Re: [MOD] Facebook Connector V1.0
« Reply #104 on: April 05, 2011, 03:58:46 PM »

I never use IE. Just Firefox Mac and Safari Mac.
Thanks for the help though.


I use Macs also in my testing but have not seen any strange issues...
I am working on a newer version of this mod right now, not sure when will be ready. I will try to make it so it does not have to do so many refreshes when it logs in.
Buddy Duke
www.budduke.com