drop down menu listings - Page 2 drop down menu listings - 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

drop down menu listings

Started by heavensportal, January 07, 2013, 10:38:26 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Αndré

Please post the login data of a regular member as a reply to this thread. Your gallery currently runs without the DISTINCT from the cpg1.5.22 code, right?

phill104

Just another question to add, did you update to 1.5.22 or did you just apply the changes above?
It is a mistake to think you can solve any major problems just with potatoes.

heavensportal

user: cpgtester
pw: testing

very simple cause will delete once done.

yes I did the edits AFTER updating to 1.5.22

It seems to be running fine without the DISTINCT in the code

Am I right that even though our gallery is member only for everything, members nor admin can post a link at all in the comment section.

heavensportal

I also forgot to mention that this section you wrote for 1.6x file is not present in  1.5.22. I think I was supposed to remove it but since not there I did not have to.


               // construct a category hierarchy string breadcrumb style
   $elements = array();
foreach ($cats as $cat) {
           $elements[] = $cat['name'];
        }
        $hierarchy = implode(' - ', $elements);



Αndré

Quote from: heavensportal on January 16, 2013, 06:36:34 PM
members nor admin can post a link at all in the comment section
http://forum.coppermine-gallery.net/index.php/topic,55415.msg270618.html#msg270618


Quote from: heavensportal on January 16, 2013, 07:05:00 PM
this section you wrote for 1.6x file is not present in  1.5.22.

               // construct a category hierarchy string breadcrumb style
   $elements = array();
foreach ($cats as $cat) {
           $elements[] = $cat['name'];
        }
        $hierarchy = implode(' - ', $elements);

This section has been removed both in cpg1.5.x and cpg1.6.x in SVN revision 8521.

Αndré

Quote from: heavensportal on January 16, 2013, 06:36:34 PM
It seems to be running fine without the DISTINCT in the code
I currently don't see a reason why it shouldn't work with the stock cpg1.5.22 code. Please undo your modification (i.e. restore the DISTINCT and try again). Maybe there's also something wrong with your category tree. To fix any possible issue, please go to the category manager and rebuild the tree be moving any category one position up or down (of course you can move it to its old location subsequently).

heavensportal

 :o

Well are you ready?

I deleted the functions.inc.php file from the server, went to the gallery and sure enough it said it needed it. Then I uploaded a totally fresh one from the zip update, went to the gallery and it is functioning again.

Now the weird thing ... going to the menus in the gallery --- edit file information and uploads --- and they are in categorized order.

No edits to the file for this --- the only edit I just now did was insert the code change to make favorites show last added image first.


Again this is with 1.5.22 fresh file no listing order code in at all...

Were these codes edited in the 1.5.22 file already, without my needing to do it?

phill104

Yes, that was mentioned earlier on in this thread and also in the 1.5.22 announcement.
It is a mistake to think you can solve any major problems just with potatoes.

heavensportal

good lord, sorry guys for wasting your time. I -- at the time I asked did not have this version and just proceeded to do the edits after updating.

Thanks so very very much for your patience with this old woman.

Αndré

So if this thread is solved, please
Quote from: Joachim Müller on September 28, 2008, 12:46:26 PM
tag your answer as "solved" by clicking on the "Topic Solved" button on the bar at the left hand side at the bottom of your thread.

heavensportal

was testing since my server is crazy and when one behaves/installs perfectly the others do not and they are like twins...all alike.

yes it is solved and we are so very happy.

Αndré

For your information: there seems to be an issue with the new drop-down boxes if you allow guests upload to upload to public albums. More information and discussion here.

heavensportal

I am marking it solved unless it affects galleries that only members can upload to. Although guests can view the gallery they can not do anything else, just look. Thanks for telling me.