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 24. Nov 2024, 13:55

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  [ 39 posts ]  Go to page 1, 2, 3  Next
Author Message
 Post subject: A few problems
PostPosted: 23. Aug 2007, 01:51 
Offline

Joined: 17. Aug 2007, 00:11
Posts: 31
I'm having some problems.


1. How can i delete the login and New Window link??

2. How can i delete the counter, the Help and the Tip in the bottom??

3. When I change the language it changes the language in all script, it's possible that it changes the content of folder.txt and overview.htm to??

4. The Top 13 could be a Top 20??


Another thing, portuguese language have two variations: Portuguese (Portugal) and Portuguese (Brazil). The first one is the official language and is represented by Portuguese flag. The first one is spoked in Portugal, Angola, Cape Verde, Mozambique, East Timor, Equatorial Guinea, Guinea Bissau, São Tomé and Principe and Macau. The brazilian variation is only spoked in Brazil. I will try to make a portuguese flag and i will make any change that is needed to have a Portuguese (Portugal) language.


Top
 Profile  
 
 Post subject:
PostPosted: 23. Aug 2007, 08:49 
Offline
Site Admin
User avatar

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

all your questions are covered in the FAQ or are simple config parameters ;).

1. configuration parameter!
2. config parameters (some are not in the administration directly - check the website or config.php)
3. FAQ folder.txt, folder_en.txt, folder_de.txt (I think you get it ;)) - overview.htm is not language specific.
4. configuration parameter in the administration.

you are welcome to make a portuguese version as well. I do have a portugues language file already. Please modify the brasilian version and sent me the portuguese - I will then add both to the next build.
If you drop me an email I can give you the pt flag right away.

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 26. Aug 2007, 02:48 
Offline

Joined: 17. Aug 2007, 00:11
Posts: 31
It's possible to have the last added pictures in the overview.htm??


Top
 Profile  
 
 Post subject:
PostPosted: 26. Aug 2007, 09:18 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
you would have to code this - the code itself is actually almost in twg (the search) - but with many files this would not be optimal (too slwo if you have many pictures).

are you using the flash uploader to upload all your images? because then it would be easy to do - simply use the last uploaded image!

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 29. Aug 2007, 21:10 
Offline

Joined: 17. Aug 2007, 00:11
Posts: 31
Quote:
you would have to code this - the code itself is actually almost in twg (the search) - but with many files this would not be optimal (too slwo if you have many pictures).

are you using the flash uploader to upload all your images? because then it would be easy to do - simply use the last uploaded image!

/Michael


What is the variable from TWG (and where is it??) that have that information???


How can i delete the bar next to the top links??


Top
 Profile  
 
 Post subject:
PostPosted: 29. Aug 2007, 23:52 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
like I said - this would have to be programmed.

about the bar - which bar the | which is between each Menu item?
you would have to modify print_spacer in inc/filefunctions.inc.php

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 30. Aug 2007, 01:04 
Offline

Joined: 17. Aug 2007, 00:11
Posts: 31
No. The bar is the horizontal one under the menu.


Top
 Profile  
 
 Post subject:
PostPosted: 30. Aug 2007, 08:36 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
still not sure what you mean - if you mean the line that goes from left to right below the menu - it's a css style.

This can even be set with the color manager.

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 3. Sep 2007, 02:40 
Offline

Joined: 17. Aug 2007, 00:11
Posts: 31
TinyWebGallery wrote:
you would have to code this - the code itself is actually almost in twg (the search) - but with many files this would not be optimal (too slwo if you have many pictures).

are you using the flash uploader to upload all your images? because then it would be easy to do - simply use the last uploaded image!

/Michael



Hi,

I have coded a script that read the creation date of the files and store the date and the name in a database. The the database order them so i can read the last 20 added.

Now I coded a script that should read the last 20 added. How can i display the gallerys folders or a file thumbail like TWG does?? How do i call them??

I take a look in the TWG code but i can't find where is that code so i can understand how it works.

Quote:
still not sure what you mean - if you mean the line that goes from left to right below the menu - it's a css style.

This can even be set with the color manager.

/Michael



yes the bar is that one.

I made some changes in the color manager, i change most of the paramters to white, but the bar never changes it's color.


Top
 Profile  
 
 Post subject:
PostPosted: 3. Sep 2007, 09:04 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
About the 20 last added - you should check the code for the search -> Newest Uploads - then select 20 - this is exactly what you looking for.
(you actually coded something that already exists)

about the color of the bar - why not simply select the color in the color manager? it's the color right next to the select box:

in the style sheet is then:

td.twg_info {
border: 2px inset #333333;
}

for example.

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 3. Sep 2007, 12:22 
Offline

Joined: 17. Aug 2007, 00:11
Posts: 31
I changed that to something like this

td.twg_info {
border: 0px inset #ffffff;
}

But I have no changes. But no problem, is not a big problem and i don't want to make you spent more time with this.


About the Last 20, I have seen that now, and it really works :lol:

I will try to put that results in the overview page. Tell me just one thing: where is the search code?? I try to find some file like search.php, but i didn't find any.


Thanks for the help...


Top
 Profile  
 
 Post subject:
PostPosted: 3. Sep 2007, 12:56 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
readxml.inc.php

the css has to be in my_style.css.
because in style.css it would be overwritten by framestyle.css

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 3. Sep 2007, 14:52 
Offline

Joined: 17. Aug 2007, 00:11
Posts: 31
This is difficult.

I have made some tryes, but i don't have a good result.

In the readxml file what function do this??? what variables should i pass to it??

Sorry for being doing all this questions.


Top
 Profile  
 
 Post subject:
PostPosted: 3. Sep 2007, 15:04 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
it's actually in filefunction.inc.php - the other search functions related to xml are in the readxml.

The function is
searchLatest(...)

Start at i_search.php - there is the form. then you know which parameters to use. it's all displayed in printtop10.inc.php - all topx and searched are startedd here. But's not an easy file ;).

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 3. Sep 2007, 19:05 
Offline

Joined: 17. Aug 2007, 00:11
Posts: 31
TinyWebGallery wrote:
it's actually in filefunction.inc.php - the other search functions related to xml are in the readxml.

The function is
searchLatest(...)

Start at i_search.php - there is the form. then you know which parameters to use. it's all displayed in printtop10.inc.php - all topx and searched are startedd here. But's not an easy file ;).

/Michael


This is really dificult. I can't understand your code, i don't know where to start doing this. I think i'm gone give up...

Thanks for all the help you give me.


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

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 86 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