SMFHacks.com

SMF Gallery Pro => Support => Topic started by: Jonas1975 on January 09, 2013, 04:30:05 pm

Title: 2 serious problems
Post by: Jonas1975 on January 09, 2013, 04:30:05 pm
I have 2 serious problems. After a big technical problem I had to make a partial restore of my site.

Now I have 2 situations that I need help:

1. The facebook share button works but it makes a big area of the site (like a square) to not work, like the Twitter and G+ share buttons, the [UnApprove] [Edit] [Delete] [Report Picture] as well the comment box. After a while (maybe not even a minute) the Facebook share button disappears and all are accessible again. I'm not sure if this is related with my restore since yesterday everything seemed to be working fine.

2. I have some picture that when I click on the share button of Facebook, it share other picture that was one of the lost on the restore. I'm guessing here a problem on the database? Here's an example: http://themobilephotographyblog.com/gallery/?sa=view;id=743 (try to share via FB and it will go to other picture).

Any help would be welcome...
Title: Re: 2 serious problems
Post by: Jonas1975 on January 09, 2013, 04:45:25 pm
As for point number 1, I can add that, as I thought, it's not a problem on my site. It's global since the Demo of Gallery Pro has the same behavior.
Title: Re: 2 serious problems
Post by: SMFHacks on January 09, 2013, 04:47:44 pm
1. They might have changed the facebook format. Will see if they published updated code.

2. It could be picking up another image since you have the previous and next images appearing so it might picking those out. So would need to see if facebook has a code to autopic the thumbnail of the main image on that page
Title: Re: 2 serious problems
Post by: Jonas1975 on January 09, 2013, 04:53:43 pm
1. They might have changed the facebook format. Will see if they published updated code.
OK

2. It could be picking up another image since you have the previous and next images appearing so it might picking those out. So would need to see if facebook has a code to autopic the thumbnail of the main image on that page
Is not that. It's trying to pick photos that have been lost due to the restore (including the title - some don't appear thumbnail because they don't exist anymore). It's about the same number of the photos lost (about 5-6) and every other photo (older or more recent) is working well.
Title: Re: 2 serious problems
Post by: Vincent Volmer on January 13, 2013, 09:42:06 am
This topic could be related to it too.....

http://www.smfhacks.com/index.php/topic,7341.0.html (http://www.smfhacks.com/index.php/topic,7341.0.html)

(Also Facebook issue)
Title: Re: 2 serious problems
Post by: SMFHacks on January 13, 2013, 10:28:21 am
This update might have helped just posted
4.0.10
!Updated the facebook sharing code to a different format to fix issues since facebook changed how sharing works.
!Fixed some possible errors with the download item feature
Title: Re: 2 serious problems
Post by: Jonas1975 on January 13, 2013, 01:52:46 pm
Great! Thanks!

Can you tell me which files were changed? Because I'm using a modified gallery since the default one didn't look good with my theme.
Title: Re: 2 serious problems
Post by: SMFHacks on January 13, 2013, 01:57:20 pm
Themes/default/Gallery.template.php

and
Sources/Gallery.php for version number

And a new image added to gallery folder facebookshare.png