Search…

X3 Photo Gallery Support Forums

Search…
 
BSPS
Posts: 18
Joined: 21 Jan 2011, 13:28

Re: How do you display social next to audio player

15 Jul 2011, 15:20

I think I figured something out, the 12 likes are likes of my website itself. Isn't it possible to get people to like my actual facebook-page through the imagevuelink?
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

Re: How do you display social next to audio player

16 Jul 2011, 04:24

BSPS wrote:I just have to fill in the right app-id right?
Because now all of a sudden I can like the page but it says you and 12 others, while my page has over 2k fans.
BSPS wrote:I think I figured something out, the 12 likes are likes of my website itself. Isn't it possible to get people to like my actual facebook-page through the imagevuelink?
Sure, but as far as I could see, you had the appID of your facebook page, and then you have the URL of your gallery page. You can only choose to have one ... I suggest you use the Facebook "like" build to add all your data for EITHER the gallery page or your facebook page, and then click "get code" to see the exact details to add to the module ...
 
tschortsch
Experienced
Posts: 150
Joined: 01 Apr 2010, 17:23

Re: How do you display social next to audio player

22 Jul 2011, 08:57

Hey, this works really well!

This code is responsible for the social thing to disappear when audioplayer is used, right?
Code
function togglesocial(bool){
         if(bool){
            $("#social-thing").show();
         } else {
            $("#social-thing").hide();
         }
      }
Is there a way to let the social thing disappear when using the menu?! I placed it next to the main menu, because I have a logo in the right corner...
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

Re: How do you display social next to audio player

22 Jul 2011, 10:00

schurdinand wrote:Is there a way to let the social thing disappear when using the menu?! I placed it next to the main menu, because I have a logo in the right corner...
Hmmm, this was just a quick "hack" I added as it seemed most appropriate to add it top right corner. I can't hardcode this function into the SWF, because we don't want the social-thing to disappear on menu hover if it is located on the right. Can't you just add some space in the CSS so that the social-thing display either below or on the left of your logo?
 
tschortsch
Experienced
Posts: 150
Joined: 01 Apr 2010, 17:23

Re: How do you display social next to audio player

22 Jul 2011, 10:23

If there is no way I'll try to display it somewhere below the logo! :(

Thanx for your quick reply!
 
User avatar
Martin
Experienced
Posts: 651
Joined: 30 Jan 2011, 23:24

Re: How do you display social next to audio player

22 Jul 2011, 10:47

mjau-mjau wrote:...because we don't want the social-thing to disappear...
I really like its name... :)
 
Johan
Posts: 9
Joined: 24 Jul 2011, 04:13

Re: How do you display social next to audio player

24 Jul 2011, 05:53

schurdinand wrote:Hey, this works really well!

This code is responsible for the social thing to disappear when audioplayer is used, right?
Code
function togglesocial(bool){
         if(bool){
            $("#social-thing").show();
         } else {
            $("#social-thing").hide();
         }
      }
Is there a way to let the social thing disappear when using the menu?! I placed it next to the main menu, because I have a logo in the right corner...
Yes you're right... :)
If you want this bar always displayed just replace this :
Code
function togglesocial(bool){
         if(bool){
            $("#social-thing").show();
         } else {
            $("#social-thing").hide();
         }
}
to this :
Code
 $("#social-thing").show();
Seems work, you can check it on mine : http://www.jch-photographie.fr

Cheers ! ;)
 
tschortsch
Experienced
Posts: 150
Joined: 01 Apr 2010, 17:23

Re: How do you display social next to audio player

24 Jul 2011, 12:40

Thank you so much! Wow, how easy this was :roll: ! It works perfectly!

If using the index_example.html instead of index.php to load the gallery, this social thing does not show up, wheather using the original code or not! It worked well with the old Facebook "like" Button before...

Do you have any idea why?
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

Re: How do you display social next to audio player

24 Jul 2011, 16:30

schurdinand wrote:Thank you so much! Wow, how easy this was :roll: ! It works perfectly!

If using the index_example.html instead of index.php to load the gallery, this social thing does not show up, wheather using the original code or not! It worked well with the old Facebook "like" Button before...

Do you have any idea why?
index_example.html does not contain dynamic php that can read data from settings or custom CSS. It is just meant as a guide for those who are creating their own html file. I am not sure what you are trying to do or why it is supposed to work for with this file ...

The social-thing is also a custom module, which we have given a guide in this post how to implement. Likewise, it is a custom job to add it to any custom html file like the index_example.html. It is not part of the Imagevue system, simply because this was not possible ...
 
Johan
Posts: 9
Joined: 24 Jul 2011, 04:13

Re: How do you display social next to audio player

25 Jul 2011, 05:08

Hello ;)

Any chance for me to have the Social Thing bar in french ?... indeed, this bar is in english... I saw the JS code and i can't find parameters for language...

Thanks a lot ;)
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

Re: How do you display social next to audio player

25 Jul 2011, 05:52

Johan wrote:Any chance for me to have the Social Thing bar in french ?... indeed, this bar is in english... I saw the JS code and i can't find parameters for language...
We don't add any text, so this is out of our control. The Facebook and Twitter is basically a service loaded directly from Facebook and Twitter ... Apparently some of the language should change depending on what country they are being viewed from, and/or if they are logged in to the service or not.

I found through research that you can change the Twitter tweet button language by adding data-lang="fr":
Code
<a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" data-lang="fr">Tweet</a>
None of the other items seem to have any language options, although it seems to me there is not much reason to as they are mostly buttons. If they are signed in to French Facebook, then the Facebook will display in French.
 
Johan
Posts: 9
Joined: 24 Jul 2011, 04:13

Re: How do you display social next to audio player

25 Jul 2011, 06:29

Hello mjau-mjau,

Thanks a lot for your quick reply ! :)
The first way works fine (with previous "like" bar).... but with this new one, all are in english...
I'm agree with you that it can be facebook tool issue and i know that all is out of control of this marvellous imagevuex ! ;)

Sorry for my poor english, hope you can understand me well ;)
 
Johan
Posts: 9
Joined: 24 Jul 2011, 04:13

Re: How do you display social next to audio player

25 Jul 2011, 06:38

Got it !

I just replaced this :
Code
  $.getScript('http://connect.facebook.net/en_US/all.js', function () {

by this
Code
  $.getScript('http://connect.facebook.net/fr_FR/all.js', function () {
Seems work, but i think that my bar is in french even for english people.... someone can confirm it please ? Thanks ;)
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

Re: How do you display social next to audio player

25 Jul 2011, 10:59

Johan wrote:Seems work, but i think that my bar is in french even for english people.... someone can confirm it please ? Thanks ;)
Confirmed.
 
Johan
Posts: 9
Joined: 24 Jul 2011, 04:13

Re: How do you display social next to audio player

26 Jul 2011, 02:59

Ok, thanks ! ;)

We can think that bar language translation is not automatic....