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: Looooooong searchnew.php file list .. little comfort mod ;)  (Read 3881 times)

0 Members and 1 Guest are viewing this topic.

Hein Traag

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: nl
  • Offline Offline
  • Gender: Male
  • Posts: 2166
  • A, B, Cpg
    • Personal website - Spintires.nl
Looooooong searchnew.php file list .. little comfort mod ;)
« on: November 26, 2004, 09:28:19 pm »

I got tired of using the back button on FF to go one page back when i was done adding a lot of pics to the gallery.

So, i added a little line on the searchnew.php. At the bottom to be precise.

Find
Code: [Select]
'<li>If your browser timeouts, hit the reload button'.
And add
Code: [Select]
'<li>At the bottom of a looooooong list ? Click <a href="index.php">here</a> to return to the frontpage'.
Edit the text to whatever you want ofcourse.

Not really a mod but maybe somebody has as use for it.

Cheers!
Hein
Logged

Hein Traag

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: nl
  • Offline Offline
  • Gender: Male
  • Posts: 2166
  • A, B, Cpg
    • Personal website - Spintires.nl
Re: Looooooong searchnew.php file list .. little comfort mod ;)
« Reply #1 on: November 27, 2004, 11:10:30 am »

Just out of curiousity a little question on my own comfort mod ;)

Can it be possible to add a line like above but then linkling back to the album you just injected pictures into ???
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Looooooong searchnew.php file list .. little comfort mod ;)
« Reply #2 on: November 27, 2004, 05:30:23 pm »

Yes it is.  If you check out the devel version, that code has been put into searchnew.php.  Search thru the file for edit_pics.
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

Hein Traag

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: nl
  • Offline Offline
  • Gender: Male
  • Posts: 2166
  • A, B, Cpg
    • Personal website - Spintires.nl
Re: Looooooong searchnew.php file list .. little comfort mod ;)
« Reply #3 on: November 28, 2004, 01:00:00 pm »

k maybe a daft question but how do i get the devel version.. looking at the download page atm but no devel version there :)

Would you mind passing me a copy so i can look around in the code ?
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: Looooooong searchnew.php file list .. little comfort mod ;)
« Reply #4 on: November 28, 2004, 04:21:14 pm »

Read this thread in the 1.4 testing/bugs board, http://forum.coppermine-gallery.net/index.php?topic=7947.0.

Be sure to read it thoroughly, and understand that it is completely unsupported.
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

Hein Traag

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: nl
  • Offline Offline
  • Gender: Male
  • Posts: 2166
  • A, B, Cpg
    • Personal website - Spintires.nl
Re: Looooooong searchnew.php file list .. little comfort mod ;)
« Reply #5 on: November 28, 2004, 07:50:24 pm »

Thanks for the thread casper. Will read it and see if i can use the info kegobeer gave.

Thanks both.
Logged
Pages: [1]   Go Up
 

Page created in 0.039 seconds with 19 queries.