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]   Go Down

Author Topic: Extended search options in Coppermine cpg 1.4.x  (Read 13131 times)

0 Members and 1 Guest are viewing this topic.

m_h

  • Contributor
  • Coppermine newbie
  • ***
  • Offline Offline
  • Posts: 2
Extended search options in Coppermine cpg 1.4.x
« on: February 01, 2007, 10:03:37 am »

Hello,

I have extended the search-options for pictures in the search.inc.php in the include-dir. It is possible to put statments in brackets, join them with an or-sign ("|") or negate them with a not-sign ("~").

Maybe your interested in using this...

I also modified the search.inc in the main-dir for including the albums as search-option.

The listings are heavily commented. I would be pleased, if you could examine and improve the code, if necessary.

Thanks alot,

Martin Hinz.
« Last Edit: February 02, 2007, 07:34:57 am by GauGau »
Logged

Master of Disaster

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 22
Re: Extended search options in Coppermine cpg 1.4.x
« Reply #1 on: February 01, 2007, 07:52:47 pm »

Hello Martin,
thank you for this good work!
It works perfectly in my cpg 1.4.10!

BTW: Wo kommst du her?
Ich wohne in Simmerath in der Nordeifel

René
Logged

m_h

  • Contributor
  • Coppermine newbie
  • ***
  • Offline Offline
  • Posts: 2
Re: Extended search options in Coppermine cpg 1.4.x
« Reply #2 on: February 01, 2007, 09:47:02 pm »

Grüße aus Kiel an die Eifel,

Martin Hinz.
Logged

apatit

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Re: Extended search options in Coppermine cpg 1.4.x
« Reply #3 on: January 13, 2008, 09:13:30 pm »

Hello Martin,
Your hack is working fine on my cpg1.4.10.
But when I click to the Thumbnail I get the following Error Message:

Fatal error: Cannot redeclare negate() (previously declared in /www/www.380volt.com/include/search.inc.php:137) in /www/www.380volt.com/include/search.inc.php on line 137

Do you have an idea what is wrong?

Thanks
Juergen
Logged
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 20 queries.