add download customization
lgoss 0
From: -
From: -
Notice
This topic is archived. New comments cannot be posted and votes cannot be cast.Responses to this topic
1 Re: add download customization
lgoss
OP
0
From: -
From: -
add download customization
Thanks! We figured out those are both using the same form and insert statement. it was a matter of modifying the insert into to and the functions to match our DB.
Thanks! We figured out those are both using the same form and insert statement. it was a matter of modifying the insert into to and the functions to match our DB.
1 Re: add download customization
Philipp
From: Vienna, Austria
Administrator
1340From: Vienna, Austria
add download customization
Function "AdminAddDownload" is for admins to add downloads, while "AdminDLQueue" is for adding downloads from the queue
Function "AdminAddDownload" is for admins to add downloads, while "AdminDLQueue" is for adding downloads from the queue
1 Re: add download customization
lgoss
OP
0
From: -
From: -
add download customization
We have it working now from the queue. However we are not sure what the different downloads are for. IS the Add Download for admins to add downloads or should this be populated with what is int he queue? Whenever we attempt to add a download from Add Download now, it justs submits whatever is in the Queue...
We have it working now from the queue. However we are not sure what the different downloads are for. IS the Add Download for admins to add downloads or should this be populated with what is int he queue? Whenever we attempt to add a download from Add Download now, it justs submits whatever is in the Queue...
1 Re: add download customization
Philipp
From: Vienna, Austria
Administrator
1340From: Vienna, Austria
add download customization
You are looking for function DownloadAdd in cadmin/mod_downloads.php
You are looking for function DownloadAdd in cadmin/mod_downloads.php
1 Re: add download customization
lgoss
OP
0
From: -
From: -
add download customization
What wold be helpful to us is to know where the donloadqueue inserts it's data into the downloads taable. If we knew this, we could modify the queue to match the downloads table. We found the queue and modified it to contain the proper fields, but they do not update due to what we assume is a mismatch of tables and insertion logic.
What wold be helpful to us is to know where the donloadqueue inserts it's data into the downloads taable. If we knew this, we could modify the queue to match the downloads table. We found the queue and modified it to contain the proper fields, but they do not update due to what we assume is a mismatch of tables and insertion logic.
1 Re: add download customization
Philipp
From: Vienna, Austria
Administrator
1340From: Vienna, Austria
add download customization
You altered the esselbach_st_downloadqueue table? In this case you need to modify submitdownload.php and cadmin/mod_downloads.php as well.
Which fields contain your downloadqueue table?
You altered the esselbach_st_downloadqueue table? In this case you need to modify submitdownload.php and cadmin/mod_downloads.php as well.
Which fields contain your downloadqueue table?
any help will be greatly appreciated...
We're trying to change the add download page (in cadmin?) to match the fields in our database, but are having difficulty finding the code.
We have success with populating the downloadqueue from the front page, but we can't "approve" the download to populate the downloads table. We receive the following error:
"Error: 1136 Column count doesn't match value count at row 1"
We think that we need to modify the form to match the database. We can add new fields using the search and replace, but how do we edit or delete the generic fields?
Thanks again!