Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: 1 [2] 3   Go Down

Author Topic: flf_flashcloud - Get a moving cloud with your image tags  (Read 29229 times)

0 Members and 1 Guest are viewing this topic.

loungelizard

  • Contributor
  • Coppermine regular visitor
  • ***
  • Offline Offline
  • Posts: 63
    • lounge-lizard.org
Re: flf_flashcloud - Get a moving cloud with your image tags
« Reply #20 on: February 20, 2010, 02:00:18 pm »

Please try this one, i changed all the include files links and did not find any more problems. Please let me know, if it works for you know. Thanks.
Cheers, Florian
Logged

Joe Carver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1503
  • aka 'i-imagine'
    • Home Page
Re: flf_flashcloud - Get a moving cloud with your image tags
« Reply #21 on: February 20, 2010, 03:26:14 pm »

Sorry that I cannot make any tests with .zip plugins on the new server - I have now just encountered issues with uploading/installing proven plugins....if I can I will test yours later.

Joe Carver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1503
  • aka 'i-imagine'
    • Home Page
Re: flf_flashcloud - Get a moving cloud with your image tags
« Reply #22 on: February 25, 2010, 12:12:35 pm »

@ Florian, Since I still can not make any valid, extensive test with my new host and server I will only answer here with a couple of suggestions for you.

1) If possible could the "mouse-out" timing to deactivate the cloud be set? A faster mouse-out might help to take the load from the visitor's cpu when they browse different parts of a page that has a Cloud.

2) You might want to look at where you have set:
Code: [Select]
<script language="javascript">instead of:
Code: [Select]
<script type="text/javascript">This will help with validation as I have learned with another plugin.

3) This is mostly "code cosmetic" only...
The EOT(s) that transfer to the js AC_FL_RunContent will be easier to read if they are kept to the left margin.

     +++++

Your demo link still works fine for me - the plugin and concept are still very cool!

mykee

  • Contributor
  • Coppermine frequent poster
  • ***
  • Country: hu
  • Offline Offline
  • Gender: Male
  • Posts: 140
    • One moment from Hungary
Re: flf_flashcloud - Get a moving cloud with your image tags
« Reply #23 on: June 05, 2010, 01:46:54 pm »

I have two problems:
- on first page not show this cloud. :(
- cannot use correctly all unicode characters. I use hungarian ő and ű, but not show in cloud...

Here is my gallery: http://foto.acegem.hu/index.php
Logged
My gallery and demo for AnythingSlider, Photocols and CollagePlus plugin: http://foto.acegem.hu/index.php

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: flf_flashcloud - Get a moving cloud with your image tags
« Reply #24 on: June 06, 2010, 03:37:11 pm »

I doubt that this plugin was written with i18n in mind.
Logged

mykee

  • Contributor
  • Coppermine frequent poster
  • ***
  • Country: hu
  • Offline Offline
  • Gender: Male
  • Posts: 140
    • One moment from Hungary
Re: flf_flashcloud - Get a moving cloud with your image tags
« Reply #25 on: June 06, 2010, 04:53:25 pm »

XML file what generated is correct, look this. Only in cloud see this problem...
Logged
My gallery and demo for AnythingSlider, Photocols and CollagePlus plugin: http://foto.acegem.hu/index.php

mykee

  • Contributor
  • Coppermine frequent poster
  • ***
  • Country: hu
  • Offline Offline
  • Gender: Male
  • Posts: 140
    • One moment from Hungary
Re: flf_flashcloud - Get a moving cloud with your image tags
« Reply #26 on: June 06, 2010, 08:08:34 pm »

This plugin (version 1.2) not compatible with flash-based, multiupload method.

More info from error here:
http://forum.coppermine-gallery.net/index.php/topic,65289.0.html
Logged
My gallery and demo for AnythingSlider, Photocols and CollagePlus plugin: http://foto.acegem.hu/index.php

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: flf_flashcloud - Get a moving cloud with your image tags
« Reply #27 on: June 07, 2010, 08:31:45 am »

That other thread was locked on purpose. Stop posting your (well-meant, but unproven) tipps. Dev team members or moderators will do that if necessary.
Logged

mykee

  • Contributor
  • Coppermine frequent poster
  • ***
  • Country: hu
  • Offline Offline
  • Gender: Male
  • Posts: 140
    • One moment from Hungary
Re: flf_flashcloud - Get a moving cloud with your image tags
« Reply #28 on: June 19, 2010, 05:57:59 pm »

Tested with 1.5.6 latest svn version, but flash-based upload was wrong, I get an error after upload. And not show on gallery page with "/flashcloud" option. :(
Logged
My gallery and demo for AnythingSlider, Photocols and CollagePlus plugin: http://foto.acegem.hu/index.php

loungelizard

  • Contributor
  • Coppermine regular visitor
  • ***
  • Offline Offline
  • Posts: 63
    • lounge-lizard.org
Re: flf_flashcloud - Get a moving cloud with your image tags
« Reply #29 on: June 19, 2010, 07:04:06 pm »

I can confirm the problem but i can't identify the solution.  The debug version of the flash player did not give me any clues. Any help is appreciated. As my time is limited at the moment, i can't put effort into a complete rewrite. Sorry.
Logged

Joe Carver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1503
  • aka 'i-imagine'
    • Home Page
Re: flf_flashcloud - Get a moving cloud with your image tags
« Reply #30 on: June 19, 2010, 07:35:23 pm »

I can confirm the problem but i can't identify the solution.  ..... Any help is appreciated. .....

I see on your demo page one of the thumbnail pages  (a "non-cloud page"?) there was some .js file
called in the page <head>.
It was this: ..........plugins/flf_flashcloud/js/farbtastic.js
On this page:
http://www.lounge-lizard.org/cms/coppermine/thumbnails.php?album=search&search=Tierpark

Can you turn off that .js on pages that are 'non-cloud"?

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: flf_flashcloud - Get a moving cloud with your image tags
« Reply #31 on: June 21, 2010, 12:37:28 pm »

The farbtastic library should only be called on the configuration page (if at all) as far as I can see.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15759
Re: flf_flashcloud - Get a moving cloud with your image tags
« Reply #32 on: June 22, 2010, 12:00:43 pm »

I had the same problem when including some stuff. I solved it that way:
Code: [Select]
    global $CPG_PHP_SELF;
    if ($CPG_PHP_SELF != "captcha.php" && $CPG_PHP_SELF != "upload.php") {
Logged

pblanken70

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: flf_flashcloud - Get a moving cloud with your image tags
« Reply #33 on: August 17, 2010, 12:57:56 am »

Andre,

Where exactly do you put that code you mentioned?
My gallery is at http://album.vrouwtjekwebbel.nl (user: test / passw: test123)

Gr. Paul.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15759
Re: flf_flashcloud - Get a moving cloud with your image tags
« Reply #34 on: August 17, 2010, 08:12:17 am »

I don't use this plugin nor ever had a look at the code. But you have to put it before the plugins generates some output.
Logged

loungelizard

  • Contributor
  • Coppermine regular visitor
  • ***
  • Offline Offline
  • Posts: 63
    • lounge-lizard.org
Re: flf_flashcloud - Get a moving cloud with your image tags
« Reply #35 on: August 17, 2010, 08:31:23 pm »

I just fixed this by changing it as suggested above in init.inc.php:
Code: [Select]
function flf_histotag_initialize() {
    global $CONFIG, $flf_lang_var;
    $superCage = Inspekt::makeSuperCage();
global $CPG_PHP_SELF;
    if ($CPG_PHP_SELF != "captcha.php" && $CPG_PHP_SELF != "upload.php") {
        global $JS;
        $JS['includes'][] = 'plugins/flf_histotag/js/farbtastic.js';
        $JS['includes'][] = 'js/jquery.spinbutton.js';
    }
My flash upload works again (so I suppose the captcha function will as well) - but I'm still not happy. In my case: the file is copied correctly, the database is updated - but i get a "file upload" error at the end from the flash uploader anyway.

So it's not solved entirely, that's why i don't update the source yet... i'll dive further into that.

The error in the flashcloud-source should be fixed the same way.

Cheers, Florian
Logged

pblanken70

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: flf_flashcloud - Get a moving cloud with your image tags
« Reply #36 on: August 17, 2010, 11:01:44 pm »

Florian,

I used your change in init.inc.php with a few adjustments.
Installation of the plugin is OK. But the tags stay the same (as in farbtastic.js).


function flf_flashcloud_initialize() {
    global $CONFIG, $lang_plugin_flashcloud;
    $superCage = Inspekt::makeSuperCage();
    global $CPG_PHP_SELF;
    if ($CPG_PHP_SELF != "captcha.php" && $CPG_PHP_SELF != "upload.php") {
        global $JS;
        $JS['includes'][] = 'plugins/flf_histotag/js/farbtastic.js';
        $JS['includes'][] = 'js/jquery.spinbutton.js';
    }
Logged

pblanken70

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: flf_flashcloud - Get a moving cloud with your image tags
« Reply #37 on: August 17, 2010, 11:09:59 pm »

Florian,

Thanks! I used your change in init.inc.php with a few adjustments.
Installation of the plugin is OK. But the tags stay the same (as written in the file "cloud_data.xml" from the plugin).
Any idea how I can let this plugin show my own tags?
-------------
function flf_flashcloud_initialize() {
    global $CONFIG, $lang_plugin_flashcloud;
    $superCage = Inspekt::makeSuperCage();
    global $CPG_PHP_SELF;
    if ($CPG_PHP_SELF != "captcha.php" && $CPG_PHP_SELF != "upload.php") {
        global $JS;
        $JS['includes'][] = 'plugins/flf_histotag/js/farbtastic.js';
        $JS['includes'][] = 'js/jquery.spinbutton.js';
    }
-------

Paul.
Logged

loungelizard

  • Contributor
  • Coppermine regular visitor
  • ***
  • Offline Offline
  • Posts: 63
    • lounge-lizard.org
Re: flf_flashcloud - Get a moving cloud with your image tags
« Reply #38 on: August 17, 2010, 11:28:05 pm »

did you set plugin_flf_flashcloud_autogenerate accordingly? Did you try regenerating the tags with the function provided in the plugin manager view?
Logged

pblanken70

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: flf_flashcloud - Get a moving cloud with your image tags
« Reply #39 on: August 17, 2010, 11:38:09 pm »

Yes I did all this in the following order: Uninstall -> install -> configure -> regenerate.
Even tried an upload. No error. But also no tags of mine in the cloud.

I noticed just yet there is a odd path in the code so I changed the code below.
Reason for this is that the plugin is called flf_flashcloud and not flf_histotag.

From:
$JS['includes'][] = 'plugins/flf_histotag/js/farbtastic.js';
to:
$JS['includes'][] = 'plugins/flf_flashcloud/js/farbtastic.js';

Appreciate your help and the quick replies.
Paul.
Logged
Pages: 1 [2] 3   Go Up
 

Page created in 0.056 seconds with 21 queries.