Advanced search  

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

Pages: [1] 2 3   Go Down

Author Topic: Active Search (Live AJAX Search)  (Read 68134 times)

0 Members and 1 Guest are viewing this topic.

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Active Search (Live AJAX Search)
« on: June 16, 2007, 06:23:24 pm »

Active Search beta

What is this:
=========
This plugin add a AJAX search/suggestion to your gallery
you can search
- Album's Title
- File's Title
by using this plugin

Installation:
=========
1. Copy "active_search" folder to your "plugins" folder
2. Copy "cpls.php" to your gallery root (You can find it inside active_search folder)
2. Go to "plugin manager" and install "Active Search"

Usage:
========
1.Select your desire search mode (Files/Album) by clicking on button
2.Type the title ;D
3.Select suggested result

Licence:
========
  Orginal Javascript (AJAX suggestion) and CSS : Coded by Timothy Groves,
  a designer based in Munich, Germany
  Under Creative Commons License.

Special thanks to dreams83 who code this nice mod
  

[Edit GauGau 2010-03-03]
This plugin has been added to the subversion repository: http://coppermine.svn.sourceforge.net/viewvc/coppermine/branches/cpg1.4.x/plugins/active_search

It has been updated as well to reflect the version checking routines in the plugin manager that are meant to make sure that galleries don't break because of plugins installed that aren't meant for that particular version of the gallery.

Download: https://sourceforge.net/projects/coppermine/files/Plugins/1.4.x/cpg1.4.x_plugin_active-search_v1.1.zip/download
[/Edit]
« Last Edit: March 03, 2010, 10:04:28 am by Joachim Müller »
Logged
‍I don't answer to PM with support question
Please post your issue to related board

searchforme

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: Active Search (Live AJAX Search)
« Reply #1 on: June 16, 2007, 07:01:07 pm »

i get a 500 internal server error when i hit install button :(

but when click search link does it suppose to look like this? :
« Last Edit: June 16, 2007, 07:06:28 pm by searchforme »
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Active Search (Live AJAX Search)
« Reply #2 on: June 16, 2007, 07:05:24 pm »

try new one ;)
Logged
‍I don't answer to PM with support question
Please post your issue to related board

searchforme

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: Active Search (Live AJAX Search)
« Reply #3 on: June 16, 2007, 07:22:04 pm »

ok it works now.. i was just never able to find this tho :

"Configure plugin using button on Admin toolbar."



i was never able to find the button on Admin toolbar, was it suppose to have a button of its own ?
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Active Search (Live AJAX Search)
« Reply #4 on: June 16, 2007, 07:26:45 pm »

Not at this version , sorry it's beta version Yet!
I'll remove that notice,
Thank you for testing
Logged
‍I don't answer to PM with support question
Please post your issue to related board

searchforme

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: Active Search (Live AJAX Search)
« Reply #5 on: June 16, 2007, 10:19:18 pm »

a couple of things.. im able to find albums. no matter where i am on my gallery. but i caint find 'files'
i always get no results, even if im in the same album as the file. i tried the exact file name etc.

& secondly , the search bar is on every page.. even when im on 'config' page as the admin
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Active Search (Live AJAX Search)
« Reply #6 on: June 16, 2007, 10:25:10 pm »

Yes it loads on every pages , think of it as a header object that comes with menu items
can you post a link to your gallery?
I want to test search file ...
Logged
‍I don't answer to PM with support question
Please post your issue to related board

searchforme

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: Active Search (Live AJAX Search)
« Reply #7 on: June 17, 2007, 01:06:47 am »

http://pictures.hitdafreewayfast.com/

maybe instead of header it can be footer? or something? dunno up to you im just thinking outloud. im  trying to think of a way to make sure the gallery stays pretty to the eye..

edit-
foundt another bug.. when i log out I cant log back in. the login button wont work, im using netscape 8.1.3 using the firefox engine.... and same goes for regular search. if i were to click on 'search' at top right.. type in what i wanna search for.. & press the button , nothin happens

edit -
yea.. i had to uninstall the active search. to log back in as admin. & now i re-installed it so you can check it out
« Last Edit: June 17, 2007, 01:45:11 am by searchforme »
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Active Search (Live AJAX Search)
« Reply #8 on: June 17, 2007, 06:21:23 am »

Search files is working type "d" , it search image's title and you didn't have title for most images

If you try it with classic theme or any other standard theme then you don't have login issue
I'll add a setting option for positioning to stable version
Logged
‍I don't answer to PM with support question
Please post your issue to related board

François Keller

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 9094
  • aka Frantz
    • Ma galerie
Re: Active Search (Live AJAX Search)
« Reply #9 on: June 17, 2007, 12:47:28 pm »

Hi Sami,

attached french.php file for your plugin  ;)

but i have a problem with your plugin, it doesn't work on my gallery
Did i miss something ?
Logged
Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Active Search (Live AJAX Search)
« Reply #10 on: June 17, 2007, 01:32:19 pm »

I've got XML parse error !
this plugin use js & xml but it seems your server doesn't like simple xml format , maybe I should validate it
thanks for comment and language
Logged
‍I don't answer to PM with support question
Please post your issue to related board

François Keller

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 9094
  • aka Frantz
    • Ma galerie
Re: Active Search (Live AJAX Search)
« Reply #11 on: June 17, 2007, 02:09:37 pm »

oups, forgotten to attach french.php file :-\
 Just another thing, can you include button name and label in the language file (search, albums, files) for the stable version ?

« Last Edit: June 17, 2007, 02:16:58 pm by Frantz »
Logged
Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Active Search (Live AJAX Search)
« Reply #12 on: June 17, 2007, 02:29:24 pm »

sure I will
Logged
‍I don't answer to PM with support question
Please post your issue to related board

searchforme

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: Active Search (Live AJAX Search)
« Reply #13 on: June 17, 2007, 06:10:49 pm »

oh yeah. for most my images i have no picture titles  :) , i did type in 'd' & it worked
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Active Search (Live AJAX Search)
« Reply #14 on: June 17, 2007, 07:05:16 pm »

@Frantz: it seems that the probelm is on your side !
XML code created by cpls.php is valid !
Do you have any other XML on your server ?
Logged
‍I don't answer to PM with support question
Please post your issue to related board

François Keller

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 9094
  • aka Frantz
    • Ma galerie
Re: Active Search (Live AJAX Search)
« Reply #15 on: June 17, 2007, 08:36:30 pm »

I don't know. How can i find this out ?
(if you want i can send you an admin login/password by PM)
But I had the same problem on my local server (wamp5) :-\
Logged
Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog

Davide Renda

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1427
  • aka "Lontano"
    • www.daviderenda.eu
Re: Active Search (Live AJAX Search)
« Reply #16 on: June 17, 2007, 10:02:21 pm »

working like a charm on my modded gallery 1.4.10 - great work Sami!!
Italian translation attached

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Active Search (Live AJAX Search)
« Reply #17 on: June 18, 2007, 08:55:36 am »

@ Frants:
Can you try this:
Edit cpls.php and change this
Code: [Select]
header("Content-Type: text/xml");
echo "<?xml version=\"1.0\" encoding=\"UTF-8\" ?><results>";

To this:

Code: [Select]
header("Content-Type:text/xml;charset=utf-8");
echo '<?xml version="1.0" encoding="UTF-8"?><results>';

and also if those doesn't help then try

Code: [Select]
header('Content-Type: application/xml;charset=utf-8');
echo '<?xml version="1.0" encoding="UTF-8" ?><results>';

and let me know the result

@Lontano: thanks for translation and thanks for feedback :)
« Last Edit: June 18, 2007, 09:32:39 am by Sami »
Logged
‍I don't answer to PM with support question
Please post your issue to related board

François Keller

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 9094
  • aka Frantz
    • Ma galerie
Re: Active Search (Live AJAX Search)
« Reply #18 on: June 18, 2007, 07:03:44 pm »

Sami,

I've foud the problem: it's a compatibillity problem with others plugins: on the moment, your plugin work's only with the contact, captcha and calendar plugins (i will test with others...)
Logged
Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Active Search (Live AJAX Search)
« Reply #19 on: June 18, 2007, 07:18:48 pm »

can you list all enabled plugins on you gallery ?
Logged
‍I don't answer to PM with support question
Please post your issue to related board
Pages: [1] 2 3   Go Up
 

Page created in 0.021 seconds with 20 queries.