Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: Cccddd on April 21, 2005, 08:12:38 AM

Title: Music Database [3.1]
Post by: Cccddd on April 21, 2005, 08:12:38 AM
Link to Mod (http://mods.simplemachines.org/index.php?mod=125)

EDIT:  Latest version for RC2 here (http://www.simplemachines.org/community/index.php?topic=33831.msg640358#msg640358)

This mod will add a comprehensive music database to your message board/website, that allows for storage and sorting by genre, artist, album, and song. Coupled with my file manager mod, you can upload artist photos, album covers, and mp3/various song file formats to go with your lyrics database. In fact it's designed so even if you don't have lyrics, you can still just have a place for people to download their favorite music!

And of course you can rate artists, albums, and songs!




A working version of this software can be found over at charlottezweb's site! This is probably the largest music database running on this mod right now!

http://www.psychopathicforums.com/forum/index.php?action=music




Changelog -

3.1) completely revamped admin page for song editing
3.1) fixed filemanager functionality
3.1) moved German language files to separate package to facilitate separate updates
3.1) removed old unused language file entries

3.0.3) cleaned up changelog. now only contains changes from 3.0+. see thread to find old changes
3.0.3) more eval error fixes. this time focused on file manager related eval errors. (Help from DIN1031)
3.0.3) re-added MusicAdmin.german.php. For some reason the updated file didn't get included in the last two releases?

3.0.1 to 3.0.2
* previous versions were generating lots of eval errors in the error log

3.0 to 3.0.1
* fixed template looking for musicadmin.gif when should look for music_admin.gif
* workaround for SMF 1.1 uses $txt['months'] instead of $months
* install_sql.php now runs upgrade_sql.php separate. helps locate issues
* upgrade_sql.php was trying to fill released table before creating table
* fixed problem where dates still weren't sorting right
* added Music.german.php and MusicAdmin.german.php language file (thanks to Norbert!)
* fixed pagination bug

v3.0 beta 5 to 3.0 (final)
* new theme!
* fixed bug where 1st artist name showed instead of "Various Artists" on multi-artist albums

v3.0 beta 4 to beta 5:
* fixed sort_xx%20.gif issue
* removed upgrade from 2.6 *code*. Now ONLY upgrades SQL
* removed old version checker. Was broken.
* fixed month bug

v3.0 beta 3 to beta 4:
* fixed problem where filemanager features wouldn't show
* added play button to song page
* song page now works even without lyrics so you can have just mp3 database
* moved all text except errors to language files
* finally added sql upgrading
* created a script that checks for old versions of mdb code from broken/partial uninstalls
* page title finally set. took way too long to do that

v3.0 beta 2 to beta 3:
* The mod now runs even if filemanager not installed
* enable/disable fm features in admin page
* set max lyrics character count in admin page
* a lot of security fixes in the admin page
* fixed catbg in admin page

version 2.5 to version 3.0 beta 2:
* added netflix-style star rating
* removed Rate It! column
* album page sorts dates by month AND year now
* renamed and reorganized all sql tables
* standardized array, form, and sql column names
* cleaned up all code
* replaced a lot of if statements with cases
* moved some repetitive code to functions
* added play button to song list
* added filemanager functionality and interoperability
* folder selection added to forum admin page
* photo link added to artist list
* songs are no longer links if no lyrics
* columns are stored in associative arrays now like they should have been in the first place
* column sorting done associatively now
* category links now images
* search bar moved above rest of template
* source code split into Music.php MusicAdmin.php and Subs-Music.php
* default maxItems set to 25
* page errors done via fatal_error() instead of die() now
* links to genre, artist, album, song now graphics
Title: Re: Music Database [3.0+]
Post by: mennou on April 21, 2005, 01:50:29 PM
nice  but   i have  difficulty to  download it...
Package Manager - Install Actions
Install Actions for archive musicdb.3.0.tar.gz:
Installing this package will perform the following actions:  Type Action Description
1. Execute Code install_sql.php 
2. Execute Modification ./index.php Success
3. Execute Modification ./Sources/ManagePermissions.php Success
4. Execute Modification ./Sources/ModSettings.php Success
5. Execute Modification ./Themes/default/index.template.php Success
6. Execute Modification ./Themes/default/languages/ManagePermissions.english.php Success
7. Execute Modification ./Themes/default/languages/Errors.english.php Success
8. Execute Modification ./Themes/default/languages/ModSettings.english.php Success
9. Extract File ./Sources/Music.php 
10. Extract File ./Sources/MusicAdmin.php 
11. Extract File ./Sources/Subs-Music.php 
12. Extract File ./Themes/default/Music.template.php 
13. Extract File ./Themes/default/MusicAdmin.template.php 
14. Extract File ./Themes/default/languages/Music.english.php 
15. Extract File ./Themes/default/languages/MusicAdmin.english.php 
16. Extract File ./Themes/default/images/english/music.gif 
17. Extract File ./Themes/default/images/english/music_admin.gif 
18. Extract File ./Themes/default/images/english/music_albums.gif 
19. Extract File ./Themes/default/images/english/music_artists.gif 
20. Extract File ./Themes/default/images/english/music_genres.gif 
21. Extract File ./Themes/default/images/english/music_songs.gif 
22. Extract File ./Themes/default/images/english/music_header.gif 
23. Extract File ./Themes/default/images/english/music_header_admin.gif 
24. Extract File ./Themes/default/images/music_staroff.gif 
25. Extract File ./Themes/default/images/music_staron.gif 
26. Extract File ./Themes/default/images/music_play.gif 


FTP Information Required
Some of the files this package needs to modify are not writable. This needs to be changed by logging into FTP and chmoding the files. 
i've changed  it to 777  still not working...can u help??
Title: Re: Music Database [3.0+]
Post by: Elijah Bliss on April 21, 2005, 05:11:20 PM
Cool!
Title: Re: Music Database [3.0+]
Post by: Cccddd on April 22, 2005, 03:21:37 AM
mennou you need to have your Sources directory, and the files in it set to 777 (rwxrwxrwx), as well as the Themes/default directory and all sub directories. Oh and your root index.php file should be 777 too.

usually you can just set the whole damn thing to 777 and get away with it.
Title: Re: Music Database [3.0+]
Post by: SeaOfSin on April 22, 2005, 10:52:02 AM
I seem to be getting an error myself

Unknown column 'released' in 'field list'
File: /home/user/public_html/forum/Packages/temp/install_sql.php
Line: 19

any ideas?
Title: Re: Music Database [3.0+]
Post by: mennou on April 22, 2005, 11:59:01 AM
i will  try that thanks...
Title: Re: Music Database [3.0+]
Post by: Cccddd on April 22, 2005, 03:26:41 PM
Quote from: SeaOfSin on April 22, 2005, 10:52:02 AM
I seem to be getting an error myself

Unknown column 'released' in 'field list'
File: /home/user/public_html/forum/Packages/temp/install_sql.php
Line: 19

any ideas?

are you installing from a previous beta?

please include more information so i can figure out where you are getting these errors from. the straight up normal package is not broken, so you must be getting these errors from some old version trying to play with the new version.
Title: Re: Music Database [3.0+]
Post by: SeaOfSin on April 23, 2005, 11:16:40 AM
Quote from: Cheschire on April 22, 2005, 03:26:41 PM
Quote from: SeaOfSin on April 22, 2005, 10:52:02 AM
I seem to be getting an error myself

Unknown column 'released' in 'field list'
File: /home/user/public_html/forum/Packages/temp/install_sql.php
Line: 19

any ideas?

are you installing from a previous beta?

please include more information so i can figure out where you are getting these errors from. the straight up normal package is not broken, so you must be getting these errors from some old version trying to play with the new version.

Hi Cheschire

I uninstalled version 2.6 and installed the version 3.0, I'll check to see if 2.6 uninstalled correctly then try 3.0 again!
Title: Re: Music Database [3.0+]
Post by: edchapman on April 24, 2005, 01:44:41 AM
Is there anywhere to see the MOD in action?
Title: Re: Music Database [3.0+]
Post by: Norbert on April 24, 2005, 12:30:29 PM
I want to install the Music Database on my forum about NEW order. But I have to do it manual, because my webserver runs in safe mode.
How can I put the sql-File into my database with phpMyAdmin.
Title: Solved: Music Database [3.0+]
Post by: Norbert on April 24, 2005, 05:07:27 PM
I have put the modification in the database with phpMyadmin. If I want to see the Songs, I get this error message:

QuoteUnknown column 'smf_music_songs.rating' in 'field list'
Datei: /home/www/web34/html/forum/Sources/Music.php
Zeile: 196

There is a Problem with install_sql.php: Default 0 instead of Default NULL

Solved! It works now fine for me. Thanks!
Title: Re: Music Database [3.0+]
Post by: JayBachatero on April 25, 2005, 12:12:19 AM
Quote from: edchapman on April 24, 2005, 01:44:41 AM
Is there anywhere to see the MOD in action?

im going to set up a new smf test board up tonight to have a clean install of both mods so that you can take a look.
Title: Re: Music Database [3.0+]
Post by: Cccddd on April 25, 2005, 05:52:41 AM
thanks man. the biggest database i have seen running is on charlottezweb's site, but i think he is still running 2.5 or 2.6. *looks* nope its not even running it right now. he probably took it down and is waiting for 3.0.
Title: Re: Music Database [3.0+]
Post by: Norbert on April 26, 2005, 08:45:46 AM
Here (http://www.neworder.1nd.de/forum/index.php?action=music) is a demo.

There is problem with the sort order for Album Releases.
Title: Re: Music Database [3.0+]
Post by: Cccddd on April 26, 2005, 09:55:49 AM
woo. problems!

yeah wtf why is it only sorting the months? very odd. i tested that thing out but i guess i missed something obvious. either that or i changed something after i tested. stupid me :\
Title: Re: Music Database [3.0+]
Post by: Cccddd on April 26, 2005, 09:57:59 AM
Hey would you mind posting the language file you are using? I would love to include more languages with this thing.
Title: Re: Music Database [3.0+]
Post by: Norbert on April 26, 2005, 03:28:14 PM
Here is my Music.german.php

Quote<?php
// Version: 3.0; Music

$txt['music'] = array(
   'colalbum' => 'Album',
   'colartist' => 'K&uuml;nstler',
   'colgenre' => 'Genre',
   'colrating' => 'Bewertung',
   'colreleasedate' => 'ver&ouml;ffentlicht',
   'colsong' => 'Song',
   'maxitems' => 'Max. Anzahl pro Seite:',
   'nomatch' => 'Keine Suchergebnisse gefunden!',
   'numalbums' => ' Alben',
   'numartists' => ' K&uuml;nstler',
   'numphotos' => ' Fotos',
   'numsongs' => ' Tracks',
   'pages' => 'Seiten ',
   'search' => 'Suchen',
   'searchartists' => 'K&uuml;nstler',
   'searchbutton' => 'Los',
   'searchalbums' => 'Alben',
   'searchlyrics' => 'Songtexte',
   'searchsongs' => 'Songs',
   'songinfo' => 'Song-Info',
   'songinfoartist' => 'K&uuml;nstler',
   'songinfoalbum' => 'Album',
   'songinfolyrics' => 'Songtext',
   'songinfolength' => 'L&auml;nge',
   'songmp3' => 'Spielen',
   'title' => ' Musik Datenbank',
   'variousartists' => 'Verschiedene K&uuml;nstler',
);
?>

I'm going to translate MusicAdmin.german.php till end of the week.
Title: Re: Music Database [3.0+]
Post by: charlottezweb on April 26, 2005, 08:31:52 PM
Quote from: SeaOfSin on April 22, 2005, 10:52:02 AM
I seem to be getting an error myself

Unknown column 'released' in 'field list'
File: /home/user/public_html/forum/Packages/temp/install_sql.php
Line: 19

any ideas?

I'm also getting this message.  Though I was running 2.4 before uninstalling and trying to move to 3.0 today.

-Jason
Title: Re: Music Database [3.0+]
Post by: DoW Kid Rock on April 27, 2005, 02:54:16 AM
I like the mod allot, but is there any way to be able to let members add to the database?  or have each member have their own music list.  or at least attach a members name to the song, artist or album title
Title: Re: Music Database [3.0+]
Post by: Norbert on April 27, 2005, 03:27:13 AM
Quote from: DoW Kid Rock on April 27, 2005, 02:54:16 AM
I like the mod allot, but is there any way to be able to let members add to the database?  or have each member have their own music list.  or at least attach a members name to the song, artist or album title

Yes, you can do managing the permissions.
Title: Re: Music Database [3.0+]
Post by: Cccddd on April 27, 2005, 03:43:08 AM
Quote from: DoW Kid Rock on April 27, 2005, 02:54:16 AM
I like the mod allot, but is there any way to be able to let members add to the database?  or have each member have their own music list.  or at least attach a members name to the song, artist or album title

norbert is right in that you can allow members in certain groups to add/remove/edit items in the database, but the second two pieces aren't possible right now.

I'm having trouble imagining why you would want to do this though. could you explain your reasoning behind your request? if it's reasonable then I will try to look into the feasibility of adding it in.
Title: Re: Music Database [3.0+]
Post by: Cccddd on April 27, 2005, 04:23:06 AM
Quote from: charlottezweb on April 26, 2005, 08:31:52 PM
Quote from: SeaOfSin on April 22, 2005, 10:52:02 AM
I seem to be getting an error myself

Unknown column 'released' in 'field list'
File: /home/user/public_html/forum/Packages/temp/install_sql.php
Line: 19

any ideas?

I'm also getting this message.  Though I was running 2.4 before uninstalling and trying to move to 3.0 today.

-Jason

haha finally figured out this issue!

find this line:
db_query('ALTER TABLE music_album ADD released int(6) unsigned zerofill', __FILE__, __LINE__);

and move it above this block:

if (isset($date))
foreach ($date as $id => $realdate)
db_query('UPDATE music_album SET released = "' . $realdate . '" where id = "' . $id . '"', __FILE__, __LINE__);


I have no idea why it got moved. I probably moved it when I was cleaning code and inadvertently broke something. Anyways I will release 3.0.1 with this fix and the fix for the date sorting sometime in the next few days hopefully. I just can't do anything at work like I used to because some asshole that I can't find is stealing all the bandwidth during the day, and my remote terminal is getting like 700ms delays.
Title: Re: Music Database [3.0+]
Post by: charlottezweb on April 27, 2005, 02:50:29 PM
Quote
I just can't do anything at work like I used to because some asshole that I can't find is stealing all the bandwidth during the day, and my remote terminal is getting like 700ms delays.

lol, that sounds like a joy  :)

Thanks for the fix.  I will definitely try that first thing tonight and post back.  (for real this time!)

-Jason
Title: Re: Music Database [3.0+]
Post by: Cccddd on April 28, 2005, 02:05:21 AM
please dont tell me it caused other issues.
Title: Re: Music Database [3.0+]
Post by: Shizarp on April 28, 2005, 06:10:53 PM
i get this error, some help please

You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '21108 like "music_%"' at line 1
File: /home/vhosts/shizarp.xoopiter.com/forum/Packages/temp/install_sql.php
Line: 9
Title: Re: Music Database [3.0+]
Post by: charlottezweb on April 28, 2005, 09:43:02 PM
Quote from: Cheschire on April 28, 2005, 02:05:21 AM
please dont tell me it caused other issues.

lol, sorry --  no, that did the trick.  :)  I thought I responded back because I wrote a post last night but must have not clicked submit.

So yes, thanks!  That did the trick.  But don't get me started on how much fun I had fighting smf to get it to use my edited package to run...Even after creating my own package in order to get it to work in the package manager, I had to download yours, then rename/replace it with mine prior to applying it so it would trick the system.  Of course, I know I probably could've created my own temporary package server if I wanted to but meh ;)

Anyway, the main functionality is back.  My only hitch is that I don't see the administrative link where it used to be.  I notice there's a image for a button in the tarball but it doesn't seem to be putting it on the mod menu when I'm accessing it as admin...any clues there?

Thanks!
-Jason
Title: Re: Music Database [3.0+]
Post by: Cccddd on April 29, 2005, 02:55:23 AM
it doesnt appear on the mod site anymore. there's a button that should appear on the default theme next to the music button. you will have to edit whatever theme you are using and add in the admin button link.

nevermind. for some reason this was one of those nutty problems that my stupid webhost "fixes" without me asking it to. if the name of a file is "close" to the name of what the script is askin for, then it finds that "closely" named file instead. its really annoying for development. anyways i thought i had fixed this before but i might not have updated the package when i fixed it. i changed it now.

and the internet isnt going horribly slow so im going to try to get 3.0.1 out today. hopefully.

oh and for future reference, when you want to use a custom package, dont do it the way you do it. just remove the package files you have on your server, then use the Download New Packages link, and in there you will see a place to upload + install.
Title: Re: Music Database [3.0+]
Post by: Cccddd on April 29, 2005, 04:38:28 AM
Aight 3.0.1 is available on my package server and the mod site package server.

Remember to uninstall the old package before installing any new version! I don't play this upgrade game. it's not safe to do it with mods.

3.0 to 3.0.1
* fixed template looking for musicadmin.gif when should look for music_admin.gif
* workaround for SMF 1.1 uses $txt['months'] instead of $months
* install_sql.php now runs upgrade_sql.php separate. helps locate issues
* upgrade_sql.php was trying to fill released table before creating table
* fixed problem where dates still weren't sorting right
* added Music.german.php and MusicAdmin.german.php language file (thanks to Norbert!)
* fixed pagination bug
Title: Re: Music Database [3.0.1]
Post by: Norbert on April 29, 2005, 06:03:09 AM
Thx, Cheschire. Sorting works now.

Here is my MusicAdmin.german.php.
Quote<?php
// Version: 3.0.1; MusicAdmin

$txt['music'] = array(
        'title' => ' Verwaltung der Musik-Datenbank',
   'choosegenre' => 'Genre w&auml;hlen',
   'chooseartist' => 'K&uuml;nstler w&auml;hlen',
   'choosealbum' => 'Album w&auml;hlen',
   'choosesong' => 'Song w&auml;hlen',
        'genres' => 'Genres',
   'artists' => 'K&uuml;nstler',
   'albums' => 'Alben',
   'songs' => 'Songs',
   'editgenre' => 'Genre editieren',
   'editartist' => 'K&uuml;nstler editieren',
   'editalbum' => 'Album &auml;ndern',
   'editsong' => 'Song editieren',
   'editlyrics' => 'Songtext editieren',
   'editgenreinfo' => 'Genre Info editieren',
   'editartistinfo' => 'K&uuml;nstler Info editieren',
   'editalbuminfo' => 'Album Info editieren',
   'editsonginfo' => 'Song Info editieren',
   'addgenre' => 'Neues Genre hinzuf&uuml;gen',
   'addartist' => 'Neuen K&uuml;nstler hinzuf&uuml;gen',
   'addalbum' => 'Neues Album hinzuf&uuml;gen',
   'addsong' => 'Neuen Song hinzuf&uuml;gen',
   'genre' => 'Genre',
   'artist' => 'K&uuml;nstler ',
   'album' => 'Album',
   'song' => 'Song',
   'filename' => 'Dateiname',
   'foldername' => 'Ordnername',
   'songnumber' => 'Track #',
   'songlengthformat' => ' (MM:SS)',
   'songlength' => 'L&auml;nge',
   'albumlengthformat' => ' (HH:MM:SS)',
   'albumlength' => 'L&auml;nge',
   'releaseyear' => 'Jahr der Ver&ouml;ffentlichung',
   'releasemonth' => 'Monat der Ver&ouml;ffentlichung',
   'delete' => 'L&ouml;schen',
   'save' => 'Speichern',
   'edit' => 'Editieren',
   'nolyrics' => ' (Hat keinen Text!)',
   'nofolder' => 'Kein Ordner',
   'nofile' => 'Keine Datei',
);
?>
Title: Re: Music Database [3.0.1]
Post by: Cccddd on April 29, 2005, 06:16:22 AM
Okay I think maybe 3 people may have downloaded this mod since I posted the update, so I'm not too worried about making you guys do it again.

go uninstall and reinstall 3.0.1. There was one stupid page bug which makes the page links not work, and I added the MusicAdmin.german.php file.

I think they changed the way the pages works in SMF... I dunno. it's been a while since I tried a large database. charlottez was the one who pointed it out to me.
Title: Re: Music Database [3.0+]
Post by: DoW Kid Rock on April 29, 2005, 12:43:31 PM
Quote from: Cheschire on April 27, 2005, 03:43:08 AM

norbert is right in that you can allow members in certain groups to add/remove/edit items in the database, but the second two pieces aren't possible right now.

I'm having trouble imagining why you would want to do this though. could you explain your reasoning behind your request? if it's reasonable then I will try to look into the feasibility of adding it in.

sorry it took so long to reply.  I was more thinking that I could work it in to show each members list of music they have
Title: Re: Music Database [3.0.1]
Post by: JayBachatero on April 29, 2005, 05:27:25 PM
im glad to see 3.0.1 out.  im sorry tha i havent put my demo page up.  havent had time.  this mod keeps getting better and better.  bro i was thinking you should do sumthing like the streaming mod to play the music files.  i think its better than offering the download.  also i was thinking did you remove the artists and cover image from the lyrics page.  because i have this mod with the file manager but it doesnt seem to show the images i have up.  i was thinking also you should try to have the template more flexible with other themes.  like you had the older 1 with text links.
Title: Re: Music Database [3.0.1]
Post by: MellowB on May 04, 2005, 11:04:39 AM
File manager seems to work fine tho i had to make some changes to it to work with GD 1.6.2 - cant update the GD lib on that webhost there so had to fix that.
BUT there is one problem... where the heck are the pictures and stuff uploaded and assigned to the albums/artist finaly shown in the Music Database? The pics are uploaded correctly, assigned to an album but they are nowwhere to be seen in the Database itself. I also cant find any code in the template that would show them. Is it just missing couse its not implemented right now or why is this?

Oh and the mod itself produces TONS of Eval(?) errors in the Error Log of our forum. Not that these errors are critical or something but its damn anoying if the error log is flooded with those. Thank god we have an admin in our forum who knows what to do to get ride of these errors...
Title: Re: Music Database [3.0.1]
Post by: Cccddd on May 04, 2005, 11:56:49 AM
HAHA I forgot ALL about the eval errors. I keep that whole log turned off all the time cuz i never look at it anyways. it rarely does any good.

hmm damn i guess i need to work out a 3.0.2 now to get rid of those eval errors. its just a hassle, cuz the whole reason its ******ing is I don't properly check to see if variables are set before using them. I know there is a way to turn this off in PHP but I dunno what that command is. so I either go through the hassle of cleaning my code up, or making it ****** less.

hmm i wonder if [Unknown] has left on his mission yet, or if he still hangs around...

lemme know what changes you made to make GD 1.6.2 work. I'll incorporate the stuff into the version of FM that I am working on.
Title: Re: Music Database [3.0.1]
Post by: MellowB on May 04, 2005, 12:29:21 PM
Better would be if you fix all these Eval(?) errors. xD
Would at least be great for forums which have their error log turned onl. ;)

Here are my two small changes to the Filemanager.php to get GD prior to 2.0 working:

Change this:
$dest_img = imagecreatetruecolor($dest_width, $dest_height);
imagecopyresampled($dest_img, imagecreatefromjpeg($filePath), 0, 0, 0, 0, $dest_width, $dest_height, $width, $height);


To this:
$dest_img = imagecreate($dest_width, $dest_height);
imagecopyresized($dest_img, imagecreatefromjpeg($filePath), 0, 0, 0, 0, $dest_width, $dest_height, $width, $height);


Maybe build in a setting in the Filemanager settings to rather user GD 1.x oder GD 2.x depending on what is installed on the server couse the old GD 1.x method gives crappy results compared to the GD 2.x ones.

Oh and lets see if we make any more use of the filemanager at the moment, its restricted to admins anyway so dont know if its that critical if we have it or not. ^^;
Title: Re: Music Database [3.0.1]
Post by: Cccddd on May 04, 2005, 01:03:45 PM
Musicdb 3.0.2 now released, and it doesnt generate 4 pages of errors in the error log anymore!

as always, uninstall old versions before installing this version. I have to keep stressing this because i know the one time i dont someone will ****** up and forget to uninstall first.

all that was changed in this version is that the script now checks to make sure most of the variables are set before actually using them, thus eliminating all the eval errors. If you have the error log turned off, this will do nothing for you.
Title: Re: Music Database [3.0.2]
Post by: MellowB on May 04, 2005, 01:07:00 PM
Ok, THAT was fast. *g*
Will see if i install it right now... hm first gotta make backups of the changed files here.
I guess i will report here if everything works find. ^^

Well, uninstall of the old one gives me five errors. I think we made to many changes to everything... i hate that uninstall stuff. ;P
Guess i have to make the changes by hand...
Title: Re: Music Database [3.0.2]
Post by: Cccddd on May 04, 2005, 01:12:28 PM
heh yeah. I just happened to be coding the file manager at the time, and was at a good stopping point. i knew exactly what was causing the eval errors because i already fixed it before, but never FULLY fixed it. was too lazy. then forgot about it. blah.

Anyways...



Hey guys if you want to see this mod in action, on a larger scale too I might add, check out charlottezweb's install, now up and running (3.0.1 currently) at:

http://www.psychopathicforums.com/forum/index.php?action=music
Title: Re: Music Database [3.0.2]
Post by: MellowB on May 04, 2005, 01:54:34 PM
Ok, updated only the changed files to 3.0.2 - seems like all eval errors are gone except two or three of them:

http://www.ayu-kult.de/forum/index.php?action=music;list=songs;showOnly=1
Filter hinzufügen: Zeige nur Fehlermeldungen mit der gleichen Nachricht
8: Undefined index: ID_FILE
Datei: /.../forum/Sources/Music.php
Zeile: 240

http://www.ayu-kult.de/forum/index.php?action=music;list=songs;ID_SONG=2
Filter hinzufügen: Zeige nur Fehlermeldungen mit der gleichen Nachricht
8: Undefined index: ID_FILE
Datei: /.../forum/Sources/Music.php
Zeile: 216

http://www.ayu-kult.de/forum/index.php?action=music
Filter hinzufügen: Zeige nur Fehlermeldungen mit der gleichen Nachricht
8: Undefined index: photoCount
Datei: /.../forum/Themes/default/languages/Music.german.php (eval?)
Zeile: 115


And one more problem, you seem to have mixed up the language files in the archive. The german.php's are also all in English. Have replaced them with the old one's couse they didnt change afais.
Title: Re: Music Database [3.0.2]
Post by: ディン1031 on May 04, 2005, 04:05:18 PM
Quote from: MellowB on May 04, 2005, 01:54:34 PM
Ok, updated only the changed files to 3.0.2 - seems like all eval errors are gone except two or three of them:

http://www.ayu-kult.de/forum/index.php?action=music;list=songs;showOnly=1
Filter hinzufügen: Zeige nur Fehlermeldungen mit der gleichen Nachricht
8: Undefined index: ID_FILE
Datei: /.../forum/Sources/Music.php
Zeile: 240

http://www.ayu-kult.de/forum/index.php?action=music;list=songs;ID_SONG=2
Filter hinzufügen: Zeige nur Fehlermeldungen mit der gleichen Nachricht
8: Undefined index: ID_FILE
Datei: /.../forum/Sources/Music.php
Zeile: 216

http://www.ayu-kult.de/forum/index.php?action=music
Filter hinzufügen: Zeige nur Fehlermeldungen mit der gleichen Nachricht
8: Undefined index: photoCount
Datei: /.../forum/Themes/default/languages/Music.german.php (eval?)
Zeile: 115


And one more problem, you seem to have mixed up the language files in the archive. The german.php's are also all in English. Have replaced them with the old one's couse they didnt change afais.
There is a easy way to clear the problems :) (I've found some more eval errors, too).

Change in the Music.php
Line around 131 (Sometimes this made also a error)
'ID_FOLDER' => $hash['ID_FOLDER'],
replace
'ID_FOLDER' => &$hash['ID_FOLDER'],

Line around 138
$sql[$hash['ID_ARTIST']]['photoCount'] = $childhash[0];
replace
$sql[$hash['ID_ARTIST']]['photoCount'] = &$childhash[0];

Line around 216 and around 240
'ID_FILE' => $hash['ID_FILE'],
replace
'ID_FILE' => &$hash['ID_FILE'],

Line around 212 and 241
'lyrics' => $hash['lyrics'],
replace
'lyrics' => &$hash['lyrics'],

and in the file music.template.php
around line 120
' . ($info['ID_FOLDER'] && $info['photoCount'] > 0 ? '[ <a href="' . $scripturl . '?action=filemanager;ID_FOLDER=' . $info['ID_FOLDER'] . '">' . $info['photoCount'] . $txt['music']['numphotos'] . '</a> ]' : '') . '
replace with something like this
' . ($info['ID_FOLDER'] && (!empty($info['photoCount']) && $info['photoCount'] > 0) ? '[ <a href="' . $scripturl . '?action=filemanager;ID_FOLDER=' . $info['ID_FOLDER'] . '">' . $info['photoCount'] . $txt['music']['numphotos'] . '</a> ]' : '') . '

than the errors should not shown any more ;).

Bye
DIN1031
Title: Re: Music Database [3.0.2]
Post by: Cccddd on May 05, 2005, 07:57:00 AM
ah the &'s. I never bothered learning what that thing did. would oyu mind explaining it? its not exactly hte easiest thing to search for on the internet lol
Title: Re: Music Database [3.0.2]
Post by: ディン1031 on May 05, 2005, 10:01:45 AM
Quote from: Cheschire on May 05, 2005, 07:57:00 AM
ah the &'s. I never bothered learning what that thing did. would oyu mind explaining it? its not exactly hte easiest thing to search for on the internet lol
http://de2.php.net/manual/en/language.variables.php

Hmm somewhere else stand something to *g*.
It's not the best way ever to do this ;).
But sometimes it helps.
(Better is a empty, isset check or fill it at the top of the script, but sometime the '&' quote is enouph)
Title: Re: Music Database [3.0.2]
Post by: Cccddd on May 06, 2005, 04:00:34 AM
right i use isset generally, but im lazy and isset'ing all the variables is annoying, albeit The Right Thing To Do (tm)

btw the & thing... sets references. what does that have to do with variables that arent set? does it just reference it to something that doesnt exist? kind of like a half-assed definition?

also, most of those extra eval errors you found i noticed were from having the file manager mod installed, which is probably why i didnt see those errors :)
Title: Re: Music Database [3.0.2]
Post by: Cccddd on May 06, 2005, 04:06:15 AM
Quote from: MellowB on May 04, 2005, 01:54:34 PM
And one more problem, you seem to have mixed up the language files in the archive. The german.php's are also all in English. Have replaced them with the old one's couse they didnt change afais.

for some reason i forgot to respond to this. anyways, for some reason the MusicAdmin.german.php was still in english. i made sure to replace it again. very odd...
Title: Re: Music Database [3.0.2]
Post by: Cccddd on May 06, 2005, 06:58:02 AM
3.0.3 released. definitely not a necessary upgrade, but helpful for those concerned about these issues. I know, daily releases is kinda annoying, but i'm definitely not telling you that you HAVE to upgrade. it's just nice for those people who find minor annoyances and want to have them fixed.

3.0.3) cleaned up changelog. now only contains changes from 3.0+. see thread to find old changes
3.0.3) more eval error fixes. this time focused on file manager related eval errors. (Help from DIN1031)
3.0.3) re-added MusicAdmin.german.php. For some reason the updated file didn't get included in the last two releases?
Title: Re: Music Database [3.0.3]
Post by: MellowB on May 08, 2005, 02:43:24 PM
Hm i have one request...
Could you please make the Admin pages "more usefull"?
At the moment its somehow complicated to use these... or better its confusing.

If you have for example a LOT albums in the database its sometimes difficult to find the one you want to change. If in fron of the album in the drop down list there would be the artists name it wouldnt be as complicated. Or better, you add a seconed drop down field there for artists too. So first you choose the artist and then you see in the second dropdown list all albums listed by this artist in the database. So you also could more easyly add new albums to this artist...

Same goes with the song page. There its even MORE confusing. What if you have multiple songs with thes same name in the database? How do you know the correct one? Add drop-down fields there for Artist, Album and then Songs. This would make things much more easyly in my opinion. Same goes for our users which are allowed to add new songs, albums etc. which asked already sometimes about help how to use this page couse its so confusing sometimes.

If you could clear these pages up a bit and add picture support again everything would be perfect for us atm., beside these points its a really nice mod so thanks for all. :)
Title: Re: Music Database [3.0.3]
Post by: StormLrd on May 10, 2005, 01:33:50 AM
Great program but i kinda already enabled the filemanager lmao, im gonna have to uninstall looks like and re install just to get at the bloody checkbox again :( oh well should of read the forum first and wasnt paying attn.

Hope this gets fixed soon I think it will be real cool with bugs eliminated. Ive just unistalled it again, kept getting an error when ever i tried to save anything in the layout options screen of admin..

Also kept giving defining path errors when trying to set up a music. Be cool to have a genral load for the db as well for some different types of music. Without having to upload everyone (as if i can even get to that point in its current form.

Will keep on this thread for updates to it.

The Family Forum (http://stormlrdsreality.co.uk/rhcforum)
Title: Re: Music Database [3.0.3]
Post by: StormLrd on May 11, 2005, 12:25:32 AM
This is the message:

An Error Has Occurred!
2: Invalid argument supplied for foreach()
File: /home/stormlrd/public_html/rhcforum/Sources/ModSettings.php
Line: 585 





/* Display the options.  May be:
array('option 1', 'value' => 'option2', 'etc')
OR array(array('value', 'option'), array('samevalue', 'option'))
(this way you can have two options with one value, if needed.) */

----585--> foreach ($config_var[2] as $key => $option)
if (is_array($option))
$context['raw_data'] .= '
<option value="' . $option[0] . '"' . ($option[0] == $modSettings[$config_id] ? ' selected="selected"' : '') . '>' . $option[1] . '</option>';
else
$context['raw_data'] .= '
<option value="' . $key . '"' . ($key == $modSettings[$config_id] ? ' selected="selected"' : '') . '>' . $option . '</option>';

$context['raw_data'] .= '
</select>
';
}

This is the culprit causing it:


// I gotta use an if statement here, so I had to move the whole block out.
// Gotta play nice with the other mods! ;]

array_push($config_vars, array('heading', 'Music'), array('int', 'mdb_maxlyrics'), array('check', 'mdb_enable_fm_features'), array('rule'));

if (isset($modSettings['mdb_enable_fm_features']) && $modSettings['mdb_enable_fm_features'] > 0)
array_push($config_vars,
array('select', 'mdb_artist_folder', $fm_folders),
array('select', 'mdb_album_folder', $fm_folders),
array('select', 'mdb_song_folder', $fm_folders),
array('rule')
);








I'm assuming thats the filemanager? and for some reason its interfering with me doing anything on the layout page lol without getting the error message at top.

Ive removed that section for now so ive got a non functioning mod at moment.

If anyone knows the solution id be greatful, ive already tried moving it to above the calander and so forth with same results, so im stuck for now.

Thanks in advance for any help :)
Title: Re: Music Database [3.0.3]
Post by: LFC4EVA on May 11, 2005, 02:34:06 AM
how do i install it? i downloaded it but i don't know where to install it. whats this u have to install it in themes/style thing i just don't get it
Title: Re: Music Database [3.0.3]
Post by: StormLrd on May 11, 2005, 01:28:25 PM
I did a little work to match the music database blend in with BLOC's helios theme:

Images:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fstormlrdsreality.co.uk%2Fenglish%2Fmusic.gif&hash=e3bec0b9c39615e005a6e1307e4e9cb67fa030e2)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fstormlrdsreality.co.uk%2Fenglish%2Fmusic_admin.gif&hash=d8aa41f1217493d9d7ff26bedaf4adf0c9a998d3)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fstormlrdsreality.co.uk%2Fenglish%2Fmusic_albums.gif&hash=d35a57577cbf11751b60af507c13f6987e4eca66)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fstormlrdsreality.co.uk%2Fenglish%2Fmusic_artists.gif&hash=fa51d003635d162af926f51215313875ebee13ba)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fstormlrdsreality.co.uk%2Fenglish%2Fmusic_genres.gif&hash=1b1168e219cd57a29d407b9b741c4b5cd685c833)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fstormlrdsreality.co.uk%2Fenglish%2Fmusic_header.gif&hash=396b3ac6155d603b2bbef4373953bb5f90fc8064)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fstormlrdsreality.co.uk%2Fenglish%2Fmusic_header_admin.gif&hash=35e7a7e0bafd2828f330d1c848ce3cf26f81819b)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fstormlrdsreality.co.uk%2Fenglish%2Fmusic_songs.gif&hash=d1c51f73da07806e6803fd8b65d19676842db26a)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fstormlrdsreality.co.uk%2Fenglish%2FmusicBUTTONTEMP.GIF&hash=e87184b5cb18c7ba926417303df35dcc9769f6ce) blank for your own
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fstormlrdsreality.co.uk%2Fenglish%2FmusicBUTTONTEMPcd.GIF&hash=d4eb6295443cd45b89f59aaa9104af91b7751923) blank for your own

I used arial font in bold. Just replace original images with these since they have same filename.

Now to make it match in the menu's

i used the headerbodies style in style sheet for background of table and my headerbodies is set to a dark red since im using the red helios theme.

Lining up menubar: In the install.xml it says to do this:


<file name="$themedir/index.template.php">
<operation>
<search position="after"><![CDATA[
// The [calendar]!]]></search>
<add><![CDATA[
// Music Database mod
if (allowedTo('mdbview'))
echo '
<a href="', $scripturl, '?action=music">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/music.gif" alt="Music" style="margin: 2px 0;" border="0" />' : 'Music'), '</a>', $context['menu_separator'];

if (allowedTo(array('mdbadd','mdbmodify','mdbdelete')))
echo '
<a href="', $scripturl, '?action=musicadmin">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/music_admin.gif" alt="Music Admin" style="margin: 2px 0;" border="0" />' : 'Music Admin'), '</a>', $context['menu_separator'];
]]></add>
</operation>
</file>


Instead repace it with this:



// Music Database mod
    if (allowedTo('mdbview'))
        echo '<td><a href="', $scripturl, '?action=music">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/music.gif" alt="Music" style="margin: 0px 0;" border="0" />' : 'Music'), '</a></td>';

    if (allowedTo(array('mdbadd','mdbmodify','mdbdelete')))
        echo '<td><a href="', $scripturl, '?action=musicadmin">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/music_admin.gif" alt="Music Admin" style="margin: 0px 0;" border="0" />' : 'Music Admin'), '</a></td>';
       


view here on this forum: The Family Forum (http://stormlrdsreality.co.uk/rhcforum)


Ok lol Now if i can get help with getting it to work id sincerely appreciate it. My problem is listed in previous post dealing with the modsettings page

thanks in advance  :)
Title: Re: Music Database [3.0.3]
Post by: Cccddd on May 13, 2005, 07:14:52 AM
sorry all. i had a combat life saving class all this week in Darmstadt, germany, so i wasn't around computers at all for a several days.

Quote from: MellowB on May 08, 2005, 02:43:24 PM
If you have for example a LOT albums in the database its sometimes difficult to find the one you want to change. If in fron of the album in the drop down list there would be the artists name it wouldnt be as complicated. Or better, you add a seconed drop down field there for artists too. So first you choose the artist and then you see in the second dropdown list all albums listed by this artist in the database. So you also could more easyly add new albums to this artist...

entirely too easy, and a great idea too. I will either make this change and release a 3.0.4, or i will add some more slightly major changes and go for a 3.1 release.
Title: Re: Music Database [3.0.3]
Post by: Cccddd on May 13, 2005, 07:18:04 AM
Quote from: StormLrd on May 11, 2005, 01:28:25 PM
I did a little work to match the music database blend in with BLOC's helios theme:

Nice work!

Quote from: StormLrd on May 11, 2005, 01:28:25 PM
Ok lol Now if i can get help with getting it to work id sincerely appreciate it. My problem is listed in previous post dealing with the modsettings page

thanks in advance  :)

uninstall the filemanager mod, and the music mod, then install whatever the latest version of SMF is in UPDATE form (not upgrade or install version). Do not install the package manager version of the update, just download the update package from the downloads page from the SMF front page.
Title: Re: Music Database [3.0.3]
Post by: Cccddd on May 13, 2005, 07:20:03 AM
Quote from: LFC4EVA on May 11, 2005, 02:34:06 AM
how do i install it? i downloaded it but i don't know where to install it. whats this u have to install it in themes/style thing i just don't get it

goto the package manager page on your admin page of your own forum, and then in the package uploading block, hit browse, find teh package, and click upload.
Title: Re: Music Database [3.0.3]
Post by: muzikashqip2005 on May 14, 2005, 05:10:53 PM
hejj do u know wen the filemanger mod is gonna be working
Title: Re: Music Database [3.0.3]
Post by: Cccddd on May 15, 2005, 05:11:23 AM
yes, i do.
Title: Re: Music Database [3.0.3]
Post by: IronMANro on May 19, 2005, 10:58:34 AM
hi,

first of all, i like this mod and i want to use it.

i tryed to install on my forum... i uploaded manual using ftp. the mod apear in package list with [aplly now] link.
when i press this link i recive next message:

An Error Has Occurred!
2: fopen(): SAFE MODE Restriction in effect. The script whose uid is 21762 is not allowed to access /usr/local/www/data-dist/go/raverbase/forum/Packages/temp owned by uid 80
File: /usr/local/www/data-dist/go/raverbase/forum/Sources/Subs-Package.php
Line: 1476


can anyone help me?

thanks in advance!
Title: Re: Music Database [3.0.3]
Post by: Cccddd on May 22, 2005, 04:56:57 AM
Quote from: IronMANro on May 19, 2005, 10:58:34 AM
hi,

first of all, i like this mod and i want to use it.

i tryed to install on my forum... i uploaded manual using ftp. the mod apear in package list with [aplly now] link.
when i press this link i recive next message:

An Error Has Occurred!
2: fopen(): SAFE MODE Restriction in effect. The script whose uid is 21762 is not allowed to access /usr/local/www/data-dist/go/raverbase/forum/Packages/temp owned by uid 80
File: /usr/local/www/data-dist/go/raverbase/forum/Sources/Subs-Package.php
Line: 1476


can anyone help me?

thanks in advance!

check the permissions on your Packages folder, and make sure its set to 777
Title: Re: Music Database [3.1]
Post by: Cccddd on May 22, 2005, 09:12:45 AM
Aight Music database is now updated to 3.1

3.1) completely revamped admin page for song editing
3.1) fixed filemanager functionality
3.1) moved German language files to separate package to facilitate separate updates
3.1) removed old unused language file entries

Basically the song editing page was the primary focus of this update, with the filemanager functionality coming in a close second. Once I am sure the song page is user-friendly enough, I will start to work on the album and artist page too.

Norbert: I need you to retranslate the language files if that's okay. I will be releasing a separate package for the language files so that I don't have to wait on translations to update the root package. This also means you can make changes to the german language package without having to wait for me to update the main thing. Just PM me the stuff, or attach the files to a post here.
Title: Re: Music Database [3.1]
Post by: Norbert on May 22, 2005, 03:15:02 PM
Quote from: Cheschire on May 22, 2005, 09:12:45 AM
Norbert: I need you to retranslate the language files if that's okay. I will be releasing a separate package for the language files so that I don't have to wait on translations to update the root package. This also means you can make changes to the german language package without having to wait for me to update the main thing. Just PM me the stuff, or attach the files to a post here.

I'll do this tomorrow.
Title: Re: Music Database [3.1]
Post by: CokeCan on May 22, 2005, 04:00:01 PM
Great work!! :D
I want to create a lyrics site and I would like to know if it's posible to add a "pirnt" version where they can see the lyrics in a popup window without all the forum design?
And would be nice list the artists, albums and songs by letters just like it's at the memberlist, what do you think? that would be VERY useful!
And is it posible to add the album's cover over the album's list?

Oh, one more thing, is it posible to add the lyrics translation? would be nice if users can add it's translation to their own language you can add the text "translation to:" "English", "Español (Spanish)", "Portugues (Portuguese)"...
Title: Re: Music Database [3.1]
Post by: CokeCan on May 22, 2005, 04:32:41 PM
Here it's the translation to spanish :)

<?php
// Version: 3.1; Music

$txt['music'] = array(
'title' => 'Base de Datos Musical',
'colalbum' => 'Título del Álbum',
'colartist' => 'Nombre del Artista',
'colgenre' => 'Nombre del Género',
'colrating' => 'Puntaje',
'colreleasedate' => 'Lanzado',
'colsong' => 'Nombre del Tema',
'maxitems' => 'Cantidad máxima de ítems por página:',
'nomatch' => 'No se encontraron resultados!',
'numalbums' => ' álbumes',
'numartists' => ' artistas',
'numphotos' => ' fotos',
'numsongs' => ' temas',
'pages' => 'Páginas ',
'search' => 'Buscar',
'searchartists' => 'Artistas',
'searchbutton' => 'Ir',
'searchalbums' => 'Álbumes',
'searchlyrics' => 'Letras',
'searchsongs' => 'Temas',
'songinfo' => 'Información del Tema',
'songinfoartist' => 'Nombre del Artista',
'songinfoalbum' => 'Nombre del Álbum',
'songinfolyrics' => 'Letras',
'songinfolength' => 'Duración del tema',
'songmp3' => 'Reproducir',
'variousartists' => 'Varios Artistas',
'albumcover' => 'portada',
);
?>


<?php
// Version: 3.1; MusicAdmin

$txt['music'] = array(
        
'title' => ' Administración de la Base de Datos Musical',
'choosegenre' => 'Elegir Género',
'chooseartist' => 'Elegir Artista',
'choosealbum' => 'Elegir Álbum',
'choosesong' => 'Elegir Tema',
'editgenre' => 'Editar Género',
'editartist' => 'Editar Artista',
'editalbum' => 'Editar Álbum',
'editsong' => 'Editar Tema',
'editlyrics' => 'Letras',
'editgenreinfo' => 'Editar Información del Género',
'editartistinfo' => 'Editar Información del Artista',
'editalbuminfo' => 'Editar Información del Álbum',
'editsonginfo' => 'Editar Información del Tema',
'addgenre' => 'Añadir un nuevo Género',
'addartist' => 'Añadir un nuevo Artista',
'addalbum' => 'Añadir un nuevo Álbum',
'addsong' => 'Añadir un nuevo Tema',
'genre' => 'Nombre del Género',
'artist' => 'Nombre del Artista',
'album' => 'Nombre del Álbum',
'song' => 'Título del Tema',
'filename' => 'Nombre del archivo',
'foldername' => 'Nombre de la carpeta',
'songnumber' => 'Track #',
'songlengthformat' => ' (MM:SS)',
'songlength' => 'Longitud del tema',
'albumlengthformat' => ' (HH:MM:SS)',
'albumlength' => 'Longitud del Álbum',
'releaseyear' => 'Año de Lanzamiento',
'releasemonth' => 'Mes de Lanzamiento',
'delete' => 'Borrar',
'save' => 'Salvar',
'edit' => 'Editar',
'nolyrics' => ' (sin letras)',
'nofolder' => 'Sin carpeta',
'nofile' => 'Sin archivo',
);
?>
Title: Re: Music Database [3.1] German Language Files
Post by: Norbert on May 23, 2005, 05:16:49 AM
Quote
<?php
// Version: 3.1; Music

$txt['music'] = array(
   'colalbum' => 'Album',
   'colartist' => 'K&uuml;nstler',
   'colgenre' => 'Genre',
   'colrating' => 'Bewertung',
   'colreleasedate' => 'ver&ouml;ffentlicht',
   'colsong' => 'Song',
   'maxitems' => 'Max. Anzahl pro Seite:',
   'nomatch' => 'Keine Suchergebnisse gefunden!',
   'numalbums' => ' Alben',
   'numartists' => ' K&uuml;nstler',
   'numphotos' => ' Fotos',
   'numsongs' => ' Tracks',
   'pages' => 'Seiten ',
   'search' => 'Suchen',
   'searchartists' => 'K&uuml;nstler',
   'searchbutton' => 'Los',
   'searchalbums' => 'Alben',
   'searchlyrics' => 'Songtexte',
   'searchsongs' => 'Songs',
   'songinfo' => 'Song-Info',
   'songinfoartist' => 'K&uuml;nstler',
   'songinfoalbum' => 'Album',
   'songinfolyrics' => 'Songtext',
   'songinfolength' => 'L&auml;nge',
   'songmp3' => 'Spielen',
   'title' => ' Musik Datenbank',
   'variousartists' => 'Verschiedene K&uuml;nstler',
   'albumcover' => 'Cover',
);

?>

Quote
<?php
// Version: 3.1; MusicAdmin

$txt['music'] = array(
   'title' => ' Verwaltung der Musik-Datenbank',
   'choosegenre' => 'Genre w&auml;hlen',
   'chooseartist' => 'K&uuml;nstler w&auml;hlen',
   'choosealbum' => 'Album w&auml;hlen',
   'choosesong' => 'Song w&auml;hlen',
   'editgenre' => 'Genre editieren',
   'editartist' => 'K&uuml;nstler editieren',
   'editalbum' => 'Album &auml;ndern',
   'editsong' => 'Song editieren',
   'editlyrics' => 'Songtext editieren',
   'editgenreinfo' => 'Genre Info editieren',
   'editartistinfo' => 'K&uuml;nstler Info editieren',
   'editalbuminfo' => 'Album Info editieren',
   'editsonginfo' => 'Song Info editieren',
   'addgenre' => 'Neues Genre hinzuf&uuml;gen',
   'addartist' => 'Neuen K&uuml;nstler hinzuf&uuml;gen',
   'addalbum' => 'Neues Album hinzuf&uuml;gen',
   'addsong' => 'Neuen Song hinzuf&uuml;gen',
  'genre' => 'Genre',
   'artist' => 'K&uuml;nstler ',
   'album' => 'Album',
   'song' => 'Song',
   'filename' => 'Dateiname',
   'foldername' => 'Ordnername',
   'songnumber' => 'Track #',
   'songlengthformat' => ' (MM:SS)',
   'songlength' => 'L&auml;nge',
   'albumlengthformat' => ' (HH:MM:SS)',
   'albumlength' => 'L&auml;nge',
   'releaseyear' => 'Jahr der Ver&ouml;ffentlichung',
   'releasemonth' => 'Monat der Ver&ouml;ffentlichung',
   'delete' => 'L&ouml;schen',
   'save' => 'Speichern',
   'edit' => 'Editieren',
   'nolyrics' => ' (Hat keinen Text!)',
   'nofolder' => 'Kein Ordner',
   'nofile' => 'Keine Datei',
);
?>


Now there is a problem with music_play.gif. You can see it, even if there is nothing to play.
Title: Re: Music Database [3.1]
Post by: Cccddd on May 23, 2005, 10:21:07 AM
Awesome guys! Hey, if you could translate the words for the buttons too, I could whip up some new buttons to go in the language packs. Danke!
Title: Re: Music Database [3.1]
Post by: Cccddd on May 23, 2005, 10:50:28 AM
Spanish and German language packs now up. It's only language files for now. I will include default template buttons if and when Norbert and CokeCan help me out with the translations :)
Title: Re: Music Database [3.1]
Post by: CokeCan on May 23, 2005, 01:07:43 PM
Great! ;D
Cheschire, What do you think about this? http://www.simplemachines.org/community/index.php?topic=33831.msg268748#msg268748

Here is the text for the spanish pictures:
Quotemusic.gif = Música
music_admin.gif = Admin. de Música
music_albums.gif = Álbums
music_artists.gif = Artistas
music_genres.gif = Géneros
music_header.gif = Base de Datos Musical
music_header_admin.gif = Admin. de la Base de Datos Musical (very long! just leave the english one)
music_songs.gif = Temas
Title: Re: Music Database [3.1]
Post by: Norbert on May 23, 2005, 04:50:47 PM
Text for German Buttons:

music.gif = Musik
music_admin.gif = Musik Admin
music_albums.gif = Alben
music_artists.gif = Künstler
music_genres.gif = Genres
music_header.gif = Musik Datenbank
music_header_admin.gif = Musik Datenbank Admin
music_songs.gif = Lieder (or let it in English: Songs)

Greetings from the Niederrhein  :D
Title: Re: Music Database [3.1]
Post by: JayBachatero on May 23, 2005, 10:49:31 PM
i was messing around wit the template today for my midblue theme here take a look at what i have so far.  i need to move the search bar sumwhere else though

http://www.kevmundial.com/test_smf/index.php?action=music;theme=4

p.s. i dont have the filemanager mod there for some eason i tried to update it but it says sumthing bout having to remove old database stuff to add the new but when i did dat and put it up it was having problems with the settings page it went blank and no parse code was set
Title: Re: Music Database [3.1]
Post by: Cccddd on May 24, 2005, 03:14:47 AM
Thanks for the translations guys. I will try to get some buttons made in the next few days.

Quote from: LiL_J on May 23, 2005, 10:49:31 PM
i was messing around wit the template today for my midblue theme here take a look at what i have so far.  i need to move the search bar sumwhere else though

http://www.kevmundial.com/test_smf/index.php?action=music;theme=4

p.s. i dont have the filemanager mod there for some eason i tried to update it but it says sumthing bout having to remove old database stuff to add the new but when i did dat and put it up it was having problems with the settings page it went blank and no parse code was set

when did you install the file manager mod? I reuploaded the package yesterday with a fix that was ******ing up the modsettings.php file. Also I cant see that link you posted. is your site down?

Quote from: CokeCan on May 22, 2005, 04:00:01 PM
I want to create a lyrics site and I would like to know if it's posible to add a "pirnt" version where they can see the lyrics in a popup window without all the forum design?

good idea. I will add that to my todo list.

Quote from: CokeCan on May 22, 2005, 04:00:01 PM
And would be nice list the artists, albums and songs by letters just like it's at the memberlist, what do you think? that would be VERY useful!

You need to explain what you mean here. As far as I understand, you want something that is already done, so I need you to give me more details so I can get a better idea of what you want changed.

Quote from: CokeCan on May 22, 2005, 04:00:01 PM
And is it posible to add the album's cover over the album's list?

Where would you want the album cover? Maybe

Quote from: CokeCan on May 22, 2005, 04:00:01 PM
Oh, one more thing, is it posible to add the lyrics translation? would be nice if users can add it's translation to their own language you can add the text "translation to:" "English", "Español (Spanish)", "Portugues (Portuguese)"...

Interesting idea. this will be added towards the bottom of my todo list as something to look into for a bigger release
Title: Re: Music Database [3.1]
Post by: ArkServer on May 24, 2005, 03:06:54 PM
How do i let other people add music to the database? having a hard time finding where i can change who can add music.
Title: Re: Music Database [3.1]
Post by: JayBachatero on May 24, 2005, 07:27:55 PM
Quote from: ArkServer on May 24, 2005, 03:06:54 PM
How do i let other people add music to the database? having a hard time finding where i can change who can add music.

you give the permission on group basis so edit your membergroups to the permissions you want to allow
Title: Re: Music Database [3.1]
Post by: CokeCan on May 25, 2005, 11:20:50 AM
Quote from: Cheschire on May 24, 2005, 03:14:47 AM
Quote from: CokeCan on May 22, 2005, 04:00:01 PM
And would be nice list the artists, albums and songs by letters just like it's at the memberlist, what do you think? that would be VERY useful!
You need to explain what you mean here. As far as I understand, you want something that is already done, so I need you to give me more details so I can get a better idea of what you want changed.
I think that would be nice have something like this:
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Just like: http://www.simplemachines.org/community/index.php?action=mlist

Quote from: Cheschire on May 24, 2005, 03:14:47 AM
Quote from: CokeCan on May 22, 2005, 04:00:01 PM
And is it posible to add the album's cover over the album's list?
Where would you want the album cover? Maybe
Would be nice have them at the top of the track list.

Is it posible to alive the covers for guests too?
Title: Re: Music Database [3.1]
Post by: EPro on May 26, 2005, 10:39:03 PM
how in the worl do i install this damn thing  ...... i have tried and tried
Title: Re: Music Database [3.1]
Post by: CokeCan on May 27, 2005, 01:37:23 PM
One more thing, is it posible to have "Report Lyrics' Error", where users can report the errors?
And add at the top "Lyrics uploaded by..." and "Translation uploaded by..."
Title: Re: Music Database [3.1]
Post by: Miraenda on May 27, 2005, 02:07:24 PM
When I tried to download in package manager the 3.1 music database, instead it shows up as the Spanish language pack in the SMF Machines Mod Site. Is the right file there for the Music database or am I missing something?
Title: Re: Music Database [3.1]
Post by: SeaOfSin on May 28, 2005, 08:27:16 AM
I tried a fresh install of SMF including a new database and still got the error
2: Invalid argument supplied for foreach()
File: website\forum\Sources\ModSettings.php
Line: 562

when trying to use both filemanager and music database after selecting use filemanager features! Any ideas?
Title: Re: Music Database [3.1]
Post by: Cccddd on May 31, 2005, 09:06:09 AM
Quote from: Miraenda on May 27, 2005, 02:07:24 PM
When I tried to download in package manager the 3.1 music database, instead it shows up as the Spanish language pack in the SMF Machines Mod Site. Is the right file there for the Music database or am I missing something?

bah they tried asking me to fix the mod site sometime last year but I don't have the YEARS it would take to fix all the ******ups (IMO) that are present in that system. One of them being the fact that it only shows one file on the mod package server, and it just happens to be the last one. There's no way to select what file I want displayed on the mod package list. so the only way I can work it is to upload the music db thing AGAIN.

wtf. bah. ****** it all. just download the package from the first link in this thread i guess until im not too lazy to redo the upload :)
Title: Re: Music Database [3.1]
Post by: Miraenda on May 31, 2005, 11:11:56 AM
Ok, np :)

I got it now, thanks Cheschire :)
Title: Re: Music Database [3.1]
Post by: EPro on June 02, 2005, 03:26:17 AM
this is what i did ..... i down loaded the english version and FTP it to my server ..... then it showed up under my packages and it let me install it but ....... i can't see a link for any music stuff ..... any idea's?????? i can see the music.template.php and more files ..... mabey i have the wrong index file ... hmmmmmm i would really like to add this to my site
Title: Re: Music Database [3.1]
Post by: CokeCan on June 07, 2005, 02:05:53 AM
This is a great mod :)
But is it posible to add the "Artist" when you create the "Album"? because it's posible to have more than one Album with the same name it will be very dificult to find what album is it when you are going to add the lyrics, so when you select the album to write the song you can see the "Artists - Album" and not just the album's name. How can I do this change?
Title: Re: Music Database [3.1]
Post by: Xarcell on June 08, 2005, 12:54:07 AM
They file seems to be corrupted or something
Title: Re: Music Database [3.1]
Post by: Cccddd on June 08, 2005, 05:05:10 AM
****** ALL WITH A SPORK

goddamn see this is why i hate being distracted by assholes at work. here I am trying to do personal ****** on army time and they wanna come distract me and make me fix someone's outlook.

Please use this thread for future file manager discussions, as this thread is intended for the music database mod. Thanks

http://www.simplemachines.org/community/index.php?topic=38382
Title: Re: Music Database [3.1]
Post by: CokeCan on June 08, 2005, 02:34:38 PM
I installed 1.0.4 and I am having problems with the Music Database mod.
I get this error when I try to get in it's ModSettings:
Quote2: Invalid argument supplied for foreach()
File: /www/xxx/xxx/forum/Sources/ModSettings.php
Line: 563
What can I do?
Title: Re: Music Database [3.1]
Post by: Xarcell on June 08, 2005, 09:02:36 PM
I'm using 1.0.3

-Xarcell

Title: Re: Music Database [3.1]
Post by: Cccddd on June 09, 2005, 07:31:06 AM
Quote from: CokeCan on June 08, 2005, 02:34:38 PM
I installed 1.0.4 and I am having problems with the Music Database mod.
I get this error when I try to get in it's ModSettings:
Quote2: Invalid argument supplied for foreach()
File: /www/xxx/xxx/forum/Sources/ModSettings.php
Line: 563
What can I do?

is this on a fresh install of 1.0.4, or have you tried installing the file manager there before
Title: Re: Music Database [3.1]
Post by: CokeCan on June 09, 2005, 08:46:25 AM
It's on a fresh install of 1.0.4
Title: Re: Music Database [3.1]
Post by: Cccddd on June 09, 2005, 08:51:00 AM
attach a copy of your ModSettings.php
Title: Re: Music Database [3.1]
Post by: CokeCan on June 09, 2005, 09:00:30 AM
How can I attach files here?
Title: Re: Music Database [3.1]
Post by: CokeCan on June 09, 2005, 09:01:43 AM
Here it is www.coolartists.com.ar/ModSettings.zip (http://www.coolartists.com.ar/ModSettings.zip)
Title: Re: Music Database [3.1]
Post by: Cccddd on June 09, 2005, 09:04:52 AM
the link isnt working. go into the reply page and click the additional options link
Title: Re: Music Database [3.1]
Post by: CokeCan on June 09, 2005, 09:11:20 AM
Please try to download from that link again, it's working for me
At "Additional options" I've got:
QuoteNotify me of replies. 
Return to this topic. 
Don't use smileys.
If you can please say me your e-mail by IM and I send you it by mail :)
Title: Re: Music Database [3.1]
Post by: Cccddd on June 09, 2005, 09:12:50 AM
cheschire at gmail dot com
Title: Re: Music Database [3.1]
Post by: CokeCan on June 09, 2005, 09:16:21 AM
Sent
THANKS! :D
Title: Re: Music Database [3.1]
Post by: CokeCan on June 09, 2005, 12:00:22 PM
Cheschire, did you have time to check the files? :)
Title: Re: Music Database [3.1]
Post by: Cccddd on June 09, 2005, 01:44:57 PM
nope. have to wait till tomorrow. sorry m8
Title: Re: Music Database [3.1]
Post by: Oldiesmann on June 10, 2005, 12:11:54 PM
I just talked to someone else having this problem... This is related to the optional filie manager mod that you can install... Specifically, these lines:

foreach ($folders as $id => $hash)
{
$checking = $id;
$folders[$id]['fullPath'] = '';
while ($folders[$checking]['parentFolder'] > 0)
{
$folders[$id]['fullPath'] = $folders[$folders[$checking]['parentFolder']]['folderName'] . '/' . $folders[$id]['fullPath'];
$checking = $folders[$checking]['parentFolder'];
}
}


Does this mod automatically enable the file manager features or something?
Title: Re: Music Database [3.1]
Post by: StormLrd on June 10, 2005, 11:08:06 PM
Correct me if im wrong please lol but ive finally got mine running correctly, the music db that is not the file manger, but is this just for listing genres, albums, artists, and "just lyrics" not actual mp3 files?

mine is only setup for the actual written lyrics not playing songs (and yes i feel like an idiot for clarifying).

I did find several php codes for actual playing mp3's but so far only one has shown promise in actually integrating into the smf forum but ill be damned if i can figure out how lol. Heres the zip file on it maybe some of yall can figure it out.

http://stormlrdsreality.co.uk/zina-0.11.18.tar.gz It seems like a really cool idea here's where i found it:

http://programmingpub.com/scripts/Free_PHP_Scripts/Free_PHP_Scripts-Download_Free_Audio_Scripts/ and this zip file is zina that i uploaded to my server yall are welcome to see what you can come up with it.

There was a forum user transfer file for users but id rather see if their is a way to just incorporate the embedded format directly into my smf forum.

i was also thinking that the now playing mod could be modified to pick up what ever the user is listening to as he/she was posting a message or show nothing if not listening to anything at all.
Title: Re: Music Database [3.1]
Post by: Cccddd on June 11, 2005, 08:19:24 AM
I'm already working on a tie-in file manager mod to handle mp3s as well as artist and album pictures.
Title: Re: Music Database [3.1]
Post by: StormLrd on June 11, 2005, 09:26:20 AM
kool lol so am i with my inexperienced *** , ive looked at several from kplaylist, zina, and andromeda all very complex.

I did find this one this morning thou thats very simple (and cheesy at moment) but could have possiblities incorporating it into your mod.


<?
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
header("Cache-Control: no-cache, must-revalidate");
header("Pragma: no-cache");
header("Content-type: text/html");

# get rid of those damns slashes after urlencoding
$add = stripslashes($add);
$addnow = stripslashes($addnow);
$remove = stripslashes($remove);
?>

<?
function currentTrack()
{
$fp = popen( "./playlist.pl current", "r" );
$data = fgets($fp, 1024);
pclose($fp);
$data = chop($data);
return $data;
}

function showInfo()
{
$fd = popen( "./playlist.pl info", "r" );
$title = fgets($fd, 4096);
$album = fgets($fd, 4096);
$artist = fgets($fd, 4096);
$year = fgets($fd, 4096);
pclose($fd);

if ($title=="\n" && $album=="\n" && $artist=="\n" && $year=="\n")
{
return;
}
echo '<center>';
echo '<table bgcolor=#96aebc>';
        echo '<tr><td>';
        echo '<table bgcolor=#cee2ef>';

if ($title!="")
{
echo '<tr><td>Title</td><td>' . $title . '</td></tr>';
}
if ($album!="")
{
echo '<tr><td>Album</td><td>' . $album . '</td></tr>';
}
if ($artist!="")
{
echo '<tr><td>Artist</td><td>' . $artist . '</td></tr>';
}
if ($year!="")
{
echo '<tr><td>Year</td><td>' . $year . '</td></tr>';
}
echo '</table>';
echo '</td></td></table>';
echo '</center>';
}
?>

<html>
<body bgcolor=#ffffff>

<?
if (empty($information) && empty($tracks) && empty($remove) && empty($skip) && empty($randomise) && empty($playlist) && empty($nowlist))
{
echo '<center>';
echo '<a href="index.php3?skip=1" target=main><img src="images/skip.png" border=0 alt="[Skip Track]"></a>';
echo '<a href="index.php3?tracks=1" target=main><img src="images/add.png" border=0 alt="[Add Tracks]"></a>';
echo '<a href="index.php3?playlist=1" target=main><img src="images/playlist.png" border=0  alt="[View Playlist]"></a>';
echo '<a href="index.php3?nowlist=1" target=main><img src="images/reqlist.png" border=0 alt="[View Request List]"></a>';
echo '<a href="index.php3?randomise=1" target=main><img src="images/random.png" border=0 alt="[Randomise Tracks]"></a>';
echo '<a href="index.php3?information=1" target=main><img src="images/info.png" border=0 alt="[Information Summary]"></a>';
echo '<a href="http://epic.world:8000"><img src="images/listen.png" border=0 alt="[Listen]"></a>';
echo '</center>';
}
else
{
echo '<center>';
echo '<h1>';
echo "Now Playing: " . ($current = currentTrack());
echo '</h1>';
echo '</center>';
showInfo($current);
}
?>

<?
function addTracks()
{
echo '<table bgcolor=#96aebc>';
echo '<tr><td>';
echo '<center><h2>Master List</h2></center>';
echo '</td></tr>';
echo '<tr><td>';
echo '<table bgcolor=#cee2ef>';
$fd = popen( "./playlist.pl listmaster", "r" );
while ($data = fgets($fd, 4096))
{
$data = chop($data);
echo '<tr>';

echo '<td>';
echo $data;
echo '</td>';

echo '<td>';
echo '<a href=index.php3?addnow=' . urlencode($data) . ' target=menu>';
echo 'Add to now list';
echo '</a>';
echo '</td>';

echo '<td>';
echo '<a href=index.php3?add=' . urlencode($data) . ' target=menu>';
echo 'Add to playlist';
echo '</a>';
echo '</td>';

echo '</tr>';
}
echo '</table>';
echo '</td></td></table>';
pclose($fd);
}

function showPlaylist()
{
echo '<table bgcolor=#96aebc>';
        echo '<tr><td>';
        echo '<center><h2>Play List</h2></center>';
        echo '</td></tr>';
        echo '<tr><td>';
        echo '<table bgcolor=#cee2ef>';
$fd = popen( "./playlist.pl list", "r" );
while ($data = fgets($fd, 4096))
{
$data = chop($data);
echo '<tr>';

echo '<td>';
echo $data;
echo '</td>';

echo '<td>';
echo '<a href=index.php3?remove=' . urlencode($data) . '>';
echo 'Remove from playlist';
echo '</a>';
echo '</td>';

echo '</tr>';
}
echo '</table>';
echo '</td></td></table>';
pclose($fd);
}

function showNowlist()
{
echo '<table bgcolor=#96aebc>';
        echo '<tr><td>';
        echo '<center><h2>Now List</h2></center>';
        echo '</td></tr>';
        echo '<tr><td>';
        echo '<table bgcolor=#cee2ef>';
$fd = popen( "./playlist.pl listnow", "r" );
while ($data = fgets($fd, 4096))
{
$data = chop($data);
echo '<tr>';

echo '<td>';
echo $data;
echo '</td>';

echo '</tr>';
}
echo '</table>';
echo '</td></td></table>';
pclose($fd);
}

?>



<?
if ($add != "")
{
$fp = popen( "./playlist.pl add", "w" );
fputs($fp, $add."\n");
pclose($fp);
# addTracks();
}
elseif ($addnow != "")
{
$fp = popen( "./playlist.pl addnow", "w" );
fputs($fp, $addnow."\n");
pclose($fp);
# addTracks();
}
elseif ($remove != "")
{
$fp = popen( "./playlist.pl remove", "w" );
fputs($fp, $remove);
pclose($fp);
showNowlist();
showPlaylist();
}
elseif ($skip != "")
{
system('./playlist.pl skip');
showPlaylist();
}
elseif ($tracks != "")
{
addTracks();
}
elseif ($playlist != "")
{
showPlaylist();
}
elseif ($nowlist != "")
{
showNowlist();
}
elseif ($randomise != "")
{
system('./playlist.pl randomise');
showPlaylist();
}
elseif ($information != "")
{
showNowlist();
showPlaylist();
}
?>

</body>
</html>



i set it up for testing here (http://stormlrdsreality.co.uk/rhcforum/muse)

Ive got to add a song file to it yet to test with but at least the code is simple enough compared to the rest i looked at.

Title: Re: Music Database [3.1]
Post by: Cccddd on June 11, 2005, 10:09:53 AM
I'm still not sure what you are trying to do, so get it in a more workable state so i can see what you are talkin about.
Title: Re: Music Database [3.1]
Post by: StormLrd on June 11, 2005, 10:26:10 AM
Cheschire i can tell from all the reading ive done this weekend on it and checking out the info on the net this aint gonna be easy lol. In fact i hate to say it but this might be one of those pay mods. Definitly a possible group project.

Of the bunch ive looked and most are in alpha a cpl are in beta and very few are in full release and of those only a cpl are free lol. And you know the saying you get what you pay for lol.

I'll add the zipped files for the cpl ive got to look at besides that zina one above.

the zina, agatha and the kplaylist both got nice feature for rating and setting up personal playlists and randomizing the play of them if you want. Just a matter of understanding them. The zina doesnt use sql but kplaylist does so thats a factor as well.

I dont see the file upload for admin being a problem just some nested if's and browse/upload forms but the rest looks like a bugger.

Heres some zipped files for different mp3 manager/players:

http://stormlrdsreality.co.uk/zipped/agatha-0.7.0.tar.gz  (http://stormlrdsreality.co.uk/zipped/agatha-0.7.0.tar.gz)

[url]http://stormlrdsreality.co.uk/zipped/muse-0.0.1.tar.tar[url] This is for the simple one above

the kplaylist you can get from the link in above posts
Title: Re: Music Database [3.1]
Post by: StormLrd on June 11, 2005, 10:28:21 AM
Quote from: Cheschire on June 11, 2005, 10:09:53 AM
I'm still not sure what you are trying to do, so get it in a more workable state so i can see what you are talkin about.

Sorry i was putting info together when you posted this.

Actually want im wanting to do is figure out a way to help with this mod lol and playing mp3's from it
Title: Re: Music Database [3.1]
Post by: JayBachatero on June 11, 2005, 11:40:27 AM
i understand what you want.  he wants to stream the mp3s directly on the browser.  what i think its possible to do is use the streaming mod in conjuction with this mod here is the streaming mod
<id>
Streaming for SMF
</id>

<version>
3.0
</version>

<mod info>
Based on "stream and stream-2 for SMF 1.0 RC 2" written by Hans_de_Echte of www.het-catshuys.nl
</mod info>

<author>
1948pal
http://www.allaboutpalestine.com
</author>

<edit file>
Themes/default/languages/Modifications.english.php
</edit file>

<search for>
?>
</search for>

<add before>
/* Stream */
$txt['stream'] = 'Add Windows media sound or movies to your posting!';
$txt['real'] = 'Add Real media sound or movies to your posting!';
$txt['quick'] = 'Add QuicTime media sound or movies to your posting!';
$txt['enableEmbeddedStream'] = 'Embed stream into posts?';
$txt['enableEmbeddedReal'] = 'Embed real into posts?';
$txt['enableEmbeddedQuick'] = 'Embed QuickTime into posts?';
</add before>

<edit file>
Themes/default/languages/Help.english.php
</edit file>

<search for>
?>
</search for>

<add before>
$helptxt['enableEmbeddedStream'] = 'This option will allow your users to use Windows Media Video and Sound directly inside their posts!';
$helptxt['enableEmbeddedReal'] = 'This option will allow your users to use Real Media Video and Sound directly inside their posts!';
$helptxt['enableEmbeddedQuick'] = 'This option will allow your users to use QuickTime Media Video and Sound directly inside their posts!';
</add before>

<edit file>
Sources/Printpage.php
</edit file>

<search for>
// Oh sure, let's print some flash.
$row['body'] = preg_replace('/\[flash=(.*)\](.*)\[\/flash\]/', '$2', $row['body']);
</search for>

<add after>

// And we can even print some stream.
$row['body'] = preg_replace("/\[stream=(.*)\](.*)\[\/stream\]/","$2",$row['body']);
$row['body'] = preg_replace("/\[real=(.*)\](.*)\[\/real\]/","$2",$row['body']);
$row['body'] = preg_replace("/\[quick=(.*)\](.*)\[\/quick\]/","$2",$row['body']);
</add after>

<edit file>
Themes/default/Post.template.php
</edit file>

<search for>
$context['bbc_tags'][] = array(
'flash' => array('code' => 'flash', 'before' => '[flash=200,200]', 'after' => '[/flash]', 'description' => $txt[433]),
</search for>

<add after>
'stream' => array('code' => 'stream', 'before' => '[stream=256,256]', 'after' => '[/stream]', 'description' => $txt['stream']),
'real' => array('code' => 'real', 'before' => '[real=256,256]', 'after' => '[/real]', 'description' => $txt['real']),
'quick' => array('code' => 'quick', 'before' => '[quick=256,256]', 'after' => '[/quick]', 'description' => $txt['quick']),
</add after>


<edit file>
Sources/Subs-Post.php
</edit file>

<search for>
array('tag' => 'flash', 'protocol' => 'http', 'embeddedUrl' => false, 'hasEqualSign' => true, 'hasExtra' => true)
</search for>

<replace>
array('tag' => 'flash', 'protocol' => 'http', 'embeddedUrl' => false, 'hasEqualSign' => true, 'hasExtra' => true),
// [stream]http://...[/stream]
array('tag' => 'stream', 'protocol' => 'http', 'embeddedUrl' => false, 'hasEqualSign' => true, 'hasExtra' => true),
               // [real]http://...[/real]
array('tag' => 'real', 'protocol' => 'http', 'embeddedUrl' => false, 'hasEqualSign' => true, 'hasExtra' => true),
               // [quick]http://...[/quick]
array('tag' => 'quick', 'protocol' => 'http', 'embeddedUrl' => false, 'hasEqualSign' => true, 'hasExtra' => true)
</replace>

<edit file>
Sources/Subs.php
</edit file>

<search for>
$codetocache[] = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="$1" height="$2"><param name="movie" value="$3" /><param name="play" value="true" /><param name="loop" value="true" /><param name="quality" value="high" /><param name="AllowScriptAccess" value="never" /><embed src="$3" width="$1" height="$2" play="true" loop="true" quality="high" AllowScriptAccess="never"></embed></object>';
</search for>

<add after>
// Handle stream.
$codefromcache[] = '/\[stream=(.+?),(.+?)\](?:<br \/>)?(.+?)(?:<br \/>)?\[\/stream\]/is';
if (empty($modSettings['enableEmbeddedStream']))
$codetocache[] = '<a href="$3" target="_new">$3</a>';
else
$codetocache[] = '<object id=\"wmp\" width=\\1 height=\\2 classid=\"CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95\" codebase=\"http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,0,0,0\" standby=\"Loading Microsoft Windows Media Player components...\" type=\"application/x-oleobject\"><param name=\"FileName\" value=\\3><param name=\"ShowControls\" value=\"1\"><param name=\"ShowDisplay\" value=\"0\"><param name=\"ShowStatusBar\" value=\"1\"><param name=\"AutoSize\" value=\"0\"><param name=\"AutoStart\" value=\"0\">
<embed type=\"application/x-mplayer2\" pluginspage=\"http://www.microsoft.com/windows95/downloads/contents/wurecommended/s_wufeatured/mediaplayer/default.asp\" src=\\3 name=MediaPlayer2 showcontrols=1 showdisplay=0 showstatusbar=1 autosize=1 visible=1 autostart=0 animationatstart=0 transparentatstart=1 loop=0  width=\\1 height=\\2></embed></object>';
                       
// Handle real.
$codefromcache[] = '/\[real=(.+?),(.+?)\](?:<br \/>)?(.+?)(?:<br \/>)?\[\/real\]/is';
if (empty($modSettings['enableEmbeddedReal']))
$codetocache[] = '<a href="$3" target="_new">$3</a>';
else

                        $codetocache[] = '<OBJECT ID=RVOCX width=\\1 CLASSID="clsid:CFCDAA03-8BE4-11CF-B84B-0020AFBBCCFA" WIDTH=256 HEIGHT=256>
<PARAM NAME="SRC" VALUE="$3">
<PARAM NAME="CONSOLE" VALUE="MOVIE1">
<PARAM NAME="CONTROLS" VALUE="ImageWindow">
<PARAM NAME="AUTOSTART" VALUE="FALSE"><PARAM NAME="CONSOLE" VALUE="MOVIE1">
<PARAM NAME="CONTROLS" VALUE="ControlPanel"></OBJECT><br /><OBJECT ID=RVOCX width=\\1 CLASSID="clsid:CFCDAA03-8BE4-11CF-B84B-0020AFBBCCFA" WIDTH="375" HEIGHT="100">
                  <PARAM NAME="CONSOLE" VALUE="MOVIE1">
                  <EMBED height="240" width="320" controls="ImageWindow,controlPanel" src="$3"?embed" type="audio/x-pn-realaudio-plugin" autostart="false">
                  </OBJECT>';

                  // Handle Quicktime
    $codefromcache[] = '~\[quick=(\d+?),(\d+?)\](?:<br />)?(.+?)(?:<br />)?\[/quick\]~is';
if (empty($modSettings['enableEmbeddedQuick']))
$codetocache[] = '<a href="$3" target="_new">$3</a>';
else
$codetocache[] = '<object width="$1" height="$2" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab">
<param name="SRC" value="$3" />
<param name="CONSOLE" value="MOVIE1" />
<param name="AUTOPLAY" value="false" />
<param name="CONTROLLER" value="true" />
<embed src="$3" width="$1" height="$2" autoplay="false" controller="true" pluginspage="http://www.apple.com/quicktime/download/"></embed>
</object>';

</add after>

<edit file>
Sources/ModSettings.php
</edit file>

<search for>
array('check', 'enableEmbeddedFlash'),
</search for>

<add after>
array('check', 'enableEmbeddedStream'),
array('check', 'enableEmbeddedReal'),
array('check', 'enableEmbeddedQuick'),
</add after>
Title: Re: Music Database [3.1]
Post by: baio on June 11, 2005, 12:02:42 PM
Hi, great mod :D but I am having problems since the artist is not in the Albums part :'(.
So, If you have a "Greatest Hits" album you don't know wich to choose when you are adding songs.
How can I add the artists in the Albums part? And how do I do if I want the combo to list Artist - Album in the song part ???

Thx!
Title: Re: Music Database [3.1]
Post by: JayBachatero on June 12, 2005, 01:56:13 AM
ok i was taking a look at the filemanager and the musicdb mod.  i found were the player can go at.  the problem wis linking the source because fmdl is setup to download the file if you make a function to stream it it would work.  i only got the real streamer code take a look
<?php
' . (isset($info['ID_FILE']) ? '<a href="' . $scripturl . '?action=fmdl;ID_FILE=' . $info['ID_FILE'] . '"><img style="float:right" src="' . $settings['images_url'] . '/music_play.gif" /></a><br />
                    <
OBJECT ID="RVOCX" width="256" CLASSID="clsid:CFCDAA03-8BE4-11CF-B84B-0020AFBBCCFA" HEIGHT="50" />
                    <
PARAM NAME="CONSOLE" VALUE="MOVIE1"/>
                    <
EMBED height="50" width="256" controls="All" src="' . $scripturl . '?action=fmdl&ID_FILE=' . $context['songinfo']['ID_FILE'] . '" type="audio/x-pn-realaudio-plugin" autostart="false"/>
                  </
OBJECT/>' : '') . '
?>


' . $scripturl . '?action=fmdl;ID_FILE=' . $info['ID_FILE'] . ' thats the source link

take a look at http://www.kevmundial.com/test_board/index.php?action=music;list=songs;ID_SONG=2 u can see it tries to play it but it cant cause it setup to download it.  maybe make a function that wen ID_FILE is called it repllaces it with the name of the file example: hello.rm instead od the ID.  well thats just an oppinion lets see if it helps out
Title: Re: Music Database [3.1]
Post by: Cccddd on June 12, 2005, 12:03:39 PM
Quote from: baio on June 11, 2005, 12:02:42 PM
Hi, great mod :D but I am having problems since the artist is not in the Albums part :'(.
So, If you have a "Greatest Hits" album you don't know wich to choose when you are adding songs.
How can I add the artists in the Albums part? And how do I do if I want the combo to list Artist - Album in the song part ???

Thx!

You dont. You set the artist with the song. That way if you enter in a soundtrack it will come up with various artists automatically if it detects more than one artist for the cd.
Title: Re: Music Database [3.1]
Post by: Cccddd on June 12, 2005, 12:07:02 PM
finally got the filemanager mod approved on the modsite.

thread here:
http://www.simplemachines.org/community/index.php?topic=38382
Title: Re: Music Database [3.1]
Post by: mlrocks1 on June 13, 2005, 10:39:21 PM
Hey! :D

Well i dont understand something... here i go...

is there any instructions of installation?

I uploaded everyfile to the path u say at the beggining... I dont know what to do with the install.xml and install_sql.php I HAVE NO CLUE...

  <?xml version="1.0" ?>
  <!DOCTYPE modification (View Source for full doctype...)>
- <modification xmlns="http://www.simplemachines.org/xml/modification" xmlns:smf="http://www.simplemachines.org/">
  <id>Cheschire:MusicDB</id>
  <version>3.1</version>
- <file name="$boarddir/index.php" error="fatal">
- <operation error="fatal">
- <search position="before" regexp="false" whitespace="exact">
- <![CDATA[       'movetopic2' => array('MoveTopic.php', 'MoveTopic2'),

  ]]>
  </search>
- <add>
- <![CDATA[
      'music' => array('Music.php', 'Music'),
      'musicadmin' => array('MusicAdmin.php', 'MusicAdmin'),


  ]]>
  </add>
  </operation>
  </file>
- <file name="$sourcedir/ManagePermissions.php" error="fatal">





I Chmod the sources/ files and the ones that are on the themes/default path... but what do i have to do next??? chmod the index.php of the forum (main page)?

i do not understand this

1. Execute Code install_sql.php 
2. Execute Modification ./index.php Success
3. Execute Modification ./Sources/ManagePermissions.php Success
4. Execute Modification ./Sources/ModSettings.php Success
5. Execute Modification ./Themes/default/index.template.php Success
6. Execute Modification ./Themes/default/languages/ManagePermissions.english.php Success
7. Execute Modification ./Themes/default/languages/Errors.english.php Success
8. Execute Modification ./Themes/default/languages/ModSettings.english.php Success


Basically... how can i do to run install.xml correctly ??? omg this is so confussing!
Title: Re: Music Database [3.1]
Post by: JayBachatero on June 14, 2005, 12:45:05 AM
you click continue and after you refresh.  your menu buttons should show.  it looks like it installed correctly.
Title: Re: Music Database [3.1]
Post by: Cccddd on June 14, 2005, 08:58:41 AM
basically install.xml modifies files that already exist on your website and install_sql.php is a script i wrote to setup the SQL tables to store the data.

when you run the install for the package, it shows you a TEST of the install. I didn't make the package manager so I'm not to blame for it not being more obvious as to how it works, but anyways, just hit continue like Lil_J said, and it will continue past the test and actually complete the install.
Title: Re: Music Database [3.1]
Post by: ashvin on June 15, 2005, 01:17:29 PM
hey great mod, im after it 4 the lyrics database

just one problem, i've edited it manually and had problems with modsettings.php using 1.0.4 SMF
now i've used the package manager i still get

4.     Execute Modification     ./Sources/ModSettings.php     Failure

everything else is succesful, do u think this is primarily 2 do with the code/mods coded into this file?
unfortunately i can't attach my modsettings.php file
Title: Re: Music Database [3.1]
Post by: eddie43302 on June 15, 2005, 04:07:54 PM
i to get this problem

Installing this package will perform the following actions:  Type Action Description
1. Execute Code install_sql.php 
2. Execute Modification ./index.php Success
3. Execute Modification ./Sources/ManagePermissions.php Success
4. Execute Modification ./Sources/ModSettings.php Failure
5. Execute Modification ./Themes/default/index.template.php Success
6. Execute Modification ./Themes/default/languages/ManagePermissions.english.php Success
7. Execute Modification ./Themes/default/languages/Errors.english.php Success
8. Execute Modification ./Themes/default/languages/ModSettings.english.php Success
9. Extract File ./Sources/Music.php 
10. Extract File ./Sources/MusicAdmin.php 
11. Extract File ./Sources/Subs-Music.php 
12. Extract File ./Themes/default/Music.template.php 
13. Extract File ./Themes/default/MusicAdmin.template.php 
14. Extract File ./Themes/default/languages/Music.english.php 
15. Extract File ./Themes/default/languages/MusicAdmin.english.php 
16. Extract File ./Themes/default/images/english/music.gif 
17. Extract File ./Themes/default/images/english/music_admin.gif 
18. Extract File ./Themes/default/images/english/music_albums.gif 
19. Extract File ./Themes/default/images/english/music_artists.gif 
20. Extract File ./Themes/default/images/english/music_genres.gif 
21. Extract File ./Themes/default/images/english/music_songs.gif 
22. Extract File ./Themes/default/images/english/music_header.gif 
23. Extract File ./Themes/default/images/english/music_header_admin.gif 
24. Extract File ./Themes/default/images/music_staroff.gif 
25. Extract File ./Themes/default/images/music_staron.gif 
26. Extract File ./Themes/default/images/music_play.gif 

[ Proceed ]
Title: Re: Music Database [3.1]
Post by: ashvin on June 15, 2005, 04:32:16 PM
seems like something to do with another mod, thats been installed on smf 1.0.4, i aint much of a php coder so  ::).
Title: Re: Music Database [3.1]
Post by: eddie43302 on June 15, 2005, 05:07:46 PM
i dont have 1.04 installed i have SMF 1.0.3 installed.and no this is the first time i ever downloaded the music database i never installed another version before.
Title: Re: Music Database [3.1]
Post by: ashvin on June 16, 2005, 12:48:16 PM
neither have i lol this is my first installation of music database, its in use, but that one modsettings thing isnt done, lol  :P ah well hopefully cheschire who im sure is a busy guy has sometime in the next week or so 2 help out, im willing 2 wait.
Title: Re: Music Database [3.1]
Post by: dash on June 16, 2005, 01:50:24 PM
Hi,
is it just for the default theme or does it work with the classic yabb theme too?
Title: Re: Music Database [3.1]
Post by: JayBachatero on June 16, 2005, 06:26:31 PM
Quote from: dash on June 16, 2005, 01:50:24 PM
Hi,
is it just for the default theme or does it work with the classic yabb theme too?
default theme.  you will need to copy the images that themes images/english folder
Title: Re: Music Database [3.1]
Post by: ashvin on June 16, 2005, 07:49:55 PM
also how do i change the length of text allowed in Lyrics? cos some songs r long and this dont accept them
Title: Re: Music Database [3.1]
Post by: JayBachatero on June 16, 2005, 08:59:07 PM
go to your admin panel -> features and options -> music -> change the length of the lyriqs
Title: Re: Music Database [3.1]
Post by: ashvin on June 17, 2005, 12:05:46 PM
lol i don't have that, see above , my modsettings.php hasnt been edited, failure, and i tried it manually wudnt work. so it dont show up in features and options which of course calls modsettings.
Title: Re: Music Database [3.1]
Post by: ashvin on June 20, 2005, 05:56:32 PM
any1 had the same errors as me and the few ppl above?
Title: Re: Music Database [3.1]
Post by: revgreed on June 20, 2005, 09:27:41 PM
Quote from: ashvin on June 20, 2005, 05:56:32 PM
any1 had the same errors as me and the few ppl above?

Yes, I am.  SMF 1.0.4.  I get the following failure during installation via the package manager:

4. Execute Modification ./Sources/ModSettings.php Failure
Title: Re: Music Database [3.1]
Post by: ashvin on June 23, 2005, 07:26:43 AM
no help? on this then?
Title: Re: Music Database [3.1]
Post by: AnotherRandomUser on July 02, 2005, 01:46:58 PM
Hi!

Has anyone yet figured out how to fix the "foreach()" problem with the admin-panel board "edit features and options" menu described at least twice before in this thread? What do I edit, and where (only if you know!)?

Thanks in advance,

AnotherRandomUser
Title: Re: Music Database [3.1]
Post by: SeaOfSin on July 06, 2005, 01:49:26 AM
I managed to test the Music Database in 1.1 Beta 3 public and except modsettings it is fine. This can be fixed though.  The problem is with

find

return $config_vars;


add before


// Gotta play nice with the other mods!
array_push($config_vars, array('heading', 'Music'), array('int', 'mdb_maxlyrics'), array('check', 'mdb_enable_fm_features'), array('rule'));

if (isset($modSettings['mdb_enable_fm_features']) && $modSettings['mdb_enable_fm_features'] > 0)
array_push($config_vars,
array('select', 'mdb_artist_folder', $fm_folders),
array('select', 'mdb_album_folder', $fm_folders),
array('select', 'mdb_song_folder', $fm_folders),
array('rule')
);


Other than that the other part of mod settings goes exactly where it is supposed to.

I also installed filemanager and no more foreach problems.  The only thing is that filemanager isn't working properly.
Title: Re: Music Database [3.1]
Post by: AnotherRandomUser on July 07, 2005, 07:29:24 PM
Thanks for the response, SeaOfSin!

Unfortunately, I tried editing both Filemanager.template.php and ModSettings.php (one at a time and then both at the same time), and nothing changed at all. If I'm supposed to edit a different file, please let me know. ;)

I'm running Music Database 3.1 and Filemanager 1.0 Alpha 6, installed in that order.

AnotherRandomUser
Title: Re: Music Database [3.1]
Post by: JayBachatero on July 07, 2005, 07:38:41 PM
well i guess if no1 else works on this this mod will be on a stop for a while.  i recently chatted with chesire and he said hes not going to be coding for a while.  so ima see what happens.  ima examine it thorought ly and see if i can come up with ne help.
Title: Re: Music Database [3.1]
Post by: AnotherRandomUser on July 10, 2005, 09:51:08 AM
Thanks, LiL_J!

Until then, I guess I'll disable both the Filemanager and Music DB mods.

Hopefully, sooner or later my PHP will be good enough that I'll be able to discover and fix the problem. ;)
Title: Re: Music Database [3.1]
Post by: StormLrd on July 10, 2005, 01:19:34 PM
Im also working on solutions to having this run properly, im more after streaming mp3's and managing the files associated with it ie genre's, artists, albums, and maybe the lyrics as is shown in this mod but that would be like an extra comment on the song..

Ive been working my way through kplaylist and a cpl other music jukeboxes and i think i can handle alot of the issues in sql but its gonna be a bugger to package lol.

my thinking is a cross linking the actual mp3 file with a modified search page, modified board index the id3gettag generator and this mod... i think the id3 and kyplaylist code holds the answers to the filemanger issues just a matter of reverse engineering the code to work.. lol

Ive got to big headaches the newest release of the id3 is designed for php 5 or greater and kyplaylist dont like it lol

Will update as i figure it out.
Title: Re: Music Database [3.1]
Post by: SeaOfSin on July 12, 2005, 12:20:00 PM
OK, With 1.1 I'm looking into both and I'll see if I can put something together, the filemanager is working on my site since I put it online  The music database is working fine.  Give me a little time and I'll see what I can do
Title: Re: Music Database [3.1]
Post by: jason25 on July 12, 2005, 08:50:28 PM
ok fellas noob question here. I got the musicdata base mod installed with no trouble via the package manager. My question is how do you actually upload a song for memebers to listen to? Is this possible? If not I would appreciate info and what I need to to able to do this.
Title: Re: Music Database [3.1]
Post by: SeaOfSin on July 12, 2005, 09:29:34 PM
OK question time!

When you upload an artist picture though file manager and try to view it should it go to the file manager? or should it display the picture?
Title: Re: Music Database [3.1]
Post by: SeaOfSin on July 12, 2005, 09:31:19 PM
Quote from: jason25 on July 12, 2005, 08:50:28 PM
ok fellas noob question here. I got the musicdata base mod installed with no trouble via the package manager. My question is how do you actually upload a song for memebers to listen to? Is this possible? If not I would appreciate info and what I need to to able to do this.

That is where the file manager comes into play!  you need to install that so you can upload the files for pictures and songs. :)

It is here - http://www.simplemachines.org/community/index.php?topic=38382.0
Title: Re: Music Database [3.1]
Post by: JayBachatero on July 13, 2005, 12:11:36 PM
at the moment the file manager is not fully integrated with the musicDB and it will not work properly.

@SeaOfSin: it should go to the filemanager but this is not workin also.
Title: Re: Music Database [3.1]
Post by: SeaOfSin on July 13, 2005, 03:54:29 PM
OK so as far as I can tell the filemanager and music database seem to be working well with 1.1b3p.  It links with the pictures, mp3s and the artist folder.  The only problem I have so far is not being able to upload files greater than 2MB.  But I believe that is a server issue.  I had the same problem with another package.

@LiL_J  - If it should be going to the directory I assume the person will see the files and be able to click on them to view.  If that is the case it does seem to be working as far as I can tell.
Title: Re: Music Database [3.1]
Post by: JayBachatero on July 14, 2005, 01:14:04 AM
the upload being 2MB is a server issue.  your server setup to allow max upload size to 2MB.   you can check this out in ur phpinfo.php file
Title: Re: Music Database [3.1]
Post by: AnotherRandomUser on July 18, 2005, 02:52:32 PM
Thanks again for working on this. I'll try it again after I upgrade to 1.1! :D
Title: Re: Music Database [3.1]
Post by: 3-CXT on August 01, 2005, 12:38:26 PM
can someone give me the german translation file.. i cannot open gz files..... sorry... please...
Title: buttons won't uninstall!
Post by: trashy on August 02, 2005, 09:49:40 PM
I uninstalled this mod but the MusicDB and MusicDBAdmin buttons won't go away!  How would I manually get rid of those?
Title: Re: Music Database [3.1]
Post by: jason25 on August 02, 2005, 10:25:48 PM
I had the same problem, if I remember correctly I went into the template.php file and found them in the code and deleted the specific code for them.
Title: Re: Music Database [3.1]
Post by: 3-CXT on August 03, 2005, 05:07:17 AM
since i installed this mod... my paketmanager ist down.. i cannot use my paket manager in the admin part of the board.. where ist the problem and how i might fix this?

smf 1.1.b3
Title: Re: Music Database [3.1]
Post by: SeaOfSin on August 03, 2005, 01:51:57 PM
It shouldn't affect the package manager.  The only place where this may cause a problem sometimes is in features and options.  I have no idea why the package manager would not work.
Title: Re: Music Database [3.1]
Post by: 3-CXT on August 03, 2005, 03:01:16 PM
QuoteInternal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.
is now the problem i got...when iwant to go into the package manager
Title: Re: Music Database [3.1]
Post by: SeaOfSin on August 03, 2005, 06:06:41 PM
Quote from: 3-CXT on August 03, 2005, 03:01:16 PM
QuoteInternal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.
is now the problem i got...when iwant to go into the package manager

What happens when you go to the package manager?
Title: Re: Music Database [3.1]
Post by: 3-CXT on August 04, 2005, 03:00:11 AM
the error massage comes up

Quote
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

nothing else.. with back on my browser, i can go back, but everytime i try to go into the package manager this failure message comes up. again and again :(
Title: Re: Music Database [3.1]
Post by: JayBachatero on August 05, 2005, 10:02:26 PM
its a weird issue because this mod doesnt touch the package manager.  i think you should post this up on a new topic.
Title: Re: Music Database [3.1]
Post by: 3-CXT on August 09, 2005, 11:52:24 AM
Quote from: LiL_J on August 05, 2005, 10:02:26 PM
its a weird issue because this mod doesnt touch the package manager.  i think you should post this up on a new topic.

hm... thats not good to hear.... anyone got an idea...there must be a solution
Title: Re: Music Database [3.1]
Post by: Oldiesmann on August 10, 2005, 09:08:37 PM
Check your server's error log. That should give you more information (most likely something like "Premature end of script headers").
Title: Re: Music Database [3.1]
Post by: 3-CXT on August 11, 2005, 03:30:56 AM
i know where the failure was.. i download the german translation file and this file must be brocken.. cuz after i delete this file in the package "ordner" (forgot the english name for it) the package manager works already fine...

so thanks for all...
Title: Re: Music Database [3.1]
Post by: scrawl on August 25, 2005, 06:20:05 AM
so i need the file manager mod to enable mp3 uploads/downloads etc? also i read further back in this thread it was possible to allow users to add songs etc how do i enable that, also is there a way to have member specific music files like each member has their own section?
thanks
Title: Re: Music Database [3.1]
Post by: RaveTSN on August 25, 2005, 10:48:22 PM
I've got a funky error.  I am running SMF 1.0.5.
During Install I am getting this error:
Execute Modification ./Sources/ModSettings.php Failure

Is there anyway to make this edit manually?  Suggestions?
Thanks!
Shannon
Title: Re: Music Database [3.1]
Post by: jane_t on September 08, 2005, 11:17:57 AM
So far it works perfectly and I love it... ;)

Can I make a mod request please?   :D

I need to be able to make notes about the artist.

Thanks

Jane
Title: Re: Music Database [3.1]
Post by: - danny on September 09, 2005, 07:06:50 PM
Great, I just noticed I can't even edit features and options on anything now...




Edit: I've gone ahead and uninstalled the mods for now, since it wouldn't allow me to edit features anymore, I'd still like an answer to my inquiry if possible.

Cheers.
Title: Re: Music Database [3.1]
Post by: JayBachatero on September 09, 2005, 07:11:25 PM
what version do you have of SMF?
Title: Re: Music Database [3.1]
Post by: - danny on September 09, 2005, 07:13:38 PM
v1.0.5
Title: Re: Music Database [3.1]
Post by: Matthuffy on September 21, 2005, 07:09:53 PM
I have the exact same problem! it happened as soon as i tried to set some settings for this mod in the "edit features and settings" as soon as i clicked save everything went hell mess.  this has really messeded me up! and even though i have uninstalled/deleted the mod i still get the same reply

2: Invalid argument supplied for foreach()
File: /home/matthu/public_html/forum/Sources/ModSettings.php
Line: 607


i can not edit anything in my forum now!  i really need urgent help on this as i am really in a mess now.
Title: Re: Music Database [3.1]
Post by: Matthuffy on September 21, 2005, 07:15:42 PM
oh, and when i try and reinstall it to see what happens  i get this Table 'matthu_forum.smf_files' doesn't exist
File: /home/matthu/public_html/forum/Sources/Music.php
Line: 136

when i try and open the mod.
Title: Re: Music Database [3.1]
Post by: Jazhawk on September 26, 2005, 03:56:53 PM
It won't work without a file manager and that isn't even in beta yet??  It would have been helpful to know this before I got excited about this project cat man. :-\

-Jazhawk
Title: Re: Music Database [3.1]
Post by: IronMANro on September 30, 2005, 02:32:03 PM
its a hard way to input albums and songs in database.
i must select for every song the artist, i can introduce only 5 melody (an album have 10-15 melody).
Title: Re: Music Database [3.1]
Post by: ericmn on October 24, 2005, 11:59:52 PM
using SMF 1.0.5 and also installed many other mods...
So getting same error which is: 2: Invalid argument supplied for foreach()
File: /home/content/e/m/xxxx/xxxxxx/xxxxx/forum/Sources/ModSettings.php
line: 586

On Feature edit settings bla page of admin page.
Installed Music db version 3.1 and
also installed filemanager MOD.

Please anything to solve this problem?
Idea was precious, but what made alive seems little hazy....
Let me be clear hehe
Thanks
Title: Re: Music Database [3.1]
Post by: JayBachatero on October 25, 2005, 09:15:33 AM
This versionw as made for 1.1 and above.  Also the file manger is not working properly.  I suggest that you uninstall this mod.  I havent had a chance to look into the mod and find out what is causing this problem.  Also the MOD author is out in Iraq and is not able to give support for this mod.
Title: Re: Music Database [3.1]
Post by: Mikomi on November 13, 2005, 12:29:25 PM
I get the same error. I guess it's because I wanted to use the filemanager with the database and now I can't change the settings at 'Edit Features and Options'. The only way to get the database working properly again is to uncheck the filemanager option. Anyone knows if I can uncheck that option manually?

edit: Nevermind, I just found out how to do it.  :) I set the 0 to 1 in this string of ModSettings.php.

if (isset($modSettings['mdb_enable_fm_features']) && $modSettings['mdb_enable_fm_features'] > 0)

The 'Edit Features and Options' part worked again and I was able to uncheck the 'enable filemanager' option. Now everything works smoothly again.
Title: Re: Music Database [3.1]
Post by: CuTe_MaN on November 24, 2005, 04:46:19 AM
i have this problem that is coming when i click on music or musicadmin

An Error Has Occurred!
Unable to load the 'main' template. 


any body can help plzzz

thx
Title: Re: Music Database [3.1]
Post by: CuTe_MaN on November 24, 2005, 05:25:42 PM
the problem was solved

and it was that i had to upload all the files manually

but is there a way that i can upload the songs to the database?

becuase i want to make the music database for some personal videos

if any body can help

thx
Title: Re: Music Database [3.1]
Post by: JayBachatero on November 24, 2005, 09:06:12 PM
No at the moment you cant.  Also DO NOT install the filemanager.  It is not working.
Title: Re: Music Database [3.1]
Post by: Zegis on November 30, 2005, 11:12:26 AM
Hello all, I am aware this is not being developed at the moment, but My sql is not great yet, and I need to know what changes to make in the upgrade_sql.php file to upgrade my existing music tables to the new version.
I tried stripping the php code but it errors out in phpmyadmin. Does the install_sql need to be run as well?  If I cant directly use the files I may try modding the xml file to only run the SQL portion as I manually applied the mod. I am still learning this stuff  :P 

Thanks in advance for any help.
Title: Re: Music Database [3.1]
Post by: J. S. on December 01, 2005, 10:19:01 PM
Too much text. Try not typing the chorus over and over, or ask the admin to raise the limit


??? Where can I do that? The text is NOT to long, it is a normal lyric.


http://forum.alltheweb.ro/index.php 
Too much text. Try not typing the chorus over and over, or ask the admin to raise the limit



8: Undefined index: mdb_enable_fm_features
File: /home/public_html/forum/Sources/ModSettings.php
Line: 56

8: Undefined index: mdb_maxlyrics
File: /home/public_html/forum/Sources/MusicAdmin.php
Line: 198

8: Undefined index: ID_FILE
File: /home/public_html/forum/Sources/MusicAdmin.php
Line: 184
Title: Re: Music Database [3.1]
Post by: J. S. on December 01, 2005, 11:17:53 PM
I've removed

if (strlen($_REQUEST['lyrics']) > $modSettings['mdb_maxlyrics'])
fatal_error("Too much text. Try not typing the chorus over and over, or ask the admin to raise the limit");


..but I am getting Hacking attempt... when I am trying to add a 1.500 chars text
Title: Re: Music Database [3.1]
Post by: Zegis on December 02, 2005, 02:57:37 PM
Quote from: Zegis on November 30, 2005, 11:12:26 AM
Hello all, I am aware this is not being developed at the moment, but My sql is not great yet, and I need to know what changes to make in the upgrade_sql.php file to upgrade my existing music tables to the new version.
I tried stripping the php code but it errors out in phpmyadmin. Does the install_sql need to be run as well?  If I cant directly use the files I may try modding the xml file to only run the SQL portion as I manually applied the mod. I am still learning this stuff  :P 

Thanks in advance for any help.


Nevermind, I figured out a workaround for the SQL. I just modified package_info.xml and created a new zip. Worked really well for me.  Probably an obvious solution, but hey, +1learn for me  :D

Title: Re: Music Database [3.1]
Post by: Oldiesmann on December 04, 2005, 08:14:42 PM
Quote from: J. S. on December 01, 2005, 10:19:01 PM
Too much text. Try not typing the chorus over and over, or ask the admin to raise the limit


??? Where can I do that? The text is NOT to long, it is a normal lyric.


http://forum.alltheweb.ro/index.php 
Too much text. Try not typing the chorus over and over, or ask the admin to raise the limit



8: Undefined index: mdb_enable_fm_features
File: /home/public_html/forum/Sources/ModSettings.php
Line: 56

8: Undefined index: mdb_maxlyrics
File: /home/public_html/forum/Sources/MusicAdmin.php
Line: 198

8: Undefined index: ID_FILE
File: /home/public_html/forum/Sources/MusicAdmin.php
Line: 184

Admin -> Edit Features and Options ("Features and Options" in 1.1). Settings are at the bottom of that section.

Not sure why you're getting the "undefined index: mdb_enable_fm_features" error. The "undefined index: ID_FILE" errors can be fixed by modifying Music.template.php (look for if(isset($info['ID_FILE'])) and change that to if(array_key_exists('ID_FILE', $info))).
Title: Re: Music Database [3.1]
Post by: JayBachatero on December 04, 2005, 08:33:55 PM
That error is caused to enabling the filemanager feature.
Title: Re: Music Database [3.1]
Post by: Oldiesmann on December 05, 2005, 12:42:58 PM
I was getting that error even when the filemanager features weren't enabled. I also had to edit the template to not show the "play" button for a song if the filemanager features weren't enabled.
Title: Re: Music Database [3.1]
Post by: JayBachatero on December 05, 2005, 02:15:09 PM
Yeah.  I was supposed to take a look into the mod but I've been way too busy to do that.  There is a bug that if you add one song it will replace all the NULL with 0.  I have no idea when Chescire will be back so I might try to update it.  I got his permission to do so.
Title: Re: Music Database [3.1]
Post by: Bigguy on December 07, 2005, 11:36:30 PM
This is the same problem I get when clicking on the music buttons. Any help.

Quote from: CuTe_MaN on November 24, 2005, 04:46:19 AM
i have this problem that is coming when i click on music or musicadmin

An Error Has Occurred!
Unable to load the 'main' template. 


any body can help plzzz

thx
Title: Re: Music Database [3.1]
Post by: J. S. on December 08, 2005, 06:56:14 AM
Take a look at the size of the file (al mod files!) in your FTP, if it is zero you sould copy it again..
Title: Re: Music Database [3.1]
Post by: LordSimion on December 11, 2005, 08:56:10 PM
Howdy folks, I am new to the forum because I have not nhad any trouble with this software (applauds creaters), but I am really excited about this mod. I have gone through and read this entire thread and have come to one conclusion..... I CAN NOT GET THIS THING TO WORK!!!! roflmao.

  OK, I have uploaded the packages, I have added the file manager, when that messed up I changed the string to 1 instead of 0, then I un-iinstalled it and unchecked the box.... now what?


  I would REALLY like this mod on my site that I am rebuilding after post nuke let me down with a hacking attach. I do know that some people have it working... even if I have to add one file at at time... how?

  When I added a song there is no where to upload ( of course) but when you click the play button I get a link that says     

index.php?action=fmdl;ID_FILE=0

what can I do????
Anyone????
please????
*pulls out hair*
Title: Re: Music Database [3.1]
Post by: JayBachatero on December 11, 2005, 09:03:46 PM
It's a bug in this mod that once you add a file to one song it will add the value of 0 to the ID_FILE collum in the db when it's supposed to be NULL.  You can either edit the template and remove the play button or go into the db and change the values for the music-songs table and change the value to 0.  You can use phpmyadmin.

What is phpMyAdmin? (http://www.simplemachines.org/community/index.php?topic=21919.0)
Title: Re: Music Database [3.1]
Post by: LordSimion on December 12, 2005, 12:56:39 AM
what will it do when I change the value to 0?

Title: Re: Music Database [3.1]
Post by: JayBachatero on December 12, 2005, 01:00:21 AM
It will show as if 0 is the id of the file that is going to play NULL is nothing and it will now show the play button.
Title: Re: Music Database [3.1]
Post by: LordSimion on December 12, 2005, 01:11:37 AM
Well... this is wierd... It will not let me make the change.
I am in phpMyAdmin and trying to alter it, but when I make the change it does not change... hmmmm

Let me keep trying I guess....lol... Thanks for your help
Title: Re: Music Database [3.1]
Post by: JayBachatero on December 12, 2005, 01:23:29 AM
Try leaving the field empty.
Title: Re: Music Database [3.1]
Post by: LordSimion on December 12, 2005, 01:27:23 AM
I got it to 0, but how can I get the music to load, or even up,load it?

* pulls out remaining hair *
Title: Re: Music Database [3.1]
Post by: JayBachatero on December 12, 2005, 09:14:39 AM
Ok this is the thing. This mod really is a Lyriqs database,  Cheschire made an extra mod called filemanager that added the ability to add music to the lyriqs you have.  The thing is that he didn't get to finish this mod or the other mod.  So right now all you can do is add lyriqs w/o music.
Title: Re: Music Database [3.1]
Post by: Oldiesmann on December 13, 2005, 08:02:50 PM
Actually you can't add lyrics. I tried to modify a song to add lyrics to it and was presented with a "Hacking attempt..." message as soon as I tried to save the changes.
Title: Re: Music Database [3.1]
Post by: JayBachatero on December 13, 2005, 08:24:27 PM
I was receiving this from time to time not sure as to why this is happening.  I really need to take some time and go through this.
Title: Re: Music Database [3.1]
Post by: Oldiesmann on December 13, 2005, 08:41:15 PM
If you need any help, let me know. I've got some great plans for extra features for my website, but would rather wait until everything's fixed and working right before I do. If I had more time, I'd fix it myself, but the code is rather ugly, and I don't have enough time to fix it right now.
Title: Re: Music Database [3.1]
Post by: JayBachatero on December 13, 2005, 09:02:26 PM
I will just hit you up.  Once I'm done with the mod I'm making and the bugs are out or once I'm done setting up the network in my class I will have time to mess with it.  Also Cristmas vacation is around the corner and I'm going to be home mos tof the time.  I can use that time to fix this.
Title: Re: Music Database [3.1]
Post by: Cccddd on January 13, 2006, 04:24:39 AM
Wow yeah so I'm sorry I'm out you all. This mod really was my baby for a while, but due to my job in the Army, and getting deployed to the desert, I really don't have all the time I used to (or the bandwidth for that matter).

The file manager is still getting worked on here and there, but mainly bandaids with every SMF release. I don't have any actual tangible times to give you all for if or when I will be able to release another version of these two mods, but if I can, I will. Just bear with me please.

At the very least, you know that when I get back to Germany at the end of this year, I will be able to sit down and work on this for sure. Let's just see if I can do anything before then :)

There have been a lot of exciting changes in the way SMF works, and I would love to get these mods to use the new features to their fullest potential.
Title: Re: Music Database [3.1]
Post by: Oldiesmann on January 13, 2006, 09:27:42 PM
Glad to hear from you Cheschire :)

If I ever get more time I'll play around with the Music Database mod and see if I can at least get the lyrics thing working. At some point I'd like to build it up a bit for my site so I can let artists manage their own music (less work for me ;)). Unfortunately I'm really tired tonight and don't have the time to deal with it...
Title: Re: Music Database [3.1]
Post by: evolus on January 14, 2006, 11:41:20 AM
Is the mod works with SMF 1.1 RC2 ?
Title: Re: Music Database [3.1]
Post by: DKKramer on January 27, 2006, 01:07:24 AM
Quote from: Oldiesmann on December 13, 2005, 08:02:50 PM
Actually you can't add lyrics. I tried to modify a song to add lyrics to it and was presented with a "Hacking attempt..." message as soon as I tried to save the changes.

"Hacking Attempts" errors commonly appears if your text contains an apostrophe. To prevent SQL injection hacks, the text should be sanitized of "illegal" characters prior to trying to commit them to the database.
Title: Re: Music Database [3.1]
Post by: JayBachatero on January 27, 2006, 01:24:46 AM
That means the posting of songs has to be updated with a new function that add and removes the slashes.
Title: Re: Music Database [3.1]
Post by: Mysticalhead on February 05, 2006, 02:48:48 PM
Having trouble installing...
Just installed TinyPortal 0.8 and have RC2...

4.     Execute Modification     ./Sources/ModSettings.php     Test failed


Everything else is OK...
ok, can't attach?
Title: Re: Music Database [3.1]
Post by: JayBachatero on February 05, 2006, 02:54:22 PM
The ModSettinfs.php file changed in RC2 that'ss why it's failing.

Also only team mmbers and Charter Members can post attachments.
Title: Re: Music Database [3.1]
Post by: DarkMain on February 06, 2006, 02:29:42 PM
Anyone got this working on RC2 yet?
Title: Re: Music Database [3.1]
Post by: muslimways on February 12, 2006, 07:46:07 AM
The downloading file is empty or corrupted. please help!!!!!!!! i can't install it cos file missing
Title: Re: Music Database [3.1]
Post by: Oldiesmann on February 14, 2006, 03:09:47 PM
I still think it has to do with the actual html code and not whether or not there's an apostrophe in the lyrics. The best option in my opinion would be to put the opening form tag before the <table> and change the delete button to a checkbox, then set the value of sa based on whether or not that box is checked (ie if it isn't checked then sa is edit, otherwise it's delete).
Title: Re: Music Database [3.1]
Post by: vodkarev on February 27, 2006, 02:52:48 PM
Can anyone post the changes that need to be made for RC 2??? so we can do it manually?
Title: Re: Music Database [3.1]
Post by: Aly on March 04, 2006, 09:44:47 AM
Quote from: vodkarev on February 27, 2006, 02:52:48 PM
Can anyone post the changes that need to be made for RC 2??? so we can do it manually?
I second that. I would love to be able to use this on my forum.  :(
Title: Re: Music Database [3.1]
Post by: shikten on March 14, 2006, 06:09:47 AM
Yes, please i need this excelent feature on my RC2 board :D
Title: Re: Music Database [3.1]
Post by: vodkarev on March 14, 2006, 06:11:19 AM
I've coded my own now....
Title: Re: Music Database [3.1]
Post by: eckostylez on March 22, 2006, 05:40:38 PM
Anyone know how an admin can change the text limit when adding lyrics to the database?
Title: Re: Music Database [3.1]
Post by: eckostylez on March 23, 2006, 04:54:30 PM
Okay this is the problem that I get:

4.     Execute Modification     ./Sources/ModSettings.php     Test failed

If you can add me on MSN - [email protected] would be much appreciated.
Title: Re: Music Database [3.1]
Post by: JayBachatero on March 23, 2006, 05:06:07 PM
There were many many changes in RC2 so this mod wont work in RC2.
Title: Re: Music Database [3.1]
Post by: SaltedWeb on March 29, 2006, 06:22:29 PM
Any plans for anything like this ?

For Rc2

If so who or when

thanks


Cozmo
Title: Re: Music Database [3.1]
Post by: yexusbeliever on April 05, 2006, 01:02:45 PM
No update on this mod? :(  I really like this mod.
Title: Re: Music Database [3.1]
Post by: deadpoeticstar on April 05, 2006, 04:38:00 PM
there is an update...just go to downloads or look in your package manager
Title: Re: Music Database [3.1]
Post by: JayBachatero on April 09, 2006, 10:58:50 PM
Ok I managed to take some time and fix this mod for RC2.  I made a few changed to the templates to work with Core.  I'm not guaranteeing that it will work 100%.  I tested it out on my website and it's working fine.

Also to stop people from activating the file manager I removed EVERY single existence of it on the files.

Also you must set the max number of lyrics to allow. 

If you encounter any errors please let me know.  I still need to make some changes and clean the source code a bit.

File removed.  Look for updated one in the next page.
Title: Re: Music Database [3.1]
Post by: charlottezweb on April 09, 2006, 11:08:13 PM
Quote from: JayBachatero on April 09, 2006, 10:58:50 PM
Ok I managed to take some time and fix this mod for RC2.  I made a few changed to the templates to work with Core.  I'm not guaranteeing that it will work 100%.  I tested it out on my website and it's working fine.

Also to stop people from activating the file manager I removed EVERY single existence of it on the files.

YOU ARE THE MAN!  I'll give this a shot this week.  I have a lyrics db that's presently accessible but "locked" because the admin functionality broke with SMF upgrades.  Thanks!

Cheers,
Jason
Title: Re: Music Database [3.1]
Post by: JayBachatero on April 09, 2006, 11:13:08 PM
It should keep the old stuff you had in there.  When I installed it on my site it had the old data from before.    I might update it tom or later on this week so that it can have a default value for the amount of lyrics.  What do you think is a good number?
Title: Re: Music Database [3.1]
Post by: charlottezweb on April 09, 2006, 11:20:22 PM
I always backup everything before anyway, so I'll let you know what happens there.

Are you asking about the amount of words per song?  I grabbed a random song from mine and it had just over 900 words.  So I'm thinking 2,000 might be enough?  Would it be limiting to a number to keep people from posting junk?  For me, that's not an issue because I only give access to one or two people to alter it.
Title: Re: Music Database [3.1]
Post by: JayBachatero on April 09, 2006, 11:28:51 PM
Minor update.  Music page was pointing to music admin on the tabs.

Yea the amount of characters per song.  Also use this file it has a small fix.
Title: Re: Music Database [3.1]
Post by: JayBachatero on April 14, 2006, 11:40:17 AM
It seems like many of the fixes didn't go through.  Here is an updated version of it.  Hope this one works like it should.  If you have any problems with it just let me know.
Title: Re: Music Database [3.1]
Post by: ArkServer on April 14, 2006, 01:38:03 PM
I installed it on my 1.1 rc2 forum and so far so good
Title: Re: Music Database [3.1]
Post by: charlottezweb on April 15, 2006, 06:39:50 PM
I'm getting:

Parse error: syntax error, unexpected ')', expecting '}' in /home/xxxxxx/public_html/forum/Packages/temp/install_sql.php on line 79

To add to that, however far the install got -- it actually did fix some things.  I can successfully edit entries again if I manually go to the admin url. 

I don't have the permissions options in admin though yet...

Cheers,
Jason
Title: Re: Music Database [3.1]
Post by: JayBachatero on April 15, 2006, 07:11:21 PM
Ooops small bobo.  I had {$prefix) instead of {$prefix}

The permission didn't add due to this error.
Title: Re: Music Database [3.1]
Post by: charlottezweb on April 15, 2006, 08:18:10 PM
Quote from: JayBachatero on April 15, 2006, 07:11:21 PM
Ooops small bobo.  I had {$prefix) instead of {$prefix}

The permission didn't add due to this error.

Touchdown!  You are my hero  :)

Everything looks good to me.  THANKS!!
Title: Re: Music Database [3.1]
Post by: JayBachatero on April 15, 2006, 09:07:42 PM
Glad to hear it working fine for you now.  If you come across any other issues just let me know.
Title: Re: Music Database [3.1]
Post by: charlottezweb on April 15, 2006, 09:40:07 PM
Quote from: JayBachatero on April 15, 2006, 09:07:42 PM
Glad to hear it working fine for you now.  If you come across any other issues just let me know.

Will do, thanks!
Title: Re: Music Database [3.1]
Post by: HNHF on April 16, 2006, 05:59:57 AM
Hi,

Is there a possibility to play and upload the songs?

'songmp3' => 'Play', ??   ( Music.english.php )

'filename' => 'Filename',
'foldername' => 'Folder Name',        ( MusicAdmin.englisch.php )

But i see no options for this when i running this mod?

greetings  martin
Title: Re: Music Database [3.1]
Post by: tetsujin on April 16, 2006, 11:15:57 PM
On that same general Idea, I am running this on RC2 is there any way to possibly have a link to download the music?

Cameron
Title: Re: Music Database [3.1]
Post by: JayBachatero on April 16, 2006, 11:59:53 PM
computerdummy the reason those are there because this mod had the ability to work with the filemanager but it wasn't working correctly so I took that out when i updated it to RC2.

tetsujin at the moment there is no way to do it unless you take the original 3.1 file and try to get it working with the file manager.  Mind you that it's still an alpha version.
Title: Re: Music Database [3.1]
Post by: tetsujin on April 17, 2006, 12:38:07 AM
Well my friend and i will see if we can do that then, or something to that extent.

Cameron
Title: Re: Music Database [3.1]
Post by: tetsujin on April 18, 2006, 12:54:19 AM
After some quick programming I threw in the ability to add a download link to the music if that helps anyone out.

Cameron
Title: Re: Music Database [3.1]
Post by: peterstannard on April 18, 2006, 09:01:12 AM
Quote from: JayBachatero on April 15, 2006, 09:07:42 PM
Glad to hear it working fine for you now.  If you come across any other issues just let me know.

Just installed for a client running 1.1 RC2. Appears fine. Thanks Jay.
Title: Re: Music Database [3.1]
Post by: Joshsux on April 27, 2006, 04:25:28 AM
im so confused theres SMF 1.0.7 and version 1.1R2..... what the heck is the new version ?! theres a mix of people using all sorts shouldnt we all be using the newest one?

I cant get the mod to work on my SMF 1.0.7 and i'm trying my hardest but i dont know much about code! soooo confused if someone can help me add me to msn? [email protected] thanks
Title: Re: Music Database [3.1]
Post by: JayBachatero on April 27, 2006, 09:06:17 AM
This mod is for 1.1 RC2.  1.1 is newer than 1.0 but 1.1 RC2 is not a FINAL product yet but it's very stable.
http://en.wikipedia.org/wiki/Software_version
Title: Re: Music Database [3.1]
Post by: deadpoeticstar on May 02, 2006, 04:55:46 PM
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE ID_ALBUM = '1'' at line 1
File: /home/georgeli/public_html/smf/Sources/MusicAdmin.php
Line: 131
Title: Re: Music Database [3.1]
Post by: JayBachatero on May 02, 2006, 09:00:13 PM
What where you doing when you got the error?
Title: Re: Music Database [3.1]
Post by: deadpoeticstar on May 03, 2006, 10:24:50 AM
Quote from: JayBachatero on May 02, 2006, 09:00:13 PM
What where you doing when you got the error?

I think i was adding the same CD but i had just reinstalled it yesterday cause a while back  i ran into some other errors with it so i removed it
Title: Re: Music Database [3.1]
Post by: JayBachatero on May 03, 2006, 11:20:16 AM
I'll take a loo at it when I get home but if you are able to reproduce the error please let me know.
Title: Re: Music Database [3.1]
Post by: deadpoeticstar on May 03, 2006, 11:26:24 AM
Ok, I was going through the Music Admin, and clicking save and all of them worked fine (which they still do anyways) and then i went to albums and clicked on an album i had previously added and clicked save and then that is when i got that error
Title: Re: Music Database [3.1]
Post by: JayBachatero on May 03, 2006, 11:44:52 AM
I will take a look at this and see where it went wrong.
Title: Re: Music Database [3.1]
Post by: deadpoeticstar on May 03, 2006, 12:17:36 PM
and i changed nothing in it about that album, it was still in the original way that i had set it up
Title: Re: Music Database [3.1]
Post by: JayBachatero on May 03, 2006, 02:47:41 PM
Ok found the issue it was a comma in the wrong pace.  In MusicAdmin.php file
Code (find) Select

db_query("UPDATE {$db_prefix}music_albums SET albumName = '$_REQUEST[albumName]', length = '$_REQUEST[length]', released = '$_REQUEST[releaseMonth] . $_REQUEST[releaseYear]',  WHERE ID_ALBUM = '$_REQUEST[ID_ALBUM]'", __FILE__,__LINE__);


Code (replace) Select

db_query("UPDATE {$db_prefix}music_albums SET albumName = '$_REQUEST[albumName]', length = '$_REQUEST[length]', released = '$_REQUEST[releaseMonth] . $_REQUEST[releaseYear]' WHERE ID_ALBUM = '$_REQUEST[ID_ALBUM]'", __FILE__,__LINE__);
Title: Re: Music Database [3.1]
Post by: deadpoeticstar on May 03, 2006, 03:13:09 PM
works perfecto mate thanks
Title: Re: Music Database [3.1]
Post by: Cccddd on May 05, 2006, 08:45:49 AM
wow yeah so I wanted to come back and work on this. Guess what? I got assigned to a new position now which puts me in charge of 10 to 12 people across Kuwait, Qatar, and Djibouti. My free time is not minimal, but extremely broken up. Makes it hard to focus on any coding projects.

But lil_j and JayB seem to be taking this and running with it well. I'm happy this didn't die! Too bad my file manager never made it off the ground...
Title: Re: Music Database [3.1]
Post by: JayBachatero on May 05, 2006, 01:09:51 PM
Just a side note.  JayB and lil_j are the same person :P.  LIL_J is the old name :P.
Title: New install Test Fail: /Sources/ModSettings.php, Why?
Post by: desertcities on June 14, 2006, 06:54:23 AM
The install via PM is fine but tells me the Test Fails on just 1 file, the /Sources/ModSettings.php file.  It's chmoded fine.

Any suggestions?

Thank you.

Mark
Title: Re: Music Database [3.1]
Post by: JayBachatero on June 14, 2006, 10:15:41 AM
What other mods do you have installed?
Title: Re: Music Database [3.1]
Post by: deadpoeticstar on June 14, 2006, 01:51:29 PM
QuoteYou have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE ID_ALBUM = '1'' at line 1
File:public_html/smf/Sources/MusicAdmin.php
Line: 131

after i tried to modify the album release date...the above quote is what i got
Title: Re: Music Database [3.1]
Post by: JayBachatero on June 14, 2006, 02:06:23 PM
I'll take a look at this in a bit and see what's wrong.
Title: Re: Music Database [3.1]
Post by: deadpoeticstar on June 14, 2006, 02:21:06 PM
alright take your time...you do a good job regardless of how long you take
Title: Re: Music Database [3.1]
Post by: JayBachatero on June 14, 2006, 02:38:40 PM
Did you try the fix I provided here?
http://www.simplemachines.org/community/index.php?topic=33831.msg566925#msg566925
Title: Re: Music Database [3.1]
Post by: deadpoeticstar on June 14, 2006, 03:14:24 PM
i forgot about the fix you provided earlier cause i changed host and didnt move my files
Title: Re: Music Database [3.1]
Post by: JayBachatero on June 14, 2006, 04:20:37 PM
You can use that fix for now.  I will upload an updated version in a few.
Title: Re: Music Database [3.1]
Post by: desertcities on June 14, 2006, 06:50:54 PM
I got a long list of mods installed.  All working fine and installed fine as well. 

Do you need the list?

Thank you!

Mark
Title: Re: Music Database [3.1]
Post by: deadpoeticstar on June 14, 2006, 07:15:13 PM
Quote from: desertcities on June 14, 2006, 06:50:54 PM
I got a long list of mods installed.  All working fine and installed fine as well. 

Do you need the list?

Thank you!

Mark

Depends on what problem you were having...
Title: Re: Music Database [3.1]
Post by: JayBachatero on June 14, 2006, 08:03:24 PM
Yea let me get the list.
Title: Re: Music Database [3.1]
Post by: desertcities on June 14, 2006, 08:37:01 PM
I have a large list of mods.  All of them installed nicely via PM and work.

Is there some particular mod(s) that I should remove and then continue to install the Music Database?

Thank you.

Mark
Title: Re: Music Database [3.1]
Post by: JayBachatero on June 14, 2006, 08:44:12 PM
Email me your ModSettings.php file to [email protected]
Title: Re: Music Database [3.1]
Post by: tootcsen on June 26, 2006, 07:25:08 AM
Now I post a question (after 2 weeks), I hope someone will reply me also. After I have installed successfully the music database with PM, the song doesn't run when I click on the play button, instead the index.php page shows. Why does it happen?  :( I hope someone will reply me because this topic seems 'stop' for almost two weeks.
Title: Re: Music Database [3.1]
Post by: JayBachatero on June 26, 2006, 04:13:00 PM
As it has been stated before the File Manager is not working.  RIght now this version is stand alone.  The File manager features were taken off.
Title: Re: Music Database [3.1]
Post by: tootcsen on June 26, 2006, 10:40:55 PM
So, does it mean that I need the ModSetting.php to get the music database work? Sorry, I'm really confuse with it.
Title: Re: Music Database [3.1]
Post by: JayBachatero on June 27, 2006, 12:23:46 AM
To get the Music Database to work use the package found here in this topic.
Title: Re: Music Database [3.1]
Post by: tootcsen on June 27, 2006, 01:19:33 AM
I have installed file manager, but it doesn't work, I use smf v1.0.7. An error icon shows in the status bar as I click on the file button.
Title: Re: Music Database [3.1]
Post by: JayBachatero on June 27, 2006, 03:19:38 AM
ONLY for 1.1 RC2
Title: Re: Music Database [3.1]
Post by: Jason kiDD on June 29, 2006, 09:54:56 AM
I am using Bloc's Oxygen theme how do I get the revised Music database for 1.1 RC2 to work.
Sorry if I am a bother but I read thru all 18 pages and I know there were many edits to the file since inception..  :D
Title: Re: Music Database [3.1]
Post by: PrizeLive.com on June 29, 2006, 02:47:07 PM
Installations actions for "Music Database":
Installing this package will perform the following actions:
   Type    Action    Description
1.    Execute Code    install_sql.php    
2.    Execute Modification    ./index.php    Test successful
3.    Execute Modification    ./Sources/ManagePermissions.php    Test successful
4.    Execute Modification    ./Sources/ModSettings.php    Test failed
5.    Execute Modification    ./Themes/default/index.template.php    Test successful
6.    Execute Modification    ./Themes/default/languages/ManagePermissions.english.php    Test successful
7.    Execute Modification    ./Themes/default/languages/Errors.english.php    Test successful
8.    Execute Modification    ./Themes/default/languages/ModSettings.english.php    Test successful
9.    Extract File    ./Sources/Music.php    
10.    Extract File    ./Sources/MusicAdmin.php    
11.    Extract File    ./Sources/Subs-Music.php    
12.    Extract File    ./Themes/default/Music.template.php    
13.    Extract File    ./Themes/default/MusicAdmin.template.php    
14.    Extract File    ./Themes/default/languages/Music.english.php    
15.    Extract File    ./Themes/default/languages/MusicAdmin.english.php    
16.    Extract File    ./Themes/default/images/english/music.gif    
17.    Extract File    ./Themes/default/images/english/music_admin.gif    
18.    Extract File    ./Themes/default/images/english/music_albums.gif    
19.    Extract File    ./Themes/default/images/english/music_artists.gif    
20.    Extract File    ./Themes/default/images/english/music_genres.gif    
21.    Extract File    ./Themes/default/images/english/music_songs.gif    
22.    Extract File    ./Themes/default/images/english/music_header.gif    
23.    Extract File    ./Themes/default/images/english/music_header_admin.gif    
24.    Extract File    ./Themes/default/images/music_staroff.gif    
25.    Extract File    ./Themes/default/images/music_staron.gif    
26.    Extract File    ./Themes/default/images/music_play.gif

How can I fix this?
Title: Re: Music Database [3.1]
Post by: Bigguy on June 29, 2006, 03:14:58 PM
open up the install.xml file in the mod and search it for the edits for ModSettings.php and enter them manually. Install the mod first then do the edits. Backup your files to.
Title: Re: Music Database [3.1]
Post by: PrizeLive.com on June 29, 2006, 03:16:53 PM
Quote from: Bigguy on June 29, 2006, 03:14:58 PM
open up the install.xml file in the mod and search it for the edits for ModSettings.php and enter them manually. Install the mod first then do the edits. Backup your files to.

ok thanks.. i only need to backup the files that are changed while installing this mod, right?
Title: Re: Music Database [3.1]
Post by: Bigguy on June 29, 2006, 03:19:11 PM
I usually only backup the file that I`m editing manually in case I screw it up I have another copy, but do it the way you wish. ;)
Title: Re: Music Database [3.1]
Post by: Avinash4 on July 02, 2006, 12:30:28 AM
I just have a few questions about this mod.
1. How does it prevent copyrighted songs from being downloaded?
2. Can users upload music, or just admin?
3. Any working demos out there?
Title: Re: Music Database [3.1]
Post by: JayBachatero on July 02, 2006, 12:52:33 AM
This is just for lyrics.  No songs can be uploaded/downloaded.
Title: Re: Music Database [3.1]
Post by: Avinash4 on July 02, 2006, 10:38:40 AM
Quote from: JayBachatero on July 02, 2006, 12:52:33 AM
This is just for lyrics.  No songs can be uploaded/downloaded.
I had a feeling. Thanks!
Title: Re: Music Database [3.1]
Post by: NaturalStateReb on July 06, 2006, 11:36:01 AM
Installed this mod, and it seems to be working fine, but I can't figure out how to integrate it with my theme.  The instructions say to copy the code into the theme, but it doesn't say what or where to copy.  I've searched the topic, and I can't find anything that's particularly helpful.  Does anyone know what you need to alter to get this to work with other themes?
Title: Re: Music Database [3.1]
Post by: JayBachatero on July 06, 2006, 03:12:46 PM
What theme are you using?
Title: Re: Music Database [3.1]
Post by: NaturalStateReb on July 07, 2006, 02:41:28 PM
Quote from: Jay The Code Monkey on July 06, 2006, 03:12:46 PM
What theme are you using?

Autumn Dark.  I figured it out, but thanks for the inquiry.  I moved all of the files over from the default theme, including the modified files.  This particular mod didn't end up fitting my application (campground reviews), but it did function just fine once I got the files in the right holes.
Title: Re: Music Database [3.1]
Post by: PrizeLive.com on July 10, 2006, 08:17:28 PM
Is this what is installed on http://www.kevmundial.com/board/index.php?action=forum?

Music Download
Download tracks Here. You are not allowed to upload or request full albums. If you fail to follow these instructions you will be warned/banned.
Title: Re: Music Database [3.1]
Post by: JayBachatero on July 10, 2006, 08:33:20 PM
The one installed there is messed up.  I haven't had time to fix it.
Title: Re: Music Database [3.1]
Post by: PrizeLive.com on July 10, 2006, 08:35:07 PM
Quote from: Jay The Code Monkey on July 10, 2006, 08:33:20 PM
The one installed there is messed up.  I haven't had time to fix it.

Gotcha.. a few posts ago I saw, "This is just for lyrics.  No songs can be uploaded/downloaded."

Is the thing you have the same? You said Download tracks here..
Title: Re: Music Database [3.1]
Post by: JayBachatero on July 10, 2006, 08:47:00 PM
The Media Center is something else.  It's a mod that I was working on but never made it a package.
Title: Re: Music Database [3.1]
Post by: PrizeLive.com on July 10, 2006, 08:52:16 PM
Quote from: Jay The Code Monkey on July 10, 2006, 08:47:00 PM
The Media Center is something else.  It's a mod that I was working on but never made it a package.

Ok gotcha.. I was confused, but not now..  :D
Title: Re: Music Database [3.1]
Post by: JayBachatero on July 10, 2006, 09:13:06 PM
Quote from: SurfExcelerator.com on July 10, 2006, 08:52:16 PM
Quote from: Jay The Code Monkey on July 10, 2006, 08:47:00 PM
The Media Center is something else.  It's a mod that I was working on but never made it a package.

Ok gotcha.. I was confused, but not now..  :D

I might rewrite later on in the future.
Title: Re: Music Database [3.1]
Post by: JayBachatero on July 11, 2006, 12:52:52 AM
Ok I update the package to fix this bug.
http://www.simplemachines.org/community/index.php?topic=33831.msg566925#msg566925

EDIT: Fixed a bug with the Album Year being wrong.
Title: Re: Music Database [3.1]
Post by: gtron on July 22, 2006, 11:43:50 AM
i don't see how to upload or download music with this mod? is it only for listing music & lyrics or can you do hosting, download, and upload? i searched but found nothing.
Title: Re: Music Database [3.1]
Post by: JayBachatero on July 23, 2006, 02:03:25 AM
Yes only list lyrics.  No downloads/uploads.
Title: Re: Music Database [3.1]
Post by: deadpoeticstar on July 26, 2006, 11:12:00 AM
i think a nice addition would be the uploading of album artwork
Title: Re: Music Database [3.1]
Post by: denislici on July 27, 2006, 07:20:26 AM

but in mod description says that :

Coupled with my file manager mod, you can upload artist photos, album covers, and mp3/various song file formats to go with your lyrics database. In fact it's designed so even if you don't have lyrics, you can still just have a place for people to download their favorite music!

Title: Re: Music Database [3.1]
Post by: JayBachatero on July 27, 2006, 12:26:18 PM
Ok that was on an older version that required the file manager.  The filemanager never made it past alpha.  So what I did was removed the integration part of that mod.  If you want the original files are still in the mod's page.  You can try to use that.
Title: Re: Music Database [3.1]
Post by: denislici on July 27, 2006, 03:44:59 PM

but they arent for 1.1rc2 ?
Title: Re: Music Database [3.1]
Post by: ArkServer on July 27, 2006, 04:28:52 PM
Quote from: denislici on July 27, 2006, 03:44:59 PM

but they arent for 1.1rc2 ?

nope
Title: Re: Music Database [3.1]
Post by: denislici on July 28, 2006, 09:17:07 AM

so there isnt something like this for 1.1rc2 ?
Title: Re: Music Database [3.1]
Post by: JayBachatero on July 28, 2006, 10:16:00 AM
No there is no rc2 version with the integration.
Title: Re: Music Database [3.1]
Post by: Joshsux on July 31, 2006, 03:22:29 AM
Does anybody got this mod working on there site? i'm not registering to some site just to see a mod in use.... ty

Wait dont bother if its not for 1.1rc2 i wont get it.
Title: Re: Music Database [3.1]
Post by: Norbert on July 31, 2006, 06:07:50 AM
Quote from: Joshsux on July 31, 2006, 03:22:29 AM
Does anybody got this mod working on there site? i'm not registering to some site just to see a mod in use.... ty

Wait dont bother if its not for 1.1rc2 i wont get it.

http://new-order.eu/ (http://new-order.eu/)
Title: Re: Music Database [3.1]
Post by: Joshsux on July 31, 2006, 07:02:36 AM
ty, no thanks not what im after anyway
Title: Re: Music Database [3.1]
Post by: ArkServer on July 31, 2006, 08:58:24 AM
Quote from: Joshsux on July 31, 2006, 07:02:36 AM
ty, no thanks not what im after anyway

It does work with 1.1rc2 i installed it just fine
Title: Re: Music Database [3.1]
Post by: Joshsux on August 01, 2006, 01:41:05 AM
oh cool but still not exacly what i was looking for, might give it a try dunno
Title: Re: Music Database [3.1]
Post by: deadpoeticstar on August 01, 2006, 02:55:29 PM
Quote from: Joshsux on August 01, 2006, 01:41:05 AM
oh cool but still not exacly what i was looking for, might give it a try dunno

Then what are you looking for? something to hold music for download? cause that isn't what this mod is for
Title: Re: Music Database [3.1]
Post by: denislici on August 01, 2006, 03:05:11 PM
Quote from: deadpoeticstar on August 01, 2006, 02:55:29 PM
Quote from: Joshsux on August 01, 2006, 01:41:05 AM
oh cool but still not exacly what i was looking for, might give it a try dunno

Then what are you looking for? something to hold music for download? cause that isn't what this mod is for

yet for rc2 but for 1.0.3 it is...
Title: Re: Music Database [3.1]
Post by: deadpoeticstar on August 01, 2006, 03:10:26 PM
i know that but you see ive upgraded all of my files so thats why all i know of this mod is that it doesnt have a music download database
Title: Re: Music Database [3.1]
Post by: Joshsux on August 02, 2006, 01:33:22 AM
Quote from: deadpoeticstar on August 01, 2006, 02:55:29 PM
Quote from: Joshsux on August 01, 2006, 01:41:05 AM
oh cool but still not exacly what i was looking for, might give it a try dunno

Then what are you looking for? something to hold music for download? cause that isn't what this mod is for

no it is kinda what i'm looking for, just doesn't look the way i'd like. don't worry about it i might use it later on!
Title: Re: Music Database [3.1]
Post by: deadpoeticstar on August 14, 2006, 12:06:10 PM
ok ive got RC3 and this is the ONLY problem it had

4.     Execute Modification     ./Sources/ModSettings.php     Test failed
Title: Re: Music Database [3.1]
Post by: JayBachatero on August 14, 2006, 10:14:24 PM
You have another mod that modifies the area that this mod is looking for,  What you can do is install the mod and make the changes for ModSettings.php manually.
Title: Re: Music Database [3.1]
Post by: deadpoeticstar on August 15, 2006, 08:35:32 AM
alright ill give it a go here and will update on the status

This

'',

// Gotta play nice with the other mods! ;]

array('int', 'mdb_maxlyrics'),


goes before This

',
// Reporting of personal messages?
array('check', 'enableReportPM'),
array('int', 'max_pm_recipients'),


Correct?

I was correct but this is what i got

Title: Re: Music Database [3.1]
Post by: JayBachatero on August 15, 2006, 01:20:36 PM
Yeah.  Umm not sure why it looks like that.  Can you link me to it?
Title: Re: Music Database [3.1]
Post by: deadpoeticstar on August 15, 2006, 01:22:08 PM
www.crazynlazy.com/SMF3
Title: Re: Music Database [3.1]
Post by: JayBachatero on August 15, 2006, 01:58:51 PM
You didn't do a manual install right?
Title: Re: Music Database [3.1]
Post by: deadpoeticstar on August 15, 2006, 02:17:37 PM
i did...cause it wouldnt load the mod settings
Title: Re: Music Database [3.1]
Post by: JayBachatero on August 15, 2006, 02:24:50 PM
So talk a look at the changes you made in index.template.php.  Seems like oyu made the change for the babylon theme instead of default or you installed the wrong version of the mod.

EDIT:  You installed the wrong version of the mod.  Use this file.
http://www.simplemachines.org/community/index.php?topic=33831.msg640358#msg640358
Title: Re: Music Database [3.1]
Post by: deadpoeticstar on August 15, 2006, 02:30:51 PM
alright its fixed :)
Title: Re: Music Database [3.1]
Post by: deadpoeticstar on August 16, 2006, 11:25:07 AM
Can you give some insight as to how to add this mod to other themes?
Title: Re: Music Database [3.1]
Post by: JayBachatero on August 16, 2006, 12:13:42 PM
Umm it should work on other themes besides the menu part.
Title: Re: Music Database [3.1]
Post by: deadpoeticstar on August 16, 2006, 01:57:31 PM
Quote from: Jay The Code Monkey on August 16, 2006, 12:13:42 PM
Umm it should work on other themes besides the menu part.

Well i switched over to the Classic theme and nothing showed up for the music database in the menu how do i go about making that display in the menu?
Title: Re: Music Database [3.1]
Post by: JayBachatero on August 16, 2006, 02:48:33 PM
Edit index.template.php and add the menu.  Look at the old package for the images and code.
Title: Re: Music Database [3.1]
Post by: mickyd2006 on August 20, 2006, 03:28:56 PM
Hey, I use the premium members mod.. so i only want premium members to be able to access the features this mod offers.. is this possible? maybe set permissions for who can do what?

Thanks!
Title: Re: Music Database [3.1]
Post by: JayBachatero on August 20, 2006, 10:37:36 PM
Yea just go to manage permissions and set who can see this.
Title: Re: Music Database [3.1]
Post by: mickyd2006 on August 21, 2006, 08:10:21 AM
Doh.. Oh Yeah.. Silly Me.. Im Installing and configruing so many mods this week.. my head is spinning looool

Thanks Jay!
Title: Re: Music Database [3.1]
Post by: wmiles on August 22, 2006, 04:23:39 AM
Hi I wonder if you could help me. I havent installed this mod yet but i was wondering if it could be slightly adapted as a new feature as a You Tube style database.  So that forum / board users can add there favourite you tube videos to the music database for people to view and rate. i'm personally not fussed about the lyrics side of things, i just love the idea of people being able to view the files they love and other users love all in one place.
Title: Re: Music Database [3.1]
Post by: Joshsux on August 22, 2006, 09:13:16 AM
Hell yeah. like make a youtube gallery type thing where it has categories and you go in and you play the youtube video and you can rate them and that, heeeell yeah i'd get that.
Title: Re: Music Database [3.1]
Post by: wmiles on August 22, 2006, 09:20:58 AM
Glad someone else thought it would be a good mod.

I already have the youtube BBC mod and that works well in posts, i just think if someone could put the two mods together as a database and have like you say catagories then i think that would be a superb mod.  A ratings system added too would make the whole package something i would think most forums out there would want to get there hands on.

I only wish i had the brain to be able to do it  8)
Title: Re: Music Database [3.1]
Post by: wmiles on August 23, 2006, 09:19:42 AM
Hey Joshsux i think we are on our own on this one lol. There is a phpbb hack which does something similar so i may see if i can convert that one maybe :)
Title: Re: Music Database [3.1]
Post by: Joshsux on August 24, 2006, 03:39:58 AM
awesome, id love to help but i have trouble changing some pictures on a theme let alone coding stuff  :-X
Title: Re: Music Database [3.1]
Post by: littlefeather on September 11, 2006, 03:13:16 PM
I know the file manager for this mod was kind of dropped, which means that you can't attach music clips....

But I have to ask ::) ..will there be anyway in the future to have it integrate into TP ?

.9.5 Just can out with a download / file manager... and I think this would really kick some but if this was possible.

Whats your thoughts 'code monkey'  ;) I have seen u at TP, so maybe you could come up with a code snippet or somethin.... :D
Title: Re: Music Database [3.1]
Post by: Nikita on October 26, 2006, 01:32:05 PM
Quote from: ArkServer on April 14, 2006, 01:38:03 PM
I installed it on my 1.1 rc2 forum and so far so good

Hi,

Can you tell me please how you managed with the modsettings.php.... I have ditted it manually maybe in the wrong position....

I cannot see anything in the admin = features section...so the lyrics inpoput is not working and there are many errors...

Please help if you can...

Thnaks.
Title: Re: Music Database [3.1]
Post by: JayBachatero on October 26, 2006, 10:17:32 PM
What version of SMF are you using?
Title: Re: Music Database [3.1]
Post by: 0897jhPEFUOIyG90 on October 27, 2006, 04:00:58 PM
Quote from: Nikita on October 26, 2006, 01:32:05 PM
Quote from: ArkServer on April 14, 2006, 01:38:03 PM
I installed it on my 1.1 rc2 forum and so far so good

Hi,

Can you tell me please how you managed with the modsettings.php.... I have ditted it manually maybe in the wrong position....

I cannot see anything in the admin = features section...so the lyrics inpoput is not working and there are many errors...

Please help if you can...

Thnaks.

Quote from: JayBachatero on October 26, 2006, 10:17:32 PM
What version of SMF are you using?

This was a case of the old version of the mod (musicdb.3.1.tar.gz) being installed on an SMF 1.1 RC3 install. We removed it and tried the version you edited for RC2 (musicdbRC2.tar.gz) and it seems fine so far.

Title: Re: Music Database [3.1]
Post by: haveaproblem on November 29, 2006, 09:38:21 PM
Hi, everyone!
I have a problem with files. As I turn "filemanager features" on, music db gives an error:

Table 'g****_smfdb.smf_files' doesn't exist
File: /home/g****/public_html/board/Sources/Music.php
Line: 136

Also ErrorLog shows some undefined indexes: value, name, disabled, file, db_perfix, help, label

PS: filemanager is installed, SMF 1.1RC3

Does anybody know anything about this?
Title: Re: Music Database [3.1]
Post by: hellodhaka on December 01, 2006, 08:29:05 PM
This is what i am getting after the installation... any suggestion?

1.  Execute Code  install_sql.php 
2. Execute Modification ./index.php Success
3. Execute Modification ./Sources/ManagePermissions.php Success
4. Execute Modification ./Sources/ModSettings.php Failure

Title: Re: Music Database [3.1]
Post by: JayBachatero on December 01, 2006, 08:35:36 PM
What file are you using?
Title: Re: Music Database [3.1]
Post by: hellodhaka on December 01, 2006, 09:19:14 PM
version 3.1
Title: Re: Music Database [3.1]
Post by: JayBachatero on December 01, 2006, 09:43:09 PM
Use this file.
http://www.simplemachines.org/community/index.php?topic=33831.msg640358#msg640358
Title: Re: Music Database [3.1]
Post by: deadpoeticstar on December 14, 2006, 01:10:56 PM
has there been an update to this mod for 1.1? if so can you direct me to the update?
Title: Re: Music Database [3.1]
Post by: L.G.S on December 14, 2006, 02:30:36 PM
Would love this for 1.1 final!
Title: Re: Music Database [3.1]
Post by: prodigal on December 30, 2006, 09:53:06 PM
this works for me in 1.1 final , I had to manually make the changes listed in install.xml
Title: Re: Music Database [3.1]
Post by: prodigal on January 16, 2007, 06:31:15 PM
is it possiable for their to be an indicator as to which songs have lyrics and which dont? , like an * beside them or something? or perhaps make the songs with no lyrics non clickable.

Also perhaps the ability to use bb codes when entering lyrics :)
Title: Re: Music Database [3.1]
Post by: SaltedWeb on January 16, 2007, 06:59:47 PM
is there and example of this data base in action?

also where is it mentioned about
Quotethis works for me in 1.1 final , I had to manually make the changes listed in install.xml

Thanks

Cozmo
Title: Re: Music Database [3.1]
Post by: prodigal on January 16, 2007, 09:25:42 PM
when I sort out my guess access Ill post a link to my working one.

when I tried to install this using the package manager it failed , but I was able to install it myself following the changes in the install.xml
Title: Re: Music Database [3.1]
Post by: SA™ on January 24, 2007, 01:45:44 AM
hi i new to all this but is there a way to put music on my site i fault i could use smf music database but u cant listen to music threw it any suggestions





www.joyrider.web-space.ws/forum (http://www.joyrider.web-space.ws/forum)
Title: Re: Music Database [3.1]
Post by: JayBachatero on January 24, 2007, 11:13:06 AM
Take a look at my Media Center (http://www.simplemachines.org/community/index.php?topic=130931.0) mod.
Title: Re: Music Database [3.1]
Post by: Amanda G on March 06, 2007, 11:54:17 PM
I get this when i try to apply the mod-

Error in Package Installation

At least one error was encountered during a test installation of this package. It is strongly recommended that you do not continue with installation unless you know what you are doing, and have made a backup very recently. This error may be caused by a conflict between the package you're trying to install and another package you have already installed, an error in the package, a package which requires another package that you don't have installed yet, or a package designed for another version of SMF.

Title: Re: Music Database [3.1]
Post by: mailpk on March 16, 2007, 05:15:25 AM
Not abel to install this mod  on SMF 1.1.2

Install Actions
Installations actions for "Music Database":
Installing this package will perform the following actions:  Type Action Description
1. Execute Code install_sql.php 
2. Execute Modification ./index.php Test successful
3. Execute Modification ./Sources/ManagePermissions.php Test successful
4. Execute Modification ./Sources/ModSettings.php Test failed  
5. Execute Modification ./Themes/default/index.template.php Test successful
6. Execute Modification ./Themes/default/languages/ManagePermissions.english.php Test successful
7. Execute Modification ./Themes/default/languages/Errors.english.php Test successful
8. Execute Modification ./Themes/default/languages/ModSettings.english.php Test successful
9. Extract File ./Sources/Music.php 
10. Extract File ./Sources/MusicAdmin.php 
11. Extract File ./Sources/Subs-Music.php 
12. Extract File ./Themes/default/Music.template.php 
13. Extract File ./Themes/default/MusicAdmin.template.php 
14. Extract File ./Themes/default/languages/Music.english.php 
15. Extract File ./Themes/default/languages/MusicAdmin.english.php 
16. Extract File ./Themes/default/images/english/music.gif 
17. Extract File ./Themes/default/images/english/music_admin.gif 
18. Extract File ./Themes/default/images/english/music_albums.gif 
19. Extract File ./Themes/default/images/english/music_artists.gif 
20. Extract File ./Themes/default/images/english/music_genres.gif 
21. Extract File ./Themes/default/images/english/music_songs.gif 
22. Extract File ./Themes/default/images/english/music_header.gif 
23. Extract File ./Themes/default/images/english/music_header_admin.gif 
24. Extract File ./Themes/default/images/music_staroff.gif 
25. Extract File ./Themes/default/images/music_staron.gif 
26. Extract File ./Themes/default/images/music_play.gif

how do i correct this
Title: Re: Music Database [3.1]
Post by: Imthejudge on April 05, 2007, 02:42:25 PM
I have tried to upload the package and It reads as follows any suggestions: Thank You for your help.


Installing this package will perform the following actions:  Type Action Description
1. Execute Code install_sql.php 
2. Execute Modification ./index.php Test successful
3. Execute Modification ./Sources/ManagePermissions.php Test successful
4. Execute Modification ./Sources/ModSettings.php Test failed
5. Execute Modification ./Themes/default/index.template.php Test successful
6. Execute Modification ./Themes/default/languages/ManagePermissions.english.php Test successful
7. Execute Modification ./Themes/default/languages/Errors.english.php Test successful
8. Execute Modification ./Themes/default/languages/ModSettings.english.php Test successful
9. Extract File ./Sources/Music.php 
10. Extract File ./Sources/MusicAdmin.php 
11. Extract File ./Sources/Subs-Music.php 
12. Extract File ./Themes/default/Music.template.php 
13. Extract File ./Themes/default/MusicAdmin.template.php 
14. Extract File ./Themes/default/languages/Music.english.php 
15. Extract File ./Themes/default/languages/MusicAdmin.english.php 
16. Extract File ./Themes/default/images/english/music.gif 
17. Extract File ./Themes/default/images/english/music_admin.gif 
18. Extract File ./Themes/default/images/english/music_albums.gif 
19. Extract File ./Themes/default/images/english/music_artists.gif 
20. Extract File ./Themes/default/images/english/music_genres.gif 
21. Extract File ./Themes/default/images/english/music_songs.gif 
22. Extract File ./Themes/default/images/english/music_header.gif 
23. Extract File ./Themes/default/images/english/music_header_admin.gif 
24. Extract File ./Themes/default/images/music_staroff.gif 
25. Extract File ./Themes/default/images/music_staron.gif 
26. Extract File ./Themes/default/images/music_play.gif
Title: Re: Music Database [3.1]
Post by: GPGrieco on April 05, 2007, 03:05:48 PM
when I go to the link in the original post it says that I do not have permisson to view this page and that I need to log in. Does anyone have this up on a forum so I could see it?
Title: Re: Music Database [3.1]
Post by: joybreezy on April 19, 2007, 12:24:19 PM
Is this Mod available for smf 1.1.2
Title: Re: Music Database [3.1]
Post by: TrueSatan on April 19, 2007, 12:59:26 PM
This mod was abandoned in 2005! As JayBachatero posted above please look at his Media Center mod instead http://www.simplemachines.org/community/index.php?topic=130931.0 (http://www.simplemachines.org/community/index.php?topic=130931.0)

Barring a minor miracle this mod is dead.
Title: Re: Music Database [3.1]
Post by: deadpoeticstar on April 19, 2007, 01:50:54 PM
Quote from: TrueSatan on April 19, 2007, 12:59:26 PM
This mod was abandoned in 2005! As JayBachatero posted above please look at his Media Center mod instead http://www.simplemachines.org/community/index.php?topic=130931.0 (http://www.simplemachines.org/community/index.php?topic=130931.0)

actually his media center mod needs a little more work on it and not it wasnt abandoned in '05

Barring a minor miracle this mod is dead.
Title: Re: Music Database [3.1]
Post by: TrueSatan on April 19, 2007, 03:35:49 PM
???? I said this mod was abandoned...not JayBachatero's mod.
Title: Re: Music Database [3.1]
Post by: JayBachatero on April 24, 2007, 01:05:59 PM
I update this mod from time to time when I get free time.  Lately I haven't had time to update any of my mods.  The ModSettings.php error that you got you can manually make the change for it.  Just install the mod and make the change to that area manually.
Title: Re: Music Database [3.1]
Post by: af3 on April 30, 2007, 06:15:50 AM
has anyone managed to run this on 1.1.2 ?
Title: Re: Music Database [3.1]
Post by: deadpoeticstar on May 01, 2007, 08:52:40 AM
yeah currently running it on mine http://crazynlazy.com
Title: Re: Music Database [3.1]
Post by: af3 on May 04, 2007, 06:13:06 PM
How did you go through that installation error for

3. Execute Modification ./Sources/ManagePermissions.php Test failed
4. Execute Modification ./Sources/ModSettings.php Test failed

Pls tell us. thanks
Title: Re: Music Database [3.1]
Post by: wilcosky on July 06, 2007, 09:27:18 PM
someone explain this to me... umm, it seems like this is just a place to have names of songs and the lyrics, you can't really listen to or download the song, at least the few sites I've been too are like that... they have this music database installed but you dont hear and music and I dont see a way to download it...

Title: Re: Music Database [3.1]
Post by: Joshsux on July 07, 2007, 04:50:26 AM
maybe he manual installed?  upload the zip to http://www.smfhacks.com/packageparser/package.php and it explains how to manual install.
Title: Re: Music Database [3.1]
Post by: L.G.S on July 07, 2007, 06:12:37 AM
Surely there must be major code changes from RC2 to 1.1.3 in the source for this mod not to function properly?
Title: Re: Music Database [3.1]
Post by: djpaddystudio7 on July 14, 2007, 07:41:00 AM
I have music files on other server so is it possible that i can add the link to that file so that when user clicks play then the file is played from that server ??? for example i host my site at http://mastikipaathshala.talkhost.info/forum , but not much space here. I have files at another server at http://64.94.235.125 . so can i add links at my forum ??? also while installing i got error in modsettings.php. (test failed) . should i go ahead with the installation?