29 | 03 | 2024
Main menu
Login/Logout
 
Contacts
Реклама
Our button

Блог Ecolora

Код:

<a href="http://www.ecolora.com" target="_blank" rel="nothing" title="Ecolora.com"><img alt="Ecolora.com" height="31" src="http://www.ecolora.com/images/ecoloracom.gif" width="88" /></a>
Who's online

We have 94 guests and no members online

Лента новостей

Newsletter
Welcome, Guest
Username: Password: Remember me
Component and plugin for musical sites / Компонент для музыкальных сайтов и улучшенная версия плагина MP3 Browser

TOPIC: Some extra functionality

Some extra functionality 9 years 7 months ago #7070

  • masclicks
  • masclicks's Avatar
Grettings

We want to know if you can add some extra tasks or functionality to the component

On your demo you have a filter for searching files by name, based on our requirements we need the filter to search by different options such as date or author?

If its not possible, can you modify or adjust the component for this requirements? if it is possible how much extra with it cost or how difficult this could be?

Thanks
The administrator has disabled public write access.

Some extra functionality 9 years 7 months ago #7071

  • admin
  • admin's Avatar
  • Offline
  • Администратор
  • Posts: 465
  • Thank you received: 40
  • Karma: 19
The filter isn't searching only by name, but on (title, artist, genre, filename):
if (($commfilter == '') || (($commfilter != '') && ((mb_stripos($retarr['title'],$commfilter) !== false) || (mb_stripos($retarr['artist'],$commfilter) !== false) || (mb_stripos($file,$commfilter) !== false) || (mb_stripos($retarr['genre'],$commfilter) !== false)))) {
...

I can add date there, but don't think that it's good idea, because have to be changed if You add modifications into file (it's ID3 tags, for example).
Last Edit: 9 years 7 months ago by admin.
The administrator has disabled public write access.
Time to create page: 0.132 seconds
for children older than 12 years