vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Major Additions - The XEON Mp3 Player for vBulletin 3.6.X Integrated (https://vborg.vbsupport.ru/showthread.php?t=129641)

syrus.xl 10-25-2006 08:35 PM

Quote:

Originally Posted by Intex
I can confirm this is working on 3.5.4. Note however that there's still an issue with adding MP3's from AdminCP, so this is a general bug.

If you add MP3's via the jukebox itself - it's fine. The AdminCP options redirect also needs adjusting.

I'll note that it's compatible with 3.5.4. - and also update Known Issues.

Thanks!

Kebbie 10-25-2006 09:35 PM

Would it be possible for users to upload mp3s? Like instead of entering the URL, they could click "browse" and upload the file? My users are panicky at the idea of not being able to upload :lol

syrus.xl 10-25-2006 09:58 PM

Quote:

Originally Posted by Kebbie
Would it be possible for users to upload mp3s? Like instead of entering the URL, they could click "browse" and upload the file? My users are panicky at the idea of not being able to upload :lol

There are numerous reasons why this approach was abandoned.

1. PHP upload restrictions on hosts normally set uploads via http using PHP to 2Mb. Some hosts allow the use of using a php.ini file to override this, but many don't.

2. If someone uploaded copyrighted material onto a server in a country where storing mp3's and streaming is illegal, you would be in violation of local laws.

3. Bandwidth would be high due to uploading and then streaming of one mp3 would be in effect doubling the mp3 usage. Not everyone has large bandwdith limits.

Since all this was considered before the design, it seemed an idea using links would be more useful.

:)

Kebbie 10-25-2006 10:01 PM

Thanks syrus!

Intex 10-26-2006 04:40 AM

Just a quick note on 3.5.4 compatibility. I'm not entirely sure why, but some songs just won't play after upload, even when submitted via the jukebox. You get the same issue as if you'd added them from the jukebox, i.e. title is there, but it just doesn't want to play.

Snake 10-26-2006 09:51 AM

Quote:

Originally Posted by Biggles
Syrus, yes please. Let me know when you launch either or both of these video versions. Incidentally, it's great to know you're just up the road from me (I'm just south of Bristol near Cheddar). This Player is great. I've had your hack working since the first version. You're a star!

Snake, I'm not a coder's bootlace (retired airline pilot) but your problems seem to be unique in some respects. Not so in others. The 'MySQL' database error to which you refer is the one caused by syntax as I advised Boss 302. That's easy - take out any quotes (double or single) and any apostrophes. Look out for "I've" or "can't" or whatever and remove them.

I'll have a shot at some of these too, which you stated as follows:

-While adding a quote or multi quotes (such as: ' "), it should give you a mySQL page error. (See below.)
-Accessing the "http://www.yourdomain.com/mp3playerindex.php" page gives you a blank, white page.
-After editting the settings for the player, it gives me this error "Could not find phrase 'mp3player_cp_redirect'.".
-And finally, after adding a song/mp3 via the ACP, each time when you edit that song you will notice that the "Approve MP3" option automatically checks to "No" when it's supposed to say "Yes". It's kinda a pain in the ass to edit every song and set it to "Yes" inorder to get the song working in the player.


The first I've dealt with above. The second - try uploading the mp3playerindex.php file to your forum root again. It may have been corrupted during initial install. The third - it's been dealt with by Syrus for about three or four members. It is due to missing code BUT will not affect the player's operation. The code will be fixed by Syrus shortly.

Now the last. I had the same problem. Another similar snag is that if you use the buffer and set the buffer period to anything, say 5 or 10 seconds, you have to go back and check the box again when you return to approve. That is to say, once you've put in the track and its name (where you cannot approve or reject because the option's just not there until you click 'ADD') you MUST return via 'edit' on the playlist to approve AND to reset the buffer period. If you don't do this, nothing shows up on the playlist.

As for white pages, may I ask if you are running vBSEO? If so, I may have another clue for you.

Regards

Biggles

I have already reuploaded the mp3playerindex.php file and I still get the same result. And yes, I'm running on vBSEO as you can see. It that a problem or something I wonder?

BOSS 302 10-26-2006 10:35 AM

I want to put this in my second navbar because my first one is way crowded. When I add the code to the second navbar template it doesn't even show up. How can I put this in my second navbar? Please help.

My forum is www.mustangmafia.com/index.php so you can look and see the top navbar I want it in.

syrus.xl 10-26-2006 11:06 AM

Quote:

Originally Posted by BOSS 302
I want to put this in my second navbar because my first one is way crowded. When I add the code to the second navbar template it doesn't even show up. How can I put this in my second navbar? Please help.

My forum is www.mustangmafia.com/index.php so you can look and see the top navbar I want it in.

Is that a multiple navbar hack, or have you just coded a new navbar into the template? Either way because you are using a customized style, the table class would need to be changed to whatever your navbar class is.

:)

micheal332001 10-26-2006 01:50 PM

Quote:

Originally Posted by Kebbie
Would it be possible for users to upload mp3s? Like instead of entering the URL, they could click "browse" and upload the file? My users are panicky at the idea of not being able to upload :lol

This maybe added to the commercial release at a later date.
I will also be adding in a multi upload or user option too.

micheal332001 10-26-2006 01:58 PM

Quote:

Originally Posted by BOSS 302
Never mind. It works when I add songs from the navbar. Just doesn't work when I go threw the admin cp.

Thanks fellas. Lovely hack. :)

it dose work in the admincp you just cannot change the id number that is set to that mp3 and cannot be changed.

micheal332001 10-26-2006 02:06 PM

Quote:

Originally Posted by MissKalunji
Found another bug
When you add ' to any song it causes a database error

example a song name D'angel causes an error cause of the appostrophe

here's the error msg

I do have a fix for this and will send syrus the updated files needed to fix this.

syrus.xl 10-26-2006 07:10 PM

Quote:

Originally Posted by Biggles

As for white pages, may I ask if you are running vBSEO? If so, I may have another clue for you.

Regards

Biggles

Hi Biggles,

There seems to be a problem relating to vbSEO (I have never used this, so I wouldn't know of the issue). All testing is done on 'virgin' vBulletin installs with no addons.

vbSEO is rewriting the popup url and doubling the 'do' url, which is why a 'white page' is showing since the PHP file does not handle the 'do' call twice, only once for any function.

If you have vbSEO and know of a fix, please post your idea.

Thanks.

Syrus XL

MissKalunji 10-26-2006 09:18 PM

Quote:

Originally Posted by syrus.xl
Hi Biggles,

There seems to be a problem relating to vbSEO (I have never used this, so I wouldn't know of the issue). All testing is done on 'virgin' vBulletin installs with no addons.

vbSEO is rewriting the popup url and doubling the 'do' url, which is why a 'white page' is showing since the PHP file does not handle the 'do' call twice, only once for any function.

If you have vbSEO and know of a fix, please post your idea.

Thanks.

Syrus XL

funny im using vbseo and not a single problem related to that

MissKalunji 10-26-2006 09:30 PM

Quote:

Originally Posted by micheal332001
I do have a fix for this and will send syrus the updated files needed to fix this.

Sweet thanks :)

hammondfra 10-28-2006 05:15 AM

I am having a slight issue installing the plugins for this mod. I keep getting invalid file name error when I attempt to upload it through the plugin manager....any ideas??

Snake 10-28-2006 07:12 AM

syrus, I have a feauture idea on my mind. How about reordering the tracks in each and every playlist because I had like to reorder them to my own liking since the hack does automatically. Could you please add that in the next release?

syrus.xl 10-28-2006 08:13 AM

Quote:

Originally Posted by hammondfra
I am having a slight issue installing the plugins for this mod. I keep getting invalid file name error when I attempt to upload it through the plugin manager....any ideas??

This is not a 'plug-in'.

You need to import it through the Product Manager -> Manage Products -> Import Product

vectorfc 10-28-2006 08:53 AM

Awesome hack, works great. :) Got a bit confused by a blank white page for a long time, before figuring out that, er, I hadn't turned it on. Ahem.

One question that relates to the style of the thing - it looks fantastic, and it's very pretty, but I've got a couple of members who need accessibility considerations due to partial blindness. The colours are a bit hard to distinguish for them. Is it possible to have a skin selector with a more visible style available to people who need higher contrast graphics?

syrus.xl 10-28-2006 09:03 AM

Quote:

Originally Posted by vectorfc
Awesome hack, works great. :) Got a bit confused by a blank white page for a long time, before figuring out that, er, I hadn't turned it on. Ahem.

One question that relates to the style of the thing - it looks fantastic, and it's very pretty, but I've got a couple of members who need accessibility considerations due to partial blindness. The colours are a bit hard to distinguish for them. Is it possible to have a skin selector with a more visible style available to people who need higher contrast graphics?

A 'skin' isn't available with this version due to the way it was designed. Skin selectors need to have alot of code redone, since the player would need to be changed to accomodate this feature. The AdminCP would require an upload function to be added, to add new skins.

This feature will be added to the Premium Commercial version, presently in development stages at the moment.

vectorfc 10-28-2006 11:12 AM

Quote:

Originally Posted by syrus.xl
A 'skin' isn't available with this version due to the way it was designed. Skin selectors need to have alot of code redone, since the player would need to be changed to accomodate this feature. The AdminCP would require an upload function to be added, to add new skins.

This feature will be added to the Premium Commercial version, presently in development stages at the moment.

Cool. Thanks for the quick response! :up:

radarhunter 10-28-2006 04:11 PM

hey can we have it`s cmps ????

syrus.xl 10-28-2006 04:14 PM

I'll release that addon once I've done a job I'm currently working on.:)

Draygonia 10-28-2006 04:43 PM

There are some annoying bugs with it... some songs wont play at all or play slow and once a song ends, it sometimes gets stuck on one of those non-playing songs.

Also, that code yeh gave me doesnt work too well displaying on the navbar:

www.chasm-online.com

But its still a nice player ^.^

VbStudent1 10-29-2006 03:37 AM

I like the style of the player but it kind of defeats the purpose when it opens in a cheezy browser window doesn't it?

syrus.xl 10-29-2006 08:22 AM

Quote:

Originally Posted by VbStudent1
I like the style of the player but it kind of defeats the purpose when it opens in a cheezy browser window doesn't it?

If you noticed this modification was released as a 'beta' version, therefore its subject to change with peoples comments taken into consideration.

I was working on a 'flash' float window... however, this would auto-shut on a page change. A popup is difficult to match the vBulletin style, is becoming harder to achieve, since most new browsers have the url showing. Normally, this could be stopped using js - but with IE 7 and Opera 9 it still shows.

The popup template is changing, all it will show is the actual player and nothing else.

Probably, have something new soon... and all 'bugs' fixed.;)

VbStudent1 10-29-2006 08:44 AM

Yeah no sweat. It is still a fine product and you are to be congratulated.

Cheers

radarhunter 10-29-2006 11:26 AM

if we upload the file on our own server and give it`s link will the file work ???

syrus.xl 10-29-2006 11:42 AM

Quote:

Originally Posted by radarhunter
Is there any mod to have it in cmps too ???

And so that it runs all by itself ????

Hi,

What does 'And so that it runs all by itself ????' mean? Are you referring to a version of the player that will autoStart upon page load?

If thats the case, then I would need to re-code and compile a new version of the player itself, because that function can only be controlled by flash not PHP coding.

radarhunter 10-29-2006 11:59 AM

but can`t we put some kind of code by which it can be added as shoutcast in the forum base ????

and it`s all upto people to stop it or

jus` like you have it on your site.....

Draygonia 10-29-2006 02:29 PM

Sorry for the last post, you cant see mp3 player unless you are logged in, but what it looks like is the button is out of place. It has a weird border around the edges that seperate the button from the rest of the navbar a little. Is there a way to fix that or is that just part of the javascript coding?

radarhunter 10-29-2006 02:34 PM

i don`t think there is any way to fix that

syrus.xl 10-29-2006 02:46 PM

Quote:

Originally Posted by Draygonia
Sorry for the last post, you cant see mp3 player unless you are logged in, but what it looks like is the button is out of place. It has a weird border around the edges that seperate the button from the rest of the navbar a little. Is there a way to fix that or is that just part of the javascript coding?

That sounds like some 'td' tags are incorrectly set. The js code is only set to popup the player, not adjust any width or height dimensions.

Draygonia 10-29-2006 07:54 PM

This is the code that I got from micheal33201:

Code:

<!?Mp3 Player Launch -->
<tr>
<td width="70" height="22" align="left" valign="top">
<if condition="$show['member']">
<td class="vbmenu_control"><a href="javascript:NewWindow=window.open('mp3playerindex.php?do=viewmp3playerpopup','newWin','width=500,height=500,left=0,top=0, toolbar=No,location=No,scrollbars=1,status=No,resizable=No,fullscreen=No');
NewWindow.focus(); void(0);"><img src="$stylevar[imgdir_misc]/tren_z_header_vbplayer.gif" width="70" height="22" alt="" border="0" /></td>
</if>
</td>
</tr>
<!?End Mp3 Player Launch -->

Anything wrong with that one?

syrus.xl 10-29-2006 07:59 PM

Have you got the Calendar or another code used in the navbar?

Draygonia 10-29-2006 08:35 PM

Yah, but I removed Calendar and FAQ to make room for the other buttons because it would stretch the page.

Code:

        <td width="70" height="22" align="left" valign="top"><a href="usercp.php?s=$session[sessionhash]"><img src="$stylevar[imgdir_misc]/tren_z_header_cp.gif" width="70" height="22" alt="" border="0" /></a></td>

syrus.xl 10-30-2006 12:59 AM

Quote:

Originally Posted by Draygonia
Yah, but I removed Calendar and FAQ to make room for the other buttons because it would stretch the page.

Code:

        <td width="70" height="22" align="left" valign="top"><a href="usercp.php?s=$session[sessionhash]"><img src="$stylevar[imgdir_misc]/tren_z_header_cp.gif" width="70" height="22" alt="" border="0" /></a></td>

Well, it looks like the old "vbmenu_control" td tag would cause problems. So, try this, which I've removed the td tag. It's using a straight forward image link, apart from the js, which shouldn't affect the link in anyway.


Code:

<!?Mp3 Player Launch -->
<td width="70" height="22" align="left" valign="top">
<if condition="$show['member']">
<a href="javascript:NewWindow=window.open('mp3playerindex.php?do=viewmp3playerpopup','newWin','width=500,height=500,left=0,top=0, toolbar=No,location=No,scrollbars=1,status=No,resizable=No,fullscreen=No');
NewWindow.focus(); void(0);"><img src="$stylevar[imgdir_misc]/tren_z_header_vbplayer.gif" width="70" height="22" alt="" border="0" />
</if>
</td>
<!?End Mp3 Player Launch -->


cuphongle 10-30-2006 01:27 AM

i am just waitin fo the next release so that we can "playlist 1" to like "rap" and stuff like that

aniways, very nice!
wow - -- goood release!

cuphongle 10-30-2006 02:36 AM

gettin error when adding a new song

cuphongle 10-30-2006 02:59 AM

Quote:

Originally Posted by MissKalunji
Found another bug
When you add ' to any song it causes a database error

example a song name D'angel causes an error cause of the appostrophe

here's the error msg

hey, i been having problems with it too, finally found out why

you cant have the '
take that out, and it should be good

syrus.xl 10-30-2006 10:48 AM

Quote:

Originally Posted by cuphongle
hey, i been having problems with it too, finally found out why

you cant have the '
take that out, and it should be good

This issue is noted and is listed under Known Issues.:)


All times are GMT. The time now is 10:36 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02065 seconds
  • Memory Usage 1,852KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (19)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete