vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Major Additions - 8WayRun.Com - Media Library (https://vborg.vbsupport.ru/showthread.php?t=240677)

basilrath 07-28-2010 04:16 PM

looks great ............. how do we set catagories etc

Thanks

edited lol thatl be the catagory at the top hehehehe

Jaxel 07-28-2010 08:33 PM

Quote:

Originally Posted by Jaxel (Post 2070151)
Boolean Search
Playlists
Custom Variables
Advanced Search
Option to auto-tick checkboxes
Option for sidebar placement
Option for tag cloud placement
Option to turn off comments

Custom Variables are done...
Advanced Search is done...
Playlists are coming along nicely (ex: http://test.8wayrun.com/media/p1-kog...-2009-regional)

Boolean Search had to be abandoned for the reasons outlined here:
http://shoryuken.com/f321/media-sect...7/#post9270681

letusdazzleu 07-28-2010 11:49 PM

Where exactly would I define permissions. My admin user is getting a you do not have permission to access this page error

Max Paint 07-29-2010 12:10 PM

A moderator-function would be nice. Love this mod!

Jaxel 07-29-2010 12:49 PM

I haven't programmed in 2 months, so I'm a little rusty... inform me of any issues...

================================================== =========
Version 4.1.5 PLAYLISTS AND CUSTOM VARIABLES
================================================== =========
  • CHANGES: Object types are now explicitly defined in service XML files.
    • You MUST run the "Click here to restore all services in the "/media/xml" directory to their default settings" process.
    • The reason for this change is so that you can now host local WMV files using the included JW Silverlight Player.
    • The LocalAudio/LocalVideo services have been depricated and replaced with Local-MP3, Local-MP4, Local-WMA, and Local-WMV.
  • NEW FEATURE: Administrators can now define up to 9 custom variables.
    • The custom variable system must be enabled in the control panel before you can use any custom variables.
    • Custom variables can be enabled or disabled by either adding or deleting their custom variable names.
  • NEW FEATURE: Advanced Search can be found by clicking on the "Search" link on the sidebar.
    • The search function will now properly seperate search terms by spaces.
    • Advanced search will automatically include all enabled custom variables.
  • NEW FEATURE: Users with permissions to do so, can now create public playlists.
    • A new usergroup bitfield has been added for this permission, so you may need to rebuild bitfields.
    • Playlists are not currently paginated, but at the same time, there is no limit to playlist sizes.
  • BUG FIX: Fixed a bug where certain cells did not properly fill out the entire page.
  • BUG FIX: Fixed a bug where comments could not be posted if pm inboxes were full.

RobbieZ 07-29-2010 01:00 PM

Thanks Jaxel, I'll give this a go :D

Ive tried your product-walkthrough but having zero luck :(

The error 'Could not Parse Media' is this because my information is incorrect or the stream site is not allowing me?

I tried IMDb flash site but getting nothing.

Xencored 07-29-2010 01:44 PM

Quote:

Originally Posted by Jaxel (Post 2076264)
I haven't programmed in 2 months, so I'm a little rusty... inform me of any issues...

================================================== =========
Version 4.1.5 PLAYLISTS AND CUSTOM VARIABLES
================================================== =========
  • CHANGES: Object types are now explicitly defined in service XML files.
    • You MUST run the "Click here to restore all services in the "/media/xml" directory to their default settings" process.
    • The reason for this change is so that you can now host local WMV files using the included JW Silverlight Player.
    • The LocalAudio/LocalVideo services have been depricated and replaced with Local-MP3, Local-MP4, Local-WMA, and Local-WMV.
  • NEW FEATURE: Administrators can now define up to 9 custom variables.
    • The custom variable system must be enabled in the control panel before you can use any custom variables.
    • Custom variables can be enabled or disabled by either adding or deleting their custom variable names.
  • NEW FEATURE: Advanced Search can be found by clicking on the "Search" link on the sidebar.
    • The search function will now properly seperate search terms by spaces.
    • Advanced search will automatically include all enabled custom variables.
  • NEW FEATURE: Users with permissions to do so, can now create public playlists.
    • A new usergroup bitfield has been added for this permission, so you may need to rebuild bitfields.
    • Playlists are not currently paginated, but at the same time, there is no limit to playlist sizes.
  • BUG FIX: Fixed a bug where certain cells did not properly fill out the entire page.
  • BUG FIX: Fixed a bug where comments could not be posted if pm inboxes were full.

Awesome thanks man

basilrath 07-29-2010 02:31 PM

Any ideas of the DB error ?

The video retrieves information and all works etc but when you "submit" it comes up with the following

PHP Code:

Database error in vBulletin 4.0.5:

Invalid SQL:
INSERT INTO media_tag
    
(tagTextdateline)
VALUES
    
('men\\\'s''1280417256');

MySQL Error   Duplicate entry 'men\'s' for key 'tagText'
Error Number  1062
Request Date  
ThursdayJuly 29th 2010 04:27:36 PM
Error Date    
ThursdayJuly 29th 2010 04:27:36 PM
Script        
http://www.tabletennistalk.co.uk/forum/media.php
Referrer      http://www.tabletennistalk.co.uk/forum/media.php
IP Address    81.129.6.106
Username      
Dave Robson
Classname     
vB_Database
MySQL Version 
5.1.48 

but submits it ok ........... in other words you go into the site by either refresh or back to site and the vidoe has been added it just gives the db error on submitting thats all instead of returning to the page etc

Thanks if you have any info ...............

seems ok now

blue7 07-29-2010 03:36 PM

How can i disable comments apprivation ?

IR15H 07-29-2010 07:15 PM

Jaxel,

Thanks for the update. Do you have any ideas on things I could try to resolve these issues?

hachito 07-29-2010 09:46 PM

HELLO !!

I have this error, and MEDIA not run ...

Fatal error: Call to undefined function construct_href_playlists() in public_html/foro/includes/class_bootstrap.php(517) : eval()'d code on line 53

Please Help Me !!!
my library of videos does not work because not charge directly due to this error

EquinoxWorld 07-29-2010 10:18 PM

Hello Jaxel, thank you so much for this update, everyone is stoked. One concern though, when adding videos to a playlist, after doing so, does the playlist autosave? Because after adding the playlist and then adding videos then clicking on tab Browse all playlist, the playlist is not there, is there something I'm missing? Thanks though for the awesome upgrade, the members are loving it.

Edited: Also I am having trouble running the rebuild thumbnails counter. It start but only does the first and then the page stops loading. Please let me know if there's anything I can do. Thanks for your help and consideration.

Jaxel 07-29-2010 11:39 PM

Just uploaded a new zip file... the last one didn't have the entire 4.1.5 package... this one does, and includes all playlist functions.

hachito 07-30-2010 12:07 AM

Jaxel thank you very much to correct this error. I had my library of videos does not work for three hours and I really allow my users were complaining.

The truth is that now operates all ten points!
Thanks again

EquinoxWorld 07-30-2010 01:35 AM

EXCELLENT WORK !!

Play-list work like a charm now! Impressive upgrade. Members are loving the play-lists and advanced search helps a bunch.

ProFifaLeagues 07-30-2010 04:24 AM

Just updated to the new version but im left with all my media showing but when i click it to play im just getting all the media details and no video showing up.
Any ideas as i know its something simple?

Jaxel 07-30-2010 04:27 AM

Quote:

Originally Posted by rammieone (Post 2076661)
Just updated to the new version but im left with all my media showing but when i click it to play im just getting all the media details and no video showing up.
Any ideas as i know its something simple?

  • CHANGES: Object types are now explicitly defined in service XML files.
    • You MUST run the "Click here to restore all services in the "/media/xml" directory to their default settings" process.
    • The reason for this change is so that you can now host local WMV files using the included JW Silverlight Player.
    • The LocalAudio/LocalVideo services have been depricated and replaced with Local-MP3, Local-MP4, Local-WMA, and Local-WMV.

ProFifaLeagues 07-30-2010 04:38 AM

Where do i do this please jaxel?
You MUST run the "Click here to restore all services in the "/media/xml" directory to their default settings" process.

Thanks

ProFifaLeagues 07-30-2010 04:49 AM

Found it thanks Jaxel.
I forgot about doing the admin fix for services 1st :(
Top mod as always thanks

Ahmet Turan 07-30-2010 09:49 AM

I want to search but its have a problem

PHP Code:

Could not find phrase 'media_search_string_too_short'

Plaese help

And:

Seo problem :

Post: /media-library/song-112/

but: I want the title to appear

monkeyboy1916 07-30-2010 11:00 AM

I'm interested in a feature that was in the 3.8 Video Directory Remixed version~

It would be nice to have the ability to show the members currently watching a video again. I know I used this, and a few members on my forum also paid attention to it to discuss the videos with eachother~ =)

ANGEL OF FIRE 07-30-2010 12:38 PM

There is a bug when search any Cyrillic word in Media 1.5. Search results in an error Could not find phrase 'media_search_string_too_short'.. As a matter of fact, the search in Media 1.5 does not work for Russian language users.

The forum works in UTF8.

COL NIL SATIS 07-30-2010 04:04 PM

Quote:

Originally Posted by Jaxel (Post 2076264)
I haven't programmed in 2 months, so I'm a little rusty... inform me of any issues...

================================================== =========
Version 4.1.5 PLAYLISTS AND CUSTOM VARIABLES
================================================== =========
  • CHANGES: Object types are now explicitly defined in service XML files.
    • You MUST run the "Click here to restore all services in the "/media/xml" directory to their default settings" process.
    • The reason for this change is so that you can now host local WMV files using the included JW Silverlight Player.
    • The LocalAudio/LocalVideo services have been depricated and replaced with Local-MP3, Local-MP4, Local-WMA, and Local-WMV.
  • NEW FEATURE: Administrators can now define up to 9 custom variables.
    • The custom variable system must be enabled in the control panel before you can use any custom variables.
    • Custom variables can be enabled or disabled by either adding or deleting their custom variable names.
  • NEW FEATURE: Advanced Search can be found by clicking on the "Search" link on the sidebar.
    • The search function will now properly seperate search terms by spaces.
    • Advanced search will automatically include all enabled custom variables.
  • NEW FEATURE: Users with permissions to do so, can now create public playlists.
    • A new usergroup bitfield has been added for this permission, so you may need to rebuild bitfields.
    • Playlists are not currently paginated, but at the same time, there is no limit to playlist sizes.
  • BUG FIX: Fixed a bug where certain cells did not properly fill out the entire page.
  • BUG FIX: Fixed a bug where comments could not be posted if pm inboxes were full.



awesome Jaxel ....this mod is amazing ..thanks man :)

NickyNet 07-30-2010 04:11 PM

from the playlist if you click on some media...

Code:

Database error in vBulletin 4.0.5:

Invalid SQL:
SELECT * FROM media_playlist WHERE playlistID = '2';

MySQL Error  : Table 'db.media_playlist' doesn't exist
Error Number  : 1146
Request Date  : Friday, July 30th 2010 @ 07:04:08 PM
Error Date    : Friday, July 30th 2010 @ 07:04:08 PM
Script        : http://domain/media.php?do=details&mid=26&pid=2
Referrer      : http://domain/media.php?do=playlist&pid=2
IP Address    : xxx.xxxx.xxx.xxx
Username      : Nicky
Classname    : vB_Database
MySQL Version : 5.0.32-Debian_7etch6-log

there is the PREFIX missing in this query..


EDIT:

got it..

open media/media_details.php
change line 96 from
Code:

        $playlist = $vbulletin->db->query_first("SELECT * FROM media_playlist WHERE playlistID = '".$pid."'");
to
Code:

        $playlist = $vbulletin->db->query_first("SELECT * FROM ".TABLE_PREFIX."media_playlist WHERE playlistID = '".$pid."'");

COL NIL SATIS 07-30-2010 04:58 PM

Jaxel would it be possible to add Veetle to the list ??

drsmash 07-30-2010 11:08 PM

Could not find phrase 'media_tag_invalid'.
this appears in Arabic Tags ?????

papabear99 07-30-2010 11:35 PM

Video is all and well for a Library but this Plug-In cannot handle straight Audio Files (or I just did not find the way to do so) and, since we have University Transcripts and such to handle that are pure Audio, had to uninstall

Jaxel 07-31-2010 01:27 AM

This mod can do MP3 files hosted locally...

Put the file in /customVID folder, and then add it to the media library using the following URL: local:<filename>

drsmash 07-31-2010 02:00 AM

Jaxel can You Help Me ?
https://vborg.vbsupport.ru/showpost....postcount=1266

AtomicAcidbath 07-31-2010 02:06 AM

Upgraded to v4.1.5, set "Can create playlists" yes in Usergroup Permissions, rebuilt bitfields with 'admincp/index.php?do=buildbitfields'...

Click on Playlists, and the only option is "Browse All Playlists". Don't see the option to create Playlists or Add To Playlist anywhere.

What's wrong?

papabear99 07-31-2010 02:40 AM

Quote:

Originally Posted by Jaxel (Post 2077050)
This mod can do MP3 files hosted locally...

Put the file in /customVID folder, and then add it to the media library using the following URL: local:<filename>

Understand that but am NOT gonna allow Public access to that dir for upload since no upload facility available that allows browsing local

stwan 07-31-2010 04:50 AM

Not valid code in member's page:

HTML Code:

<link rel="stylesheet" type="text/css" href="http://www.mysite.ru/forum/clientscript/vbulletin_css/style00041l/8WR_media.css" />
[

STORMS 07-31-2010 08:54 AM

For some reason my thumbnails don't show. What am I doing wrong here?

http://mortalkombatempires.com/forum/media.php

mobe00 07-31-2010 10:37 AM

I did all that are explained in the instructions here. I only got browse all playlists. I dont know where to find add to playlist. Advanced search works great but the simple search only gives me the error : Could not find phrase 'media_search_string_too_short'.

great mod :)

capy 07-31-2010 11:40 AM

I'm getting an error:
Fatal error: Class 'Imagick' not found in /home/fpvnovic/public_html/vbulletin/media/media_functions_builds.php on line 57

This happens when clicking "Submit media". my host says Imagemagic can be found in usr/bin. how should line 57 look like? I don't know how to fix this.. can someone please help? Thanks

capy 07-31-2010 11:44 AM

another question. I would love to get "most recent media to show as a widget on my front page. It that possible?

mobe00 07-31-2010 12:01 PM

Quote:

Originally Posted by capy (Post 2077194)
another question. I would love to get "most recent media to show as a widget on my front page. It that possible?

Hi capy! It sure does. Here is how to do it https://vborg.vbsupport.ru/showthread.php?t=244058

capy 07-31-2010 12:39 PM

Thanks mobe00. That worked great! :)

I hope someone can help me with the problem in this post:
https://vborg.vbsupport.ru/showpost....postcount=1275

Jaxel 07-31-2010 02:05 PM

Quote:

Originally Posted by ANGEL OF FIRE (Post 2076769)
There is a bug when search any Cyrillic word in Media 1.5. Search results in an error Could not find phrase 'media_search_string_too_short'.. As a matter of fact, the search in Media 1.5 does not work for Russian language users.

The forum works in UTF8.

ALL simple search is broken in 4.1.5. This has been fixed for the next version... You can fix it yourself for now by changing like 30 in "media_search.php" from:
Code:

if (vbstrlen($keyword) < 3)
to
Code:

if (vbstrlen($keywords) < 3)
Quote:

Originally Posted by AtomicAcidbath (Post 2077055)
Upgraded to v4.1.5, set "Can create playlists" yes in Usergroup Permissions, rebuilt bitfields with 'admincp/index.php?do=buildbitfields'...

Click on Playlists, and the only option is "Browse All Playlists". Don't see the option to create Playlists or Add To Playlist anywhere.

What's wrong?

There is a conflict with this modification and some of Valter's VSA modifications that will prevent navbar permissions from being handled correctly. I don't know exactly who's fault it is; but I'm pretty sure there are no errors in my code that would be causing this problem. There is a work around for this however.

Admin Control Panel > Plugins & Products > Plugin Manager > "media NAVTAB"

Find the code:
Code:

    $perms = media_permissions();
Replace with:
Code:

$perms['rate'] = true;
$perms['comment'] = true;
$perms['submit'] = true;
$perms['playlist'] = true;
 
if (is_member_of($vbulletin->userinfo, explode(',','5,6')))
{
    $perms['modtags'] = true;
    $perms['modcategory'] = true;
    $perms['modservice'] = true;
}

[/INDENT]
Quote:

Originally Posted by capy (Post 2077193)
I'm getting an error:
Fatal error: Class 'Imagick' not found in /home/fpvnovic/public_html/vbulletin/media/media_functions_builds.php on line 57

This happens when clicking "Submit media". my host says Imagemagic can be found in usr/bin. how should line 57 look like? I don't know how to fix this.. can someone please help? Thanks

This bug is "fixed" in the next version by simply disabling ImageMagick support in this mod. Lines 55-61 of "media_functions_build" are my attempts to get this mod working with Imagick. But I don't know how to use Imagick and I have yet to find a single person who can explain to me how it works.

capy 07-31-2010 02:34 PM

OK, thanks for the quick reply. I'll just disable line 55-61 then. I'll leave you some cash on my way out.


All times are GMT. The time now is 04:36 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.03657 seconds
  • Memory Usage 1,860KB
  • 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
  • (7)bbcode_code_printable
  • (1)bbcode_html_printable
  • (2)bbcode_php_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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