Go Back   Silveryhat™ Computer Tech & Web Development vBulletin Management DnP Instant! Musicbox Modification
User Name
Password






Post New Thread
 
Rating: Thread Rating: 1 votes, 5.00 average.
Info HOW-TO & F.A.Q for DnP Instant! Musicbox
  #1   Share
Old 06-19
Staff's Avatar
Staff is offline Male Slave
 
Join Date: Jan 2007
Location: 35.957999,79.101563
Posts: 2,993
Gold: 46,960
Rank: 9 Votes / 4.56 Average
Send a message via Yahoo to Staff
Thanks Sent : 51
Thanked 684 Times in 324 Posts
Staff is a name known to allStaff is a name known to allStaff is a name known to allStaff is a name known to allStaff is a name known to allStaff is a name known to all
HOW-TO & F.A.Q for DnP Instant! Musicbox

Content
Quote:
1 - Add a link to musicbox in navigation bar of forum index.
2 - I make a category in AdminCP. When I post a song I see no category appears in the list is there something wrong?
3 - Can my members add artist ? or Album ?
4 - A permission restriction appears eventhough I'm the poster/administrator for that media. What should I do?
5 - How to delete or edit a media?
6 - How do I uninstall DnP Instant! Musicbox?
7 - My playlist button does not display correctly, it shows a long line of code ?
8 - My Admin group id is not 6 and I cannot access the Configuration editor to change it ?
9 - I receive this error while installing DnP Instant! Musicbox
10 - When I play a media , it shows "This song belongs to no category therefore it cannot be played." ?

1 - Add a link to musicbox in navigation bar of forum index.


Go to your style template
AdminCP > Styles & Templates > Your Style template to edit > Navigation / Breadcrumb Templates > navbar.

FIND :
PHP Code:
<if condition="$show['member']">
            <
td class="vbmenu_control"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td>
        </if> 
ADD BEFORE THAT :
PHP Code:
<td class="vbmenu_control"><a href="music.php$session[sessionurl_q]">InstantMusicbox</a></td
Change the word Instant! Musicbox to anything you'd like. Save the change.

2 - I make a category in AdminCP. When I post a song I see no category appears in the list is there something wrong?
Category Level 1 is considered as Parent Category therefore it cannot be used.
Create a sub-category under it and you are set. Currently it only supports 2 Levels of Category.

3 - Can my members add artist ? or Album ?
No. The reason is : Imagine how bad of a mess it would become if one member adds "Lady Gaga" , then another adds "ladyGaga" and his friend who also plays the forum does "Gaga lady", but a random member does not like those names and wants to do "Gaga my luv" for himself while a noob dont know wat and dont know how where he accidentally creates "Lazy haha" into the list.. The same reason applies for Album records therefore only Admin can create the artist and album. It might be a hard work but you want your musicbox looks good with working portraits and searchable information.

4 - A permission restriction appears eventhough I'm the poster/administrator for that media. What should I do?
If you happen to come across this error, it is more likely that you have this setting turned on:
PHP Code:
//Confirm where user comes from when a request to edit song sent. 
    //Default is yes. If members reach permission restriction when editting a song, turn this off
    
'check_user_location_when_post_edit_song'    =>    'yes'
and base_link in Configuration has not been changed correctly. First you would want to edit the base_link to make sure it is your forum url is correct. If the error occurs again, simply disable check_user_location_when_post_edit_song

5 - How to delete or edit a media?
At the bottom of every media's player window there are two buttons for administrator to edit and delete a media. Edit shows to poster of the media OR administrator. Delete button appears for Admin only.

Click the image to open in full size.

6 - How do I uninstall DnP Instant! Musicbox?

Run install_dnp_musicbox.php and choose the Uninstall database option.

Proceed to delete the following files and folders
Quote:
./forum_root/install_dnp_musicbox.php
./forum_root/music.php
./forum_root/musicajax.php
./forum_root/playlist.php
./forum_root/DnPMusicbox_Settings.php
./forum_root/admincp/dnpmusicbox_setting.php
./forum_root/includes/xml/cpnav_dnp_instantmusicbox.xml
./forum_root/music
./forum_root/tmp
Done!

7 - My playlist button does not display correctly, it shows a long line of code ?

This issue only happens to an upgrade from 1.0.2 to any later. The problem is minor, it was a change in image link. You can fix it in less than 8s . Go to the Configuration editor, put 'music/ngheplaylist.gif' to the follow box:

Click the image to open in full size.

8 - My Admin group id is not 6 and I cannot access the Configuration editor to change it ?

The musicbox has the built in option to define admin group. For the First time and the first time you need to do this is IF your default admin group is not 6.
Download the DnPMusicbox_Settings.php from your server, open and find
PHP Code:
'admin_groupid_allowed' => '6'
Change 6 to your admin group id. Save and reupload to your server. From now on you can use the Configurations editor and never have to repeat this step again. Unless you change the admin group again .

9 - I receive this error while installing DnP Instant! Musicbox

PHP Code:
Warningfopen(DnPMusicbox_Settings.php) [function.fopen]: failed to open streamPermission denied in [path]/install_dnp_musicbox.php on line 179

Warning
fwrite(): supplied argument is not a valid stream resource in [path]/install_dnp_musicbox.php on line 180

Warning
fclose(): supplied argument is not a valid stream resource in [path]/install_dnp_musicbox.php on line 181

Warning
unlink(DnPMusicbox_Settingsnew.php) [function.unlink]: Permission denied in [path]/install_dnp_musicbox.php on line 182

Unable to write settings to DnPMusicbox_Settings
.php forum root folderPlease verify this folder is CHMOD to 777 (writable
If you have followed up with the two-step installtion guide you will notice a warning that says the folder where you have uploaded DnP Instant! Musicbox content to must be CHMOD to 777. That should solve the problem.

10 - When I play a media , it shows "This song belongs to no category therefore it cannot be played." ?

A media must be placed under a sub-category. If it doesn't belong to any subcategory, or its subcategory has been deleted then you will see this error. Simply create a subcategory and follow the edit link on the error message to change this media information.
__________________
Click the image to open in full size.Click the image to open in full size.

The one that loves you at your worst is the one that deserves you at your best


My right to post information is protected under the constitutional rights for freedom. In all instances, information discussed here on my signatures are either hypothetical in nature, out of general curiosity, common knowledge, public knowledge, or role-play. Any use of the collective descriptions and shared knowledge from any of my signatures are at the sole discretion of the reader.
I am not responsible for what you do with it!

Last edited by Delynie : 08-13 at 11:39 PM.
Reply With Quote


Currently Active Users Viewing This Thread: 2 (0 members and 2 guests)
 
Post New Thread Reply

  Silveryhat™ Computer Tech & Web Development vBulletin Management DnP Instant! Musicbox Modification





Logos and trademarks are the property of Silveryhat™ or their respective owner. Comments are property of their posters.
www.silveryhat.com is founded by Silvery Hat © 2006-2009.