Music Collection - The Music Management System for Joomla! 1.5.x

Bookmark and Share

Login Form






Forgot login?
No account yet? Register

Community demo tools

Search music albums

Random albums

Navigate through our music collection to add items into the playlist and start playing music!

Who's Online

We have 87 guests online

Contribute to our project making a donation! Tell us what would you like to destinate your contrubution to. Read more...

Home Forum
Please read this before posting!

There are thousands of posts on this forum, so please try to use our search facility before posting anything new: there's probably someone else who asked the same question as you, so give "search" a chance.

If you still can't find what you were looking for, feel free to post. Please remember this forum is for Music Collection verified customers only. Support will be only given to verified users. If you are not still a customer and have some "pre buy" questions, please use this category to post

Support topics are usually answered by admins in 24-48 hours.

Music Collection
Welcome, Guest
Please Login or Register.    Lost Password?
Settings of search from the menu item
(1 viewing) 1 Guest
Go to bottom
TOPIC: Settings of search from the menu item
#5342
germi
Admin
Posts: 2722
graph
User Offline Click here to see the profile of this user
Gender: Male Location: Barcelona Birthday: 05/08
Re:Settings of search from the menu item 4 Months, 3 Weeks ago Karma: 37
well, you are right, search is a bit "special": it does not serach for any substring characters that match, but for WHOLE WORDS. the advantage of this is that if you search, forinstance, "road abbey", you'll get the album "abbey road" as a result. the other way, you wouldn't get any result...

in any case, if you really need this character matching criteria, there's always a small code add you can perform to achieve it.

Germi
 
Logged Logged
 
Germinal Camps
Chief Software Engineer
Joomla Music Solutions

Follow me on Twitter
  The administrator has disabled public write access.
#5346
srzx
Senior Boarder
Posts: 72
graphgraph
User Offline Click here to see the profile of this user
Re:Settings of search from the menu item 4 Months, 3 Weeks ago Karma: 0
Hi Germi,

My presumption is that if we search for "abb", we should find it in any string that has it as substring; regardless of it's position in the string and context. For multiple words as search string, I would guess an intersection of searches for individual words would do, of course with an efficient algorithm to do it. And to take it even one notch higher agrep style search would help bad typers like me ) But these could be added search options. I don't have a specific requirement from the client, but I suspected this might come up sometime.
 
Logged Logged
  The administrator has disabled public write access.
#5459
srzx
Senior Boarder
Posts: 72
graphgraph
User Offline Click here to see the profile of this user
Re:Settings of search from the menu item 4 Months, 2 Weeks ago Karma: 0
Something interesting I fond out is that it seems to work with unicode chars. I tried a chinese partial search, and it seems that it's able to find the item
 
Logged Logged
  The administrator has disabled public write access.
#5499
germi
Admin
Posts: 2722
graph
User Offline Click here to see the profile of this user
Gender: Male Location: Barcelona Birthday: 05/08
Re:Settings of search from the menu item 4 Months, 2 Weeks ago Karma: 37
awesome!

BTW, is your site in Chinese?
you may want to know that we have a Traditional Chinese language pack on our downloads area! kindly contributed by one of our users

Germi
 
Logged Logged
 
Germinal Camps
Chief Software Engineer
Joomla Music Solutions

Follow me on Twitter
  The administrator has disabled public write access.
#5538
srzx
Senior Boarder
Posts: 72
graphgraph
User Offline Click here to see the profile of this user
Re:Settings of search from the menu item 4 Months, 2 Weeks ago Karma: 0
Thanks for the info. on the language pack; it's great to know that. The site I am working on is based on English. However, it seems that I had two songs in Chinese that I uploaded as well. The title got entered fine in the software and database, but the OS chopped the file name and just put .mp3 (basically no file name). But it works fine on play since .mp3 is a valid file name On the second upload it generated ####_.mp3 (where #### is the random number) as it probably detected a duplicate of .mp3 and tagged the random number to make the distinction. It works fine though.
 
Logged Logged
  The administrator has disabled public write access.
#5613
gomakeit
Senior Boarder
Posts: 52
graphgraph
User Offline Click here to see the profile of this user
Maestro Illuminist Photography
Re:Settings of search from the menu item 4 Months, 2 Weeks ago Karma: 0
Actually I think I found a way to enable "partial search". If you go to com_muscol/models and look at search.php. You can modify get_where_clause_keywords function and change the SQL command to:

(al.keywords LIKE '%".$keyword[$i]."%') AND

This basically removes the whitespace requirement before and after the keyword. So if you type "ab" in the search field, it'll return all albums/artists with an "ab" in it. I don't know if this is the behavior you want.
 
Logged Logged
 
Maestro Illuminist Photography
Photography by Justin Xiang
  The administrator has disabled public write access.
Go to top

Random albums

 
© 2009 - 2010 Joomla Music Solutions