Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Audio clips

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 06-16-2005, 12:28 PM
 
steveparks steveparks is offline
 

Advanced Member
  
Join Date: Jan 2003
Location: UK
Posts: 87
 

Default Audio clips

I would like to add audio samples for products, in a dialog box as with the detailed images.

I've tried copying the detailed images mod, and adapting it to also handle audio, but while i managed to get most of it working i couldn't get file uploads to work.

I'm now wondering whether the simplest way might be top upload all the audio files to an audio directory via ftp with filenames that relate to the productid. eg 218a.mp3 218b.mp3 etc

Then have the products template look for any files with the productid, and load them in.

Anyone have any ideas on this - and how to also load in a description for each file?????

thanks
steve
__________________
--------------
RHEL3/Apache2/PHP4/MySQL4/Plesk7.5.3
X-Cart 4.0.16 - Live
X-Affiliate
X-AOM
ez-checkout
ez-upsell
--------------
Reply With Quote
  #2  
Old 08-01-2005, 01:02 AM
 
sbkp sbkp is offline
 

Advanced Member
  
Join Date: Jul 2005
Posts: 83
 

Default

I need the same thing, and I was considering the same DetailedImages-based approach. I wonder how thing went since your post.

Thanks,
Stefan
__________________
Gold 4.0.17
On Sale, Smart Search, X-AOM, X-SpecialOffers, XNews, DSEFU, and custom mods/tweaks
Reply With Quote
  #3  
Old 08-01-2005, 01:09 AM
 
steveparks steveparks is offline
 

Advanced Member
  
Join Date: Jan 2003
Location: UK
Posts: 87
 

Default audio clips

Hi Stefan

Unfortunately I've (a) not had much time and (b) not been able to get any answers as to how the detailed images mod manages the file upload process, so I haven't got very far.

I got as far as:
1. Having a nicely designed section on the customers view of the product page that listed the audio clips and gave a nice flash play button to stream them with.
2. Added a page to the admin section of the Edit product view, allowing the admin to see the audio clips associated with a product and to edit the description or delete the clip
3. Having a database table to keep track of the audio clips and their descriptions.

But I couldn't get the file upload to work so that an admin could upload a new audio clip which would be put into the filesystem and listed in the database table - I had to FTP the audio file, and then maually edit the database table in order to get it to work.

So all I have to do is figure out the file upload system, and then I'll be there!

Any ideas anyone?

steve
__________________
--------------
RHEL3/Apache2/PHP4/MySQL4/Plesk7.5.3
X-Cart 4.0.16 - Live
X-Affiliate
X-AOM
ez-checkout
ez-upsell
--------------
Reply With Quote
  #4  
Old 08-01-2005, 01:54 AM
 
sbkp sbkp is offline
 

Advanced Member
  
Join Date: Jul 2005
Posts: 83
 

Default

Steve,

Thanks for the update. After I posted here, I found your detailed post here http://forum.x-cart.com/viewtopic.php?t=16884. Is that code all current? I'm happy to play with it and see if I can work it out. I just want to make sure I'm starting with the latest greatest.

I actually want to generalize it to handle any media type, as we have some WAV, AVI, and MOV demos, too. But the file uploading is a necessary step. While I don't mind tweaking around in mysql, the people who have to manage the products aren't quite so keen on that...

Thanks a bunch.

- Stefan
__________________
Gold 4.0.17
On Sale, Smart Search, X-AOM, X-SpecialOffers, XNews, DSEFU, and custom mods/tweaks
Reply With Quote
  #5  
Old 08-01-2005, 02:13 AM
 
steveparks steveparks is offline
 

Advanced Member
  
Join Date: Jan 2003
Location: UK
Posts: 87
 

Default audio clips

Hi Stefan

It's a long while since I worked on this, but I think that is the latest code. The only thing I can see missing from there are the steps to include the Modules files in the admin product editing page selection menu, and the customer product view page - but those steps are very simple to do.

Please do let me know how you get on, I;d love to have this one cracked!

steve
__________________
--------------
RHEL3/Apache2/PHP4/MySQL4/Plesk7.5.3
X-Cart 4.0.16 - Live
X-Affiliate
X-AOM
ez-checkout
ez-upsell
--------------
Reply With Quote
  #6  
Old 08-10-2005, 01:54 PM
 
rossco rossco is offline
 

Advanced Member
  
Join Date: Feb 2005
Posts: 97
 

Default

Why not do what we have

http://www.ross-co.co.uk/xcart/Eminence-Redcoat-Series-The-Tonker-pr-16235.html
__________________
How loud do you want it?

X-Cart Gold 4.0.12 & 17
Reply With Quote
  #7  
Old 08-10-2005, 04:59 PM
 
steveparks steveparks is offline
 

Advanced Member
  
Join Date: Jan 2003
Location: UK
Posts: 87
 

Default link

Hi

I got a file not found at that link???

steve
__________________
--------------
RHEL3/Apache2/PHP4/MySQL4/Plesk7.5.3
X-Cart 4.0.16 - Live
X-Affiliate
X-AOM
ez-checkout
ez-upsell
--------------
Reply With Quote
  #8  
Old 08-10-2005, 08:27 PM
  Dongan's Avatar 
Dongan Dongan is offline
 

X-Wizard
  
Join Date: Jul 2005
Location: www.mercuryminds.com
Posts: 1,531
 

Default

Quote:
Originally Posted by rossco

Error: 404 the page not found....mmm....
Reply With Quote
  #9  
Old 08-11-2005, 01:21 PM
 
badgesales badgesales is offline
 

Advanced Member
  
Join Date: Mar 2005
Location: San Diego
Posts: 53
 

Default Audio Clips

Hello rossco,

Great setup, so how is it done??
__________________
www.photobadge.com
Version 4.2
PHP 4.4.7
SQL 4.1.22
Free BSD
7Dana Skin
CDSEO
1 Page Checkout
Reply With Quote
  #10  
Old 08-12-2005, 03:51 AM
 
steveparks steveparks is offline
 

Advanced Member
  
Join Date: Jan 2003
Location: UK
Posts: 87
 

Default audio

Hi

The link worked ok this time....looks good.

I'd guess that these are just flash files embedded into the detailed description, streaming MP3's?

I'm looking for a solution that is linked into the database, allowing users to upload audio files when they create a product - exactly like detailed images.

With this solution, if i'm right in my assumptions, they'd have to FTP an MP3 file to the server, then embed a flash button and alter the code to direct it to the right MP3. Which is a bit more complex than I'm looking for from the users point of view.

Nice site though (and it looks like you've put my amazon style tabs to good use - hope you like 'em!)

cheers
steve
__________________
--------------
RHEL3/Apache2/PHP4/MySQL4/Plesk7.5.3
X-Cart 4.0.16 - Live
X-Affiliate
X-AOM
ez-checkout
ez-upsell
--------------
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 03:53 PM.

   

 
X-Cart forums © 2001-2020