flf_flashcloud - Get a moving cloud with your image tags - Page 2 flf_flashcloud - Get a moving cloud with your image tags - Page 2
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

flf_flashcloud - Get a moving cloud with your image tags

Started by loungelizard, February 09, 2010, 07:16:41 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

loungelizard

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

Joe Carver

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

@ 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:
<script language="javascript">
instead of:
<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

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
My gallery and demo for AnythingSlider, Photocols and CollagePlus plugin: http://foto.acegem.hu/index.php

Joachim Müller

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

mykee

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

mykee

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
My gallery and demo for AnythingSlider, Photocols and CollagePlus plugin: http://foto.acegem.hu/index.php

Joachim Müller

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.

mykee

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. :(
My gallery and demo for AnythingSlider, Photocols and CollagePlus plugin: http://foto.acegem.hu/index.php

loungelizard

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.

Joe Carver

Quote from: loungelizard on June 19, 2010, 07:04:06 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

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

Αndré

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

pblanken70

Andre,

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

Gr. Paul.

Αndré

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.

loungelizard

I just fixed this by changing it as suggested above in init.inc.php:
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

pblanken70

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';
    }

pblanken70

Quote from: pblanken70 on August 17, 2010, 11:01:44 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.

loungelizard

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

pblanken70

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.