BSPS
Joined: 21 Jan 2011
Posts: 9
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?


Re: How do you display social next to audio player
User avatar
Imagevue Wizard
Joined: 30 Sep 2006
Posts: 7280
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 ...

_________________
Karl / mjau-mjau

Image
Image
Image
Image

www.imagevuex.com
www.mjau-mjau.com
www.photogallerylinks.com


Re: How do you display social next to audio player
tschortsch
Experienced
Joined: 1 Apr 2010
Posts: 118
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...


Re: How do you display social next to audio player
User avatar
Imagevue Wizard
Joined: 30 Sep 2006
Posts: 7280
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?

_________________
Karl / mjau-mjau

Image
Image
Image
Image

www.imagevuex.com
www.mjau-mjau.com
www.photogallerylinks.com


Re: How do you display social next to audio player
tschortsch
Experienced
Joined: 1 Apr 2010
Posts: 118
If there is no way I'll try to display it somewhere below the logo! :(

Thanx for your quick reply!


Re: How do you display social next to audio player
User avatar
Experienced
Joined: 30 Jan 2011
Posts: 355
The Netherlands
mjau-mjau wrote
...because we don't want the social-thing to disappear...

I really like its name... :)

_________________
Image


Re: How do you display social next to audio player
Johan
Joined: 24 Jul 2011
Posts: 9
FRANCE
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 ! ;)

_________________
My Facebook page | Website


Re: How do you display social next to audio player
tschortsch
Experienced
Joined: 1 Apr 2010
Posts: 118
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?


Re: How do you display social next to audio player
User avatar
Imagevue Wizard
Joined: 30 Sep 2006
Posts: 7280
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 ...

_________________
Karl / mjau-mjau

Image
Image
Image
Image

www.imagevuex.com
www.mjau-mjau.com
www.photogallerylinks.com


Re: How do you display social next to audio player
Johan
Joined: 24 Jul 2011
Posts: 9
FRANCE
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 ;)

_________________
My Facebook page | Website


Re: How do you display social next to audio player
User avatar
Imagevue Wizard
Joined: 30 Sep 2006
Posts: 7280
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.

_________________
Karl / mjau-mjau

Image
Image
Image
Image

www.imagevuex.com
www.mjau-mjau.com
www.photogallerylinks.com


Re: How do you display social next to audio player
Johan
Joined: 24 Jul 2011
Posts: 9
FRANCE
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 ;)

_________________
My Facebook page | Website


Re: How do you display social next to audio player
Johan
Joined: 24 Jul 2011
Posts: 9
FRANCE
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 ;)

_________________
My Facebook page | Website


Re: How do you display social next to audio player
User avatar
Imagevue Wizard
Joined: 30 Sep 2006
Posts: 7280
Johan wrote
Seems work, but i think that my bar is in french even for english people.... someone can confirm it please ? Thanks ;)

Confirmed.

_________________
Karl / mjau-mjau

Image
Image
Image
Image

www.imagevuex.com
www.mjau-mjau.com
www.photogallerylinks.com


Re: How do you display social next to audio player
Johan
Joined: 24 Jul 2011
Posts: 9
FRANCE
Ok, thanks ! ;)

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

_________________
My Facebook page | Website


cron
 
Imagevue Forums HomeForum  View topic - How do you display social next to audio player60 posts