22 | 12 | 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 20 guests and no members online

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

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

TOPIC: Database Mode

Database Mode 11 years 5 months ago #6763

  • anobletech
  • anobletech's Avatar
  • Offline
  • Новый участник
  • Posts: 9
  • Karma: 0
I like the idea of the database but I would like to see if there is a way to automate the rescan of the directories. We add about 20 or so new files to four directories a day all under one master directory, and I don't want to give office staff backend access to the site just to update. There are way to many files to build this on the fly any more, so the database mode is really the only option.
Last Edit: 10 years 4 months ago by admin.
The administrator has disabled public write access.

Database Mode Auto Update 11 years 5 months ago #6768

  • admin
  • admin's Avatar
  • Offline
  • Администратор
  • Posts: 465
  • Thank you received: 40
  • Karma: 19
I like the idea of the database but I would like to see if there is a way to automate the rescan of the directories. We add about 20 or so new files to four directories a day all under one master directory, and I don't want to give office staff backend access to the site just to update. There are way to many files to build this on the fly any more, so the database mode is really the only option.
You can read about Database mode here:
Database mode
You're absolutelly right about autoupdate! I have that in plans. I'll add that feature in the future.
Last Edit: 10 years 4 months ago by admin.
The administrator has disabled public write access.

Database Bug! 11 years 5 months ago #6794

  • anobletech
  • anobletech's Avatar
  • Offline
  • Новый участник
  • Posts: 9
  • Karma: 0
So I have an issue with database mode and the same file in multiple directories. I have tested this it is a serious issue. I have many folders under a recordings main folder, and in each there are duplicates of some files. When I scan the folders to update the database which ever folder I scan last will list the duplicates and all others lose it. Physically the files are there but it is not listed on the site. I had to resort to putting a suffix on each file to differentiate the file names and rescan. This is a pain and looks terrible. Can you please look into this.
The administrator has disabled public write access.

Database Bug! 11 years 5 months ago #6795

  • admin
  • admin's Avatar
  • Offline
  • Администратор
  • Posts: 465
  • Thank you received: 40
  • Karma: 19
So I have an issue with database mode and the same file in multiple directories...

You're right about that. Commmedia check the name and size of every file when find it first and store in database every original file only once (You can use Scanning action in Commedia component to change the filepath), and if information of new file is equal to file in another folder, it stores only once in database.

So even if You'll move the file to another folder it'll found it and show old rating and download count. For some times it may be very conviniously!, for some sites - not.


I'll try to do something with that in the future.
Last Edit: 10 years 4 months ago by admin.
The administrator has disabled public write access.

Database Mode Auto Update 11 years 1 month ago #6924

  • parisi
  • parisi's Avatar
Thanks for the GREAT component.

I have to agree with this! We are looking for an alternative component because it is not viable for us to run it manually each time we upload a file.

Do you have any idea when you might have a fix for this?

Thanks,
Paul.
The administrator has disabled public write access.

Database Mode Auto Update 11 years 1 month ago #6927

  • admin
  • admin's Avatar
  • Offline
  • Администратор
  • Posts: 465
  • Thank you received: 40
  • Karma: 19
Thanks for the GREAT component.

I have to agree with this! We are looking for an alternative component because it is not viable for us to run it manually each time we upload a file.

Do you have any idea when you might have a fix for this?

Thanks,
Paul.
Could You create any article with tags {commedia}path_to_Your_master_directory{/commedia} without database mode?

If You will know it's ID the path to that article will be:

http://Your_site/index.php?option=com_content&view=article&id=ID

Then You could to give Your office staff that link. And when that page will load (it will loading slowly) information about new files should to add to the base, so the Commedia will show them on other pages that enable database mode.

Anyway to clear the lost files from database You need to rescan it of delete information from database manually.
Last Edit: 10 years 4 months ago by admin.
The administrator has disabled public write access.
Time to create page: 0.581 seconds
for children older than 12 years