LINK TO MODIFICATION (http://custom.simplemachines.org/mods/index.php?mod=2633)SMF 2.0x - Premiumbeat Mp3 PlayerMp3 Platform for SMF forums c/o
[email protected] This will install a flash mp3 player onto your SMF forum & will work with a php block/module and/or individually
from a permission based forum link producing a popup.
For an invisible player - set height and width to 0 in settings (or your block/module code)
as well as disabling the title and body of your block/module.
Options include local or outside sourced url inputs, auto-loading folders, upload/download and various membergroup permissions.
Mp3's using Playlist #99 will play for every playlist and all other mp3 playlists are block/popup specific.
Recently tested on SMF 2.0.4 with no issues.
The Premiumbeat v2.0 stable version is only available for the SMF2.0x branch.
Support for SMF 1.1x has now been dropped although the beta version will be left available for it.
Thank you for opting to use this software package & enjoy.
Basic guidelines to get you started:
- Always have a playlist available (create one if necessary)
- Assign your playlists their file folder
- Assign your playlists to designated usergroups (each usergroup can only be assigned to one playlist)
- The popup will not work unless you assign membergroups to playlists (this includes Admins!)
- Experiment with other playlist settings until its appearance is satisfactory
- Adjust Premiumbeat settings to have the override use an opted playlist
- Adjust Premiumbeat settings to enable/disable the playlink and/or drop-down buttons
- Adjust each membergroup its Premiumbeat permissions to allow access to various functions
- Files can be uploaded showing Anonymous and/or the username of the uploader
- Files that are manually uploaded to the playlist folder via ftp are anonymous with no n/a date
- Admins have permission to do all functions
- Users can only delete their own files if the permission is set
- Users can only change their own anonymous/name for files
- This player only accepts mp3 file types - no others for this version
- PHP 5.3 or more advanced is necessary on your server to use this modification
- Please read the recommended requirements shown below
- Please read the license and abide by its guidelines else do not use this modification
- Set playlists to be available in the upload/download template if desired
Recommended requirements:
Server: PHP 5.3+, HTML5+, MYSQL 5.0+, json support enabled (v1.2+)
Browsers: IE 7+, Firefox 3.6+, Safari 5+, Chrome 5+, Opera 10.5+
Browser Add-ons: javascript 1.8+, Adobe Flash Player 10+
Recommended Portal for SMF:
SimplePortal (http://www.simpleportal.net)
This version has been modified to work with SMF 2.0x Forums.
This SMF package falls under the Creative Commons - Attribution No Derivatives License (by-nd) 3.0 (http://creativecommons.org/licenses/by-nd/3.0/).
All author contributions noted below fall under their own respected licenses. The above noted license allows such conditions, please click on its link for specifics.
Development Credits:
Premiumbeat for SMF | - | Underdog (http://webdevelop.comli.com) | Creative Commons License - Attribution No Derivatives (http://creativecommons.org/licenses/by-nd/3.0/) |
Premiumbeat Flash Music Player | - | Gilles & Francois Arbour (http://premiumbeat.com) | Permission was granted directly from the authors (http://premiumbeat.com) |
jQuery AXuploader | - | Alban Xhaferllari (http://www.albanx.com) | Dual licensed under the MIT or GPL Version 2 licenses (http://jquery.org/license) |
SMF Documentation | - | Skhilled (http://www.docskillz.com/docs/) | GNU Free Documentation License (http://www.gnu.org/copyleft/fdl.html) |
Disclaimers:
This modification is intended to be used for legal purposes only! The *Premiumbeat for SMF* application package is intended for use with mp3 files under licenses that allow non-profit distribution of copyrighted or non-copyrighted works (ie. Creative Commons license) and their respected terms/conditions (ie. Attribution No Derivatives). The author's involved in this project are in no way responsible for the end-user's possible abuse of copyright laws & do not condone such practices.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please read all other license agreements contained within this package.
Block codes are available from the main download page. (http://custom.simplemachines.org/mods/index.php?mod=2633)
its not working... not on my site but on ur site as well...
Quote from: !RFAN on August 31, 2010, 03:12:06 AM
its not working... not on my site but on ur site as well...
it appears to work fine for me.
What browser are you using?
The player requires the latest version of Adobe Flash to be installed into your browser add-ons.
If you are using IE8 64 bit, adobe has not released an add-on for it yet therefore this player will not work with it at the moment.
It does work with firefox, IE 32 bit and Chrome.
90% of world population will not be able to use it...
m using chrome and firefox
dnt u think that it should work on all browsers???
or maybe in future adobe will release add-on for it??
Its working fine 4 me .... but there is 1 problem as we have to refresh our page to load playlist rest all is good
Don't have a portal installed and/or don't want one? ... but you want to use this player? No problem!
With some manual edits to your themes index.templates, this player can operate without the use of a portal.
The following edit will have to be performed to every theme's index.template.php
Top of forum placement:
Navigate to: Themes -> YOUR_THEME -> index.template.php
Find:
// Show the menu here, according to the menu sub template.
template_menu();
Premiumbeat code: Add this BEFORE the above code
/* Premiumbeat Flash Music Player */
/* Your playlist is located in your SMF Admin Panel (under Features and Options for SMF 1.x) */
/* Your default mp3 folder is located at: /my_music/music/ */
/* (whole url's can be used for mp3 source files in your mp3 playlist or directly from your site directory) */
/* Outside sources are recommended for shared hosting */
/* This block has been edited to not operate during SMF Arcade or E-Arcade game play. */
/* Set Playlist ID Number - default is 1 */
/* Playlist number 1 will play on all blocks... Other playlists are block specific */
$playlist_id = 3;
global $boardurl, $scripturl, $modSettings;
if (empty($modSettings['customMusic_count'])) {$modSettings['customMusic_count'] = 0;}
if ($modSettings['customMusic_count'] > 0)
{
$id_of_game = !empty($_REQUEST['game']) ? (int) $_REQUEST['game'] : 0;
if ($id_of_game < 1)
{
/* Adjustable parameters */
$width = 0;
$height = 0;
$skin = '#FFFFFF';
$autoplay = 'no'; /* yes = autoplay, no = manual play */
/* Read database settings for block - these can be overidden by adding remark tags around this part and adjusting above variables */
if (!empty($modSettings['customMusic_width']))
{$width = $modSettings['customMusic_width'];}
if (!empty($modSettings['customMusic_height']))
{$height = $modSettings['customMusic_height'];}
if (!empty($modSettings['customMusic_skin']))
{$skin = '#' . $modSettings['customMusic_skin'];}
if (!empty($modSettings['customMusic_autoplay']))
{
if (empty($modSettings['customMusic_autoplay'])) {$modSettings['customMusic_autoplay'] = 0;}
if($modSettings['customMusic_autoplay'] == 1)
{$autoplay = 'yes';}
else
{$autoplay = 'no';}
}
$_SESSION['customMusic_checker'] = true;
if($playlist_id < 1) {$playlist_id = 1;}
$_SESSION['playlist_id'] = $playlist_id;
echo'<script type="text/javascript" src="my_music/swfobject.js"></script>
<div id="flashPlayer">
Mp3 Player Malfunction
</div>
<script type="text/javascript">
var so = new SWFObject("my_music/playerMultipleList.swf", "mymovie", "'.$width.'", "'.$height.'", "7", "'.$skin.'");
so.addVariable("autoPlay","'.$autoplay.'")
so.addVariable("playlistPath","',$scripturl,'?action=customMusic", "SESSION")
so.write("flashPlayer");
</script>';
}
}
With this type of setup I would use the player as invisible (0 width -and- 0 height) and then set the player to autoplay. (adjust settings from admin menu)
If you want it visible, the above edit will place it at the top of the forum. You can take that above block of code and place it at the bottom of the page if preferred.
To place it at the bottom of the page:
Find:
function template_body_below()
{
global $context, $settings, $options, $scripturl, $txt, $modSettings;
Place the premiumbeat code AFTER the above code.
You can adjust the playlist id number in the above code to a number between 1 - 50 but the mp3's you want played here must have their playlist id set at either 1 - OR - matching the number in the above code.
ref.
/* Set Playlist ID Number - default is 1 */
/* Playlist number 1 will play on all blocks... Other playlists are block specific */
$playlist_id = 3;
Pls...I've tried it on PortaMx portal...It never worked....
I then uninstalled it and installed Simple Portal in order to install the premium beat but it's still not working...
Please help me becos my fans are dying to see it work....thnx....
Quote from: 沙灘排球 on October 03, 2010, 08:10:20 PM
Pls...I've tried it on PortaMx portal...It never worked....
I then uninstalled it and installed Simple Portal in order to install the premium beat but it's still not working...
Please help me becos my fans are dying to see it work....thnx....
Did you install the mod error free?
If so, did you add proper mp3 url's to your mp3 list in the settings menu?
You also need to make sure to set the playlist id for your mp3's to match the one in the top of the block code.
Also: Please use the block code provided in the first post of this thread.
Yeah....that's exactly what I used...
I used the Code in the first post...
The Playlist id =1
But then I've nt installed the mod error free....
when u visited the site u realised there is a block i named Media Player...
That's where it supposed to show but it's not showing.....
I visited ur site and followed some instructions there as well but still no good result....
I have arcade installed....But I only installed it today....any help...
Quote from: 沙灘排球 on October 04, 2010, 07:00:00 PM
Yeah....that's exactly what I used...
I used the Code in the first post...
The Playlist id =1
But then I've nt installed the mod error free....
when u visited the site u realised there is a block i named Media Player...
That's where it supposed to show but it's not showing.....
I visited ur site and followed some instructions there as well but still no good result....
I have arcade installed....But I only installed it today....any help...
I do not seem to be able to send you a PM on your site.
Not the user named 'Admin' .
I can take a look at your settings, block and mp3 entries but I need temporary admin to do that.
It is up to you if you want to grant me that access temporarily to look everything over.
Let me know.
btw - it could be your mp3 source files.
try using the demo source file:
my_music/music/song.mp3
- UPDATE -
Version 1.7 (Public)
- Removed url filter
- Patched mp3 list deletion issue
This update mainly addresses an issue with the mp3 source url's.
the player seems to have installed fine on the exblock. I got 2 test songs in, but I can't hear any music?? the equalizer seems to be bubbling.
Quote from: SavvyQc on October 14, 2010, 07:22:23 PM
the player seems to have installed fine on the exblock. I got 2 test songs in, but I can't hear any music?? the equalizer seems to be bubbling.
Did you set the playlist id's for your mp3's to match the one in your block?
There is an example mp3 that comes with the mod for testing.
Try this as an mp3 entry to see if it works properly:
my_music/music/song.mp3
You also may need to adjust the settings. Such as autoplay and dimensions.
Ok...Underdog...I'll assign you Admin Privileges in order for you to check it for me...
I'll really appreciate that....
Thanks....I'lll be waiting....
heya.. nice mod.. doesnt seem to work inside boards though.. im running it in a tinyportal block and it shows ont he index page and the board index.. but inside boards im getting malfunction errors.. any ideas??
Quote from: 沙灘排球 on October 25, 2010, 04:08:45 PM
Ok...Underdog...I'll assign you Admin Privileges in order for you to check it for me...
I'll really appreciate that....
Thanks....I'lll be waiting....
I will take a look tomorrow when I have ample time.
Quote from: uniektekniek on October 27, 2010, 01:34:03 AM
heya.. nice mod.. doesnt seem to work inside boards though.. im running it in a tinyportal block and it shows ont he index page and the board index.. but inside boards im getting malfunction errors.. any ideas??
I just ran some tests and it appears to work fine posted on specific boards.
ie. http://askusaquestion.net/index.php?board=34.0
However, this is using Simple Portal... I will run some tests with TP to see if I can duplicate your issue.
is it posible this mod to be aytoplay and to continue with the song, not at every loaded page to start over and over
thanks
Hello, great mod
I do have the same problem like tomce! The mod is installed on a aquatics forum, full with boards. Every time a member clicks on a page the music starts over. To be honest it is really annoying.
Is it possible to have the player playing 24/7, not depending on the activity from the forum?
thanks
Hello there,
I use adk portal and I can create a php block.
Unfortunately when I create it the following error is displayed: "Mp3 Player Malfunction"
The url I used is exactly the following: my_music/music/song.mp3
Any idea on how to solve this issue?
Many thanks for your help.
amcapt89
Can someone please post a link to a working example of this mod? I have tried the example link from the first post but it's not working anymore as the site is dead.
Quote from: amcapt89 on November 08, 2010, 08:51:52 PM
Hello there,
I use adk portal and I can create a php block.
Unfortunately when I create it the following error is displayed: "Mp3 Player Malfunction"
The url I used is exactly the following: my_music/music/song.mp3
Any idea on how to solve this issue?
Many thanks for your help.
amcapt89
For the time being, please make sure not to use IE8 64 bit when testing/using this application.
ref. http://get.adobe.com/flashplayer/
... if you are using 64bit IE8 and you navigate to the above link, you will see that a stable version for the needed plugin is not available for this version of IE8 yet. This plugin is necessary to use this forum modification.
For any other browser, you will need to have the adobe flash player plugin installed. (latest version is 10.1 atm).
The above link will work for any browser download.
Usually not having the plugin installed can cause that error message.
Quote from: sharks on November 09, 2010, 12:08:10 AM
Can someone please post a link to a working example of this mod? I have tried the example link from the first post but it's not working anymore as the site is dead.
My site was down today due to server problems. The problem has been dealt with and the site is now operational.
Currently, the mod is also being used on the forum page (hidden) as well as the example page (visible).
Quote from: 沙灘排球 on October 25, 2010, 04:08:45 PM
Ok...Underdog...I'll assign you Admin Privileges in order for you to check it for me...
I'll really appreciate that....
Thanks....I'lll be waiting....
I tried to contact you on your site within the last week without response. You granted me temp. admin for some functions however this mod was not installed on your forum and I had no access to the package install menu.
I'll try your site again when I have more time.
Quote from: tomce on November 06, 2010, 02:29:37 PM
is it posible this mod to be aytoplay and to continue with the song, not at every loaded page to start over and over
thanks
Quote from: biguran on November 06, 2010, 02:36:44 PM
Hello, great mod
I do have the same problem like tomce! The mod is installed on a aquatics forum, full with boards. Every time a member clicks on a page the music starts over. To be honest it is really annoying.
Is it possible to have the player playing 24/7, not depending on the activity from the forum?
thanks
The only way I can think of doing that is with a popup. Optional type of block can be used for it I suppose.
This option has previously been requested and noted and I will look into implementing this in the next version release.
No given time line.
Hello there,
many thanks for your reply.
I tried to view/test it from mozilla (64 bit) with the latest flash player plugin installed (as linked). Playlist ID 1 track 1 my_music/music/song.mp3. Folder CHMOD 0775.
Unfortunately I did not have any success. Any idea why?
Many thanks indeed for your help!
PS: simpleportal, SMF 2.0 RC
Quote from: amcapt89 on November 11, 2010, 10:17:18 PM
Hello there,
many thanks for your reply.
I tried to view/test it from mozilla (64 bit) with the latest flash player plugin installed (as linked). Playlist ID 1 track 1 my_music/music/song.mp3. Folder CHMOD 0775.
Unfortunately I did not have any success. Any idea why?
Many thanks indeed for your help!
PS: simpleportal, SMF 2.0 RC
Do both the playlist id in your block AND mp3's match?
If so... try changing them both to playlist 2 for example
From its settings menu you must also opt its dimensions for visibility and/or autoplay.
For example... if it's set at 0x0 dimensions and the autoplay is off.. it will not work!
If you want your mp3 block (with specific playlist) to only play on certain themes, simply wrap the following code around the existing mp3 block:
Change the $theme value to the theme you are opting to use..
global $settings;
$check = $settings['theme_url'];
$theme = 'theme_name_rc4';
if (strpos($check,$theme))
{
/* Put existing premiumbeat block code below this line!! */
}
how do i use this with ezportal? can you give me instructions? i copy pasted the code on a php block and it says syntax error
can you help me with this? i think im about to mess up my board again just by installing this mod :(
ive tried ezportal , hidden in index.template.php method
put music in the proper directory, just 1 song to test. 755chmod, still nothing.
this is so frustrating lol
Quote from: ggman on December 17, 2010, 05:05:39 AM
can you help me with this? i think im about to mess up my board again just by installing this mod :(
ive tried ezportal , hidden in index.template.php method
put music in the proper directory, just 1 song to test. 755chmod, still nothing.
this is so frustrating lol
I am testing on EzPortal as we speak and it is working fine.
PHP Block Code:
/* Set Playlist ID Number - default is 1 */
/* Playlist number 1 will play on all blocks... Other playlists are block specific */
$playlist_id = 2;
$id_of_game = !empty($_REQUEST['game']) ? (int) $_REQUEST['game'] : 0;
if ($id_of_game < 1)
{
global $boardurl, $scripturl, $modSettings;
/* Adjustable parameters */
$width = 0;
$height = 0;
$skin = '#FFFFFF';
$autoplay = 'yes'; /* yes = autoplay, no = manual play */
/* Read database settings for block - these can be overidden by adding remark tags around this part and adjusting above variables */
if (!empty($modSettings['customMusic_width']))
{$width = $modSettings['customMusic_width'];}
if (!empty($modSettings['customMusic_height']))
{$height = $modSettings['customMusic_height'];}
if (!empty($modSettings['customMusic_skin']))
{$skin = '#' . $modSettings['customMusic_skin'];}
if (!empty($modSettings['customMusic_autoplay']))
{
if($modSettings['customMusic_autoplay'] == 1)
{$autoplay = 'yes';}
else
{$autoplay = 'no';}
}
$_SESSION['customMusic_checker'] = true;
if($playlist_id < 1) {$playlist_id = 1;}
$_SESSION['playlist_id'] = $playlist_id;
echo'<script type="text/javascript" src="my_music/swfobject.js"></script>
<div id="flashPlayer">
Please install Adobe Player for your browser
</div>
<div id="flashPlayer2">
<script type="text/javascript">
var so = new SWFObject("my_music/playerMultipleList.swf", "mymovie", "'.$width.'", "'.$height.'", "9", "'.$skin.'");
so.addVariable("autoPlay","'.$autoplay.'")
so.addVariable("playlistPath","',$scripturl,'?action=customMusic", "SESSION")
so.write("flashPlayer");
</script></div>';
echo'<script type="text/javascript"><!-- // --><![CDATA[
document.getElementById(flashPlayer2);
// ]]></script>';
}
Make sure to set the playlist ID from your mp3's and match it at the start of the block.
Also make sure to adjust the mods settings.. you need to add dimensions if you want the player visible and also you have an autoplay option.
If the player is not set to autoplay and the dimensions are at 0x0 ... it will not work.
hi,
I use SFM 2.0 RC4 with PortaMx 0.990 front page, I installed your mod, i can configure in admin panel with "Premiumbeat", but i cannot see the player...
please would you help me a few for completing this install if i need to do something on a file.
thank you
ezportal block says i need to install adobe flash, i did, still nothing.
Quote from: Thredziii on December 17, 2010, 06:52:23 AM
hi,
I use SFM 2.0 RC4 with PortaMx 0.990 front page, I installed your mod, i can configure in admin panel with "Premiumbeat", but i cannot see the player...
please would you help me a few for completing this install if i need to do something on a file.
thank you
Did you adjust the dimensions in its settings?
Quote from: ggman on December 17, 2010, 06:58:43 AM
ezportal block says i need to install adobe flash, i did, still nothing.
Are you using 64bit IE8?
I just checked and there is still no Adobe update for that browser version.
Check this link: http://get.adobe.com/flashplayer/
If that link says the player is not available for your browser then you are using 64bit IE8.
If you like IE and want to use the player, the only thing I can currently suggest is using the 32 bit version of that browser.
yes i did it /:
nope im using mozilla. gave up on the invisible and deleted the text edits now i just want it on ezportal to keep it simpler.
ive installed flash player like 5 times now, still nothing.
ive got a couple questions:
*i upload 1 5mb mp3 song is this ok?
*i put /my_music/music/song.mp3 and just /my_music/music/ in the path of the songs coz i installed the mp3 file tehre(tried both urls) do i put www.mysite before those?
*chmod text edits all check out
*default is 1, i matched it in the php ezportal block and the settings of the premiumbeat mod,00 height and width autoplay 1 etc etc
Quote from: ggman on December 17, 2010, 07:26:58 AM
nope im using mozilla. gave up on the invisible and deleted the text edits now i just want it on ezportal to keep it simpler.
ive installed flash player like 5 times now, still nothing.
ive got a couple questions:
*i upload 1 5mb mp3 song is this ok?
*i put /my_music/music/song.mp3 and just /my_music/music/ in the path of the songs coz i installed the mp3 file tehre(tried both urls) do i put www.mysite before those?
*chmod text edits all check out
*default is 1, i matched it in the php ezportal block and the settings of the premiumbeat mod,00 height and width autoplay 1 etc etc
The url for your own site does not need the starting slash. you start from the mods folder in your main directory
my_music/music/song.mp3
chmod what? all the files being used should be already readable.
no default smf files are edited btw.
This mod saves your mp3's in the db.
Quote from: Thredziii on December 17, 2010, 07:18:28 AM
yes i did it /:
For the mp3 settings list:
- valid mp3 url entries
- enable mp3's you want to play
- set playlist for each mp3
- set dimensions and/or autoplay (if desired) for its settings
For the block/module:
- Proper php code (look back approx. 7 posts)
- Playlist ID in this block must match playlist ID in the mp3's you want to listen to here.
- Actual PHP Block/Module must have its parameters/settings correct (Portal specific)
For the page:
Currently only the 32bit version of Adobe Flash Player will allow this modification to operate.
http://get.adobe.com/flashplayer/
yeah im using 64bit system but its mozilla. ill try using a 32 bit comp tomorrow
Quote from: ggman on December 17, 2010, 08:26:01 AM
yeah im using 64bit system but its mozilla. ill try using a 32 bit comp tomorrow
You can have both 32 and 64 bit versions installed at the same time.
You need to create a manual shortcut for one of them I think (I had to).
Search mozilla specifically for the 32 bit version.
oh ok thanks for the tip, i have a bad feeling ill need more of it tomorrow :)
Quote from: tomce on November 06, 2010, 02:29:37 PM
is it posible this mod to be aytoplay and to continue with the song, not at every loaded page to start over and over
thanks
Quote from: biguran on November 06, 2010, 02:36:44 PM
Hello, great mod
I do have the same problem like tomce! The mod is installed on a aquatics forum, full with boards. Every time a member clicks on a page the music starts over. To be honest it is really annoying.
Is it possible to have the player playing 24/7, not depending on the activity from the forum?
thanks
The only way I can think of doing that is with a popup. Optional type of block can be used for it I suppose.
This option has previously been requested and noted and I will look into implementing this in the next version release.
No given time line.
[/quote]
any luck with this?
tnx
ggman:
Try this Mozilla add-on:
Located here: 64 Bit Mozilla Plug-In (https://addons.mozilla.org/en-US/firefox/addon/161939/)
Try installing that into your 64 bit mozilla browser.
Quote from: biguranany luck with this?
tnx
Currently I am working on another modification and this one is next on the agenda.
I am going to add the popup option and also I have to do some other changes.
;)
Quote from: -Underdog- on December 17, 2010, 10:25:14 AM
ggman:
Try this Mozilla add-on:
Located here: 64 Bit Mozilla Plug-In (https://addons.mozilla.org/en-US/firefox/addon/161939/)
Try installing that into your 64 bit mozilla browser.
hmm i think its my platform thats doing these errors i get, coz it says its not compatible with my platform.
Quote from: biguranany luck with this?
tnx
Currently I am working on another modification and this one is next on the agenda.
I am going to add the popup option and also I have to do some other changes.
;)
I don't know what's up with Adobe Flash Player 10.1 and 64 bit browsers.
There is a beta version of Adobe Flash 10.2 but the page only shows installs for 32 bit browsers yet again?!
I assumed Adobe would have this available a lot sooner but apparently not.
My PC is 64bit but I use 32 bit IE, Firefox and Chrome.
The only 64 bit browser I have installed is IE and I can't really stand it as it's just for testing.
For IE I have both versions installed but for Firefox it doesn't seem to let me do that atm.
I am going to uninstall my 32 bit Firefox and try to install the 64 bit version and then see if the Adobe website puts me on a 64bit Beta page.
Their site redirects to specific pages depending on the browser version.
i just really would want this on an ezblock like ezportal. its frustrating i cant see it anyway since i cant figure out a way to use a 32bit browser lol.
You can try chrome 32 bit: http://www.google.com/chrome
ive downloaded chrome, put it in ezblock, settings are identical, everything checks out except for the music to be played :) argh i really like this mod and its like not liking me back lol. few questions:
* do i put the title in this format "kids.mp3"
*is my path correct /my_music/music/ (i did not put the exact mp3 in the path for each mp3 i added
*autoplay should be on or off when used in a portal?
*any permissions i need to chmod folders or something?
*i have a 64bit comp, and have downloaded the chrome previous to downloading this 32 bit u linked to me
*this is the last mod i need installed before im happy(seriously)
i hope i made some glaring mistake somewhere, but it seems everythign checks out :(
GOT IT! LOL
decompressed my mp3s and its working now. thank you for the help. love this mod :)!!!
argh now it says undefined, undefined
it only only plays when on autoplay then stops. then displays the "undefined, undefined" error
it was working quite well before too, now i cant set it to manual on a block (wont play anymore, but does on autoplay but gets errors after the song)
help pls
Hi thank you for this mod its great. Is it possible to put it in its own php file without a portal, theme, etc.. ?
Quote from: eyo on December 22, 2010, 09:23:32 PM
argh now it says undefined, undefined
it only only plays when on autoplay then stops. then displays the "undefined, undefined" error
it was working quite well before too, now i cant set it to manual on a block (wont play anymore, but does on autoplay but gets errors after the song)
help pls
Did this occur after adding additional mp3 url's? If so.. make sure url's are directed to mp3 files and are not corrupted.
Corrupted or incorrect source files will cause the player to malfunction.
Quote from: rubix123 on December 25, 2010, 04:33:10 AM
Hi thank you for this mod its great. Is it possible to put it in its own php file without a portal, theme, etc.. ?
The next update (after New Years :o ) will include a popup display from a link without the portal.
If you just want to insert it as it is directly into your index templates, look here: http://www.simplemachines.org/community/index.php?topic=398381.msg2788656#msg2788656
hello -Underdog-,
could u plz explain step by step how to have the player on the webside as it is in yr website. I want it to be floating on the page not embeded on the main board. I dont want it to stop playing every time refreshes and also when i folloed yr steps its location came right on top of the menue, messed up the main page for me, pushed the main menue down and it was so ugly. therefore I put it temporarly at the bottom but still having another issue when jumping to a board or a topic the player does not show up, instead I see this msg (Mp3 Player Malfunction). best think for me is to have it floating on the left side of the screen and then when click it, it pops up on separate window as it is in yr website.
www.ahalna.com
by the way, I have no problem playing any mp3 files.
one last thing please is it possible to play radio playlist. Its a file with .asx extention or .ram extention? I already tried to put the file in the directory did not work. I also changed the extention to .mp3 but did not work also lol
I do not have much of experience in scripts or modifying php files. I just learned some recently. therefore please be patient and thorough in yr answer to me.
thanks in advance
I wish i was better at installing mods, this one looks really cool!!
Quote from: BaghdadGhost on February 23, 2011, 08:37:45 AM
hello -Underdog-,
could u plz explain step by step how to have the player on the webside as it is in yr website. I want it to be floating on the page not embeded on the main board. I dont want it to stop playing every time refreshes and also when i folloed yr steps its location came right on top of the menue, messed up the main page for me, pushed the main menue down and it was so ugly. therefore I put it temporarly at the bottom but still having another issue when jumping to a board or a topic the player does not show up, instead I see this msg (Mp3 Player Malfunction). best think for me is to have it floating on the left side of the screen and then when click it, it pops up on separate window as it is in yr website.
www.ahalna.com
by the way, I have no problem playing any mp3 files.
one last thing please is it possible to play radio playlist. Its a file with .asx extention or .ram extention? I already tried to put the file in the directory did not work. I also changed the extention to .mp3 but did not work also lol
I do not have much of experience in scripts or modifying php files. I just learned some recently. therefore please be patient and thorough in yr answer to me.
thanks in advance
can someone help please !! :(
Quote from: BaghdadGhost on February 23, 2011, 08:37:45 AM
hello -Underdog-,
could u plz explain step by step how to have the player on the webside as it is in yr website. I want it to be floating on the page not embeded on the main board. I dont want it to stop playing every time refreshes and also when i folloed yr steps its location came right on top of the menue, messed up the main page for me, pushed the main menue down and it was so ugly. therefore I put it temporarly at the bottom but still having another issue when jumping to a board or a topic the player does not show up, instead I see this msg (Mp3 Player Malfunction). best think for me is to have it floating on the left side of the screen and then when click it, it pops up on separate window as it is in yr website.
www.ahalna.com
by the way, I have no problem playing any mp3 files.
one last thing please is it possible to play radio playlist. Its a file with .asx extention or .ram extention? I already tried to put the file in the directory did not work. I also changed the extention to .mp3 but did not work also lol
I do not have much of experience in scripts or modifying php files. I just learned some recently. therefore please be patient and thorough in yr answer to me.
thanks in advance
do u want something like i have on my forum?
top-right
http://www.amigozone.com/index.php
not working
Quote from: zanadu_celal on February 25, 2011, 05:42:09 AM
not working
Define 'not working'. (Would you go to your doctor and say 'I have a pain' and then expect him to figure out the problem without telling him any more details? I thought not...)
Quote from: BaghdadGhost on February 23, 2011, 08:37:45 AM
hello -Underdog-,
could u plz explain step by step how to have the player on the webside as it is in yr website. I want it to be floating on the page not embeded on the main board. I dont want it to stop playing every time refreshes and also when i folloed yr steps its location came right on top of the menue, messed up the main page for me, pushed the main menue down and it was so ugly. therefore I put it temporarly at the bottom but still having another issue when jumping to a board or a topic the player does not show up, instead I see this msg (Mp3 Player Malfunction). best think for me is to have it floating on the left side of the screen and then when click it, it pops up on separate window as it is in yr website.
www.ahalna.com
by the way, I have no problem playing any mp3 files.
one last thing please is it possible to play radio playlist. Its a file with .asx extention or .ram extention? I already tried to put the file in the directory did not work. I also changed the extention to .mp3 but did not work also lol
I do not have much of experience in scripts or modifying php files. I just learned some recently. therefore please be patient and thorough in yr answer to me.
thanks in advance
- The version on my site is beta and is currently being tested. It will most likely be released within the next week or so and does include an html block for a popup player so people can navigate through your forum without interrupting the player.
- This player only plays mp3 files via url.
- It is a total rewrite from the previous version btw as I decided to do many other changes to the coding.
Quote from: zanadu_celal on February 25, 2011, 05:42:09 AM
not working
- the version posted here atm is not updated for SMF 1.1.13 or SMF 2.0 RC5 (pending next week). You will have to update the package_info.xml file yourself if you want to use it right this very moment ;)
- make sure your mp3's are proper url's.
- make sure the playlist number in your block code matches the one(s) in your mp3 settings.
Please be patient as I will release a new version very soon.
Just a note to 64 bit browser users:
Adobe labs has finally allowed downloading of 64 bit browser support.
If you use a 64 bit browser and would like to download the proper flash plug-in that will allow this modification (and other flash based mods) to work follow this link: CLICK HERE (http://labs.adobe.com/downloads/flashplayer10_square.html)
Download the file from the list titled 64-bit Release Flash Player Downloads that corresponds to the browser you are using.
It works fine for IE8 64 Bit as I just tested it.
Quote from: !RFAN on February 24, 2011, 06:15:59 PM
Quote from: BaghdadGhost on February 23, 2011, 08:37:45 AM
hello -Underdog-,
could u plz explain step by step how to have the player on the webside as it is in yr website. I want it to be floating on the page not embeded on the main board. I dont want it to stop playing every time refreshes and also when i folloed yr steps its location came right on top of the menue, messed up the main page for me, pushed the main menue down and it was so ugly. therefore I put it temporarly at the bottom but still having another issue when jumping to a board or a topic the player does not show up, instead I see this msg (Mp3 Player Malfunction). best think for me is to have it floating on the left side of the screen and then when click it, it pops up on separate window as it is in yr website.
www.ahalna.com
by the way, I have no problem playing any mp3 files.
one last thing please is it possible to play radio playlist. Its a file with .asx extention or .ram extention? I already tried to put the file in the directory did not work. I also changed the extention to .mp3 but did not work also lol
I do not have much of experience in scripts or modifying php files. I just learned some recently. therefore please be patient and thorough in yr answer to me.
thanks in advance
do u want something like i have on my forum?
top-right
http://www.amigozone.com/index.php
thank you so much for the help. u have a beautiful site. is it ok if I ask you couple questions in the future in case i dont find the answer here?
Quote from: -Underdog- on February 25, 2011, 09:23:24 AM
Quote from: BaghdadGhost on February 23, 2011, 08:37:45 AM
hello -Underdog-,
could u plz explain step by step how to have the player on the webside as it is in yr website. I want it to be floating on the page not embeded on the main board. I dont want it to stop playing every time refreshes and also when i folloed yr steps its location came right on top of the menue, messed up the main page for me, pushed the main menue down and it was so ugly. therefore I put it temporarly at the bottom but still having another issue when jumping to a board or a topic the player does not show up, instead I see this msg (Mp3 Player Malfunction). best think for me is to have it floating on the left side of the screen and then when click it, it pops up on separate window as it is in yr website.
www.ahalna.com
by the way, I have no problem playing any mp3 files.
one last thing please is it possible to play radio playlist. Its a file with .asx extention or .ram extention? I already tried to put the file in the directory did not work. I also changed the extention to .mp3 but did not work also lol
I do not have much of experience in scripts or modifying php files. I just learned some recently. therefore please be patient and thorough in yr answer to me.
thanks in advance
- The version on my site is beta and is currently being tested. It will most likely be released within the next week or so and does include an html block for a popup player so people can navigate through your forum without interrupting the player.
- This player only plays mp3 files via url.
- It is a total rewrite from the previous version btw as I decided to do many other changes to the coding.
Quote from: zanadu_celal on February 25, 2011, 05:42:09 AM
not working
- the version posted here atm is not updated for SMF 1.1.13 or SMF 2.0 RC5 (pending next week). You will have to update the package_info.xml file yourself if you want to use it right this very moment ;)
- make sure your mp3's are proper url's.
- make sure the playlist number in your block code matches the one(s) in your mp3 settings.
Please be patient as I will release a new version very soon.
thank you in advance. I will be waiting for that release.
Updated to version 1.8.
Many changes/advancements have been made to this modification.
Block codes must be updated to the newer format.
Please see the first post for more details.
Is it possible to give a member access to the player admin area and not give them admin access to my forum?
Or maybe set up another FTP and give them access there.
Quote from: ACAMS on March 22, 2011, 11:26:07 AM
Is it possible to give a member access to the player admin area and not give them admin access to my forum?
Or maybe set up another FTP and give them access there.
With this version ( 1 . 8 ) ... no.
All the admin templates and source code check if the user is admin or they get booted to the main page.
Plus it needs filters for the mp3 title and url (which I neglected to put in) before adding permissions for this.
I was already thinking someone might request this and it will be added in the next version along with some other new features.
GOOD.....I am getting bummed out having to load each MP3 one at a time, and the guys are using an uploader I made to upload their favorite MP3's, so I want to let somebody else do it for a while!
It would be nice if my uploader would put the MP3 in a folder and PremiumBeat Mp3 Player would automatically load it to the playlist!
help!
ok - I installed simple portal (no problems there), then I installed this mod - no problems there, either.
now all I get is the "MP3 player malfunction" box, on every browser (opera, firefox, chrome, IE). I checked and re-checked the links - they're fine. I can see that mod is working on other forums - so I must be doing something wrong...
idiot :-[
well, I copied the code from the readme file inside the package, and it's working now
have absolutely no idea what happened there.... ???
Updated to version 1.9 with the following changes:
Version 1.9 (Public)
- added forum settings source code + template
- added bbcode to play single mp3 url
- added button/link in forum for a popup
- added auto-load folder with playlist setting
- permissions to moderate configuration and/or settings
- permissions to view/use popup link and/or bbcode
- unique permission settings for forum link
- filters for all user inputs and mysql queries
- added integration hooks for RC5
The player will now work individually with a permission based popup executed from a forum link and/or a php block/module.
There is now an option to auto-load mp3's from a specified local folder and a bbcode that plays a single mp3 url.
I updated 1.7 to 1.9 and the damn thing deleted all my mp3's......HUNDREDS of them!
If I ever get my forum restored from back-up.......I have problems I will need help with!
WARNING
SAVE all files before updating!!!!!
I uninstalled 1.7......was I supposed to?
I have most of it sorted out, but my player does not show
http://gametechmods.com/forums/index.php/page,page4106.html (http://gametechmods.com/forums/index.php/page,page4106.html)
I may have my code wrong
I used this code on my page.
/* Adjustable variables: Set playlist ID + match width & height to the proper playlist settings */
/* Setting the playlist ID# to 0 or 999 will allow this block to use playlist permissions */
$playlist ='1';
$width = '800';
$height = '600';
/* Set $position to false to have the button appear in the block and set block body style accordingly */
/* For $position = false put the following in your body style... text-align:center;vertical-align:middle;overflow:hidden; */
$position = 'fixed';
if ($position == 'fixed')
{$style = "position:fixed;top:0px;right:0px;";}
else
{$style="text-align:center";}
$url = 'index.php?action=customMusicPopup;playlist='.$playlist.';';
/* Do not edit below this line */
echo ' <script type="text/javascript">
<!--
var WindowObjectReference = null;
function PremiumbeatPopup(strURL,strWidth,strHeight)
{
var strOptions="";
var strType = "console";
if (strType=="console") strOptions="resizable,height="+strHeight+",width="+strWidth;
if (strType=="fixed") strOptions="status,height="+strHeight+",width="+strWidth;
if (strType=="elastic") strOptions="toolbar,menubar,scrollbars,resizable,location,height="+strHeight+",width="+strWidth;
WindowObjectReference = window.open(strURL, "newWin", strOptions);
WindowObjectReference.focus();
}
//-->
</script>';
$pop = '<a href="javascript:void(0)" onclick="PremiumbeatPopup(\''.$url.'\',\''.$width.'\',\''.$height.'\')">'.$icon.'</a>';
$_SESSION['customMusic_checker'] = true;
echo $pop;
EDIT:
I can't figure out how to make the new player show, nor can I load the playlist.
Also, this image is not in the download..... /images/admin/custom_music.gif
@ACAMS:
When updating from v1.7 (or prior) the installation will copy all the mp3 db entries from your settings table to its own premiumbeat_mp3s table...
I just tested this again and it is working as it should.
Uninstalling your older version was the proper procedure.
Quote
SAVE all files before updating!!!!!
It does not manipulate any mp3 files at all and any you had stored on your server hdd will be untouched.
There is no file named custom_music.gif associated with this modification.
Check Admin -> Premiumbeat -> Configuration to view your mp3 list.. if your mp3's do not show on the mp3 list (they should because I just tested this again!!) and you had them stored on your server hdd you can use Admin -> Premiumbeat -> Settings to adjust your auto-load folder to where you stored all those mp3's and set the appropriate playlist. From that point you can enter one manual entry for the same playlist where the mod will allow settings for it. (Do this only if your mp3 list was void of the original entries of your server hdd (site) stored mp3's)
Adjust your block code with the opted playlist id.
That code you just displayed is for a popup display via a fixed icon from the top right corner but what you have there is incomplete where part of the code is missing. Look at the codes from the first post of this thread and choose which one suits your personal setup.
Your forum had a unique setup where you had a link that opened a separate page that displayed a block I believe.. For that same setup you will need to use the Player visible in the block code for SMF 2 and assign that block for that page.
If you choose playlist 0 or 999 then the playlist will be permission based from the mods configuration menu for membergroups opted from each playlist or you may choose to use a specific playlist.
What playlist # are your mp3's set at?
ie. this is assuming the $playlist_id=1
/* Set Playlist ID Number - default is 1 */
/* MP3's that use playlist number 1 will play on all blocks... Other playlists are block specific */
$playlist_id = 1;
global $scripturl, $smcFunc;
/* Adjustable parameters */
$width = 800;
$height = 600;
$skin = '#FFFFFF';
$autoplay = 'yes'; /* yes = autoplay, no = manual play */
$columns_settings = array('height', 'width', 'autoplay', 'skin');
$a = check_block_playlist($playlist_id);
if ($a == true)
{
$result1 = $smcFunc['db_query']('', "SELECT myplaylist, height, width, autoplay, type, skin FROM {db_prefix}premiumbeat_settings WHERE (myplaylist = {$playlist_id}) LIMIT 1");
while ($val = $smcFunc['db_fetch_assoc']($result1))
{
if ((empty($val['myplaylist']))) {continue;}
if ((int)$val['myplaylist'] < 1) {continue;}
foreach ($columns_settings as $sets)
{
if (empty($val[$sets])) {$val[$sets] = 0;}
}
$autoplay = 'no';
if($val['autoplay'] == 1) {$autoplay = 'yes';}
$width = $val['width'];
$height = $val['height'];
$skin = '#' . $val['skin'];
}
$smcFunc['db_free_result']($result1);
}
$_SESSION['premiumbeat_bbc'] = false;
$_SESSION['customMusic_checker'] = true;
if($playlist_id < 1) {$playlist_id = 1;}
$_SESSION['playlist_id'] = $playlist_id;
echo'<script type="text/javascript" src="my_music/swfobject.js"></script>
<div id="flashPlayer">
Mp3 Player Malfunction
</div>
<script type="text/javascript">
var so = new SWFObject("my_music/playerMultipleList.swf", "mymovie", "'.$width.'", "'.$height.'", "7", "'.$skin.'");
so.addVariable("autoPlay","'.$autoplay.'")
so.addVariable("playlistPath","',$scripturl,'?action=customMusic", "SESSION")
so.write("flashPlayer");
</script>';
function check_block_playlist($play)
{
global $smcFunc;
$result2 = $smcFunc['db_query']('', "SELECT myplaylist FROM {db_prefix}premiumbeat_settings WHERE myplaylist = {$play} LIMIT 1");
$result3 = $smcFunc['db_num_rows']($result2);
$smcFunc['db_free_result']($result2);
if ($result3 > 0) {return true;}
return false;
}
THANKS for the help, and this great mod.....all is working now.
I guess my host deleted my MP3's thinking they were infringing on copyrights, but I don't know......they are gone.
I love this new thing were they go to the playlist automatically!
THANKS!!!!!
Quote from: ACAMS on May 02, 2011, 06:24:50 PM
THANKS for the help, and this great mod.....all is working now.
I guess my host deleted my MP3's thinking they were infringing on copyrights, but I don't know......they are gone.
I love this new thing were they go to the playlist automatically!
THANKS!!!!!
I am glad you like the new feature.
Actually I made a mistake there and better put a warning on the original post to copy any mp3's from that folder.
On uninstall I have it removing the my_music folder altogether which would remove any mp3's stored in there.. I will have to change it to removing specific files I suppose so people do not make that mistake.
My apologies for that as it was overlooked during testing this update.
Perhaps it would be best to use a separate folder to store your mp3's so you do not forget when uninstalling the mod for updating next time.
When you create a separate directory put the file attached to this post into it.. it will stop people from browsing your mp3's.
OK, Thanks, I guess I need to keep everybody out of my music folder.
THANKS AGAIN!
OK, I am about to go nuts trying to figure out how to make it have 3 autoloading playlists.
I created 3 pages, and can link to 3 players, but need to make them load.
How can I make it have
Auto Playlist ID#1
Auto Playlist ID#2
Auto Playlist ID#3
(http://gametechmods.com/Pics/playlist123.jpg)
Is this even possible?
I only allowed it to have 1 auto loading folder in version 1.9.
The other folders you want to use will have to be manually added to another playlist in Configuration.
I will consider a multiple auto load folder setting in the next version.
So, I should be able to a playlist #2 and make a page in simpleportal with the player and naming the playlist #2 and it should work....right?
If so I am having trouble
Quote from: ACAMS on May 07, 2011, 01:48:11 PM
Link to post in Simple Portal topic
Quote from: ACAMS on May 07, 2011, 01:53:57 PM
So, I should be able to a playlist #2 and make a page in simpleportal with the player and naming the playlist #2 and it should work....right?
If so I am having trouble
Quote from: ACAMS on May 07, 2011, 01:48:11 PM
Link to post in Simple Portal topic
Yes but remember that any mp3's assigned to playlist 1 (including the auto-load playlist) will be available on all playlists.
If you only want playlists with specific mp3's not to show on other playlists do not use playlist#1.
I am having so damn much trouble getting the pages to do right, I will probably just wait for an update that allows more than one playlist.
Thanks for your efforts!
Quote from: ACAMS on May 07, 2011, 03:47:57 PM
I am having so damn much trouble getting the pages to do right, I will probably just wait for an update that allows more than one playlist.
Thanks for your efforts!
You will need to learn how to display different playlists to accomplish what you posted.
It is very simple, set mp3's to the appropriate playlist and the playlist in the block to match what you want displayed.
I have that part down, and all seems to work now.
Is there a way to may the title be longer....after it passes 30 spaces it quits displaying the name of the tune.
THANKS for all the help.
Quote from: ACAMS on May 07, 2011, 04:31:03 PM
I have that part down, and all seems to work now.
Is there a way to may the title be longer....after it passes 30 spaces it quits displaying the name of the tune.
THANKS for all the help.
File:
Themes / default / CustomMusicEdit.template.php
Find:
echo '<tr><td style="text-align:left">', $txt['customMusic_description'], '</td><td style="text-align:left"><input type="text" name="description" value="'.$context['description'][$track].'" maxlength="30" size="30" /></td></tr><tr><td> </td></tr>';
Change maxlength and size to your desired integer for the maximum variable length to be entered in the description text field.
WOOHOOO.....that worked, now all I need is to be able to have autoloading playlist 1,2, and 3
THANKS!
All is working now!
Is a temp playlist created when I use auto playlist 1 and if so can I copy the data to create a playlist #3
What Browser's is this compatible with? Can't get it to work on Opera.
Quote from: ACAMS on May 13, 2011, 08:41:04 AM
Is a temp playlist created when I use auto playlist 1 and if so can I copy the data to create a playlist #3
Currently (version 1.9) the auto load playlist will only allow one folder option and one assigned playlist.
Manual entries can also be added the the same playlist assigned as the auto-load.
It simply will add any mp3's contained in the auto-load folder to the assigned playlist.
Quote from: hcfwesker on May 22, 2011, 11:47:22 PM
What Browser's is this compatible with? Can't get it to work on Opera.
I just tested this on Opera and it works fine.
Tested browsers: Safari, Opera, Firefox and IE. (32 and 64 bit)
Your browser must have the Adobe flash player plugin installed to allow this player to function.
64 bit browsers may require the specific plugin from the link given in the first post.
yeah, i just updated my flash. This MOD is super sexyyyyyy -Underdog-.
I'm sure this isn't possible, but is there any chance a "views" total could be added to each track in the tracklist in the admin page. would help to see which tracks are more popular, and for us to keep track of listerners of our forum podcast.
Just hopeful wishes, no biggy if it's not possible. :)
EDIT :::
one more question, the way you have the MP3 bbc image that opens the pop-up, anyway to have it so a link to the playlist also opens in a pop up? so far the best i can do is have the player open in a new window when trying to link it in a topic.
Quote from: hcfwesker on May 24, 2011, 10:16:13 PM
yeah, i just updated my flash. This MOD is super sexyyyyyy -Underdog-.
Glad you like it.
Quote from: hcfwesker
I'm sure this isn't possible, but is there any chance a "views" total could be added to each track in the tracklist in the admin page. would help to see which tracks are more popular, and for us to keep track of listerners of our forum podcast.
Just hopeful wishes, no biggy if it's not possible. :)
Your request has been added to my list of options for the next update.
Quote from: hcfwesker
one more question, the way you have the MP3 bbc image that opens the pop-up, anyway to have it so a link to the playlist also opens in a pop up? so far the best i can do is have the player open in a new window when trying to link it in a topic.
Hmm.. an option where the bbc can also open a playlist? (if permissions allow)
I will also add this to the update list.
Tell me the SMF version you are using and then I can give you an edit to allow a bbc to open a specified playlist.
Currently I'm on SMF 2 RC4
reason i ask for the link, cause members can easily use the premiumbeat bbc once they see how i use it, and would rather not have that option available.
Thanx so much ~V~ , and don't worry, I'm very patient, I know these updates will take some time, so i won't constantly bug you. :)
Quote from: hcfwesker on May 25, 2011, 10:19:44 PM
reason i ask for the link, cause members can easily use the premiumbeat bbc once they see how i use it, and would rather not have that option available.
There are membergroup permission settings for the bbc function already available.
@hcfwesker:
My apologies as I have been busy with work leaving little time for coding as of late.
Here is a minor edit that will allow you to use the current bbc function for playlists rather than url's.
File: Sources / CustomMusicPlaylist.php
find:
/* mp3 entries for auto list from folder */
Place the following before the above code:
if ($playsong == true)
{
$not = array('http://', 'https://');
$new = str_replace($not, "", $playsong);
$playlist_id = 0; $playsong = false;
if ((int)$new > 0 || (int)$new < 100)
{$playlist_id = (int)$new; $playsong = false;}
}
The future update will be somewhat different with proper editing of the Subs.php file allowing for both bbc functions (with permissions) as this manual edit will only allow the playlist option for bbc.
You must still enable the premiumbeat bbc function for each membergroup permission setting.
Thanx, my friend. Will test it soon. :)
Until I have enough spare time to update this modification, please use the emulation in the SMF package manager menu to install this onto SMF 2.0 Stable.
- Upload the Premiumbeat v1.9x zip package in your package manager
- View the packages list and click the Advanced tab located in the bottom right of the list
- Change emulation text entry to: SMF 2.0 RC5
- This mod should now be available for installation
Arvo All,
I finally have time to start working on using premiumbeat on my site but seem to have run into some issues, I installed 1.71 awhile back.
I added songs but couldn't remember, nor find, where you activate the player at. I checked my admin configs but couldn't locate it, I could of swore that I seen it on there before.
I then figured well, I will go ahead and upgrade to 1.9. After backing up my site I went to uninstall it and it says "Cannont uninstall because there is no uninstaller".
I noticed that under "Browse Packages" it doesn't have an "uninstall" option like the rest of my packages, only "List Files" & "Delete". I have to go to "Installed Packages" to find the "uninstall"
I am running SMF 1.1.13, SP 2.3.3
How do I go about removing the old copy and installing the upgrade ?
Thank you for your time.
Quote from: nob4uask on July 11, 2011, 01:59:22 AM
Arvo All,
I finally have time to start working on using premiumbeat on my site but seem to have run into some issues, I installed 1.71 awhile back.
I added songs but couldn't remember, nor find, where you activate the player at. I checked my admin configs but couldn't locate it, I could of swore that I seen it on there before.
I then figured well, I will go ahead and upgrade to 1.9. After backing up my site I went to uninstall it and it says "Cannont uninstall because there is no uninstaller".
I noticed that under "Browse Packages" it doesn't have an "uninstall" option like the rest of my packages, only "List Files" & "Delete". I have to go to "Installed Packages" to find the "uninstall"
I am running SMF 1.1.13, SP 2.3.3
How do I go about removing the old copy and installing the upgrade ?
Thank you for your time.
Why not SMF 1.1.14?
Anyhow.. Your upgrade may have replaced files and some of the following edits may be unnecessary:
File: index.php
Find and remove:
'customMusic' => array('CustomMusicPlaylist.php', 'CustomMusicMp3'),
File: Sources / ModSettings.php
Find and remove:
'custom_mp3' => 'ModifyCustomMusicSettings',
'custom_mp3' => 'ModifyCustomMusicSettings',
'custom_mp3' => array(
'title' => $txt['customMusic_tabtitle'],
'href' => $scripturl . '?action=featuresettings;sa=custom_mp3;sesc=' . $context['session_id'],
),
function ModifyCustomMusicSettings()
{
global $sourcedir;
require_once $sourcedir . '/CustomMusic.php';
if (!empty($_GET['tag']))
EditCustomMusic($_GET['tag']);
else
BrowseCustomMusic();
}
File: Themes / default / languages / Modifications.english.php
Remove the following code:
/* Premium Beat - Custom mp3 Player for SMF */
$txt['customMusic_tabtitle'] = 'Premiumbeat';
$txt['customMusic_tabtitle2'] = 'Premiumbeat MP3 List';
$txt['customMusic_tabtitle3'] = 'Premiumbeat Settings Menu';
$txt['customMusic_tag'] = 'Track number of mp3';
$txt['customMusic_description'] = 'Title of mp3';
$txt['customMusic_enable'] = 'Enable mp3';
$txt['customMusic_text'] = 'Details';
$txt['customMusic_url'] = 'mp3 URL';
$txt['CustomMusic_count'] = 'MP3 ID Number';
$txt['customMusic_type'] = 'Enable Shuffling of mp3 Playlist';
$txt['customMusic_width'] = 'Set overall mp3 Player Width';
$txt['customMusic_height'] = 'Set overall mp3 Player Height';
$txt['customMusic_autoplay'] = 'Enable Autoplay of mp3 Playlist';
$txt['customMusic_skin'] = 'Set skin color code #';
$txt['customMusic_playlist'] = 'Playlist#';
$txt['customMusic_trackid'] = 'Track#';
$txt['customMusic_add'] = '[Add New MP3]';
$txt['customMusic_edit'] = '[Edit Settings]';
$txt['customMusic_enable'] = 'Enable';
$txt['customMusic_delete'] = 'Delete';
$txt['customMusic_trackname'] = 'Track Name';
$txt['customMusic_submit'] = 'Submit';
$txt['customMusic_help'] = 'Help';
File: Themes / default / languages / Errors.english.php
Remove the following code:
/* Premium Beat - Custom mp3 Player for SMF error message */
$txt['customMusic_check'] = 'You are not permitted to view the mp3 playlist.';
Delete the following folders and/or files:
my_music (<-- move any mp3's before deleting if you stored them in this folder)
Sources / CustomMusic.php
Sources / CustomMusicPlaylist.php
Themes / default / CustomMusic.template.php
After making sure all these edits and files are removed or non-existent just delete the Premiumbeat v1.71 package from your packge menu.
Now upload version 1.9x and install it.
Morn Underdog,
Thanx for the quick response.
For about the last hour I have backed up the site and followed the same instructions that you provided (before I caught this response). When I try to upgrade to 1.9 it says "package already installed".
This is a quick run down of everything.
I installed Premiumbeat 1.71 back in feb of this year and it was put on the shelf till I had time to play with it.
I upgraded smf to 1.1.13 the next day which I found out today from the premiumbeat mod thread that doesn't support 1.71. This probably explains why I couldn't find anything in admin. As far as not upgrading to 1.1.14, I have panick attacks when it comes to something that could cause my whole site to crash. Although I will be upgrading to smf 2.0 once the busy season has passed.
Like mentioned above, I removed all code and files that are associated with premiumbeat 1.71 including deleting the package but there is something that is strange. Even though I deleted the package in admin/packages/browse packages it is still showing up in "installed packages" with the "uninstall" option. If I click on it it says "Unable to find package file".
Thanx for the help.
Quote from: nob4uask on July 11, 2011, 08:42:03 PM
Morn Underdog,
Thanx for the quick response.
For about the last hour I have backed up the site and followed the same instructions that you provided (before I caught this response). When I try to upgrade to 1.9 it says "package already installed".
This is a quick run down of everything.
I installed Premiumbeat 1.71 back in feb of this year and it was put on the shelf till I had time to play with it.
I upgraded smf to 1.1.13 the next day which I found out today from the premiumbeat mod thread that doesn't support 1.71. This probably explains why I couldn't find anything in admin. As far as not upgrading to 1.1.14, I have panick attacks when it comes to something that could cause my whole site to crash. Although I will be upgrading to smf 2.0 once the busy season has passed.
Like mentioned above, I removed all code and files that are associated with premiumbeat 1.71 including deleting the package but there is something that is strange. Even though I deleted the package in admin/packages/browse packages it is still showing up in "installed packages" with the "uninstall" option. If I click on it it says "Unable to find package file".
Thanx for the help.
If you have never installed version 1.9x then there should be no issues as the package_info and install have proper updated version reference numbers.
Mkae sure you never installed version 1.9x and if you have... uninstall it.
Make sure no Premiumbeat packages are in your install menu (delete them all) and then run forum maintenance (cache & db).
After that, upload and install v1.9x again.
Quote from: -Underdog- on July 12, 2011, 09:12:56 AM
Quote from: nob4uask on July 11, 2011, 08:42:03 PM
Morn Underdog,
Thanx for the quick response.
For about the last hour I have backed up the site and followed the same instructions that you provided (before I caught this response). When I try to upgrade to 1.9 it says "package already installed".
This is a quick run down of everything.
I installed Premiumbeat 1.71 back in feb of this year and it was put on the shelf till I had time to play with it.
I upgraded smf to 1.1.13 the next day which I found out today from the premiumbeat mod thread that doesn't support 1.71. This probably explains why I couldn't find anything in admin. As far as not upgrading to 1.1.14, I have panick attacks when it comes to something that could cause my whole site to crash. Although I will be upgrading to smf 2.0 once the busy season has passed.
Like mentioned above, I removed all code and files that are associated with premiumbeat 1.71 including deleting the package but there is something that is strange. Even though I deleted the package in admin/packages/browse packages it is still showing up in "installed packages" with the "uninstall" option. If I click on it it says "Unable to find package file".
Thanx for the help.
If you have never installed version 1.9x then there should be no issues as the package_info and install have proper updated version reference numbers.
Mkae sure you never installed version 1.9x and if you have... uninstall it.
Make sure no Premiumbeat packages are in your install menu (delete them all) and then run forum maintenance (cache & db).
After that, upload and install v1.9x again.
Even Underdog,
I was just working on it and for some reason they 1.71 version was still in the installed.list file. I removed it and uploaded it back to the server and now it has 1.9 showing with [Appl Mod][list Files][Delete]. I am just downloading my backup that I just created then I will continue installing it. I will update this in the next 15 or so to let you know if all is ok.
Thanx for your help.
[/list]
Ok underdog, just can't seem to get this going..lol
I hit [Apply Mod] and it gave me the screen shot below but no button or option to continue.
Quote from: nob4uask on July 12, 2011, 09:47:08 AM
Ok underdog, just can't seem to get this going..lol
I hit [Apply Mod] and it gave me the screen shot below but no button or option to continue.
I'm guessing your screen print is slightly cropped perhaps.
There should be an
Install Now button to the bottom right.
Quote from: -Underdog- on July 12, 2011, 12:43:06 PM
Quote from: nob4uask on July 12, 2011, 09:47:08 AM
Ok underdog, just can't seem to get this going..lol
I hit [Apply Mod] and it gave me the screen shot below but no button or option to continue.
I'm guessing your screen print is slightly cropped perhaps.
There should be an Install Now button to the bottom right.
Morn underdog,
It was after 1am here when I guit for the night and amazing how getting a little sleep can change your POV. When I got up this morning I looked at it, moved the google add column on the right side to the top of the screen and there was my install button..lol
It is all working now and time to play. Thank you for your help underdog.
Be Safe.
Does this mod allow me to play mp3 files hosted on another site?
Quote from: MiY4Gi on July 12, 2011, 07:09:53 PM
Does this mod allow me to play mp3 files hosted on another site?
Morn MiY,
Although I am new to this mod, I would think that as long as you had the URL of where the files where stored and had access it would be possible. Best thing to do is just try it on a test song.
Quote from: MiY4Gi on July 12, 2011, 07:09:53 PM
Does this mod allow me to play mp3 files hosted on another site?
Mp3 url's can be either.
The auto-load folder will only work with a local folder setting.
Quote from: nob4uask on July 12, 2011, 06:37:51 PM
Morn underdog,
It was after 1am here when I guit for the night and amazing how getting a little sleep can change your POV. When I got up this morning I looked at it, moved the google add column on the right side to the top of the screen and there was my install button..lol
It is all working now and time to play. Thank you for your help underdog.
Be Safe.
Right on! Glad to hear you got it working.
Re: undefined playlist, mp3's not showing up in player, etc.
I was linking to several remotely-hosted mp3s in my posts and one link wouldn't load in the player--went round and round trying to figure out if there was something wrong with the file link, etc. which was hard to do because, again, it's a remotely hosted file--can't do much besides download...
Then I noticed that whomever had uploaded the one bum file had the file extension in caps, i.e., "filename.MP3" not "filename.mp3" so I went into the source code in CustomMusicPlaylist.php and changed lines 67 and 89 from:
if ($c == '.mp3')
to
if ($c == '.mp3' || $c == '.MP3')
Problem solved. Now the player accepts files with uppercase or lowercase extension names. :)
Nice tool--thanks!
Maybe you can help figure out how to make it have 3 auto loading playlists!
I tried, but I am not samrt enuf.
Quote from: Greeley on July 17, 2011, 11:27:03 AM
Re: undefined playlist, mp3's not showing up in player, etc.
I was linking to several remotely-hosted mp3s in my posts and one link wouldn't load in the player--went round and round trying to figure out if there was something wrong with the file link, etc. which was hard to do because, again, it's a remotely hosted file--can't do much besides download...
Then I noticed that whomever had uploaded the one bum file had the file extension in caps, i.e., "filename.MP3" not "filename.mp3" so I went into the source code in CustomMusicPlaylist.php and changed lines 67 and 89 from:
if ($c == '.mp3')
to
if ($c == '.mp3' || $c == '.MP3')
Problem solved. Now the player accepts files with uppercase or lowercase extension names. :)
Nice tool--thanks!
Ya I have seen some files named like that and just recently in my own collection. I overlooked this and will add it to the next updated version.
Thank you for reporting this.
Quote from: ACAMS on July 17, 2011, 05:53:56 PM
Maybe you can help figure out how to make it have 3 auto loading playlists!
I tried, but I am not samrt enuf.
The next version will allow any playlist to use an opted auto-load folder.
You will then have the option of setting up to 98 playlists with auto-load folders ( 99 max but Playlist 1 will play everywhere don't forget ) ;)
Not much time or energy to develop lately just too busy so you will have to be patient. :-\
Well, if playlist 1 has to play everywhere, then it will be almost useless to have the others autoload, unless I can leave playlist 1 empty.
I would hate to have that new crap get mingled with my country music.
Quote from: ACAMS on July 17, 2011, 07:54:54 PM
Well, if playlist 1 has to play everywhere, then it will be almost useless to have the others autoload, unless I can leave playlist 1 empty.
I would hate to have that new crap get mingled with my country music.
Yes you can leave it empty.
It is used for music that you want played on every list as explained during installation.
okay, so i had the player working fine. then (i think i created an issue) by trying to set the player value at 0, so its hidden.
well its not hidden and i cannot via the admin panel, select anything in this panel any longer.
i tried uninstalling it to reinstall, but there are errors, and i dont wanna muck anything up.
i did notice while doing manual edits to try and get it back to good, there were duplicate parses inside my files, so i did delete the extras, but nothing helped.
same errors too on uninstall.
any help would be appreciated...
as well, i have uploaded many songs to the my_music/music directory.
1.1.14
Quote from: Nickhead on July 29, 2011, 06:08:39 PM
okay, so i had the player working fine. then (i think i created an issue) by trying to set the player value at 0, so its hidden.
well its not hidden and i cannot via the admin panel, select anything in this panel any longer.
i tried uninstalling it to reinstall, but there are errors, and i dont wanna muck anything up.
i did notice while doing manual edits to try and get it back to good, there were duplicate parses inside my files, so i did delete the extras, but nothing helped.
same errors too on uninstall.
any help would be appreciated...
as well, i have uploaded many songs to the my_music/music directory.
1.1.14
If there is any duplicated code it would be due to a previous improper un-installation.
Whenever you install or uninstall modifications, you must properly parse any errors that are flagged - failing that you will have issues such as you described.
Your playlist page is void of entries because your mp3 list is empty (no doubt). Add a mp3 with a playlist number and the playlist will appear on that page you posted.
The invisible player setup is for block code use (no popup) where you set the width and height to 0 in a specific playlist settings... you would also need to set your block to no title and no body for this option.
This Mp3 player uses Adobe Flash right? So then will all audio formats supported by Adobe Flash, also be supported by this mod? I want to know if it supports the HE-AAC compression format?
Quote from: MiY4Gi on August 09, 2011, 02:13:17 PM
This Mp3 player uses Adobe Flash right? So then will all audio formats supported by Adobe Flash, also be supported by this mod? I want to know if it supports the HE-AAC compression format?
This player only supports mp3 files.
m4a files will not function with it.
Quote from: -Underdog- on August 09, 2011, 11:51:02 PM
This player only supports mp3 files.
m4a files will not function with it.
Are there any plans to extend the audio formats supported, or is that beyond the scope of this mod? I mean, the name of the mod is PremiumBeat
Mp3 Player after all.
PremiumBeat is around no longer.
Quote from: MiY4Gi on August 13, 2011, 02:53:45 PM
Quote from: Xarcell on August 13, 2011, 02:12:31 PM
PremiumBeat is around no longer.
Please elaborate.
er.... not's not around anymore? I don't know how to be anymore clearer than that.
http://www.premiumbeat.com/flash_music_players
Mm, so Premium Beat stopped doing the media player. Well, I guess I'll look around for another option then.
The old player still works.
It is just a pain in the butt not having more than one autoloading playlist.
Quote from: MiY4Gi on August 10, 2011, 08:17:43 AM
Are there any plans to extend the audio formats supported, or is that beyond the scope of this mod? I mean, the name of the mod is PremiumBeat Mp3 Player after all.
As was already stated by Xarcell, the actual player is no longer supported.
Quote from: Xarcell on August 13, 2011, 03:50:23 PM
er.... not's not around anymore? I don't know how to be anymore clearer than that.
http://www.premiumbeat.com/flash_music_players
Ya I noticed that last week.
Quote from: ACAMS on August 13, 2011, 08:25:18 PM
The old player still works.
It is just a pain in the butt not having more than one autoloading playlist.
This package installs all the necessary files and will function just fine for playing mp3 files from any proper url.
Yes this option will definitely be added to the next version amongst some other tweaks.
In the future I may swap out the player for something that has the ability to play other formats (a/v).
This mod does not function and when I go to uninstall this clunky mod....it tells me:
"This package cannot be uninstalled, because there is no uninstaller!
Please contact the mod author for more information."
Nice! Sweet! Thanks. Much appreciated.
David you will find this mod works perfect on 2.0.1
Underdog has been very busy lately due to a new addition to the family and other committments.
You need to emulate the mod to 2.0 before uninstalling.
How doesn't it function?
Quote from: Brack1 on November 12, 2011, 09:24:23 PM
David you will find this mod works perfect on 2.0.1
Underdog has been very busy lately due to a new addition to the family and other committments.
You need to emulate the mod to 2.0 before uninstalling.
How doesn't it function?
First of all...apologies on the tone of my last email. Whatever problems I may experience it doesn't justify being an ass to people...so again, my apologies.
The mod doesn't uninstall even under emulation....it tells me the same message as indicated above.
As for functionality...it doesn't play anything I program into the playlist, it refuses to colorize the skin where it asks for it and says it will. The playlist doesn't read out...it says "untitled". I've got all the paths right...everything else is cool...I even tried it on a test forum with NOTHING else installed and the thing won't run. Period. I'm also not too pleased with how the admin interface was written...it just looks clunky and does nothing.
Without seeing it all I can suggest is you go to Underdogs own forum and ask there.
www.askusaquestion.net
Quote from: David111567 on November 12, 2011, 10:43:08 PM
First of all...apologies on the tone of my last email. Whatever problems I may experience it doesn't justify being an ass to people...so again, my apologies.
The mod doesn't uninstall even under emulation....it tells me the same message as indicated above.
As for functionality...it doesn't play anything I program into the playlist, it refuses to colorize the skin where it asks for it and says it will. The playlist doesn't read out...it says "untitled". I've got all the paths right...everything else is cool...I even tried it on a test forum with NOTHING else installed and the thing won't run. Period. I'm also not too pleased with how the admin interface was written...it just looks clunky and does nothing.
I have not updated this mod (just recently a new beta is being worked on) and the download page from this site clearly does not include SMF 1.1.15 or SMF 2.0.1 as being compatible. However, the installer should work fine when emulating SMF 2.0 RC5.
The mod functions fine & the admin interface includes simple tables that display needed data + inputs.
Imo your issue may be input, settings and/or a permission settings error (even the admin needs to be set for the popup per playlist).
thanks for the great mod.
I have one question, I know its called mp3 player but do you think its possible to play .m3u files locally and/or url end with extension .m3u or .asx (radio streaming links) ?
I can not tell at this moment because I have not figured out why mine is not working yet. I installed the latest version on smf v2.0.1 through the package manager without any errors. I just emulated the installation, yet I found out that Premiumbeat.english and Premiumbeat.english-utf8 were not installed in sources folder! I included manually.
examples
m3u url ( http://www.logfm.com/radio/1898-radiourfm/1898.m3u )
asx url (http://www.logfm.com/radio/1898-radiourfm/1898.asx )
also m3u file attachment
thanks
Quote from: BaghdadGhost on November 27, 2011, 11:59:33 AM
thanks for the great mod.
I have one question, I know its called mp3 player but do you think its possible to play .m3u files locally and/or url end with extension .m3u or .asx (radio streaming links) ?
I can not tell at this moment because I have not figured out why mine is not working yet. I installed the latest version on smf v2.0.1 through the package manager without any errors. I just emulated the installation, yet I found out that Premiumbeat.english and Premiumbeat.english-utf8 were not installed in sources folder! I included manually.
examples
m3u url ( http://www.logfm.com/radio/1898-radiourfm/1898.m3u )
asx url (http://www.logfm.com/radio/1898-radiourfm/1898.asx )
also m3u file attachment
thanks
btw - the next version is currently in beta and will include some fixes + new options.
The player will only work with mp3 files from url's and/or a local folder/file tree.
With this version a single local auto-load folder can also be used (next version has an auto-play folder for each playlist).
New playlists are auto-created when adding new mp3's (with default settings) & then those playlist(s) parameters can be modified.
Imo - don't bother using playlist #1 .. assign any other playlist numbers (up to 99) for this version.
I am going to post some screenshots of examples.. however your templates will appear a bit different because these are pics of my newer beta version that has had all its templates rewritten.
The inputs are essentially the same but on yours they are in a horizontal format.
Here are 2 examples of mp3 entries.
Outside source url example:
(http://i272.photobucket.com/albums/jj187/ginger_face/mp3_external_url.png)
Local source folder/file tree:
(http://i272.photobucket.com/albums/jj187/ginger_face/mp3_local_file.jpg)
Master settings for the popup link & playlist permissions as well as the override playlist id# can be adjusted in the premiumbeat forum settings menu:
(http://i272.photobucket.com/albums/jj187/ginger_face/forum_settings.png)
Configure each playlist with its own settings:
(http://i272.photobucket.com/albums/jj187/ginger_face/playlist_configuration.png)
For the popup you will see a permission settings button in the above admin template. Whatever membergroups are assigned to a playlist is the one that will play for them when they press the mp3 player link button if it is enabled or from the playlist block if you opt to use it instead.
Membergroups can only be assigned to 1 playlist in this version (the next version will include a drop-down if opted).
Also.. there are permission settings for premiubeat admin access, bbcode display and the forum link display:
(http://i272.photobucket.com/albums/jj187/ginger_face/permissions.png)
These will have to be set per membergroup to enable them.
thank you for the reply and details
Is there an upload limit thats associated to this mod, my staff who have permissions can not upload anything over 2mb in size?
Cheers
Quote from: zapiy on September 02, 2012, 10:13:19 AM
Is there an upload limit thats associated to this mod, my staff who have permissions can not upload anything over 2mb in size?
Cheers
zapiy,
Are you using SMF 1 or SMF 2 ??
I have not had any issues regarding uploading mp3 files on live & local sites.
3 files with a total of approx. 50MB I have tried on numerous occasions & other times more (up to 5 or 6 mp3s avg. 10MB each).
Imo there is probably a php.ini file that is limiting your UL's to approx. 2MB.
You can attempt to locate the file & adjust it to allow larger file sizes.
(Adjustments: memory_limit, upload_max_filesize, post_max_size) .. you can set these all to ie. 96M)
Other possible options include .htaccess file or possibly adding a hidden input command to the form of the upload template.
Try this edit for file: /Themes/default/CustomMusicUpload.template.php
find:
<input name="music_submit" type="submit" value="'. $txt['customMusicUpload_submit']. '"'. (!empty($context['save_disabled']) ? ' disabled="disabled"' : ''). ' />
Replace with (96MB max):
<input name="music_submit" type="submit" value="'. $txt['customMusicUpload_submit']. '"'. (!empty($context['save_disabled']) ? ' disabled="disabled"' : ''). ' />
<input type="hidden" name="MAX_FILE_SIZE" value="100663296" />
File: /Sources/CustomMusic.php
(SMF 2 edit)
find:
/* Upload/Download mp3 files */
function UploadCustomMusic()
{
global $txt, $scripturl, $context, $smcFunc, $sourcedir, $boarddir, $user_info;
loadLanguage('Modifications');
replace with:
/* Upload/Download mp3 files */
function UploadCustomMusic()
{
global $txt, $scripturl, $context, $smcFunc, $sourcedir, $boarddir, $user_info;
loadLanguage('Modifications');
@ini_set("memory_limit","96M");
( -1 instead of 96M will set it to unlimited )
.. I don't think the above will work when the php.ini file is set with the other restrictions but you can attempt it.
An .htaccess file configured correctly might override it though.
Either create a new .htaccess file or adjust a current one.
(.htaccess files will adjust settings for child directories also unless another .htaccess exists in its child dir to override the 1st.)
.htaccess configuration:
php_value memory_limit 96M
php_value post_max_size 96M
php_value upload_max_filesize 96M
Brilliant stuff, fella.. I will have a play.
I am using SMF 2, since i last posted it appears i can upload any size but one of my staff can not.
He is an admin, but its a custom admin usergroup..
Any ideas?
Also another guy can not get the player to work, the mp3s he can see but they are greyed out and when he clicks them nothing happens.
Thanks fella,
Awesome mod btw
Take a look at ours?
Jamie
zapiy,
Thank you. The mod has some features not completed as of yet (hence Beta) but it's fully functional & stable.
For that custom membergroup you need to have it use unique permissions & then when editing permissions for that specific membergroup you will see all the ones for various premiumbeat functions.
As for the player not functioning properly for some members you will need to have them make sure their javascript & adobe flash are up to date. This is usually the cause of what you describe.
Quote from: Premiumbeat Installer
Recommended requirements:
Server: PHP 5.2+, HTML5+, MYSQL 5.0+, json support enabled (v1.2+)
Browsers: IE 7+, Firefox 3.6+, Safari 5+, Chrome 5+, Opera 10.5+
Browser Add-ons: javascript 1.8+, Adobe Flash Player 10+
Recommended Portal for SMF:
SimplePortal (http://www.simpleportal.net)
Cheers...
I have that membergroup using all the available perms but it still dont work..
Strange.
Quote from: zapiy on September 07, 2012, 01:19:40 PM
Cheers...
I have that membergroup using all the available perms but it still dont work..
Strange.
What exactly does not work? Can that membergroup not access the upload/download page at all?
Or are you saying they can access it but can not upload and/or download files?
Can other users possibly from other membergroups (or the same) upload/download mp3's ?
Please be more specific.
please i have some questions , i am using smf 2.0.2
1. do i need to install both the mod and also create php block??
2. is there any way i can use other website mp3 url or must i upload it on my server?? cos i have limited MB lol
thanks
please help me
Quote from: johnpaul2k2 on October 10, 2012, 12:59:57 PM
please help me
Please DO NOT bump topics less than 24 hours.
The answers from what I can remember.
( I may be wrong)
1. Yes
2. No
Quote from: johnpaul2k2 on October 10, 2012, 04:28:52 AM
please i have some questions , i am using smf 2.0.2
1. do i need to install both the mod and also create php block??
2. is there any way i can use other website mp3 url or must i upload it on my server?? cos i have limited MB lol
thanks
The mod does not require the use of a php block although it is an option & you can use the popup player instead of a block.
It will play mp3's from any url and also has the option of setting up directories locally that users can upload mp3 files to.
If you want to use only outside source url's, it will work just fine by adding them to the Mp3 Music List in its admin section.
Adjust the Premiumbeat Settings to enable the playlist link, create a playlist & then add new mp3's to that playlist.
In each playlist settings you can set which user group will use it. With this version, if you use the playlist link it will only allow you to assign each usergroup to access 1 playlist when the user presses the mp3 link (a future version will show a drop-down multiple playlist option).
I'm experiencing the following problems:
1. It doesn't show on my "Packages" on the Admin area. I have tried uploading both the beta and the last stable version.
2. I have TinyPortal installed. Does it work fine with it?
Thanks and sorry if this has been addressed before but either I don't know how to use the search feature properly, or I couldn't find anything.
Not sure what the support level is on this mod but will ask the questions.
I have PremiumBeat installed - no issues
I can play MP3 from the player link.
I can play mp3 from a Simple Portal block - provided it is on the forum page.
I run SP in standalone mode - the player will not display on the standalone page "Mp3 Player Malfunction "
Do I have something set wrong or does it not work on SP StandAlone?
Thank you
Nugget,
Try manually adjusting the $url variable within the block code to the full url path.
mikungfu,
It works fine with Tiny Portal or without any portal if the link is opted.
What version of SMF are you currently using for your forum? Your SMF should be up to date prior to installing this modification.
Quote from: -Underdog- on October 14, 2012, 11:38:27 PM
Quote from: johnpaul2k2 on October 10, 2012, 04:28:52 AM
please i have some questions , i am using smf 2.0.2
1. do i need to install both the mod and also create php block??
2. is there any way i can use other website mp3 url or must i upload it on my server?? cos i have limited MB lol
thanks
The mod does not require the use of a php block although it is an option & you can use the popup player instead of a block.
It will play mp3's from any url and also has the option of setting up directories locally that users can upload mp3 files to.
If you want to use only outside source url's, it will work just fine by adding them to the Mp3 Music List in its admin section.
Adjust the Premiumbeat Settings to enable the playlist link, create a playlist & then add new mp3's to that playlist.
In each playlist settings you can set which user group will use it. With this version, if you use the playlist link it will only allow you to assign each usergroup to access 1 playlist when the user presses the mp3 link (a future version will show a drop-down multiple playlist option).
thanks alot for this wonderful tips.......so this is embedded right? you know i ddin't really understand this ur answer last october cos i be newbie lol
1. please one more thing, taking other song url..will this cause problem for my ADSENSE ACCOUNT
2. can this mod also work like TAG?? that if i write a particular post concerning a particular song and i wish to drop the mp3 song below the content of my post, is it possible??
THANKS
Quote from: johnpaul2k2 on February 17, 2013, 05:30:18 AM
thanks alot for this wonderful tips.......so this is embedded right? you know i ddin't really understand this ur answer last october cos i be newbie lol
1. please one more thing, taking other song url..will this cause problem for my ADSENSE ACCOUNT
2. can this mod also work like TAG?? that if i write a particular post concerning a particular song and i wish to drop the mp3 song below the content of my post, is it possible??
THANKS
johnpaul2k2,
The terminology for how the player presents the mp3 file(s) is called pseudostreaming (not embedding).
I do not believe the actionscript player & your javascript adsense will conflict but I have never tested that scenario.
This mod will allow you to play mp3 file(s) directly in a post via bbc (if enabled) using their full url(s). It will not play a mp3 attached to the post, you must know the full url(s) of the mp3 file(s) you wish to have available for the bbc feature within the post.
Btw - if you do not prefer the image used for the bbc, you can right click the image & use the options to view the source folder of that image. With that info you can use ftp to perhaps replace that image to a custom one that you prefer.
I dont know if i missed something but i got the same error Mp3 Player Malfunction.
on your previous reply you mentioned that it is an option to make a php block, where can the members see this playlist?
i tried both the sample php codes but i got the Mp3 Player Malfunction.
and what do you mean by this
QuoteTry manually adjusting the $url variable within the block code to the full url path.
thanks
Do you know if it supports variable bitrate mp3's? Are there any bugs that haven't been fixed yet?
Quote from: MiY4Gi on April 19, 2013, 08:37:05 AM
Do you know if it supports variable bitrate mp3's? Are there any bugs that haven't been fixed yet?
MiY4Gi,
It should play any proper mp3 file. As for bugs, some tweaks I have to implement that are pending and for some reason with the latest Google Chrome browser update it only maxes out at 1MB for file uploads with the AX-Uplader routine using that browser (other browsers are ok). Keep in mind that for the latest version of this mod your PHP version must be up to date (at least version 5.3).
Try it out and if it does not function for you adequately report the issue here. Please read the recommended setup instructions during install or in the first post of this thread. Following those instructions will lessen the chance of you needing further support.
Awesome. I'll check it out and report back soon.
For those that requested this feature, here is a PHP block for a multiple playlists drop-down using the popup:
/* Premiumbeat PHP ~ popup block with multiple playlist dropdown option */
/* Edit your image location or make it false not to display it */
$image = false;
// $image = 'http://i272.photobucket.com/albums/jj187/ginger_face/mymusic.gif';
$width = '214';
$height = '230';
$title = 'Select Playlist';
/*
* Set $position to false to have the button appear in the block and set block body style accordingly
* For $position = false put the following in your body style... text-align:center;vertical-align:middle;overflow:hidden;
*/
$position = 'fixed';
/*
* Do not edit below this comment
*/
global $smcFunc, $scripturl, $settings;
$datum = array('myplaylist','title','equip');
$num = 0;
$drop = '';
$_SESSION['premiumbeat_bbc'] = false;
$_SESSION['customMusic_checker'] = true;
if ($position == 'fixed')
$style = "position:fixed;top:0px;right:2px;";
else
$style="text-align:center;";
$result = $smcFunc['db_query']('', "SELECT myplaylist, title, equip
FROM {db_prefix}premiumbeat_settings
WHERE equip > 0");
while ($val = $smcFunc['db_fetch_assoc']($result))
{
foreach ($datum as $data)
$playlists[$num][$data] = $val[$data];
$num++;
}
$smcFunc['db_free_result']($result);
if (empty($playlists))
return false;
foreach ($playlists as $playlist)
$drop .= '<option value="' . $playlist['myplaylist'] . '">' . $playlist['title'] . '</option>';
$playlist = $playlists[0]['myplaylist'];
$Xurl = 'index.php?action=customMusicPopup;playlist=989;playsong=playlist=';
$url = $Xurl . $playlist.';';
if (!$image)
$icon = false;
elseif ($position == 'fixed')
$icon = '<img src ="'.$image.'" alt="" style="position:relative;height:30px;width:59px;float:right;right:2px;" />';
else
$icon = '<span style="display: block;margin-left: auto;margin-right: auto;"><img src ="'.$image.'" alt="" style="position:relative;height:30px;width:59px;" /></span>';
echo '
<script type="text/javascript"><!--
var WindowObjectReference = null;
function PremiumbeatPopup(strURL,strWidth,strHeight)
{
var strOptions="";
var strType = "console";
if (strType=="console") strOptions="resizable,height="+strHeight+",width="+strWidth;
if (strType=="fixed") strOptions="status,height="+strHeight+",width="+strWidth;
if (strType=="elastic") strOptions="toolbar,menubar,scrollbars,resizable,location,height="+strHeight+",width="+strWidth;
WindowObjectReference = window.open(strURL, "newWin", strOptions);
WindowObjectReference.focus();
}
//--></script>';
if ($icon)
$pop = '<a href="javascript:void(0)" onclick="PremiumbeatPopup(\''.$url.'\',\''.$width.'\',\''.$height.'\')">'.$icon.'</a>';
else
$pop = false;
echo '
<ul id="someID" style="list-style-type:none;'.$style.'">
<li>'
, $pop, '<br />
</li>
<li>
<select id="C4" dir="rtl" onchange="PremiumbeatPopup(\''.$Xurl.'\' + this.options[this.selectedIndex].value,\''.$width.'\',\''.$height.'\')">
<option disabled=true value="0" title="tooltip" selected=true>
',$title,'
</option>
',$drop,'
</select>
</li>
</ul>';
I will create a regular type player block with a drop-down (not using the popup) at a later date.
i was trying to expand the width but it's not working
Quote from: johnpaul2k2 on May 10, 2013, 12:47:16 PM
i was trying to expand the width but it's not working
johnpaul2k2,
Are you referring to the popup block above?
Download the attached file & replace the existing file in your Sources folder with it via FTP.
Use this block code:
/* Premiumbeat PHP ~ popup block with multiple playlist dropdown option */
/* Edit your image location or make it false not to display it */
$image = false;
// $image = 'http://i272.photobucket.com/albums/jj187/ginger_face/mymusic.gif';
$width = '450';
$height = '230';
$autoplay = 'yes';
$title = 'Select Playlist';
/*
* Set $position to false to have the button appear in the block and set block body style accordingly
* For $position = false put the following in your body style... text-align:center;vertical-align:middle;overflow:hidden;
*/
$position = 'fixed';
/*
* Do not edit below this comment
*/
global $smcFunc, $scripturl, $settings;
$datum = array('myplaylist','title','equip');
$num = 0;
$drop = '';
$_SESSION['premiumbeat_bbc'] = false;
$_SESSION['customMusic_checker'] = true;
$_SESSION['premiumbeat_width'] = $width;
$_SESSION['premiumbeat_height'] = $height;
$_SESSION['premiumbeat_autoplay'] = $autoplay;
if ($position == 'fixed')
$style = "position:fixed;top:0px;right:2px;";
else
$style="text-align:center;";
$result = $smcFunc['db_query']('', "SELECT myplaylist, title, equip
FROM {db_prefix}premiumbeat_settings
WHERE equip > 0");
while ($val = $smcFunc['db_fetch_assoc']($result))
{
foreach ($datum as $data)
$playlists[$num][$data] = $val[$data];
$num++;
}
$smcFunc['db_free_result']($result);
if (empty($playlists))
return false;
foreach ($playlists as $playlist)
$drop .= '<option value="' . $playlist['myplaylist'] . '">' . $playlist['title'] . '</option>';
$playlist = $playlists[0]['myplaylist'];
$Xurl = 'index.php?action=customMusicPopup;playlist=989;playsong=playlist=';
$url = $Xurl . $playlist.';';
if (!$image)
$icon = false;
elseif ($position == 'fixed')
$icon = '<img src ="'.$image.'" alt="" style="position:relative;height:30px;width:59px;float:right;right:2px;" />';
else
$icon = '<span style="display: block;margin-left: auto;margin-right: auto;"><img src ="'.$image.'" alt="" style="position:relative;height:30px;width:59px;" /></span>';
echo '
<script type="text/javascript"><!--
var WindowObjectReference = null;
function PremiumbeatPopup(strURL,strWidth,strHeight)
{
var strOptions="";
var strType = "console";
if (strType=="console") strOptions="resizable,height="+strHeight+",width="+strWidth;
if (strType=="fixed") strOptions="status,height="+strHeight+",width="+strWidth;
if (strType=="elastic") strOptions="toolbar,menubar,scrollbars,resizable,location,height="+strHeight+",width="+strWidth;
WindowObjectReference = window.open(strURL, "newWin", strOptions);
WindowObjectReference.focus();
}
//--></script>';
if ($icon)
$pop = '<a href="javascript:void(0)" onclick="PremiumbeatPopup(\''.$url.'\',\''.$width.'\',\''.$height.'\')">'.$icon.'</a>';
else
$pop = false;
echo '
<ul id="someID" style="list-style-type:none;'.$style.'">
<li>'
, $pop, '<br />
</li>
<li>
<select id="C4" dir="rtl" onchange="PremiumbeatPopup(\''.$Xurl.'\' + this.options[this.selectedIndex].value,\''.$width.'\',\''.$height.'\')">
<option disabled=true value="0" title="tooltip" selected=true>
',$title,'
</option>
',$drop,'
</select>
</li>
</ul>';
Imo to not exceed 450 for the width.
thanks boss but not pop up
1.any way i can convert it like this width ( just the width side)
(http://webuikits.com/wp-content/uploads/2012/09/Blue-Mp3-Player.jpg) so i can place it on top of my site?
2. is there anyway i can add many url at once(like bulk)? instead of one by one
please , sorry i am requesting too much :(
the embedded "PremiumBeat Mp3 Player" play LOGO inside post is too tidy to identify
can you make it to look like this?
(https://lh6.googleusercontent.com/--u3HVUIqseM/UY9uOt7JBrI/AAAAAAAAATs/UFyjv4jc2Zo/w419-h80-no/Capture.PNG)
johnpaul2k2,
I included a block in this post where you can adjust the width/height parameters to your choosing. The existing dimensions are close to what was in the image you posted. The premiumbeat text (which is an image within the swf file) can not be removed due to the players copyright guidelines. None of the existing premiumbeat swf file can be edited due to that copyright. I may add other mp3 players (as an option in its config) to this mod at a later date but it will most likely not be the specific example you posted in the image contained in your last post.
The only way to add direct url mp3's all at once with this mod is to use a portal bbc block. However, this uses a popup for that option. Other than that you have to enter them one at a time in the config where all of your entries can be in one playlist. If you use the bbc, download the existing file to replace the one contained in /Themes/default and adjust your height/width in the playlist and/or main settings of the config menu.
/* Set Playlist ID Number - default is 1 */
/* MP3's using playlist number 1 will play on all blocks... Other mp3 playlist settings are block specific */
$playlist_id = 1;
global $scripturl, $smcFunc, $boardurl;
/* Adjustable parameters */
$width = 650;
$height = 75;
$skin = '0000FF';
$skinType = 5;
$autoplay = 'yes'; /* yes = autoplay, no = manual play */
$columns_settings = array('height', 'width', 'autoplay', 'skin');
$a = check_block_playlist($playlist_id);
if ($a == true)
{
$result = $smcFunc['db_query']('', "SELECT myplaylist, height, width, autoplay, type, skin, skin_type FROM {db_prefix}premiumbeat_settings WHERE (myplaylist = {$playlist_id}) LIMIT 1");
while ($val = $smcFunc['db_fetch_assoc']($result))
{
if ((empty($val['myplaylist'])) || (int)$val['myplaylist'] < 1)
continue;
foreach ($columns_settings as $sets)
{
if (empty($val[$sets]))
$val[$sets] = 0;
}
$autoplay = 'no';
if($val['autoplay'] == 1)
$autoplay = 'yes';
if (!$width)
$width = $val['width'];
if (!$height)
$height = $val['height'];
if (!$skin)
$skin = $val['skin'];
if (!$skinType)
$skinType = $val['skin_type'];
}
$smcFunc['db_free_result']($result);
}
$_SESSION['premiumbeat_bbc'] = false;
$_SESSION['customMusic_checker'] = true;
if($playlist_id < 0) {$playlist_id = 999;}
$_SESSION['playlist_id'] = $playlist_id;
echo'<span style="position:relative;margin:auto;text-align:center;"><script type="text/javascript" src="my_music/swfobject.js"></script>
<div id="flashPlayer">
Mp3 Player Malfunction
</div>
<script type="text/javascript">
var so = new SWFObject("my_music/playerMultipleList.swf", "premiumbeat-player", "'.$width.'", "'.$height.'", "9.0.0");
so.addVariable("autoPlay","'.$autoplay.'")
so.addVariable("overColor","'.$skin.'")
so.addVariable("playerSkin", "'.$skinType.'")
so.addVariable("playlistPath","',$scripturl,'?action=customMusic", "SESSION")
so.addVariable("_loc7", "")
so.addParam("bgcolor", "ffffff");
so.useExpressInstall("expressinstall.swf");
so.addVariable("getURL","")
so.write("flashPlayer");
</script></span>';
function check_block_playlist($play)
{
global $smcFunc;
$result2 = $smcFunc['db_query']('', "SELECT myplaylist FROM {db_prefix}premiumbeat_settings WHERE myplaylist = {$play} LIMIT 1");
$result3 = $smcFunc['db_num_rows']($result2);
$smcFunc['db_free_result']($result2);
if ($result3 > 0)
return true;
return false;
}
thanks boss but i do not know if the changes will also permission me to increase this? because it's too tidy
(https://lh3.googleusercontent.com/-aZIOZnYFR2U/UZCcoa63qyI/AAAAAAAACKw/d7l_jJRpf5Q/w492-h439-no/Capture.PNG)
1. please is there any way to increase the "play" size??
2. even play the MP3 without any sort of pop up (the pop up is wonderful but just asking) ?
3. please is it also possible to have "play and download" inside the post when post the BBC code??
sorry for my disturbances :(
johnpaul2k2,
The small icon you displayed is just for the bb code (more or less for posts). For people to be able to download you must set their usergroup permissions for premiumbeat upload/download access. This will show them a premiumbeat link in the navigation bar that will allow them to access than template. If you would like a membergroup to have access to adding mp3 url's and also files (download & upload) then go to: admin -> permissions -> premiumbeat .. and allow all permissions for premiumbeat with the exception of Access Premiumbeat Forum Settings.
You can disable their various premiumbeat options with those permissions. Just experiment with those settings to allow the usergroup what you think is best. In the file template they can play single mp3's or the whole playlist & also opt which playlist. All playing of mp3's in that section is popup only. You can use the block code I gave you last to display a specific playlist on a section of your forum including that admin page if you prefer. Although it will only show 1 playlist that you opt in the block code until I create a multiple playlist block code in that format.
Updated to version 2.0.1
Minor changes:
Version 2.0.1
! Fixed popup width/height (block and/or playlist settings)
! Fixed background issue for wide/tall popup player (beyond 250px)
+ Included multiple playlist popup code
+ X & Y coordinates for popup positioning (general setting applies to all playlists)
The popup player will now yield the true width/height values entered in each playlist's configuration. Additional X & Y coordinates for the popup player are available in the mods general settings template. -1 values will center it... maxing them out at 2000 each will put it to the bottom right.
Please use the new block codes included on this mods download page.
is there any settings to sort the playlist maybe alphabetically?
what url should i get to use the bbcode?
Thanks
Quote from: ryan_dwight on May 16, 2013, 04:41:20 AM
is there any settings to sort the playlist maybe alphabetically?
what url should i get to use the bbcode?
Thanks
ryan_dwight,
bbcode can be for playlists (by id number) or direct url of mp3 files.
Here are some examples:
Playlist 2 example:
[premiumbeat]playlist=2[/premiumbeat]
[premiumbeat=playlist=2]This is my playlist[/premiumbeat]
Single mp3 file:
[premiumbeat]http://coolsongs.com/mysong.mp3[/premiumbeat]
[premiumbeat=http://coolsongs.com/mysong.mp3]This is my song[/premiumbeat]
Multiple mp3 files:
[premiumbeat]http://coollsongs.com/mysong.mp3,http://awesomesongs.com/myothersong.mp3[/premiumbeat]
[premiumbeat=http://coollsongs.com/mysong.mp3,http://awesomesongs.com/myothersong.mp3]These are my songs[/premiumbeat]
I did not put anything in regards to sorting the mp3's. Although I can give you manual edits for it if you would like that.
I will keep this in mind for the next version.
Would you like the mp3 list or files in alphabetical order?
Files list...
file: /Sources/CustomMusic.php
find:
if ($refreshPage)
redirectexit('action=admin;area=premiumbeat;sa=UploadPremiumbeat;queryPlaylist=' . $context['playlist']);
Add after above code:
foreach ($context['music_files'] as $files => $file)
{
$premfilex = explode('-_-', $file['filex']);
$premfile[] = str_replace($premfilex[0] . '-_-', '', $file['filex']);
}
if (!empty($premfile))
{
ksort($premfile);
$keys = array_keys($premfile);
$values = array_values($premfile);
array_multisort($values, $keys, SORT_ASC, $context['music_files']);
}
Music list...
file: /Sources/CustomMusic.php
find:
ORDER BY playlist ASC
replace with:
ORDER BY description ASC
I have attached the file with both of these changes if you prefer it over making your own edits.
Thank you for this mod, Underdog. I don't know if you are associated with premium beat, but it is a fantastic service.
Edit: Thanks
johnpaul2k2,
Check your PM's and in my humble opinion heed my words of advice.
Thank you.
thanks boss
Quote from: -Underdog- on May 16, 2013, 11:18:36 PM
Quote from: ryan_dwight on May 16, 2013, 04:41:20 AM
is there any settings to sort the playlist maybe alphabetically?
what url should i get to use the bbcode?
Thanks
ryan_dwight,
bbcode can be for playlists (by id number) or direct url of mp3 files.
Here are some examples:
Playlist 2 example:
[premiumbeat]playlist=2[/premiumbeat]
[premiumbeat=playlist=2]This is my playlist[/premiumbeat]
Single mp3 file:
[premiumbeat]http://coolsongs.com/mysong.mp3[/premiumbeat]
[premiumbeat=http://coolsongs.com/mysong.mp3]This is my song[/premiumbeat]
Multiple mp3 files:
[premiumbeat]http://coollsongs.com/mysong.mp3,http://awesomesongs.com/myothersong.mp3[/premiumbeat]
[premiumbeat=http://coollsongs.com/mysong.mp3,http://awesomesongs.com/myothersong.mp3]These are my songs[/premiumbeat]
I did not put anything in regards to sorting the mp3's. Although I can give you manual edits for it if you would like that.
I will keep this in mind for the next version.
Would you like the mp3 list or files in alphabetical order?
Files list...
file: /Sources/CustomMusic.php
find:
if ($refreshPage)
redirectexit('action=admin;area=premiumbeat;sa=UploadPremiumbeat;queryPlaylist=' . $context['playlist']);
Add after above code:
foreach ($context['music_files'] as $files => $file)
{
$premfilex = explode('-_-', $file['filex']);
$premfile[] = str_replace($premfilex[0] . '-_-', '', $file['filex']);
}
if (!empty($premfile))
{
ksort($premfile);
$keys = array_keys($premfile);
$values = array_values($premfile);
array_multisort($values, $keys, SORT_ASC, $context['music_files']);
}
Music list...
file: /Sources/CustomMusic.php
find:
ORDER BY playlist ASC
replace with:
ORDER BY description ASC
I have attached the file with both of these changes if you prefer it over making your own edits.
thank you for this, i visited your website but it's down untill now. any update?
i got a problem on selecting playlist on my admin account if i selected one playlist it plays the right playlist with the mp3s on it. but the regular members they can play only one playlist but they can see all available but it redirects to only one playlist. i checked the settings
admin>>> premiumbeat>>>settings
on the override playlist if what is in there, that is the only playlist the regular members can play. how can i clear that override playlist? what does this settings do?
again, thank you for this wonderful mod
Quote from: ryan_dwight on May 20, 2013, 07:07:35 AM
thank you for this, i visited your website but it's down untill now. any update?
i got a problem on selecting playlist on my admin account if i selected one playlist it plays the right playlist with the mp3s on it. but the regular members they can play only one playlist but they can see all available but it redirects to only one playlist. i checked the settings
admin>>> premiumbeat>>>settings
on the override playlist if what is in there, that is the only playlist the regular members can play. how can i clear that override playlist? what does this settings do?
again, thank you for this wonderful mod
ryan_dwight,
My host has been having issues for weeks now since they did some internal changes, needless to say I have informed them that I no longer wish to do business with them. I will be opening a new forum soon but under a new more suitable domain name. The forum will be starting from scratch and all licenses to my current modifications will be emended to reflect the changes.
As for playlist permissions, this would depend on which part of the mod you are attempting to grant access. I have previously told you info regarding how to allow them to access the playlists via each membergroup's permission settings. Also each specific playlist setting must have upload and/or download access enabled to allow that playlist to appear on the upload template and for the navigation bar mp3 link there is separate playlist permissions but only 1 playlist can be assigned to each membergroup for that setting. I also created a multiple playlist block that will allow selecting any available playlist from a drop-down that can be put in a portal block (fixed or not) and there is settings to position that popup exactly where you would prefer + adjust its dimensions.
To sum it up, you need to access three sections of your admin to adjust its settings:
- Members -> Permissions -> Membergroup(s)
- Premiumbeat -> Settings
- Premiumbeat -> Mp3 Database -> Playlist Settings -> --playlist link to edit specific playlist-- (also note the permission settings while editing)
please how will i configure my wap2.
it's only showing the mp3 links ..even when i click on the link. it will not download nor play
the Turkish language .?