PDA

View Full Version : categories problem


3jaeger
10-13-2006, 01:44 PM
Hello,
This is my first message on the forum.
First, I want to thanks devellopers, pixelpost is a really nice idea.
Second, I am, and I will be sorry for my bad english, but I am French:rolleyes:

Here is my problem :
when I choose a categorie, or a month, I have a new page with all the thumbnails. That's OK. But when I want to see images, it's impossible to see images I have chosen, but images in datetime order.
Here are informations :
PHP-version 4.4.3-dev (Requis pour Pixelpost : PHP version: 4.3.0 )
Session save path /mnt/100/free.fr/e/e/3jaeger/sessions
MySQL version 5.0.25-nightly-20060823 (Requis pour Pixelpost : MySQL: 3.23.58 )
GD-lib 2.0 or higher avec support JPEG
Les envois de fichiers vers le serveur sont possible.
Logiciel du serveur Apache/ProXad [Jul 17 2006 17:19:22]
EXIF Pixelpost utilise exifer v1.5 pour extraire les informations EXIF.

Thank you for helping me.

GeoS
10-13-2006, 11:19 PM
And this datetime order is how blog works. This is the idea.

djaef
10-14-2006, 05:17 AM
<<But when I want to see images, it's impossible to see images I have chosen, but images in datetime order.

I hazard a guess that you do not understand his question GeoS. It would make no sense for him to ask if it was working as it should. Don't you think he means that he gets the monthly archive page up no problem but he can't click on an individual image in that month and get it to load? That instead it loads the first image (I'm guessing here) and he has to go through sequentially? I might be wrong of course, but surely something must not be working as it should or he wouldn't be asking the question. What other sort of funtionality do you think he is chasing?

Still, it'd help if you linked your blog 3jaeger, so we could see what the problem is.

3jaeger
10-14-2006, 06:57 AM
Thank you for replies.
Here is my blog : http://3jaeger.free.fr/pixelpost/index.php
I thought that with GeoS Show Category ADDON, it is possible to see only the images of a categorie.
Maybe I Am wrong, maybe I made a mistake somewhere.

djaef
10-14-2006, 10:14 AM
As far as I can see your blog is functioning normally. But the ADDON you speak of is not installed at all. From what I quickly read, that addon shows 5 thumbs under the current image from the same category. That sounds like a cool idea but it's not happening on yours. Is that the issue? There are no thumbs at all on your main page.

But in your archive page, it's working as it should. If you choose a category, then you only see images from that category displayed. Voila.

3jaeger
10-14-2006, 05:13 PM
As far as I can see your blog is functioning normally. But the ADDON you speak of is not installed at all. From what I quickly read, that addon shows 5 thumbs under the current image from the same category. That sounds like a cool idea but it's not happening on yours. Is that the issue? There are no thumbs at all on your main page.

But in your archive page, it's working as it should. If you choose a category, then you only see images from that category displayed. Voila.

Thanks for reply Djaef.
I think that I can't explain clearly my problems.
I will try one more time.
First problem :
I saw some blogs yesterday ; when you click on "archive", you go directly to the page with the number of thumbnails you chose in "page by page addon".
Not in my blog : you see first a page with all the thumbnails.
Second problem :
when I choose a category, I'm OK with you, I have the page with all the thumbnails of this category. But when I try to look the images by clicking on a thumbnail, I can see only this image, and next images are not images of the category, but all images of the blog.

I hope I am more clear.
Thank you for you patience.

3jaeger
10-14-2006, 05:39 PM
I resolved one problem.
In "image template.html" I had :
<a href="<SITE_BROWSELINK>" title="Voir">Archives</a> |
I change for :
<a href="<SITE_BROWSELINK_PAGED>" title="Voir">Archives</a> |
And that's OK !!
Now, when I click on "Archive", I have directly a page with only the number of thumbnails I chose.

But my second problem is still there:confused:

3jaeger
10-14-2006, 07:53 PM
it seems that she has the same problem :
http://forum.pixelpost.org/showthread.php?t=5099&referrerid=3283

djaef
10-14-2006, 10:46 PM
everyone has the same problem. That's how pixelpost works. The categories sort the thumbnails so that you only see photos from one category, but when you click on a thumbnail, you go to the page for that thumbnail. Then if you click on the photo what do you think will happen. It'll go to the next photo which will be whatever photo you posted after the first one you clicked on. I know what you want to do, but it just doesn't work like that. I don't think that'd even be possible, but ask GeoS or someone who would know.

3jaeger
10-15-2006, 07:23 AM
everyone has the same problem. That's how pixelpost works. The categories sort the thumbnails so that you only see photos from one category, but when you click on a thumbnail, you go to the page for that thumbnail. Then if you click on the photo what do you think will happen. It'll go to the next photo which will be whatever photo you posted after the first one you clicked on. I know what you want to do, but it just doesn't work like that. I don't think that'd even be possible, but ask GeoS or someone who would know.

OK, I understand.
Thank you for all.

GeoS
10-16-2006, 11:35 PM
Please use <SC_THUMB_ROW> for row with thumbs. It will add cat info to link for option of browsing within same cat (if link to image was with cat ID in it).

Now I found small bug in my addon so in few minutes (maybe a little more) there will be new, fixed version.

For second problem - you must put cat info to the link for properly work of addon. So use link i.e. like http://3jaeger.free.fr/pixelpost/index.php?category=12
To go through all images from cat with ID 12 you must also use <SC_IMAGE_NEXT_LINK_TXT> and <SC_IMAGE_PREV_LINK_TXT> instead of traditional ones.
You have example template in pack. Please look there for examples and test it.

3jaeger
10-17-2006, 05:12 PM
Thanks, I will try

3jaeger
10-17-2006, 09:51 PM
I tried it !
I was right about one thing : it was my fault, sorry.

But now, I have 1 (small) new problem :
in "browse template.html", I had this tag : <THUMBNAILS_WHOLE_PAGED>.
I replaced it with <SC_THUMBNAILS>. When I want to have a look on thumbnails page by page, without selecting any category, there is no thumbnails on pages.
Where is my error now ?

GeoS
10-18-2006, 03:18 PM
Maybe because it needs &pagenum=1 in URL as starting address. I dont remember right now.
If you can put it in "wrong" state to show us problem in real enviroment it would help to give you better answer.

3jaeger
10-18-2006, 04:25 PM
Maybe because it needs &pagenum=1 in URL as starting address. I dont remember right now.
If you can put it in "wrong" state to show us problem in real enviroment it would help to give you better answer.

OK.
Here is an example : http://3jaeger.free.fr/pixelpost/index.php?x=browse&category=&pagenum=1
But this page is OK if you start from this one http://3jaeger.free.fr/pixelpost/index.php and if you click on "archive" link.
All the others pages are like the first example, without thumbnails.

GeoS
10-18-2006, 06:04 PM
http://3jaeger.free.fr/pixelpost/index.php?x=browse&pagenum=1

It is good URL. If there is no category then remove it from URL!

If you are using this select field from top of archive page then in each option you should add &pagenum=1 at the end of value attribute.
It uses params from URL to work fine and to know how it should be displayes. Thats all.

3jaeger
10-18-2006, 06:39 PM
http://3jaeger.free.fr/pixelpost/index.php?x=browse&pagenum=1

It is good URL. If there is no category then remove it from URL!

If you are using this select field from top of archive page then in each option you should add &pagenum=1 at the end of value attribute.
It uses params from URL to work fine and to know how it should be displayes. Thats all.

I am using paged-archive addon.
I don't understand in which file and in which value attribute I have to add &pagenum=1.
I have opened "paged_archive.php" to have a look, but it's like chinese for me!

it works if I enter manually : http://3jaeger.free.fr/pixelpost/index.php?x=browse&pagenum=3
But if I put my cursor on the link, I have http://3jaeger.free.fr/pixelpost/index.php?x=browse&category=&pagenum=3

3jaeger
10-18-2006, 09:31 PM
It works !!!
Thanks for all Geos.

GeoS
10-18-2006, 10:44 PM
Cool :)

3jaeger
10-19-2006, 08:19 PM
it's me again !
My problems are away now, and I thank you for help.
There is just one little strange thing with "paged by paged archive".
I can't change the number of thumbnails : if I put 10, 12, 20 or 80, it's the same, there is always 20 one the page.
Do you know this problem ?

GeoS
10-21-2006, 12:22 AM
Admin -> Addons -> Page-By-Page-Archive for category and month -> Enter the maximum number of thumbnails in each page of the archive page -> your number -> update -> well done :)

3jaeger
10-21-2006, 08:55 AM
Yes, I did it like this, and it has worked first.
It does'nt work since I have modified things while I have installed "GeoS Show Category ADDON" (which is working perfectly now, thanks again).
I seems to be a problem of compatibility betwween these 2 tags in browse template : <THUMBNAILS_WHOLE_PAGED> and <SC_THUMBNAILS>.
If I want "GeoS Show Category ADDON" to work well, I have to put <SC_THUMBNAILS> without <THUMBNAILS_WHOLE_PAGED>. But without <THUMBNAILS_WHOLE_PAGED>, "paged by paged archive" doesn't work.

I AM REALLY SORRY : PROBLEM RESOLVED
I haven't read enough first lines of "GeoS Show Category.php".

GeoS
10-23-2006, 12:43 AM
My addon how inside (at beginning) own variable for number of thumbs per page :) Please read first few lines of it.

After finish of my big project Ill add docs to all my addons/hacks.