Search…

X3 Photo Gallery Support Forums

Search…
 
grimurnet
Experienced
Posts: 360
Joined: 17 Dec 2010, 04:50

Re: Multi lingual

20 Jun 2011, 14:15

Mainly imagevue, but do you know how?
 
User avatar
Artur
Imagevue PowerPack
Posts: 510
Joined: 20 May 2011, 03:17

Re: Multi lingual

20 Jun 2011, 14:22

I'm pretty sure that we have to wait for an update in this case, (but maybe there's something what I don't know about...)
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

Re: Multi lingual

21 Jun 2011, 01:33

Just to comment here ... Nice module you made there philip100, and thanks for making it available.

The only way he could make the language links simply "switch" language, would be to load the page that is currently being viewed. That would require using the SWFAddress function to get current page, and then append it to the link so that when it is clicked, it goes to the same page ...
 
grimurnet
Experienced
Posts: 360
Joined: 17 Dec 2010, 04:50

Re: Multi lingual

21 Jun 2011, 03:17

Is this possible within imagevue? If yes how?
 
User avatar
Artur
Imagevue PowerPack
Posts: 510
Joined: 20 May 2011, 03:17

Re: Multi lingual

21 Jun 2011, 10:06

grimurnet wrote:Is this possible within imagevue? If yes how?
maju-maju explain you that it is possible only by the function (in this case - SWFAddress). But this function must be aplied to language button.
So, basicaly - only one thing you can set up for those buttons in menu, it is precise link to different language version. You can't set up for them any other function which return currently watched address, and give it back when language button is pressed... :wink:
Last edited by Artur on 21 Jun 2011, 17:44, edited 2 times in total.
 
User avatar
Artur
Imagevue PowerPack
Posts: 510
Joined: 20 May 2011, 03:17

Re: Multi lingual

21 Jun 2011, 16:29

Button Bar updated to v1.1beta 8) !

Updatelog:

- Added more customization posibilities, editing values in xml file,
- Added "Hide" button,
- Enable or disable "Hide" button,
- Enable or disable language buttons,
- Enable or disable facebook button,
- Enable or disable auto light switcher,
- Elements are created "on the fly", and unloaded when not needed - for better performance.



Instalation:

Change values: "polish" and "english" to any languages you want.

"Image1" and "Image2" are path to language buttons images (the path should start from root directory of your site!). Images must be in 32x32pix resolution for perfect fit.

Settings.xml file must be in root directory of your site.

To implement this module for your site, you have to go in your imagevue admin panel to "Themes", there upload Button_Bar.swf file and set it as background with "TR" aligmnent, no-repeat, noScale.

Planned for "no-beta" release:

- Improove design,
- Improove performance,
- Add posibilities for edit colours, sizes and elements positions,
- Add more buttons for custom links and functions.


Button_Bar_beta1.zip
(15.29 KiB) Downloaded 341 times
 
grimurnet
Experienced
Posts: 360
Joined: 17 Dec 2010, 04:50

Re: Multi lingual

22 Jun 2011, 06:01

Philip do you know how to add flv file also to the lightoff feature, it would be nice to have that also to dimm the background :-)
 
User avatar
Artur
Imagevue PowerPack
Posts: 510
Joined: 20 May 2011, 03:17

Re: Multi lingual

22 Jun 2011, 15:13

grimurnet wrote:Philip do you know how to add flv file also to the lightoff feature, it would be nice to have that also to dimm the background :-)
Of course, it's very easy to do, but first of all you have to know that movies playing in the background will slow down your gallery... So, I not recommend use movies and I think I will not add this function in future.

Other feature, which I planned (and is also very easy to do) is possibility to setup specific background for any gallery. I think, this possibility would be more desired than movies :wink:
Last edited by Artur on 22 Jun 2011, 15:19, edited 1 time in total.
 
grimurnet
Experienced
Posts: 360
Joined: 17 Dec 2010, 04:50

Re: Multi lingual

22 Jun 2011, 15:17

philip100 wrote:
grimurnet wrote:Philip do you know how to add flv file also to the lightoff feature, it would be nice to have that also to dimm the background :-)
Of course, it's very easy to do, but first of all you have to know that movies playing in the background will slow down your gallery... So, I not recommend use movies and I think I will not add this function in future.

Other feature, which I planned (and is also very easy to do) is possibility to setup specific background for any gallery :wink:
Thanks for the reply, I'm using the fla document you posted and have been playing around with it, I hope its ok for you if I use it :-)
Where do I add other extenstions to the dimming
Code
if (SWFAddress.getValue().indexOf(".jpg") == -1)
 
User avatar
Artur
Imagevue PowerPack
Posts: 510
Joined: 20 May 2011, 03:17

Re: Multi lingual

22 Jun 2011, 15:31

grimurnet wrote:
Code
if (SWFAddress.getValue().indexOf(".jpg") == -1)
it's not code what you looking for :wink:

If you base on previous FLA file, then you should to edit "bckgr.square_mc" movieClip. Just delete shape inside and import some flv movie on stage. just try...
But it is not as simply as it looks like because even if the light is currently on - movie will still play and slowdown gallery, :wink: . Better solution is import FLV file "on the fly" (when needed), but for do this, you have to edit almost all code...
 
grimurnet
Experienced
Posts: 360
Joined: 17 Dec 2010, 04:50

Re: Multi lingual

22 Jun 2011, 15:45

philip100 wrote:
grimurnet wrote:
Code
if (SWFAddress.getValue().indexOf(".jpg") == -1)
it's not code what you looking for :wink:

If you base on previous FLA file, then you should to edit "bckgr.square_mc" movieClip. Just delete shape inside and import some flv movie on stage. just try...
But it is not as simply as it looks like because even if the light is currently on - movie will still play and slowdown gallery, :wink: . Better solution is import FLV file "on the fly" (when needed), but for do this, you have to edit almost all code...
No you misunderstand me, what I'm talking about is now it only dimming the background when it is indexOF .jpg but I would also like to have it with other endings like flv for instance
 
User avatar
Artur
Imagevue PowerPack
Posts: 510
Joined: 20 May 2011, 03:17

Re: Multi lingual

22 Jun 2011, 16:15

grimurnet wrote: No you misunderstand me
Yes, I did, sorry :)
Ok, so just delete "jpg" from this code (leave only ".") and should work with all extensions you wish :wink:
 
grimurnet
Experienced
Posts: 360
Joined: 17 Dec 2010, 04:50

Re: Multi lingual

22 Jun 2011, 16:20

philip100 wrote:
grimurnet wrote: No you misunderstand me
Yes, I did, sorry :)
Ok, so just delete "jpg" from this code (leave only ".") and should work with all extensions you wish :wink:
I tried to do .jpg, flv but did not work, but by leaving only "." dims also when viewing thumbs. I would like to customize which extensions will be active. Is that not possible?
 
User avatar
Artur
Imagevue PowerPack
Posts: 510
Joined: 20 May 2011, 03:17

Re: Multi lingual

23 Jun 2011, 00:14

grimurnet wrote: I tried to do .jpg, flv but did not work, but by leaving only "." dims also when viewing thumbs.
Strange, works well for me... :roll:
grimurnet wrote:I would like to customize which extensions will be active. Is that not possible?
Possible:
Code
SWFAddress.onChange = function(){
   SWFAddress.getValue();
   if ((SWFAddress.getValue().indexOf(".jpg") == -1) | (SWFAddress.getValue().indexOf(".flv") == -1)){
      Light_On();
   } else{
      Light_Off();
   }
}
 
grimurnet
Experienced
Posts: 360
Joined: 17 Dec 2010, 04:50

Re: Multi lingual

23 Jun 2011, 04:51

Thanks for the help Philip :-)