vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   vJukebox - Song and Video Management System (https://vborg.vbsupport.ru/showthread.php?t=102555)

ReadOrDie 12-23-2005 01:12 AM

the pre-alpha has been there for two weeks hasn't it?

ReadOrDie 12-24-2005 05:42 PM

keep working xD

markbolyard 12-27-2005 02:46 PM

I have rewritten the install text so that this mod will function 100%.

When installing, please use the following instructions instead of the ones attached to this thread:

================================================== ========

To Install:
STEP 1. Import the product xml file vjukebox-product.xml
STEP 2. Upload all files in the upload folder.
STEP 3. Create a folder named media in your forumroot (or another name, you can edit the name of the folder you want to upload media in, in the ACP settings. CHMOD 777
STEP 4. Go and configure Usergroup permissions via the UserCP for usergroups. You must do this to rebuild the bitfields (Install currently doesn't do this.
STEP 5. Until this mod is repackaged, you will have to create the database tables by running the following sql queries in phpmyadmin:




-- Table structure for table `jukebox_media`
--

CREATE TABLE `jukebox_media` (
`mediaid` smallint(5) unsigned NOT NULL auto_increment,
`medianame` varchar(100) NOT NULL default '',
`mediadesc` varchar(100) NOT NULL default '',
`title` varchar(100) NOT NULL default '',
`url` varchar(100) NOT NULL default '',
`plays` smallint(5) NOT NULL default '0',
`active` int(2) NOT NULL default '0',
`userid` int(11) NOT NULL default '0',
`username` varchar(225) NOT NULL default '',
`totalrating` int(5) NOT NULL default '0',
`announce` int(2) NOT NULL default '0',
`genre` varchar(50) NOT NULL default '',
`description` varchar(250) NOT NULL default '',
`author` varchar(100) NOT NULL default '',
`album` varchar(100) NOT NULL default '',
`date` int(10) NOT NULL default '0',
`whovoted` varchar(25) NOT NULL default '',
`totalvotes` int(15) NOT NULL default '0',
PRIMARY KEY (`mediaid`)
) TYPE=MyISAM AUTO_INCREMENT=3 ;


-- Table structure for table `jukebox_comments`
--

CREATE TABLE `jukebox_comments` (
`mediaid` int(10) unsigned NOT NULL default '0',
`commentid` int(10) unsigned NOT NULL auto_increment,
`username` varchar(25) NOT NULL default '',
`userid` int(10) unsigned NOT NULL default '0',
`comment` varchar(250) NOT NULL default '',
`date` int(10) unsigned NOT NULL default '0',
`title` varchar(50) NOT NULL default '',
`lasteditdate` int(10) default NULL,
`lasteditusername` varchar(25) default NULL,
`lastedituserid` int(10) default NULL,
`ipaddress` varchar(15) default NULL,
PRIMARY KEY (`commentid`)
) TYPE=MyISAM AUTO_INCREMENT=1 ;



STEP 6. In the jukebox.php file, find:

if ( $mid > $count['media'] ) :
eval(standard_error(fetch_error('jukebox_nonewer') ));
endif;

and DELETE IT. (This corrects the fact that you continuously get the NoNewer error phrase when clicking the media name to be viewed.)




Template Modifications:
=============================
FIND:
=============================
<td class="vbmenu_control"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>
=============================
BELOW THIS, ADD:
=============================
<td class="vbmenu_control"><a href="jukebox.php$session[sessionurl_q]">Jukebox</a></td>
=============================

To Upgrade:
1. Upload all files in the upload folder to your forumroot.
2. Upload the vjukebox-product.xml file, be sure to have the "Overwrite" option in effect.

Please note:
I am completely knowledgable that this is very buggy code. This is my first coding venture and this is a PRE-ALPHA release, not meant for
production environments, but for testing and bug reporting. I will NOT officially support this until there is a stable version out. Other than my
localhost builds, this is the most unstable version of the code.

Bug Reporting:
Please report all bugs to:
http://www.digitalsupremacy.com/forums/vbugs.php

The code is not yet fully completed and is not even remotely presentable yet. So I would expect alot of bugs, and I know, you have to
register there, but this is the fastest way to debug.

Deleting function + Editting Function:
You can delete media only via the ACP at this point.

As for editting, I do not have a link to do so from the jukebox.php file, but you can do so by going to:
http://www.url.com/forums/jukebox.ph...mid=themediaid

================================================== =====

If you need help installing this mod on your forum, please feel free to PM me.

Until Cole2026 releases the non beta version, this will get you up and running!

Snake 12-27-2005 03:35 PM

Thanks mark, I will defintely follow up your instructions to install this hack tonight. :)

Snake 12-27-2005 03:56 PM

Okay it seems to work just fine although I just got a suggestion.

- Media categories / sub-categories

markbolyard 12-27-2005 04:01 PM

Glad to hear it. I came into this a little late, however Cole2026 may implement that in the future release. Glad this got you going as Cole2026 said, this is really pre-alpha, so I would expect the alpha release to be more refined.

Snake 12-27-2005 04:31 PM

I have just noticed one thing. I cannot view and play the media. It shows the player but it seems that it doesn't wanna work. Also the media player does not display while using Firefox as your browser.

portalimiz 12-27-2005 05:09 PM

CHMOD 777 how can we do that?

markbolyard 12-27-2005 05:12 PM

CHMOD 777 through your ftp program (smartftp, wsftp, etc.) or through your cpanel. If you are using cpanel, go to your file manager, click the directory, then in the right column, click set permissions, and make it 777 (writable).

Cole2026 12-28-2005 02:26 AM

Quote:

Originally Posted by Aftermath
I have just noticed one thing. I cannot view and play the media. It shows the player but it seems that it doesn't wanna work. Also the media player does not display while using Firefox as your browser.

Firefox bug.
-- I think I found a loophole though -- Planned for Next version.

markbolyard 12-28-2005 02:31 AM

Hm, I tried firefox, and I can see my videos, and hear my music. True, I cannot see the actual player, but It does play all of my media. I will look into this too.

PennylessZ28 12-28-2005 07:47 AM

nice

Benj 12-28-2005 04:30 PM

could there possibly be an addon so users can have "music submitted by me" in there profiles?

MB Dreamz 12-28-2005 08:45 PM

I'm getting this error when linking to the audio file (.mp3):

The extension of the file you want to link or upload to the database is not allowed.
The allowed extensions are:
mpg,mpeg,avi,mov,wmv,mp3,mp2,mpg,mp4,wav,ogg

ReadOrDie 12-29-2005 07:58 PM

hows this going?

Snake 12-31-2005 01:26 PM

Quote:

Originally Posted by Cole2026
Firefox bug.
-- I think I found a loophole though -- Planned for Next version.

Glad to hear that, Cole. Also have you ever thought of adding a category/sub-category system, too? That would be cool.

James B 12-31-2005 05:30 PM

Quote:

Originally Posted by ReadOrDie
Can you release what you have so far?

Seeing as this is pre-alpha it definately shouldn't be used on any live forum. I'm not saying the code is bad, it just follows that if Cole thought it was polished enough to be used live it would be a Beta version.

I installed it and it worked fine first time - thanks.

However, I'm a bit concerned members might upload copyrighted material to it. For putting things like own podcasts up, jingles, voiceovers or other things members have made this is great, I'm just concerned some will add 64kbps versions of whole chart songs.

Maybe adding them to the moderation queue would prevent that? Not asking for it - maybe something to consider for the next version after this goes gold?

Replicators 12-31-2005 05:49 PM

I agree with you there,none of us want to face fines for hosting illegal content,even if the member's upload them we could still get sued.

Cole2026 01-01-2006 01:31 AM

Quote:

Originally Posted by James B
Seeing as this is pre-alpha it definately shouldn't be used on any live forum. I'm not saying the code is bad, it just follows that if Cole thought it was polished enough to be used live it would be a Beta version.

I installed it and it worked fine first time - thanks.

However, I'm a bit concerned members might upload copyrighted material to it. For putting things like own podcasts up, jingles, voiceovers or other things members have made this is great, I'm just concerned some will add 64kbps versions of whole chart songs.

Maybe adding them to the moderation queue would prevent that? Not asking for it - maybe something to consider for the next version after this goes gold?

Yes, I will add an option for that. As for development on the next version, we are getting there, I just started coding again, after the holiday week.

Benj 01-01-2006 06:48 PM

this hack has great potential keep up the good work cole..
would love maybe to see an option when uploading a file to say "can download" maybe a tickbox?

Snake 01-02-2006 07:03 AM

Quote:

Originally Posted by Aftermath
Glad to hear that, Cole. Also have you ever thought of adding a category/sub-category system, too? That would be cool.

Well Cole? :rolleyes:

Replicators 01-02-2006 12:28 PM

The only thing i want is the link source to be hidden if at all possible!

Snake 01-05-2006 10:39 AM

*bumps this thread*

Hey c'mon guys, let's not forget about this wonderful hack, shall we?

Cole2026 01-05-2006 07:25 PM

Quote:

Originally Posted by Aftermath
*bumps this thread*

Hey c'mon guys, let's not forget about this wonderful hack, shall we?

Ok well, just to get some progress, I don't have any time to test the software so far.

I'll need 3 people to just test out 0.9 Pre-Alpha, PM me about this, first three get into the beta. :)

ReadOrDie 01-05-2006 07:36 PM

Quote:

Originally Posted by Cole2026
Ok well, just to get some progress, I don't have any time to test the software so far.

I'll need 3 people to just test out 0.9 Pre-Alpha, PM me about this, first three get into the beta. :)

I pm'ed you. Hopefully I'm in.

RichieBoy67 01-05-2006 10:47 PM

Where's the rest of the images??

Snake 01-06-2006 04:40 PM

Probably they're with Cole, saving them for a rainy day? :D

Danny Diamond 01-08-2006 11:41 AM

Something I am not understanding........

I installed it precisely to the instructions.

When I go to the "Jukebox" button, everything comes up fine. I am able to upload media and its displays as if I uploaded it ok, but when I go to play it the windows media players thingie just sits there.

Any ideas?

Snake 01-08-2006 11:50 AM

I assume you're running on Firefox as your browser. In case you haven't noticed, I've already reported to Cole that the player ain't running while using on Firefox.

Danny Diamond 01-08-2006 12:04 PM

Nope, I'm running on Internet Explorer.

markbolyard 01-08-2006 03:37 PM

Check that you filenames (movies uploaded) don't contain spaces as I have noticed this doesn't work. Secondly, if you do not have the updated codec packs for your windows media player, then you will not be able to see some videos.

Open the video in your media player directly, can you see it then? or are you getting a error. If you would lke me to check it out for you, pm my the link to your site and I will check it out tonight. Most likely, from what I have seen and tested, it is your codecs. This also applies to those using firefox as a browser. You should still be able to see / hear the video, you just can't see the actual player controls.

9tn.tip. 01-09-2006 01:15 AM

Mine doing thing says upload went fine when i goto play just sits there... i look at the server filefolder media and file is not there.... i have to manually upload file via ftp to get it to work... i think though it something ive done not really sure what yet....

great work tho thanks for all the hardwork and keeping this hack updated!!

markbolyard 01-09-2006 01:17 AM

If the file is not there, then your permissions are not set. Change your upload folder to CHMOD 777 (Writable). That should fix it.

9tn.tip. 01-09-2006 02:20 AM

Re -edit
Problem still there *for me but i think i see where i am having an issue " whole process works smooth and confirms file to database with no error s and yet file does not upload to server"

is it possible file size would play a part here?
cause it seems any thing 2 mb(.wmv) and under " @ least for what ive tested" works
but a file (.wmv) 3 mb or greater i have to manually upload to server
?

Danny Diamond 01-09-2006 04:18 PM

Quote:

Originally Posted by markbolyard
Check that you filenames (movies uploaded) don't contain spaces as I have noticed this doesn't work. Secondly, if you do not have the updated codec packs for your windows media player, then you will not be able to see some videos.

Open the video in your media player directly, can you see it then? or are you getting a error. If you would lke me to check it out for you, pm my the link to your site and I will check it out tonight. Most likely, from what I have seen and tested, it is your codecs. This also applies to those using firefox as a browser. You should still be able to see / hear the video, you just can't see the actual player controls.

I will send you my info via PM now. thanks

9tn.tip. 01-09-2006 08:42 PM

i did see that post and none of my failed to upload files have spaces
funny thing is that my test file for just under 2mb had spaces in the name but it uploaded ... just to be clear here i am not pickin on anything i think this hack is awsome

markbolyard 01-09-2006 11:34 PM

I think that the issue with spaces in filenames may be dependent on the host. Thanks for the update!

patsalko 01-11-2006 05:05 PM

any upates yet?

Thanks

ReadOrDie 01-11-2006 09:01 PM

*two years later*

markbolyard 01-12-2006 12:22 AM

KYNSimon

Your all set. Jukebox is up and running.


All times are GMT. The time now is 09:32 AM.

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.01392 seconds
  • Memory Usage 1,835KB
  • 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
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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