Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum

Get help for TinyWebGallery, the best image gallery. The forum is also home for the Joomla JFUploader, TWG Flash Uploader and the Wordpress flash uploader.
It is currently 29. Nov 2024, 19:25

This forum is readonly now. Please use the new forum if you don't find the answer to your question here. The new forum is at https://www.tinywebgallery.com/blog/forum/


All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 18 posts ]  Go to page 1, 2  Next
Author Message
PostPosted: 9. May 2008, 13:26 
Offline

Joined: 18. Mar 2008, 16:20
Posts: 45
Hi Michael,

I purchased the standard license. I have the license file in the directory where the config.php is, but I still can see the "Powered By TWG" watermark.

Shouldn't be that turned off ?

I checked:

$show_twg_logo_if_registered=false;

$install_dir is OK

What may be causing this ?

Thanks,

siran


Top
 Profile  
 
 Post subject:
PostPosted: 9. May 2008, 13:38 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Read howto 13 like the registration e-mail says.
and read the IMPORTANT part too ;).

logo != watermark!

/Michael


Top
 Profile  
 
 Post subject: spanish translation
PostPosted: 9. May 2008, 16:10 
Offline

Joined: 18. Mar 2008, 16:20
Posts: 45
Hi Michael !

I disabled watermarks : )

A question on translation: where can I translate the following message:
Quote:
The album '' cannot be found and is maybe not available anymore.

If this a new created directory please make sure not to use a " in the folder name because this a not allowed character in album names.
Please close the browser to delete the session because TWG is caching the direcotry infomation there.

If you came with a direct link please check the directory name.
Please go back to the main page and navigate to the album you are looking for.




I don't seem to find it. :?


I also made some corrections on the language_es.php file. Put some commas, "¿"s and "¡"s necessary in spanish, fixed typos. Maybe I can share it with the rest of the users... I don't know how ?

I also have some particular translations that I want for my interface, and I don't know if translations can be parametrized ? I would like to use the general corrected spanish translation, and tweak it a little bit for my particlar needs... that is, loading two language translation files (load the general translation, and afterwards my particular translation; is this possible ?.


regards,

siran


Top
 Profile  
 
 Post subject: Re: spanish translation
PostPosted: 9. May 2008, 18:05 
Offline

Joined: 18. Mar 2008, 16:20
Posts: 45
Well, what is really important on my last post was is the message I dont seem to find.

About translations, I can use my translation and that's it, I just wanted to contribute correcting some typos the other translator missed; while maintaining some translations that are only useful to me...


regards,

siran


Top
 Profile  
 
 Post subject:
PostPosted: 9. May 2008, 22:41 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
if you have a better translation file simply send it to me. I will add it to the next build of TWG.

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 10. May 2008, 07:09 
Offline

Joined: 18. Mar 2008, 16:20
Posts: 45
TinyWebGallery wrote:
if you have a better translation file simply send it to me. I will add it to the next build of TWG.

/Michael


Ok, no prob !


I found the other text message I wanted translated in inc/filefunctions.inc.php:

Code:
echo "The album '" . utf8_encode($output) . "' cannot be found and is maybe not available anymore.";
            echo "<br/>&nbsp;<br />If this a new created directory please make sure not to use a " in the folder name because this a not allowed character in album names." ;
            echo "<br />Please close the browser to delete the session because TWG is caching the direcotry infomation there.";
            echo "<p>If you came with a direct link please check the directory name.<br>Please go back to the main page and navigate to the album you are looking for.</p>";




Is there a standard way to translate this message via the language files ?

Thanks,

siran


Top
 Profile  
 
 Post subject:
PostPosted: 10. May 2008, 08:47 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
seems I missed this one ;).

Simply extract it to the language file like the other stuff too.
I's simply done by a global variable.

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 10. May 2008, 16:38 
Offline

Joined: 18. Mar 2008, 16:20
Posts: 45
Hi Michael,

I did this on filefunctions.inc.php:

original:

Code:
            echo "The album '" . utf8_encode($output) . "' cannot be found and is maybe not available anymore.";
            echo "<br/>&nbsp;<br />If this a new created directory please make sure not to use a \" in the folder name because this a not allowed character in album names." ;
            echo "<br />Please close the browser to delete the session because TWG is caching the direcotry infomation there.";
            echo "<p>If you came with a direct link please check the directory name.<br>Please go back to the main page and navigate to the album you are looking for.</p>"


I changed to this:
Code:
                if (trim(utf8_encode($output)) != '' or true){
                    //album cannot be found.
                echo $lang_album_no1 . " '" . utf8_encode($output) . "' " . $lang_album_no2;
                echo "<br/>&nbsp;<br />" . $lang_album_no3;
                echo "<br />" . $lang_album_no4;
                echo "<p>" . $lang_album_no5 . "</p>";
                }


and in the language files:
Code:
$lang_titel_no = "No images are uploaded yet.";
$lang_album_no1 = "The album";
$lang_album_no2 = "cannot be found and is maybe not available anymore.";
$lang_album_no3 = "If this a new created directory please make sure not to use a \" in the folder name because this a not allowed character in album names.";
$lang_album_no4 = "Please close the browser to delete the session because TWG is caching the direcotry infomation there.";
$lang_album_no5 = "If you came with a direct link please check the directory name.<br>Please go back to the main page and navigate to the album you are looking for.";



But there is an include missing somewhere, from which to get the language vars... ---> $lang_album_no =''


siran


Top
 Profile  
 
 Post subject:
PostPosted: 10. May 2008, 19:15 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
you have to make this variables global in this function.

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 10. May 2008, 21:21 
Offline

Joined: 18. Mar 2008, 16:20
Posts: 45
TinyWebGallery wrote:
you have to make this variables global in this function.

/Michael


done, thanks !


Top
 Profile  
 
 Post subject:
PostPosted: 30. Dec 2008, 01:17 
Offline

Joined: 30. Dec 2008, 01:01
Posts: 4
I'm sorry Michael,

But for those of us who are not intimately aware of what you mean... I am registered, have checked that the show watermark is false. The section in config.php is NOT useful.

I just want to get rid of the watermark and don't know how to... it is not evident to a newbie who has willingly sent his registration fee (and your software is certainly worth more! so I am really not complaining) but would love to just have a straight answer on the forum...

How do I get rid of your watermark? Please, please, please, just write it down here so that the answer is there and you aren't forced to answer the same question again and again and again. It's simple. Don't send me to HowTo 13 - that doesn't help, nor to the config.php - none of it makes sense. I don't care about printing... just how to get rid of it on the webpage itself and nowhere can I find a simple answer - though I suppose that your reference to the important part holds the answer!

(btw I did clear the cache and did the same thing on my browser.)

Thanks. In peace,

Max

TinyWebGallery wrote:
Read howto 13 like the registration e-mail says.
and read the IMPORTANT part too ;).

logo != watermark!

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 30. Dec 2008, 01:21 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
have you made the change in my_config.php ?

Because I write everywhere that changes in my_config.php overwrite the settings in config.php which you actually should never change!

All your changes should be in my_config.php because then you have a good overview about your settings and you can update very easy.

- Michael


Top
 Profile  
 
 Post subject:
PostPosted: 30. Dec 2008, 01:45 
Offline

Joined: 30. Dec 2008, 01:01
Posts: 4
Hi Michael,

TinyWebGallery wrote:
have you made the change in my_config.php ?

Because I write everywhere that changes in my_config.php overwrite the settings in config.php which you actually should never change!

All your changes should be in my_config.php because then you have a good overview about your settings and you can update very easy.

- Michael


Yes... in my_config.php
$show_twg_logo_if_registered=false;

Any other ideas...

btw, took note of your comment about watermark.png being important, and found two in /buttons and renamed them with .bak.. that has now meant that there is no film strip not lightbox effects!

OUCH!!!

Sorry, but I really think you need to give a clear instruction... looks like i'm going to have to reload everything!!!

Maybe you have lived so intimately with your software (which is truly cool!) that you don't realise that some of us don't have the same knowledge as you...

In peace,

Max


Top
 Profile  
 
 Post subject:
PostPosted: 30. Dec 2008, 01:54 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
First - logo != watermark.

In my_config.php is a section for watermark:

/* This section is responsible for the watermark stuff - please delete the cache if you change watermarks */
$print_text=true; // new 1.1 - you can print some text on the lower left corner to protect your images or at least make it a little bit harder to copy it without doing anything :) if you change this setting please delete the cache folder - otherwise generated images are not changed.
$print_text_original=true; // new 1.1 does print the text on the original as well - $enable_direct_download has to be set to false!!!
$text = "powered by TinyWebGallery";
$print_watermark = true; // new 1.1 - you can make a watermark on the images to protect your images or at least make it a little bit harder to copy it without doing anything :) if you change this setting please delete the cache folder - otherwise generated images are not changed. Please read the description of the parameters that belong to the watermark to get best results!
$print_watermark_original=false; // new 1.2 does print the watermark on the original as well - $enable_direct_download has to be set to false!!!
$watermark_small = "buttons/watermark_small.png"; // new 1.1 - this is the watermark that is used on the detail and slideshow images - can be jpg or png - png gives better results
$watermark_big = "buttons/watermark.png"; // new 1.1 - this is the watermark that is used on the download images - can be jpg or png - png gives better results. you can use a larger image here because the original images are most of the times much bigger
$position= 7; // new 1.1 you can define the location of the watermark with this setting (top: 1 2 3, middle: 4 5 6, bottom: 7 8 9

Simply set them the way you like, delete the images in the cache folder - done.

- Michael


Top
 Profile  
 
 Post subject:
PostPosted: 30. Dec 2008, 02:14 
Offline

Joined: 30. Dec 2008, 01:01
Posts: 4
Everything has gone haywire.

I deleted everything. Re-uploaded. Now there is nothing... no collage on my galleries. No film strip. No lightbox. And now watermark... so somewhere... it works... I get rid of the watermark... but everything else is disabled... How is this possible? I used the same .tar.gz file that I'd uploaded before my problems!!!!

I'll look at it again tomorrow. I have to sleep and work tomorrow. Maybe I'll wake up and everything will be OK (but I don't imagine so!) Please don't reply Michael... I need to go through the recommended settings again...

But really I think that something is not cool here. When people buy their licence they expect that getting rid of the watermark is easy and in your howto there is not a single reference to the line in the my_config that needs to be changed... and when I found it (and had got rid of my cache and deleted my own browser's cache), it was still there...

In peace,

Max


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 18 posts ]  Go to page 1, 2  Next

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
powered by phpbb | Datenschutz/ Privacy policy