Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: 1 [2]   Go Down

Author Topic: drop down menu listings  (Read 25788 times)

0 Members and 1 Guest are viewing this topic.

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: drop down menu listings
« Reply #20 on: January 16, 2013, 04:13:00 pm »

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?
Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: drop down menu listings
« Reply #21 on: January 16, 2013, 04:27:05 pm »

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

heavensportal

  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Posts: 259
    • The Fantasy Attic
Re: drop down menu listings
« Reply #22 on: January 16, 2013, 06:36:34 pm »

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.
Logged

heavensportal

  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Posts: 259
    • The Fantasy Attic
Re: drop down menu listings
« Reply #23 on: January 16, 2013, 07:05:00 pm »

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.

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

Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: drop down menu listings
« Reply #24 on: January 17, 2013, 12:57:02 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


this section you wrote for 1.6x file is not present in  1.5.22.
Code: [Select]
               // 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.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: drop down menu listings
« Reply #25 on: January 17, 2013, 01:41:33 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).
Logged

heavensportal

  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Posts: 259
    • The Fantasy Attic
Re: drop down menu listings
« Reply #26 on: January 17, 2013, 11:20:29 pm »

 :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?
Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: drop down menu listings
« Reply #27 on: January 17, 2013, 11:33:20 pm »

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

heavensportal

  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Posts: 259
    • The Fantasy Attic
Re: drop down menu listings
« Reply #28 on: January 17, 2013, 11:51:45 pm »

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.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: drop down menu listings
« Reply #29 on: January 18, 2013, 12:25:51 pm »

So if this thread is solved, please
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.
Logged

heavensportal

  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Posts: 259
    • The Fantasy Attic
Re: drop down menu listings
« Reply #30 on: January 18, 2013, 11:27:30 pm »

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.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: drop down menu listings
« Reply #31 on: January 21, 2013, 11:18:17 am »

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.
Logged

heavensportal

  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Posts: 259
    • The Fantasy Attic
Re: drop down menu listings
« Reply #32 on: January 21, 2013, 11:03:38 pm »

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.
Logged
Pages: 1 [2]   Go Up
 

Page created in 0.023 seconds with 20 queries.