This mod has now moved the Simple Machines package server.
Also this thread is old. Please move to this thread (http://www.simplemachines.org/community/index.php?topic=33831.0) for discussion.
My members used this, however, when I ugraded to final release, I get this: There are no installation or uninstallation actions defined!
yep. havent updated for the 1.0 final yet :)
Link is not work...
doesn't matter. use my package server version instead:
http://nrrds.com/packages
Your package server link also does not appear to work either.
im not seeing any problems. do you know how to add package servers to your SMF admin page?
It's work fine ;)
I'd like to use this mod package on my forum, but I'm running SMF 1.0 Final. Has the package been updated to Final yet?
yeah it works fine on final. go ahead and install it!
When I click on this link, the following is all I get:
Quote
This folder is for my packages for SMF (http://simplemachines.org)
You not need click it.
You need enter in your Package Manger and add the link in "Add Server".
After, You Browse it.
FaSan
okay, I added that link to my Package Servers listing, but when I attempt to install the mod it gives me the following error:
Table 'smf.music_album' doesn't exist
File: d:\Apache\Inetpub\wwwroot\smf\Packages\temp\install_sql.php
Line: 6
Is version 2.4 the most recent?
what the fuq?
is smf the name of the database you created just for your message board or is your smf prefix "smf." ?
also, do you have something weird setup to quit if there are any sql errors at all?
Quote from: Cheschire on January 07, 2005, 11:46:13 AM
what the fuq?
is smf the name of the database you created just for your message board or is your smf prefix "smf." ?
My database name is "smf"
I looked at the install script, and it looks like it is trying to run the following command, first.
$request=db_query("select * from music_album", __FILE__, __LINE__);
Since I don't have this database defined yet in my system (the script creates the tables if they are not defined alread-- which is determined by the above SQL statement.) The package manager is giving an error message.
I went ahead and manually ran the CREATE TABLE statements, and have successfully applied the mod, now I need to know how do I add music to the system?
When I goto Add / Edit All Songs I get an error message:
2: Invalid argument supplied for foreach()
Do I Need to add Genres then Artists, then albums, and then songs?
I to got this error
Table 'smf.music_album' doesn't exist
File: D:\RRAnderson\Family\Packages\temp\install_sql.php
Line: 6
All my settings are default ?
After I did what I could I got this error when you click on the music button
2: mysql_fetch_array(): supplied argument is not a valid MySQL result resource
any help with fixing the mysql ??
OK I seem to have it working now I just made the tables myself
can you upload and download mp3 files or is this just a data base??
Bah still got a problem
Input will not wright to the data base
rofl okay i'll check it out. poor testing on my part. i tend to do that a lot actually... never take time to test before i release! I guess i will do a quick bug fix before I continue work on 3.0
okay its all fixed. the problem was I wasnt listening to limp bizkit when making the package... lol. Anyways I fixed the install and, amazingly, the uninstall.
Install the new 2.5 version, but first, I'm sorry about this but you have to manually remove the old package. Here's how...
edit {your smf dir}/index.php and remove the two music lines
edit Packages/installed.list and remove the music db entry
remove the musicdb file from the Packages folder
remove Sources/Music.php
edit Sources/ManagePermissions.php and delete the block for the music permissions
remove Themes/default/Music*
edit Themes/default/index.template.php and remove the two music buttons from the bottom function
remove Themes/default/languages/Music*
edit Themes/default/languages/ManagePermissions.english.php and remove the permission_mdb* lines from the bottom
edit Themes/default/languages/Errors.english.php and remove the cannot_mdb lines
remove Themes/default/images/english/music*
also, since the uninstall is fixed in my package, you will not have to do this manual uninstall anymore!
and one last thing, the sql stuff is finally working. i tested it pretty thoroughly so there should be no issues anymore.
Ok it seems to be working ok -- where is the data stored I see no new tables in sql...also one more thing can mp3 files be upload and downloaded or is this just a data base ??? was thinking it was a data base of what mp3 one had on the site to share out
didnt i put all that in the readme?
here's a copy of the readme for those of you that skimmed past that in the install:
Music Database
by James "Cheschire" Yarbro
http://nrrds.com
This mod adds a music database to your forum.
You need to edit Music.template.php and change this line:
$musicfileurl = 'http://mysite.com/smf/musicfiles';
This is where all the images and mp3's will be loaded from. You need to have a folder for music files that has two subdirectories, one called "img" and one called "mp3".
You can setup permissions through the SMF admin interface to regulate who can view, rate, add, change, etc. Buttons are added to the SMF default theme and setup to check user permissions before showing up. Just copy the code into your theme if you want to use them.
then look for the box that says file, and put the filename in there.
ok thanks all is working great and as far as the data -- maybe I should refresh the sql before i post that :P -- thanks for your hard and really fast work.
no problem.
My eventual goal is to have the album covers, artist photos, and thumbnails, all stored in a preset folder, with upload scripts to move stuff between your computer and your webserver.
I will probably make a page just for album covers and mp3 files, and then have a dropdown menu on the other pages to select the files. that way the files are not dependant on anything else.
That would be nice -- also is their anyway to make it so a user could upload a file and add that file to the data base also??
May be example...
Quote from: Ray on January 09, 2005, 02:21:09 PM
That would be nice -- also is their anyway to make it so a user could upload a file and add that file to the data base also??
yeah eventually any user will be able to be given permission through the admin interface to upload files as well. Thats part of why i want the music file manager on a separate page from the other pieces. The admin can then decide if they want to allow people full access to teh admin interface or only partial.
here's some screenshots from the new version I am working on...
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fnrrds.com%2Fimagedump%2Falbums%2Fuserpics%2F10001%2Fmusicdb_01.jpg&hash=fff8558b25afea2a995a6a36200b14c3233fc747)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fnrrds.com%2Fimagedump%2Falbums%2Fuserpics%2F10001%2Fmusicdb_02.jpg&hash=a94c142eca958819eae0be4df15a3b755d3b45ad)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fnrrds.com%2Fimagedump%2Falbums%2Fuserpics%2F10001%2Fmusicdb_03.jpg&hash=6b921de271a06ab304e3bf1f140d061aea285b8f)
If you want to put a title use this
edit the Music.php file found in the Sources dir
// Title
$context['page_title'] = "Music Database"; // Set title
i put it right under this
global $scripturl,$_REQUEST,$context;
loadTemplate('Music');
the code shouldd look like this global $scripturl,$_REQUEST,$context;
loadTemplate('Music');
// Title
$context['page_title'] = "Music Database"; // Set title
not sure if that the place to put it but it worked for me.
[edit]
i just found out the admin panel doesnt show the title so i put the above code like this
global $context, $sourcedir, $user_info, $modSettings;
// Title
$context['page_title'] = "Music Database Admin Panel"; // Set title
find this
global $context, $sourcedir, $user_info, $modSettings;
replace with
global $context, $sourcedir, $user_info, $modSettings;
// Title
$context['page_title'] = "Music Database Admin Panel"; // Set title
So you have to add those two lines so the code shows in the admin area and the music section.
[/edit]
would be nice if you can create a download link for the music files
Im sure the experts over here will find the right way to get this workin a cleaner way.
how can i add multiple artists pictures?
the file stuff isnt even close to done yet. all you got right now is the ability to upload some files manually through some ftp program, then put the filename in the mod and it loads it.
mp3's already work, you just open Music.template.php, change $musicfileurl, and then in $musicfileurl/mp3/ upload all your mp3's and put the filename in the filename box for the song.
The multiple pics for an artist... thats a good idea. It'll start to verge on being a picture album software at that point, but we'll see what I can work out. I'm already going to have to go relearn all the GD stuff i havent touched in months just to make the thumbnails.
I have had a few people ask how to install this mod. I am putting instructions in the first post of this thread right now on how to do it.
im tryin gout the 3.0 alpha version and this mod rocks. 8)
This is great!
Now with this mod, is it possible to link CD covers to links of your choice (in my case, an amazom.com affiliate link).
yeah sure I will add that feature later once I write the filemanager.
my ultimate goal is this... I want a page where you can upload mp3's or jpg's, and if its jpg then it automatically creates thumbnail (and per your request, also has a url associated with it). Then, in the artist, album, and song pages, there's a dropdown to associate a certain file with the item you are editing.
hmmm just had an interesting idea. I think what I will do is list all of the pictures associated with an artist off to the right of the artist's name in the main artist table.
Also, per Lil J's request, the default page now goes straight to the artist's page, because he made the good point that not everyone is intelligent enough to realize that you need to click something before something else shows up.
also, mental note, add partial stars to the rating system.
per babylonkings request, add play buttons
bro dont forget about the page title. Looks better thatn seeing http://... But besided that i love this script man. cant wait to see it finished.
Quote from: LiL_J on January 11, 2005, 01:30:53 PM
bro dont forget about the page title. Looks better thatn seeing http://... But besided that i love this script man. cant wait to see it finished.
This is the best smf mod so far 8)
i have about 15 mods in my forum and this has to be one of the best.
Nice mod, but link not worked...
Quote from: Midgard on January 11, 2005, 01:56:38 PM
Nice mod, but link not worked...
He's working on new version 8)
yeah, but the link does work. follow the directions in the first post of this topic:
http://www.simplemachines.org/community/index.php?topic=6888.msg67791#msg67791
ah ****** my site is down for some reason. 1and1 sometimes sucks like this.
hmmmm this is a very good mod :)
I removed alle errors in my log ;) but one thing i dont know how to remove it.
8: Undefined index: ArtistID
Datei: /var/www/web6/html/forum/Themes/loonred_german/MusicAdmin.template.php (eval?)
Line: 126
(and 133)
It's only a small error but i don't like errors in my error log :D.
Can someone help me?
Bye
DIN1031
go into the admin interface and add an artist. that should take care of that.
in the mean time, i should add some handling for that.
Quote from: Cheschire on January 16, 2005, 09:21:28 AM
go into the admin interface and add an artist. that should take care of that.
in the mean time, i should add some handling for that.
Thx that's work, but i have to made two to remove this error.
Because the error is showing if only zero or one is availble.
interesting...
in other news, 3.0 is being pushed back a little bit until i get the filemanager mod out at least in beta. why the hell do i keep doing the crazy huge mods? oh well, this filemanager will be sweet IMHO. It'll have the ability to replace smiley, avatar, and attachment handling, as well as provide backends to any mods that need to manage files.
Hi!
This really don't matter I guess, since I'll wait for 3.0 before trying to install this again, but when I tried to install 2.5 through the packet manager, I got a sql syntax error in line 8 of install_sql.php. Did a little googling and it seems to me (I'm not a mySql guy) that the database name needs quotes aroud it. Could this be so? Still, strange since appenrently everyone else succeeds in installing it. Can't reach my sql admin site so I don't know which version I'm using. Sorry about that.
The thing I really wanted to say is that mp3's generally are pretty big files, and I (and maybe others with me) haven't got that kind of space on my remote server. So in the file manager, would it be possible to add a remote ftp server, with password, folder to upload to and stuff like that, and also the correct url to be used as a prefix for the filename, so users could upload the files to my home server? I figured, since there already is some kind of support for ftp-ing in SMF ... just a thought. And of course: great mod! A lot of nice features, this is clearly a top-fiver.
I have seen this music database, but there is no music, I see only title songs there!! ::)
May I use external music links to put in this database?
is there a way to make this work in other themes?
I can enter typing http://(mysite)/index.php?action=music
Screenshot:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg.photobucket.com%2Falbums%2Fv57%2Fmaufonseca93%2FAvatars%2520and%2520siggys%2FMusicProblem.jpg&hash=dd6a25aa72a74f2ea70867253c53fca6adf4a8d1)
I've been waiting for something like this for years, literally.
If this follows through, and this hack becomes what it is intended.. I will be switching my music site over to SMF in a heart beat.
Quote from: maufonseca on January 28, 2005, 12:01:26 PM
is there a way to make this work in other themes?
I can enter typing http://(mysite)/index.php?action=music
Screenshot:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg.photobucket.com%2Falbums%2Fv57%2Fmaufonseca93%2FAvatars%2520and%2520siggys%2FMusicProblem.jpg&hash=dd6a25aa72a74f2ea70867253c53fca6adf4a8d1)
Um, if you are referring to the weird look you got going on there, just change the background for that second row to be windowbg instead of catbg
Quote from: XBleed on January 28, 2005, 11:08:00 PM
I've been waiting for something like this for years, literally.
If this follows through, and this hack becomes what it is intended.. I will be switching my music site over to SMF in a heart beat.
feel free to IM me if you got some ideas of how you want this thing designed... you might inspire me and help push it in some new/better direction, or at least help me by giving me new feature ideas.
QuoteUm, if you are referring to the weird look you got going on there, just change the background for that second row to be windowbg instead of catbg
Where?
I suppose you aren't familiar with the SMF theme system much then.
I will lookup the exact position later when I am sitting at a computer with access
Yeah, I am not :( I am still begining
Thank you
oh I know what you are saying now. You wanted to know how to add teh buttons to the other themes. right. there were somewhat instructions in the readme.
open your index.template.php file, scroll down to the bottom, and paste the code in the menu function that gets inserted into the default theme's index.template.php.
as far as the catbg stuff... hold on for a second, lemme update the alpha package. then just use that. its hella better than that version.
alright, the alpha package is updated to a04 now. like i said in my forums, this is the alpha package, so don't go applying this to a site if you aren't really that sure of yourself, or if it's a rather large site. just a suggestion. It's completely stable from what I have seen, but I haven't REALLY REALLY REALLY tested it yet.
holy crap, stupid typo fixed. accidentally used the filename musicadmin.gif instead of music_admin.gif. I never noticed it before because my webhost automatically fixes errors like that. go figure. anyways, it should be better now.
Quote from: Cheschire on January 31, 2005, 11:57:38 AM
alright, the alpha package is updated to a04 now. like i said in my forums, this is the alpha package, so don't go applying this to a site if you aren't really that sure of yourself, or if it's a rather large site. just a suggestion. It's completely stable from what I have seen, but I haven't REALLY REALLY REALLY tested it yet.
I will installed tomorrow and test it 8)
Thanks Cheschire
i got it installed and everything seems to work fine except that it still doesn't have a title
Quote from: olti on January 28, 2005, 11:00:25 AM
May I use external music links to put in this database?
i don't see no link to download the music mods.. can anyone here share it with me plz?
i am looking for the music mod...
Quote from: Cheschire on March 09, 2004, 01:23:33 PM
This mod has now moved to my package server.
on your message board goto:
http://mysite.com/smf_install_dir/index.php?action=packages
click on [ Download New Packages ]
under where it says "Add Server"
in "Server Name:" type "Cheschire's Package Server"
in "URL:" type http://nrrds.com/packages
Then my package server should appear on the list under [ Download New Packages ]
THATS THE INFO TO DOWNLOAD YOUR MOD. ITS ON THE PAKAGE SERVER.
Page Not Found!
The page you requested was not found at the specified URL.
If you are trying to reach our Web site, go to
http://www.mysite.com/
i don't see it on the package server at all... please can someone upload it here
mennou,
You need to change the mysite to your own domain... example: http://www.simplemachines.org
bleh, beginners.
Quote from: mennou on February 12, 2005, 12:43:56 PM
Page Not Found!
The page you requested was not found at the specified URL.
If you are trying to reach our Web site, go to
http://www.mysite.com/
i don't see it on the package server at all... please can someone upload it here
ok go to your
"admin center" then on the first table to your left it says package manager click that. then on the bottom it should say download
"new packages" click that. then click on
"add new server". put this in
"Server Name:" type "Cheschire's Package Server"
in "URL:" type http://nrrds.com/packages" then after you browse through his server download the version in the top not the alpha. its till testing he hasnt found any bug in it but its recommended you get the beta. also after your done create a dir in your forum root folder. name it to your like and then inside that folder create mp3 and img. in
music.template find $musicfileurl and change the url to the url of the folder you create for ex.
"http://mysite.com/forum/musicfiles". and that shoud set you up and have everything running.
be gentle with the newbies. not everyone is a fast learner, and needs a little extra help sometimes.
Ok, I have it installed Music Database from your package server. I've correctly edited the music.database.php file to reflect my server but what I don't see in the admin section is a link to music database management.
I got no errors installing it but no Music Database. Any ideas?
Too many SMF boards open. It's there.
-Jazhawk
me the mods won't load
i don't know what to do to make it works
Install Actions for archive musicdb.2.4.tar.gz:
Installing this package will perform the following actions: Type Action Description
1. Execute Modification ./index.php Success
2. Execute Modification ./Sources/ManagePermissions.php Success
3. Execute Modification ./Themes/default/languages/ManagePermissions.english.php Success
4. Execute Modification ./Themes/default/languages/Errors.english.php Success
5. Execute Modification ./Themes/default/index.template.php Success
6. Extract File ./Sources/Music.php
7. Extract File ./Themes/default/Music.template.php
8. Extract File ./Themes/default/MusicAdmin.template.php
9. Extract File ./Themes/default/languages/Music.english.php
10. Extract File ./Themes/default/languages/MusicAdmin.english.php
11. Extract File ./Themes/default/images/english/music.gif
12. Extract File ./Themes/default/images/english/music_admin.gif
13. Execute Code install_sql.php
i change it to 777 still not upload to my server....
help pls
Looks great! I'm gonna play around with this and modify the fields a bit, but I think I might be able to use this :)
i have lil problem with the music mods..
when iam trying to add song and edit
it gave me that error
An Error Has Occurred!
Invalid argument supplied for foreach()
Add / Edit all genres
Add / Edit all artists
Add / Edit all albums
Add / Edit all songs
Edit Song:
Add a new song:
Album Title:
Track #: Song Title: Song Length: (MM:SS) Artist Name
can anyone help pls?
You have to add an album or an artist or something first and then that will work fine.
yeah. version 2 doesnt really have proper error handling :)
Its a dumb question but I'm sure I'm not the only one who wants to know. What does this mod actually do? Obviously mp3's and pictures can be uploaded and there is voting yada, yada, ya-yo but what about that? Can the mp3's be listened do like a music jukebox from the desktop? Downloaded to listen to? What? Feel free to PM a response if need be.
-Jazhawk
I would assume you can listen to the MP3 or save it to your computer and listen to it, but I don't know because I haven't tried that yet.
Yes I assume that and it would be sweet if I could listen to mp3's streamed to my PC but I'm not exactly sure how this is suppose to function Oldiesman.
-Jazhawk
can anyone share the musicadmin.gif button here with me? thank you
Quote from: mennou on February 16, 2005, 02:36:12 PM
can anyone share the musicadmin.gif button here with me? thank you
All you need to do is rename the gif on the server. It's what I did and it shows up.
-Jazhawk
is there any radio mods available??
Quote from: mennou on February 16, 2005, 06:49:15 PM
is there any radio mods available??
what do you mean any radio mod???
A mod that i can add my radio ...............
i want to add my radio on my smf radio.........
Anyone dare to venture a guess?
-Jazhawk
Hi,
i got probs getting da package!
I installe dur Package serve, but all i get is this:
QuoteMultiple Choices
The document name you requested (/packages/index.php) could not be found on this server. However, we found documents with names similar to the one you requested.
Available documents:
* /packages/index.html?package-list&language=english&ref=http://mysite.com/path/bbs (common basename)
Now when i click this URL i get this:
QuoteThis folder is setup for my package server for Simple Machines Forum software. You cannot access this folder directly. Instead, you must add this url to your package server list.
Instructions:
1. Goto http://mysite.com/smf_install_dir/index.php?action=packages
where mysite.com is your domain, and smf_install_dir is your SMF installation directory.
2. click on [ Download New Packages ]
3. under where it says "Add Server"
in "Server Name:" type "Cheschire's Package Server"
in "URL:" type http://nrrds.com/packages
4. My package server should now appear on the list under [ Download New Packages ]
Sooo my question is their a way to download this package manuelly?
I guess my custom bbs theme has somewhere a bug which blogs the package thingy, and yes i already tried manuelly http://www.mysite.com/path/bbs/index.php?action=packages and i run latest version (1.0.2)
Help is appriciated cheers
Quote from: Jazhawk on February 16, 2005, 10:41:43 AM
Its a dumb question but I'm sure I'm not the only one who wants to know. What does this mod actually do? Obviously mp3's and pictures can be uploaded and there is voting yada, yada, ya-yo but what about that? Can the mp3's be listened do like a music jukebox from the desktop? Downloaded to listen to? What? Feel free to PM a response if need be.
-Jazhawk
lol this mod is supposed to act as a lyrics database primarily. There are lots of music websites on the net, and usually they have really low quality grammar and spelling, or they are incomplete, etc. A lot of people have the odd hobby of collecting lyrics to their favorite songs, so I wrote this mod for that. Along the way, someone asked if they could attach music samples as well. I figured it would be a nice addition. Then people wanted album covers, etc. Now you start getting into lots of file handling. So now I have to work on a file manager as well.
This mod will eventually overtake all that is SMF and it will become an entire system in which SMF is the backbone.
The only problem is I am not like [Unknown] and I don't code 24/7/365. I only code in spurts that last about 4 weeks, and then I stop for about 2 to 3 months. It's how I keep from getting burned out. I mix in art, outdoors, clubbing, photography, movie watching, gaming, etc.
Quote from: roboter on February 28, 2005, 10:05:27 AM
Hi,
i got probs getting da package!
I installe dur Package serve, but all i get is this:
QuoteMultiple Choices
The document name you requested (/packages/index.php) could not be found on this server. However, we found documents with names similar to the one you requested.
Available documents:
* /packages/index.html?package-list&language=english&ref=http://mysite.com/path/bbs (common basename)
Now when i click this URL i get this:
QuoteThis folder is setup for my package server for Simple Machines Forum software. You cannot access this folder directly. Instead, you must add this url to your package server list.
Instructions:
1. Goto http://mysite.com/smf_install_dir/index.php?action=packages
where mysite.com is your domain, and smf_install_dir is your SMF installation directory.
2. click on [ Download New Packages ]
3. under where it says "Add Server"
in "Server Name:" type "Cheschire's Package Server"
in "URL:" type http://nrrds.com/packages
4. My package server should now appear on the list under [ Download New Packages ]
Sooo my question is their a way to download this package manuelly?
I guess my custom bbs theme has somewhere a bug which blogs the package thingy, and yes i already tried manuelly http://www.mysite.com/path/bbs/index.php?action=packages and i run latest version (1.0.2)
Help is appriciated cheers
It sounds like you just aren't setting up the package server properly. Did you read this whole thread already because I know some other people had similar issues, and were helped already.
Thanx for the info. Now are the samples playable online through this utility? Would be great if it works that way.
-Jazhawk
they already are in the v3.0 alpha on my pkg server.
Quote from: Cheschire on March 07, 2005, 11:39:37 AM
they already are in the v3.0 alpha on my pkg server.
Cool!!!!! Now Hurrup and get this thing to beta so I can test it out. :thumbsup:
-Jazhawk
the music db is on hold at the moment until I can get a beta of my filemanager mod done. The music db will tie into the file manager, allowing music files, album covers, etc to be uploaded, and assigned to individual artists, albums, and songs.
It's a bit too complicated right now with figuring out how to handle everything. I think I am going to take a shorthanded approach though, and leave out specific permissions until after I get into the beta testing for the file manager. Once I get it in beta, I will start tieing in the music database stuff, and get the music db to beta stage. then I will bounce back and forth supporting the two and adding minor features until they are both stable.
btw I am just now entering back into my coding phase again. It will take me a couple weeks to really gear up, but I think I should have the file manager at least released in the next month.
YES!!
*hooking up waterline to Cheschire's automatic coffee maker while Juan Valdez delivers 50 lb. burlap sacks of rich, columbian coffee*
Keep us posted!
-Jazhawk
aight I am gonna go release an alpha package for the file manager in a second. I have a working demo of the filemanager alpha package here:
http://nrrds.com/forum/index.php?action=filemanager
Now mind you, this thing is still pretty hackable, as I was focused solely on functionality and hardly at all on security. This is super alpha, and I don't recommend anyone installing it yet to be honest. I'm just making it a package myself so I can start working on integrating the music db into it, and then testing whether it works with a clean install or if i have to hack it to make it work, then fix, rinse, repeat.
Also, I am keeping the guest account limited right now so that I can test the permissions. You need to register to see the full functionality.
aight. I've gotten the music database and teh file manager to work together on a basic level. Now it's just a matter of finalizing some of the stuff before i release the latest alpha package. I expect to release a workable package by the weekend.
woo, there goes the weekend.
I actually got what I wanted accomplished, accomplished. There's a few issues though. First, there's a lot of errors being generated by some stupid stuff that I never noticed due to my error logging being turned off. Some of the pages have loops that generate up to FIVE freaking pages of errors. So if the mod gets installed, you need to disable error logging.
Second, I forgot I needed to package the file manager too, and since I haven't designed teh package for that yet, this is gonna take a bit.
And finally, I need to add some error handling code so when someone installs the mod for the first time with an empty database, they won't get hit with a page full of errors.
sup bro. i was thinking can the filemanager be distributed as a separate mod for smf also as i would like to use it to upload files to my music playlists but i want to gve certain users the right to upload to it.
Quote from: LiL_J on March 21, 2005, 05:37:36 PM
sup bro. i was thinking can the filemanager be distributed as a separate mod for smf also as i would like to use it to upload files to my music playlists but i want to gve certain users the right to upload to it.
I second that 8)
i was giving the filemanager a try it looks nice but permissions not working properly. also it would be nice if you could specify folders outside the forum folder. like a folder in the root dir.
disregard that i didnt see the extra config info in the edit features and options. now its up and running. ima give it a try with the member specfic mod to see how it goes.
Quote from: babylonking on March 22, 2005, 09:25:58 AM
Quote from: LiL_J on March 21, 2005, 05:37:36 PM
sup bro. i was thinking can the filemanager be distributed as a separate mod for smf also as i would like to use it to upload files to my music playlists but i want to gve certain users the right to upload to it.
I second that 8)
I third that.
Quote from: Elijah Bliss on March 23, 2005, 02:22:44 AM
Quote from: babylonking on March 22, 2005, 09:25:58 AM
Quote from: LiL_J on March 21, 2005, 05:37:36 PM
sup bro. i was thinking can the filemanager be distributed as a separate mod for smf also as i would like to use it to upload files to my music playlists but i want to gve certain users the right to upload to it.
I second that 8)
I third that.
as i have seen thats how it is working and all you do then is upload the music and the picture to the corresponding folder and your set. also you can do a new member group that has acess to it. the member permissions are as follow
File Manager Create directories
Remove directories
Rename directories
Upload files
Delete files
Own files:
Any files:
Rename files
Own files:
Any files:
i was thinkin the mod should allow multiple file uploads
Is there a timeline that the new package might get to beta status? I know it isn't likely there yet (and it is difficult to give timelines anyway), but I'm looking forward to these modifications as this is much better than what the original 2.5 offers. I installed that one but am waiting to integrate this into my site until the newest one with the File Manager is available as a beta (I can't put an alpha onto a production board) since I'd like to have the pics and music available to users with the least work on my part heh
alright, lots of posts to respond to here:
Quote from: Elijah Bliss on March 23, 2005, 02:22:44 AM
Quote from: babylonking on March 22, 2005, 09:25:58 AM
Quote from: LiL_J on March 21, 2005, 05:37:36 PM
sup bro. i was thinking can the filemanager be distributed as a separate mod for smf also as i would like to use it to upload files to my music playlists but i want to gve certain users the right to upload to it.
I second that 8)
I third that.
Lil_J didn't realize that this was actually how the package was laid out. I listened to y'all before you even said anything ;)
Quote from: LiL_J on March 23, 2005, 08:20:39 PM
i was thinkin the mod should allow multiple file uploads
It's on my list of things to do. Mind you the file manager is still in uber alpha.
Quote from: Miraenda on March 25, 2005, 01:23:46 PM
Is there a timeline that the new package might get to beta status? I know it isn't likely there yet (and it is difficult to give timelines anyway), but I'm looking forward to these modifications as this is much better than what the original 2.5 offers. I installed that one but am waiting to integrate this into my site until the newest one with the File Manager is available as a beta (I can't put an alpha onto a production board) since I'd like to have the pics and music available to users with the least work on my part heh
The next beta package will be finished here shortly I hope, but given my career (U.S. Army) I don't have the ability to lay out exact timelines for my non-work-related projects. everything revolves around the army. Hooah?
As far as the beta status on the music mod goes, sure it will hit beta soon, but remember that the file manager is still in alpha. You will NEED the file manager to use the music database, so while the music database is in beta, you will be using an alpha package with it, effectively making it an alpha package still. Ah the problems of multiple mods working together!
Here's how I personally like to classify beta and alpha packages...
alpha testing is when I am adding new features. since they have not been tested hardly and all and things are in constant flux, there's no telling what could happen.
beta testing is when I have sorta hit a feature freeze, and even though I am not adding anymore features, I am still solidifying the features that are in there, so while each beta release represents a tested release, there are still bugs that need to be worked out, and some of the features need a little more fleshing out.
stable releases are when all features are stable, and no bugs can be found in any tests. granted there are always chances for bugs and such but this is as stable as it will get.
version 1, 2, 3 are how i group new sets of features. When I want to add stuff, I generally do it with a new version.
version 1.1, 1.2, 1.3 are bugfixes for the most part, and maybe a little more work on currently existing features.
This is not the standard by any means for anyone elses numbering schemes. This is just how I personally like to roll.
And there we have it. the musicdb 3.0 beta 2 is on my package server.
also, the file manager mod, 1.0 alpha 1 is there too.
PLEASE PLEASE PLEASE PLEASE PLEASE
For god's sake, understand that the file manager mod has hardly any security on it at the moment. sure it has the simple machines permission sets built into it already, but it doesnt have protection against hackers.
ONE MORE BIG PROBLEM!!
You will have to completely remove all versions of the music database previously installed. This means removing all tables, all files, everything, in order to use this version. I will make a converter for v2.5 -> v3.0 later, but for now, there is no converter. Fresh install, or the large website gnome will trash your stuff!
Hi Cheschire thanks for updating the music database, I just installed but i am getting the error message below when i click on music or file manager link in admin Edit Features and Options.
Quote2: Invalid argument supplied for foreach()
File: /home/babylon/public_html/forum/Sources/ModSettings.php
Line: 598
it must be conflicting with other mods you have installed. attach a copy of your ModSettings file so I can check out the problem. thanks
Quote from: Cheschire on March 27, 2005, 01:34:13 PM
it must be conflicting with other mods you have installed. attach a copy of your ModSettings file so I can check out the problem. thanks
here you go :)
actually it looks like you may have installed it twice or something. I haven't really put much into the uninstall yet, so I haven't tested its ability to remove all the code properly.
I suggest you uninstall the mod, and then search for anything having to do with "music", "mdb", or "fm_folders" manually, assuming you have a fast way to search all your text files.
here's the block of code i found doubled at the top of that file you attached:
// Setup $fm_folders
$request = db_query('SELECT * FROM ' . $db_prefix . 'files_folders', __FILE__, __LINE__);
while ($hash = mysql_fetch_array($request))
$folders[$hash['ID_FOLDER']] = array(
'ID_FOLDER' => $hash['ID_FOLDER'],
'folderName' => $hash['folderName'],
'ID_MEMBER' => $hash['ID_MEMBER'],
'timeCreated' => $hash['timeCreated'],
'parentFolder' => $hash['parentFolder'],
'comment' => $hash['comment'],
);
if ($folders)
{
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'];
}
}
$fm_folders = array();
foreach($folders as $ID_FOLDER => $folderhash)
$fm_folders[$ID_FOLDER] = $folders[$ID_FOLDER]['fullPath'] . $folderhash['folderName'];
asort($fm_folders);
// Just to be clean
unset($folders);
}
Quote from: Cheschire on March 28, 2005, 02:37:41 AM
actually it looks like you may have installed it twice or something. I haven't really put much into the uninstall yet, so I haven't tested its ability to remove all the code properly.
I suggest you uninstall the mod, and then search for anything having to do with "music", "mdb", or "fm_folders" manually, assuming you have a fast way to search all your text files.
here's the block of code i found doubled at the top of that file you attached:
// Setup $fm_folders
$request = db_query('SELECT * FROM ' . $db_prefix . 'files_folders', __FILE__, __LINE__);
while ($hash = mysql_fetch_array($request))
$folders[$hash['ID_FOLDER']] = array(
'ID_FOLDER' => $hash['ID_FOLDER'],
'folderName' => $hash['folderName'],
'ID_MEMBER' => $hash['ID_MEMBER'],
'timeCreated' => $hash['timeCreated'],
'parentFolder' => $hash['parentFolder'],
'comment' => $hash['comment'],
);
if ($folders)
{
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'];
}
}
$fm_folders = array();
foreach($folders as $ID_FOLDER => $folderhash)
$fm_folders[$ID_FOLDER] = $folders[$ID_FOLDER]['fullPath'] . $folderhash['folderName'];
asort($fm_folders);
// Just to be clean
unset($folders);
}
ohh i see, The best way is to upgrade my forum to latest version ;)
Thanks again :)
ah well yeah that would do the trick too :)
by the way I will be posting a button for the filemanager probably tomorrow. I had one done today, but freaking used the wrong template so its too tall.
pain in the ass making my own photoshop templates since I cant afford to buy your originals *sigh*
is the filemanager working fine now?
if not can someone tell me when it's gonna be available thank you
it works. its just in alpha. I havent even added a button for it yet, so you have to manually type "?action=filemanager" on the end of your url to use it.
The file manager will have its own thread when I feel like its release-worthy. For now, its closer to an extension of the music database than a standalone mod. Once I get some more features in it, then I will try to release a beta to the mod site here.
Quote from: Cheschire on March 29, 2005, 03:28:33 AM
ah well yeah that would do the trick too :)
by the way I will be posting a button for the filemanager probably tomorrow. I had one done today, but freaking used the wrong template so its too tall.
pain in the ass making my own photoshop templates since I cant afford to buy your originals *sigh*
Here is the file manager button 8)
hey i get both these error when trying to access file manager and music in admin panel.
File Manager
2: Invalid argument supplied for foreach()
File: /home/goodwinn/public_html/forum/Sources/ModSettings.php
Line: 665
music
2: Invalid argument supplied for foreach()
File: /home/goodwinn/public_html/forum/Sources/ModSettings.php
Line: 665
if anybody could help me out, it would be much appreciated.
Cheers
Mike G.
Quote from: babylonking on March 29, 2005, 09:32:01 AM
Here is the file manager button 8)
you da man (https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwarpstorm.com%2Fcommunity%2FSmileys%2Fwarpstorm%2Fup.gif&hash=939b47eafa12ffb13cff4fb0316ee7b957f2f3b8)
Quote from: goodwinner on March 30, 2005, 05:23:55 AM
hey i get both these error when trying to access file manager and music in admin panel.
File Manager
2: Invalid argument supplied for foreach()
File: /home/goodwinn/public_html/forum/Sources/ModSettings.php
Line: 665
music
2: Invalid argument supplied for foreach()
File: /home/goodwinn/public_html/forum/Sources/ModSettings.php
Line: 665
if anybody could help me out, it would be much appreciated.
Cheers
Mike G.
sounds like a similar issue to the BK's. Post your Sources/ModSettings.php file please
aight. filemanager 1.0a2 released on my pkg server.
Changelog:
1.0a2
* added "Files" graphic button (thx to babylonking!)
* downloads are now done through the script, so file paths can't be figured out
* added more filetype icons
* fixed a couple install bugs
* renamed a couple functions to save from confusion with other mods later
* maximum file size and directory size configurable in admin page
* file size is now checked by script, not just html (asshole prevention)
I upgraded to 1.1 beta 1 yesterday and I can't seem to pull up the lyrics db anymore.
I added:
'music' => array('Music.php', 'Music'),
'musicadmin' => array('Music.php', 'MusicAdmin'),
into index.php. Is there something else I'm missing?
Thanks,
Jason
Quote from: charlottezweb on April 03, 2005, 10:00:11 PM
I upgraded to 1.1 beta 1 yesterday and I can't seem to pull up the lyrics db anymore.
I added:
'music' => array('Music.php', 'Music'),
'musicadmin' => array('Music.php', 'MusicAdmin'),
into index.php. Is there something else I'm missing?
Thanks,
Jason
yeah man. you need to re-read my post:
Quote from: Cheschire on March 26, 2005, 12:19:02 PM
ONE MORE BIG PROBLEM!!
You will have to completely remove all versions of the music database previously installed. This means removing all tables, all files, everything, in order to use this version. I will make a converter for v2.5 -> v3.0 later, but for now, there is no converter. Fresh install, or the large website gnome will trash your stuff!
The problem is that I renamed and added stuff to the sql tables, so its all sorts of different now.
if you were knowledgeable in sql, you could import the stuff on your own. you just gotta figure out how to import the stuff from table to table.
Is this package server down?
http://nrrds.com/packages
Where can i get the Music Database 3.0?
-ØL
Quote from: oyvindl on April 04, 2005, 06:30:53 PM
Is this package server down?
http://nrrds.com/packages
Where can i get the Music Database 3.0?
-ØL
no the package server is up. currently the music database 2.5 is the current most stable version then there is 3.0 beta 2. if you new to smf i say wait for 3.0 final or stick to 2.5. or if u want 2 try it out the beta use it on a test board first to make sure everything is fine. its up to you. also 3.0 beta 2 need the filemanager installed. ask Cheschire so he can give you mor edetaile dinfo if you want.
Is there a working model of the latest version of the Music Database? I've been keeping track of this and I decided to wait till it becomes final.
I don't have any working models installed at the moment due to the fact that I spent the last couple days refurbishing my old mods, so my beta board kept getting reinstalled to test the packages.
Lil_J usually installs all the latest versions though even though I repeatedly say not to ;) so you can probably ask him where he keeps it installed.
As far as figuring out WHEN the mdb will be final, I was waiting to release a stable version until the filemanager becomes stable, but I think I can add some admin options that hide all of the aspects that rely on the filemanager mod until that gets a stable release.
Quote from: Cheschire on April 04, 2005, 04:40:37 AM
Quote from: charlottezweb on April 03, 2005, 10:00:11 PM
I upgraded to 1.1 beta 1 yesterday and I can't seem to pull up the lyrics db anymore.
I added:
'music' => array('Music.php', 'Music'),
'musicadmin' => array('Music.php', 'MusicAdmin'),
into index.php. Is there something else I'm missing?
Thanks,
Jason
yeah man. you need to re-read my post:
Quote from: Cheschire on March 26, 2005, 12:19:02 PM
ONE MORE BIG PROBLEM!!
You will have to completely remove all versions of the music database previously installed. This means removing all tables, all files, everything, in order to use this version. I will make a converter for v2.5 -> v3.0 later, but for now, there is no converter. Fresh install, or the large website gnome will trash your stuff!
The problem is that I renamed and added stuff to the sql tables, so its all sorts of different now.
if you were knowledgeable in sql, you could import the stuff on your own. you just gotta figure out how to import the stuff from table to table.
I didn't upgrade your mod at all so I'm not following you here...had I changed your mod, that would make sense to me...
Do I need to upgrade it in order for it to work with 1.1. beta 1?
Thanks,
Jason
Do any of the mods work with the beta version 1.1 beta 1 of smf? I thought we were advised to not install the beta smf for a site with mods because mods have not yet been changed to work with this new beta version at all?
I don't believe it's true that *ALL* don't work, but I can see ones that are heavily imbeded might not. This one is basically independent except for some calls for the music pages -- Cheschire, correct me if I'm wrong. I'm no expert, but I believe SMF versions shouldn't impact this mod once installed for the most part -- (other than needing to update the newer files to input the proper include commands which I thought I'd one). Again, I'm no expert, so I'm sure someone will correct me if I'm wrong!
-Jason
right sorry i didnt read your post close enough. too many 1's so i guess i just saw the "beta" and was like omgz dont install it!!1 1
right so anyways, i havent tried it with beta 1.1 yet. i have no idea what problems there may or may not be. most likely this will mean a 2.6 release. ******. that means i probably have to go clean up some more code. maybe work in a better uninstaller or something. oh well. dual trees. this is horrid. i need more people to work on a mod this large.
Where I can edit the max length of lyrics? I think the allowed amount of letters is too small :-\
geez you think 2000 characters is too small? you might want to try not repeating choruses...
anyways just do a search for something like 2000 or 2500 or something. i think i will make that an admin interface option in 3.0
ah btw i just released 2.6 in the stable branch. those of you still using 2.5, i suggest downloading this before rolling over to SMF 1.1.
It wasnt any big changes. I dont have time to work on 2 mods with more than one branch, so i only changed what i needed to make it work in 1.1. I didnt add or remove anything else.
Quote from: Cheschire on April 08, 2005, 05:46:57 PM
right sorry i didnt read your post close enough. too many 1's so i guess i just saw the "beta" and was like omgz dont install it!!1 1
right so anyways, i havent tried it with beta 1.1 yet. i have no idea what problems there may or may not be. most likely this will mean a 2.6 release. ******. that means i probably have to go clean up some more code. maybe work in a better uninstaller or something. oh well. dual trees. this is horrid. i need more people to work on a mod this large.
Well, it's not that I get any error messages, I just don't get the lyrics page. It just refreshes my main page boardindex. So it may be an oversight of some piece somewhere on my part?
This is what you get for designing such a needed and awesome mod! :D
Regards,
Jason
Quote from: charlottezweb on April 08, 2005, 07:28:09 PM
Quote from: Cheschire on April 08, 2005, 05:46:57 PM
right sorry i didnt read your post close enough. too many 1's so i guess i just saw the "beta" and was like omgz dont install it!!1 1
right so anyways, i havent tried it with beta 1.1 yet. i have no idea what problems there may or may not be. most likely this will mean a 2.6 release. ******. that means i probably have to go clean up some more code. maybe work in a better uninstaller or something. oh well. dual trees. this is horrid. i need more people to work on a mod this large.
Well, it's not that I get any error messages, I just don't get the lyrics page. It just refreshes my main page boardindex. So it may be an oversight of some piece somewhere on my part?
This is what you get for designing such a needed and awesome mod! :D
Regards,
Jason
nah the problem was just the way that i queried mysql. i dunno what changed in SMF 1.1 but i had a good idea of what was causing hte issue. luckily my first guess was rigt and it was an easy fix.
Music Database Beta 3 released!
The primary focus for this release was to get the mod working without the filemanager, so that I can hit a stable release on htis mod without having to do so on the file manager.
Please uninstall the old version before installing this version. There is no upgrade script, and lots of random changes have been made that you wont want to make yourself.
Changelog -
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
Maybe this is a very stupid question cause I still dindt finished reading all other posts but still
I just installed the mod, everything says succesful.
But nothing appears, or what m I supposed to see or do?
I don't see the option in the control panel erither ( Edit Features and Options ).
help!
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.muziek4um.nl%2Fforum%2FSmileys%2Fdefault%2Foops.gif&hash=99039f4b92688cecd959265c43dbd8d2fa850d4a)
Sorry, already figured out, it's installed in the default theme. ;D
Well have to modify the prefered theme manually.
Very Nice mod Cheschire!!!
Ed
danke. yeah i would make it modify all themes but there's no telling what peoples themes look like, and besides the buttons i have included dont look right under other themes :)
yeah it's ALIVE!!! It's a great one!
I did the modifications and it looks good. Quickly made some buttons and already looks and work good.
Actually it's always like that with mods(the default theme) but this morning I was still sleeping.:D
Tnx for notifying me on this one (and of course for making it too).
Ed
PS.
There's only 1 problem: I dont see anything about it in the Control panel of the forum. Is it supposed to appear there too? And other members then me can't see the Mod.
two places. first, in the permissions area. you gotta set permissions per membergroup. you dont want guests editing your music!! (or maybe you do?)
second place is at the bottom of "Features and Options" but thats only in 3.0+
A'ha! Thanks!
I have it in the permissions.
I dont have it on "Features and Options"
did you install 2.5 or 3.0 beta 3?
No Idea, I got the one from the link at the first message of this topic.
But in the Package manager it says version 2.5
I never trusted that thing though.
But I have to say this is the first mod the really worked straight away from the pakcage manager for me.
heh. well 2.5 is old. its nice for the lyrics, but it doesnt do files too well at all. 3.0 does way better on file handling, and it just feels more solid as far as the rest of the site is concerned IMHO. things are a little more intuitive now than 2.x
oh, i mean 2.6. I forgot i released that update the other day.
Cheschire, this is looking really good. I decided to go ahead and install the beta music database and the alpha file manager onto a test account I'm running (don't want to use it on my writing forum that is a live site yet), and I am going to try to actually convert it to be more than just a music database but a media database in that I also want to use it for movies (the genres are the types of movies like drama, horror, etc.; the artists the actors, directores, etc.; the albums the films themselves; and the songs will be the story details and/or reviews). I think this could be converted to use even for like games, books, and others along the same lines and so why I'm calling it a media database for mine. This will go better with my site that has movie, book, and music reviews in one area of the forum.
I just want to thank you for working so hard on this mod as the options it is offering already are very complex and the potential is really great once everything is working together fully (https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fbestgarden.net%2Fsmilies%2Fthumb.gif&hash=fef4d25799562c6654bc97f1e645bdea20079cd9)
you know like a year or more ago when i started this mod, i wanted to make it a media database mod. eventually i went with the thought that i should stick with the music portion until it was solid, then move on to other aspects. Movies was my next choice actually. I was thinking about changing the lyrics page into a review thing for hte movies, and eventually tieing in threads so multiple people could write reviews for it.
i realized along the way though that music is very complex by itself, and each aspect of media is equally complex in its own right, so while this mod could be remodded into other aspects of media pretty easily, I don't quite see it coming all together like that. I'm thinking once this mod is pretty much "done" then I can move on and modify this thing into other aspects of media and package them separately.
its good to see that people are thinking outside the box with this mod though. gets me all motivated and stuff to get it ready faster! :)
Thanks Cheschire. Will upgrade tomorrow and post back :)
Regards,
Jason
I think I'll give this a spin very soon.
there was an issue i found late last night that kept the file manager features from working properly. Gotta release a bugfix today.
I think i will try to get the upgrader to work on this version though.
Alright guys! Beta 4 released today! I know I know, I just released beta 3, but when I find time to do things, I do 'em. I just happened to find 3 whole days where I wasn't doing much of anything, so here we are!
This is the last beta test hopefully. I have completed my "todo" list for version 3. everything else has been pushed to "version 4" but in reality it could just be version 3.1 or whatever. I really dont care. all I know is 3.0 is done as far as adding stuff goes. The rest is all bugfixes.
Those of you with large databases already established in version 2.x, it would be really cool if you could backup your stuff, and try out the upgrade script included with this latest version. It only upgrades version 2.5 and 2.6 SQL tables to beta 4.
I have realized that upgrading is highly dangerous with mods, because everyone writes mods differently. As such, the only upgrading that I will ever do in the future is SQL tables. Before you install any version of this mod, you need to uninstall the old version, which wont remove hte database, and then install the new version. Since the latest version comes with the sql table updater, there's no reason why this shouldn't suffice.
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
Eeks!!! I should not have done the upgrade (to version 3 beta) but now it doesn't work at all.
Table 'muziek4u_homerecords.yabbse_music_artists' doesn't exist
File: /home/muziek4u/public_html/forum/Sources/Music.php
Line: 118
Now I installed version 2.6 from the package manager server and it's alive again. (https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.muziek4um.nl%2Fforum%2FSmileys%2Fdefault%2Fhammer.gif&hash=f0843de755a815c1d90fc56745ed0e4d4966f7e5)
It's probably the " Looks like you still have fragments from an old Music Database instal " thing.
Now I delted evrything from the package maner but still says:
2: Invalid argument supplied for foreach()
File: /home/muziek4u/public_html/forum/Packages/temp/check_oldvers.php
Line: 24
awesome. that means the upgrade script didnt work. that's odd since it worked fine on mine.
****** a duck with a spork.
oh well this is why its still beta right? anyways how do you access your mysql tables? do you use SSH or phpMySQL?
Yeah it says so (beta) :D
phpMySQL
Quote from: Homerecording man on April 10, 2005, 10:08:38 AM
Eeks!!! I should not have done the upgrade (to version 3 beta) but now it doesn't work at all.
Well actually you helped a lot cuz if you hadn't then someone else would have gotten screwed, so you saved someone who might not have been able to figure out how to fix it as fast as you did yourself right?
Quote
It's probably the " Looks like you still have fragments from an old Music Database instal " thing.
Now I delted evrything from the package maner but still says:
2: Invalid argument supplied for foreach()
File: /home/muziek4u/public_html/forum/Packages/temp/check_oldvers.php
Line: 24
oh im a ******ing retard. It's a typo.
find this line:
foreach($key as $word)
change to:
foreach($keys as $word)
I'm still at a loss though because I don't know why my stupid server didn't pick up on that. I ran a clean install AND an upgrade and didnt have any issues with this.
Are you using SMF 1.1 or SMF 1.0?
ah nevermind i see you are using smf 1.0.
dammit I haven't tested with that yet. I knew I should have, but I thought I might get away with not testing because there shouldn't have been THAT much that changed. I guess I was wrong.
Quote from: Cheschire on April 10, 2005, 11:01:13 AM
oh im a ******ing retard. It's a typo.
find this line:
foreach($key as $word)
change to:
foreach($keys as $word)
I'm still at a loss though because I don't know why my stupid server didn't pick up on that. I ran a clean install AND an upgrade and didnt have any issues with this.
Are you using SMF 1.1 or SMF 1.0?
LOL! Ok, I'll check those lines.
I using SMF 1.0.1
alright download the same 3.0 beta 4 again. I updated that package file and just dumped the check_oldvers.php file so it doesnt check anymore. I don't know what the hell is going on with it.
In changed the line into
foreach($filecontents as $line)
foreach($keys as $word)
if (stristr($line,$key))
But it still dont work.
yeah i know. just redownload 3.0 beta 4. I removed that whole file.
Ok Done! It installed succesfully!
I also upgraded the Package manager before maybe shoundn't have done that :(
Anyway: It still gives an error now:
Quote
2: call_user_func(MusicAdmin): First argument is expected to be a valid callback
File: /home/muziek4u/public_html/forum/index.php
Line: 119
that means it didnt change the index.php in your main SMF directory.
you should probably try uninstalling the music mod entirely (the SQL will still exist so you wont lose your data), and you should go ahead and install SMF 1.0.3 from the downloads page (not the package manager version).
try that and then reinstall the music mod.
by the way sorry you are dealing with this hassle. its really not a big deal if you know a lot about how the message board works, but for someone who doesn't make mods, it might seem like your whole board is gonna crash. Don't worry about it too much. The only problems that ever really destroy message boards are scripts that try to modify the default SMF SQL tables. That's why it's good practice to never do that, and also why I personally don't do that. As long as the integrity of those tables is maintained, fixing any problem in your message board is cake.
Quote from: Cheschire on April 10, 2005, 11:38:10 AM
that means it didnt change the index.php in your main SMF directory.
you should probably try uninstalling the music mod entirely (the SQL will still exist so you wont lose your data), and you should go ahead and install SMF 1.0.3 from the downloads page (not the package manager version).
try that and then reinstall the music mod.
I was already thinking about that.
I go for it.
Tnx for the advises.
Ed
Quote from: Cheschire on April 10, 2005, 11:41:46 AM
by the way sorry you are dealing with this hassle. its really not a big deal if you know a lot about how the message board works, but for someone who doesn't make mods, it might seem like your whole board is gonna crash. Don't worry about it too much. The only problems that ever really destroy message boards are scripts that try to modify the default SMF SQL tables. That's why it's good practice to never do that, and also why I personally don't do that. As long as the integrity of those tables is maintained, fixing any problem in your message board is cake.
Thats no problem at all Cheschire. I'm already very glad someone is woking on modifications like this one.
Arrrgh... version 3.0 beta gives an error with SMF version 1.0.3 too.
2.6 seems to works properly.
what errors are you getting?
It said...
2: Invalid argument supplied for foreach()
File: /home/muziek4u/public_html/forum/Packages/temp/install_sql.php
Line: 19
I did al the upgrading stuff, I have Smf 1.0.3 now and no other upgrades available.
The weird thing always happens to me again happened... The upgrade action deleted all my old mods and manual modifications (https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.muziek4um.nl%2Fforum%2FSmileys%2Fdefault%2Fwallbash.gif&hash=211ca7b122ae6bc37d30be4bf98c311ac2e604f2) but I put it all back again. But that was completely my own fault cause I never get the point which file i have to install... The Upgrade or the Update, the big or the small one.
Anyway Now I loaded again Music Database 2.6 and it works again although it doesnt have the data from before the forum update. The forum has all other data except the one from the music database.
But still Installing mod version 3.0 beta doesnt work.
Maybe I have to copy all new code manually to the old files. ?
Tnx.
Ed
OK, I installed the beta version, it upgraded and installed fine, except for the sort up and sort down buttons do not appear properly. The file it is looking for is sort_up%20.gif or sort_down%20.gif. but other than that it is fine! I am going to try and install both the filemanager and music database and see what happens. I'll let you know!
Sea Of Sin
Quote from: SeaOfSin on April 11, 2005, 08:29:02 PM
OK, I installed the beta version, it upgraded and installed fine, except for the sort up and sort down buttons do not appear properly. The file it is looking for is sort_up%20.gif or sort_down%20.gif. but other than that it is fine! I am going to try and install both the filemanager and music database and see what happens. I'll let you know!
Sea Of Sin
found the problem. it will be fixed in the next release.
Quote from: Homerecording man on April 10, 2005, 02:11:17 PM
It said...
2: Invalid argument supplied for foreach()
File: /home/muziek4u/public_html/forum/Packages/temp/install_sql.php
Line: 19
OH OH OH I know what the damn problem is!!! I never tried installing the upgrade to 2.6 over top of an empty database!! fixed in next release
Version 3.0 beta 5 is now available on my package server. A few bugfixes. Nothing too major. very very very close to a stable release. I can smell it!
************
IF YOU ARE UPGRADING, do not install any version without first uninstalling any previous versions. The SQL tables will stay on your server so your data will not be erased. There's just too many problems with trying to upgrade code. I have tried several times and it's just not flying. You have to uninstall old versions before installing new versions.
************
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.
The next release, RC1, will have a new theme. Very much cleaner, and more intuitive IMHO.
you can see it here:
http://nrrds.com/beta/index.php?action=music
(that's my test board, so you may or may not get error messages every so often, and you might see ****** change as you load different pages while im working. dont comment, just accept that things are getting worked on ;) )
PLEASE TEST THE BETA!!!
I need all the testing I can get before I do this release candidate, and then the RC will need lots of testing before the final release. I'm very excited to get this out, and I would love to see it out this weekend as a final, stable release!
[RC1 update]
* fixed bug where 1st artist name showed instead of "Various Artists" on multi-artist albums
OK, so far with Beta 5 everything looks great!
Now I installed the filemanager this time before installing the new beta version and it lets me create directories and upload files but it always puts it in the main directory and not the sub directory.
I think maybe I have something wrong. The filemanager settings I have are the url http://www.yoursite.com/filemanager and physical directory or /home/userid/public_html/filemanager
Are these correct?
Other than that though everything looks great!
Sea Of Sin
Quote from: Cheschire on April 12, 2005, 03:22:14 PM
The next release, RC1, will have a new theme. Very much cleaner, and more intuitive IMHO.
you can see it here:
http://nrrds.com/beta/index.php?action=music
(that's my test board, so you may or may not get error messages every so often, and you might see ****** change as you load different pages while im working. dont comment, just accept that things are getting worked on ;) )
PLEASE TEST THE BETA!!!
I need all the testing I can get before I do this release candidate, and then the RC will need lots of testing before the final release. I'm very excited to get this out, and I would love to see it out this weekend as a final, stable release!
[RC1 update]
* fixed bug where 1st artist name showed instead of "Various Artists" on multi-artist albums
I'm registered as Elijah Bliss but I get this message:
An Error Has Occurred!
You don't have permission to view the music database.
oh ******ter. i forgot to set the permissions heh. default settings and all :)
alright. its all set. I also gave everyone rights to admin hte music database cuz its just a test board. have at it!
Quote from: SeaOfSin on April 12, 2005, 07:30:08 PM
OK, so far with Beta 5 everything looks great!
Now I installed the filemanager this time before installing the new beta version and it lets me create directories and upload files but it always puts it in the main directory and not the sub directory.
I think maybe I have something wrong. The filemanager settings I have are the url http://www.yoursite.com/filemanager and physical directory or /home/userid/public_html/filemanager
Are these correct?
Other than that though everything looks great!
Sea Of Sin
right. all the files get put in that one directory physically, but their "virtual" locations are stored in mysql. There are no actual folders created or anything, just the one folder. I havent added anything like hashes or anything to the name, so as it is, uploading files of the same name (and file extension) to multiple folders WILL overwrite the files in the other directories. It's the very first running alpha version though so give it a little slack :) . This is why I made the music mod not depend on it!
actually since the file manager now goes through the script to indirectly load files, i suppose i dont need to have the user define the URL anymore!
As soon as my music mod goes stable, I'm going to create a new thread for the file manager so we can continue this stuff in there. For now, I suggest just not worrying about the file manager until I get a chance to work on it (after my focus is off the music mod)
OK thanks Cheschire!
Looks really nice, Thanks Cheschire 8)
hey it was YOUR theme that I modified for this thing , so thank YOU :)
Trying to install beta 5 here.
-First uninstalled version 2.6
-Installed beta 5, everything ok until 'proceed'
This follows:
Duplicate column name 'ID_FILE'
File: /home/muziek4u/public_html/forum/Packages/temp/install_sql.php
Line: 25
thats because of the issues you had with the last beta. have you actually put any real data into the database? if not, just remove the tables from mysql and install beta 5 fresh.
i ran into the same issues you just posted when i simulated the problems you were having before i made this last beta.
If you have some data in there you dont want to lose (that would take more than 30 minutes to reinput) then let me know and I will see about making a special fix just for your situation. :)
Theres no data in there yet so no problem delteting the table.
Thanks for the offer of the special fix.
I'm going to delete the thing and will let you know.
Ed
YESssss It worked. It's installed right away.
It's alive again! Now it even appears in the control panel.
Great Cheschire!
Only one weird thing... now its all empty.
You can check at www.muziek4um.nl with user/pw test if you want.
my guess is that you have the themes from 2.6 still in your non-default theme directory. delete all the music files (except the images cuz it looks like you have custom ones) in your non-default theme directory and it will just use the files from the default folder.
i was thinking why dont you add a player like streaming mod does. also have an otion to make dir virtual or not. i dont know if it would be possible though just thinking. its comming out great the mod.
Quote from: Cheschire on April 16, 2005, 02:51:28 PM
my guess is that you have the themes from 2.6 still in your non-default theme directory. delete all the music files (except the images cuz it looks like you have custom ones) in your non-default theme directory and it will just use the files from the default folder.
The problem was indeed the Files in the non-default Themes folder, took 'm away and the buttons appeared, not the rest but I Think I forgot to specify the right folder.
But I can't find the line
$musicfileurl = 'http://mysite.com/smf/musicfiles'; in Music.template.php.
Now I also get an error when I try to open the Control Panel in Edit features and Options.
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.muziek4um.nl%2Fimages%2FcrlPnl_error.jpg&hash=785b92a43dfec0b2467e84002aa0ec2123ee138a)
Quote from: Homerecording man on April 17, 2005, 07:22:27 AM
Quote from: Cheschire on April 16, 2005, 02:51:28 PM
my guess is that you have the themes from 2.6 still in your non-default theme directory. delete all the music files (except the images cuz it looks like you have custom ones) in your non-default theme directory and it will just use the files from the default folder.
The problem was indeed the Files in the non-default Themes folder, took 'm away and the buttons appeared, not the rest but I Think I forgot to specify the right folder.
But I can't find the line
$musicfileurl = 'http://mysite.com/smf/musicfiles'; in Music.template.php.
the musicfileurl thing doesnt exist in 3.0 anymore. thats what the file manager is for!
Quote from: Homerecording man on April 17, 2005, 07:54:12 AM
Now I also get an error when I try to open the Control Panel in Edit features and Options.
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.muziek4um.nl%2Fimages%2FcrlPnl_error.jpg&hash=785b92a43dfec0b2467e84002aa0ec2123ee138a)
i cant really look at this today. i will have to check it out tommorrow at work.
Quote from: Cheschire on April 17, 2005, 01:35:15 PM
the musicfileurl thing doesnt exist in 3.0 anymore. thats what the file manager is for!
Aaah! So thats the point! Thanks man, and excuse me for the late reaction from my side but was busy on other matters.
Also immediately makes clear what the filemanager does.:D
Quote from: Cheschire on April 17, 2005, 01:35:15 PM
i cant really look at this today. i will have to check it out tommorrow at work.
Don't worry, there's no hurry for me. it's not in public yet anyway.
Ed
Quote from: Homerecording man on April 17, 2005, 07:54:12 AM
Now I also get an error when I try to open the Control Panel in Edit features and Options.
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.muziek4um.nl%2Fimages%2FcrlPnl_error.jpg&hash=785b92a43dfec0b2467e84002aa0ec2123ee138a)
the only thing i can think of is that you need to uninstall the mod, replace the ModSettings.php with one from a fresh install/update package, then reinstall the mod. I think that in the process of your various uninstall/installs, plus the beta-ness of the older versions, you probably have a screwed up ModSettings file.
A new thread was created here (http://www.simplemachines.org/community/index.php?topic=33831.0). Please start any new discussions there. Any old discussions regarding upgrades from beta versions, etc, should finish here though. This should keep people new to the mod from having to read 13 pages of outdated information before installing or asking for help.
Thanks!
I've uninstalled the mod in package manager and am trying to upgrade to your latest. I'm getting a similar message as someone earlier in the thread:
Quote
Unknown column 'released' in 'field list'
File: /home/psycho/public_html/forum/Packages/temp/install_sql.php
Line: 19
I definitely don't want to clear my tables (if that's one way of solving it)...
Any other suggestion? Thanks!
Hi ,
The story seems to continues here >>>
http://www.simplemachines.org/community/index.php?topic=33831.0
I solved by clearing the 'music' table which was no problem as it was nearly empty
yeah i fixed the issue. thanks :)
i installed your mod yesterday, everything looks fine woithout any error, but after the install, no change (cant find anything about that music database :() then i wanted to look after, if its still installed, but hey... tha package manager wont work now.... everything on that board works, every option etc but not the package manager
i got the smf 1.1. beta 3
with simple portal mod
with merge double post mod
wit rate topics mod
after them there was no problem, but now :(
can somebody help me?
Quote from: 3-CXT on August 01, 2005, 02:12:04 AM
i installed your mod yesterday, everything looks fine woithout any error, but after the install, no change (cant find anything about that music database :() then i wanted to look after, if its still installed, but hey... tha package manager wont work now.... everything on that board works, every option etc but not the package manager
i got the smf 1.1. beta 3
with simple portal mod
with merge double post mod
wit rate topics mod
after them there was no problem, but now :(
can somebody help me?
this is not for 1.1 and above.
oh... that ist not good, and how can i fix this problem now?
Quote from: 3-CXT on August 03, 2005, 01:32:58 AM
oh... that ist not good, and how can i fix this problem now?
version 3.1 seems to be working fine with 1.1. I have had it working for sometime now. If you check out the thread for it, I am sure I mentioned the changes needed.