Active Search (Live AJAX Search) Active Search (Live AJAX 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]

Main Menu

Active Search (Live AJAX Search)

Started by Sami, June 16, 2007, 06:23:24 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Sami

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]
‍I don't answer to PM with support question
Please post your issue to related board

searchforme

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

but when click search link does it suppose to look like this? :

Sami

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

searchforme

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 ?

Sami

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

searchforme

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

Sami

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 ...
‍I don't answer to PM with support question
Please post your issue to related board

searchforme

#7
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

Sami

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
‍I don't answer to PM with support question
Please post your issue to related board

François Keller

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

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
‍I don't answer to PM with support question
Please post your issue to related board

François Keller

#11
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 ?

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

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

searchforme

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

Sami

@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 ?
‍I don't answer to PM with support question
Please post your issue to related board

François Keller

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) :-\
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

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

Sami

#17
@ Frants:
Can you try this:
Edit cpls.php and change this

header("Content-Type: text/xml");
echo "<?xml version=\"1.0\" encoding=\"UTF-8\" ?><results>";


To this:


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


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 :)
‍I don't answer to PM with support question
Please post your issue to related board

François Keller

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

can you list all enabled plugins on you gallery ?
‍I don't answer to PM with support question
Please post your issue to related board