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 26. Apr 2024, 21:39

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  [ 22 posts ]  Go to page 1, 2  Next
Author Message
PostPosted: 6. Apr 2006, 14:16 
Offline
User avatar

Joined: 5. Aug 2005, 19:39
Posts: 77
I have finally made it in installing the new 1.4. Looking good, but...

I can not understand a lot of options:


*-*-*-*-*-*-*-*-*-*-

-I really want the filenames to be printed under the pictures ? I can't for the life of me find the right switch ?

*-*-*-*-*-*-*-*-*-*-

-as soon as I click the info in the menu:

Code:
 

Fatal error: Cannot instantiate non-existent class: phpexifreader in /usr/export/www/hosting/kerstdorpen/twg/inc/exif.inc.php on line 23
 
Views 1
Downloads 0
Rating 0.00 (0 Votes)
File name 23042-visiting_santa_clau...
Date 6.4.2006
Size 13 KB
Resolution 400 x 300



???

*-*-*-*-*-*-*-*-*-*-

-where and how do I change the admin password ? I must have changed it somehow, since all combinations I try are refused

----------------


I have said it before, I will say it again: twg is getting way too complicated !


Top
 Profile  
 
 Post subject:
PostPosted: 6. Apr 2006, 14:28 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
you have to read the text next to the option - maybe this helps :). But you are right - there are really many options and it's sometimes hard to find what you are looking for.

For the caption set:

$show_captions = true;
$autodetect_filenames_as_captions=true;
$autodetect_filenames_as_captions_number=20;


about the error - check if the file inc/exifReader.inc.php is there - maybe you have to reupload the file!

about the admin - maybe you have downloaded a version where I have set a password 'a' - this was my testing password : - try this.

There is a file xml/_mydebug.out - It tells you if something goes wrong in TWG - check there first if something is not working!

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 7. Apr 2006, 02:45 
Offline
User avatar

Joined: 5. Aug 2005, 19:39
Posts: 77
any chance off seeing filenames under the thumbs ?

inc/exifReader.inc.php is online, reuploaded the entire inc/ dir, still error.

admin: nope. I have full ftp acces, is the password stored anywehre (or can it be cleared ?)

I found in admin/main.php

Code:
if ($GLOBALS['__SESSION']["s_user"] == "test" && $GLOBALS['__SESSION']["s_pass"] == "098f6bcd4621d373cade4e832627b4f6") { 
echo '<div class="errordiv">


anything I can do with that ?

also located admin/.config/.htuser.php. If I delete the file an error appears. Can I replace the coded password in this file with a plain password ?


Top
 Profile  
 
 Post subject:
PostPosted: 7. Apr 2006, 14:05 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Hi,

filenames under the thumbs - you have to do this by yourself - the caption is already in the toottip. you would only have to show them again :).

about he reader - have cou checkt the debug file?
are there any messages there ?

deleting admin/.config/.htuser.php is not a good idea. Is the "Administrion" in twg shown in red?

if you replace the password in the user file with
098f6bcd4621d373cade4e832627b4f6
the password is twg_admin.

Plein password does no work (and shouldn't ;))

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 11. Apr 2006, 00:46 
Offline
User avatar

Joined: 5. Aug 2005, 19:39
Posts: 77
hm. filename underthumbs is not an option for me, since I am a user, not a programmer.

Intresting: I have thumbnails set to 3x3 (9 pictures), yet the search output contains 2 rows with 24 pictures below each other (2x24=48 thumbs on a page... my bandwith is not happy :wink: ) yippie ! I feel another config parameter emerging ! :wink:


---

I do not feel the need for users to state their name when they enter a comment. My sollution:

edit i_frames/i_kommentar.php
find
Code:
if (isset($_GET['twg_name'])) {
    $name = $_GET['twg_name'];
} else {
    $name = false;
}

replace with
Code:
if (isset($_GET['twg_name'])) {
    $name = $_GET['twg_name'];
} else {
    $name = "some anonymous user";
}


correct ?


Top
 Profile  
 
 Post subject:
PostPosted: 11. Apr 2006, 08:33 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Hi,

search: you specifiy the number of hits in the search - if you choose 50 you will get them :). If you choose 10 you get .... :).

if you want to change the default:
i_frames/i_search.php

<option value="10">10</option>
<option value="20">20</option>
<option selected value="50">50</option>

->

<option selected value="10">10</option>
<option value="20">20</option>
<option value="50">50</option>



The modification for the comments should work fine!

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 17. Apr 2006, 21:11 
Offline
User avatar

Joined: 5. Aug 2005, 19:39
Posts: 77
this is horror in the making.

I installed twg with some 2600 pictures on my website. I intend to use twg as a sort of database holding collectible houses.

I have windows xp and use explorer5. twg shows up
I also use firefox 1,5 twg shows up
I have a handheld device with explorer 4. twg shows up.

I passed the url to some beta-testers, and they are TOTALLY unable to acces anything ! and I am left completely clueless ! Is anybody able to acces this url ?

http://www.kerstdorpen.nl/catalog2

? please ?


Top
 Profile  
 
 Post subject:
PostPosted: 18. Apr 2006, 00:22 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Hi,

just tested - i had no problems at all to access your site.
And pretty fast too :).

You really like the background :wink: ??


If people cannot access the site at all I think there is another problem ...

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 18. Apr 2006, 14:35 
Offline
User avatar

Joined: 5. Aug 2005, 19:39
Posts: 77
the background fits with the rest of the site :shock:

It seems that when the header.htm and footer.htm are not completely html save (start with <html> and end with </html>) they f* up the entire loading ? Because that was the only thing I changed.

Strange... ahwell. Thank heavens, its working


Top
 Profile  
 
 Post subject:
PostPosted: 18. Apr 2006, 14:40 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
header.htm and footer.htm are included by TWG - therefore they should only contain the code they actually should display!

no <html>, <body> ...

it's actually already included in a td and has a style!

echo "<tr><td colspan = 3 class='twg_headerhtml'>";
include ($headerhtml);
echo "</td></tr>";

I would move the stats at the bottom maybe somewhere else? maybe overview.htm?

you know that you can exchange the folder images by using your own folder.png?


/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 19. Apr 2006, 11:20 
Offline
User avatar

Joined: 5. Aug 2005, 19:39
Posts: 77
now I am completely lost as to why the beta's could not load the site. Long shot: the counter took to long to respond ? Ahwell, it seems ok now.

--

comments vs email:


Am I correct that the admin (=me) can receive an email every time a comment (or vote) has been entered by a user ?

Code:
$send_notification_if_comment=true;
$notification_comment_subject="A new comment was entered at " . $browser_title_prefix;
$notification_comment_text="A new comment was added for image %s";

  $youremail = "info@kerstdorpen.nl";
  $admin_email="info@kerstdorpen.nl";


No matter how many comments I enter, no mail ?

-*-*-
you are the most helpfull programmer I know ! aplause !


Top
 Profile  
 
 Post subject:
PostPosted: 19. Apr 2006, 11:32 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Hi,

have you set
$enable_email_sending=false;
to
$enable_email_sending=true;

because you have to enable email sending overall first ;).

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 21. Apr 2006, 12:33 
Offline
User avatar

Joined: 5. Aug 2005, 19:39
Posts: 77
here we go again :oops: I am trying to create better looking visuals. So I created a folder.png of 47x57 (same size as ordner.gif)

Image

the ordner.gif has a much wider border than the folder.png... bug ? or feature ? or missed a config parameter ?

-*-*-*

in howto 6 you explain "How to set a gallery name different from the folder name (e.g. for enhanced sorting)"

Code:
...Then put the text or html for an image into this file...



euhm... ok, so if I make a file foldername.txt and put

Code:
http://kerstdorpen.nl/catalog2/cache/lemax_1991_accessories_13002-telephone_booth.jpg.thumb.jpg


in it, the (folder) icon is replaced by that picture ? In fact it is not ?


Last edited by novw on 21. Apr 2006, 13:02, edited 2 times in total.

Top
 Profile  
 
 Post subject:
PostPosted: 21. Apr 2006, 12:57 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
this is actually a feature ;) - the ordner.gif is acually only the size of the folder icon which is very small - the whole area is $menu_pic_size_x * $menu_pic_size_y.

you can adjust this by changing $menu_pic_size_x and $menu_pic_size_x

the folder.gif is NOT resized because this makes it possible to e.g. use bigger folder images for the 1.st level and smaller ones for the 2.nd level.

if you want that the folder.gif is resized too then set
$resize_folder_gif = false;
to
$resize_folder_gif = true;

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 21. Apr 2006, 13:03 
Offline
User avatar

Joined: 5. Aug 2005, 19:39
Posts: 77
sigh... missed config parameter :lol: And if I want to change the icon, but not the size ? So that my picture has the same border ar ordner.gif ? I can manually resize the picture, but the border ?
-
-*-*-
bug or feature ?

If I put private.txt in the ROOT (../pictures/) none of the albums are password protected. Logic suggests all albums should be protected.
-*-*-
unwanted feature?

when using html_side the rotate icons are no longer available, even when

$show_rotation_buttons=true;


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

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: Bing [Bot] and 41 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