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)

john locke 08-24-2010 10:08 PM

Quote:

Originally Posted by EquinoxWorld (Post 2089057)
Did you check upper middle/right corner of the sub navbar? Some options are in the subnavbar some are in the vbulleitn options .

In the subnavbar i can do nothing cause i have no permission... and in the PCA where are the options to allow user to see media? i didn find it...

andyv72 08-24-2010 10:55 PM

1 Attachment(s)
not Work !!!!

See Screens
Attachment 121256

Attachment 121257

pls help....

your24hourstore 08-24-2010 11:16 PM

Quote:

Originally Posted by john locke (Post 2089077)
In the subnavbar i can do nothing cause i have no permission... and in the PCA where are the options to allow user to see media? i didn find it...

permissions are set in user groups.
once set you will have the links under navbar

yoni007 08-25-2010 02:19 AM

Jaxel,

We have errors like "André" when trying to add the word "Andr?" to Media.

Example: http://www.youtube.com/watch?v=6C1h_gN2mt8

Media Title : Mago da F?+sica - Levitação ?“ptica
Default Title : Mago da F?sica - Levita??o ?ptica

The problem occurs with tags, titles, descriptions...

Can you help us please?

iJay 08-25-2010 03:07 AM

Nice mod!
Nominated & Installed

What are the vbseo custom rewrite rules for this mod?

ctrenks 08-26-2010 01:28 AM

Is there an easy java applet to prevent the hotlink to youtube when we embed a video? By having people click the video and leave the site is not the greatest.

ctrenks 08-26-2010 01:34 AM

Quote:

Originally Posted by iJay (Post 2089167)
Nice mod!
Nominated & Installed

What are the vbseo custom rewrite rules for this mod?

Code:

'^media\.php\?do=tag&tid=(.*)$'=>'media-library/tags/$1/'
'^media\.php\?do=details_edit&mid=(.*)$'=>'media-library/edit/$1/'
'^media\.php\?do=tags_edit&mid=(.*)$'=>'media-library/tag-edit/$1/'
'^media\.php\?do=comment_edit&cmt=(.*)$'=>'media-library/comment-edit/$1/'
'^media\.php\?do=category&cid=(\d+)&title=(.+)$'=>'media-library/cat-$1-$2/'
'^media\.php\?do=details&mid=(\d+)&title=(.+)$'=>'media-library/$2-$1/'
'^media\.php\?do=user&uid=(\d+)$'=>'media-library/user-$1/'
'^media\.php\?do=faves&mid=(\d+)$'=>'media-library/love/$1/'
'^media\.php\?do=report&mid=(\d+)$'=>'media-library/report/$1/'
'^media\.php\?do=search&query=(\d+)$'=>'media-library/search/$1/'
'^media\.php\?do=letter&query=(\d+)$'=>'media-library/letter/$1/'
'^media\.php\?do=random$'=>'media-library/random'
'^media\.php\?do=submit$'=>'media-library/submit'
'^media\.php\?do=browse$'=>'media-library/browse'
'^media\.php\?do=tagcloud$'=>'media-library/tagcloud'
'^media\.php\?do=favorites$'=>'media-library/favorites'
'^media\.php\?do=subscriptions$'=>'media-library/subscriptions'
'^media\.php\?do=admin_host_edit&sid=(\d+)$'=>'media-library/admin/edit/$1/'
'^media\.php\?do=admin_host_delete&sid=(\d+)$'=>'media-library/admin/delete/$1/'
'^media\.php\?do=admin_host_export&sid=(\d+)$'=>'media-library/admin/export/$1/'
'^media\.php\?do=admin_(\w+)$'=>'media-library/admin/$1/'
'^media\.php$' => 'media-library/'


raiderlax 08-26-2010 06:03 AM

Can you rewrite actual video urls?

bydosangel 08-26-2010 10:47 AM

the huge problem we are facing is that service hosters, can't find any site or coder to update and add video site (such as Google-Yahoo)
i have million of Videos in Google video and it have tones of teras filled with Fantastic videos that has been added years ago, and yahoo as i experienced is the fastest video site in streaming...
I used to use (seyret) for joomla for vieo, that was great and my license still working, but joomla is dangerous so, it has been removed and i need something look a like..
This is a great hack with great options with great coder as far as i can see, but, every one need a support for other services such as google, yahoo....
Kindly accept my best regards

Veer 08-27-2010 01:17 AM

Hey Jaxel, can we use "AS-Flash Media Player" from here.?

Jaxel 08-27-2010 05:37 PM

Quote:

Originally Posted by Veer (Post 2090126)
Hey Jaxel, can we use "AS-Flash Media Player" from here.?

Sure, just change the embed codes in the local hoster.

andyv72 08-28-2010 01:22 AM

Quote:

Originally Posted by andyv72 (Post 2089093)
not Work !!!!

See Screens
Attachment 121256

Attachment 121257

pls help....

Soorryyyyyy....
i have it no see .. the admin was there... :o:o

IT WORKS 1A ?!!!!!!!!

EquinoxWorld 08-28-2010 04:02 AM

Quote:

Originally Posted by ctrenks (Post 2089632)
Code:

'^media\.php\?do=tag&tid=(.*)$'=>'media-library/tags/$1/'
'^media\.php\?do=details_edit&mid=(.*)$'=>'media-library/edit/$1/'
'^media\.php\?do=tags_edit&mid=(.*)$'=>'media-library/tag-edit/$1/'
'^media\.php\?do=comment_edit&cmt=(.*)$'=>'media-library/comment-edit/$1/'
'^media\.php\?do=category&cid=(\d+)&title=(.+)$'=>'media-library/cat-$1-$2/'
'^media\.php\?do=details&mid=(\d+)&title=(.+)$'=>'media-library/$2-$1/'
'^media\.php\?do=user&uid=(\d+)$'=>'media-library/user-$1/'
'^media\.php\?do=faves&mid=(\d+)$'=>'media-library/love/$1/'
'^media\.php\?do=report&mid=(\d+)$'=>'media-library/report/$1/'
'^media\.php\?do=search&query=(\d+)$'=>'media-library/search/$1/'
'^media\.php\?do=letter&query=(\d+)$'=>'media-library/letter/$1/'
'^media\.php\?do=random$'=>'media-library/random'
'^media\.php\?do=submit$'=>'media-library/submit'
'^media\.php\?do=browse$'=>'media-library/browse'
'^media\.php\?do=tagcloud$'=>'media-library/tagcloud'
'^media\.php\?do=favorites$'=>'media-library/favorites'
'^media\.php\?do=subscriptions$'=>'media-library/subscriptions'
'^media\.php\?do=admin_host_edit&sid=(\d+)$'=>'media-library/admin/edit/$1/'
'^media\.php\?do=admin_host_delete&sid=(\d+)$'=>'media-library/admin/delete/$1/'
'^media\.php\?do=admin_host_export&sid=(\d+)$'=>'media-library/admin/export/$1/'
'^media\.php\?do=admin_(\w+)$'=>'media-library/admin/$1/'
'^media\.php$' => 'media-library/'


Those are for the previous version of MediaLibrary . After playlists were added the URL's changed and the "title" of the episode has been omitted from the rewrite. All of those CRR work with the exception of '^media\.php\?do=details&mid=(\d+)&title=(.+)$'=>' media-library/$2-$1/' and new CRR need to be created for "Play-lists" and "Play-list Page" . I have posted on VBSEO but no response from them yet. They are hesitant about providing the CRR's for the latest release of this modification. : (

EDITED: We have replaced the view video page CRR with this one:

'^media\.php\?do=details\&mid=(\d+)(&title=(.+))?$ '=>'media-library/$3-$1/'

for a replacement but we still get this URL , without a title on the actual URL, although header tags do work. example URL: http://www.aniworlds.net/forum/media-library/-19631/

raiderlax 08-28-2010 08:50 PM

Quote:

Originally Posted by EquinoxWorld (Post 2090605)
Those are for the previous version of MediaLibrary . After playlists were added the URL's changed and the "title" of the episode has been omitted from the rewrite. All of those CRR work with the exception of '^media\.php\?do=details&mid=(\d+)&title=(.+)$'=>' media-library/$2-$1/' and new CRR need to be created for "Play-lists" and "Play-list Page" . I have posted on VBSEO but no response from them yet. They are hesitant about providing the CRR's for the latest release of this modification. : (

EDITED: We have replaced the view video page CRR with this one:

'^media\.php\?do=details\&mid=(\d+)(&title=(.+))?$ '=>'media-library/$3-$1/'

for a replacement but we still get this URL , without a title on the actual URL, although header tags do work. example URL: http://www.aniworlds.net/forum/media-library/-19631/


Ok thanks. I hope we can get it where the title of the video is in the url.

K4GAP 08-28-2010 10:32 PM

Does anyone have custom variables that aren't included with this mod? I would like to add a few.

K4GAP 08-28-2010 10:40 PM

Trying to put a Google video on my site.....
The video --- > http://video.google.com/videoplay?do...8385192596129#

I get this message, "Could not parse media URL". Do I need to add Google to the variables? If so, what is the variable?

your24hourstore 08-29-2010 12:34 AM

Quote:

Originally Posted by GaryT (Post 2090867)
Trying to put a Google video on my site.....
The video --- > http://video.google.com/videoplay?do...8385192596129#

I get this message, "Could not parse media URL". Do I need to add Google to the variables? If so, what is the variable?

some cannot be made to work right now, google is one as far as i know. cant be done with what we have

Webbstre 08-29-2010 12:35 AM

I'm curious as to how I can make an xml file to import videos from other sites. I want to add this video: http://www.gamestar.de/index.cfm?pid=1589&pk=14591 to my database, but I have no idea how to go about making gamestar.de compatible.

Jaxel 08-29-2010 01:59 AM

1 Attachment(s)
Quote:

Originally Posted by Webbstre (Post 2090910)
I'm curious as to how I can make an xml file to import videos from other sites. I want to add this video: http://www.gamestar.de/index.cfm?pid=1589&pk=14591 to my database, but I have no idea how to go about making gamestar.de compatible.

Attached...

Webbstre 08-29-2010 02:01 AM

Thank you!!!

Edit: Unfortunately, the xml file didn't work X_X

Edit 2: I forgot to upload the php file the first time. I uploaded it and then tried adding the gamestar link to my database, but nothing happens.

iask 08-29-2010 09:45 AM

Media URL contained invalid data.
http://www.youtube.com/watch?v=tGpLHj-MVtk

Lee Roberts 08-29-2010 02:33 PM

1 Attachment(s)
Jaxel, i'v got two things. If you have the time could you give me an idea on what i need to do to fix them please. Great MOD by the way !

1.
When i click the "Click here to restore all services in the "/media/xml" directory to their default settings."

I am getting the following error:

Quote:

Database error in vBulletin 4.0.6:

Invalid SQL:
UPDATE media_service SET
svcName = 'YouTube',
svcRegex = 'http://[a-z]*?[\\.]?youtube\\.[a-z]*?/watch\\?v=([\\w-]*)',
svcURL = 'http://www.youtube.com/watch?v={serviceVAL}',
svcFeed = 'http://gdata.youtube.com/feeds/api/videos/{serviceVAL}',
svcValue2 = 'null',
svcThumb = '$arr[\'media:group\'][\'media:thumbnail\'][3][\'url\']',
svcTitle = '$arr[\'media:group\'][\'media:title\'][\'value\']',
svcDesc = '$arr[\'media:group\'][\'media:description\'][\'value\']',
svcLength = '$arr[\'media:group\'][\'yt:duration\'][\'seconds\']',
svcTags = 'null',
svcMovie = 'http://www.youtube.com/v/{serviceVAL}?autoplay={ap10}&hd=1&fs=1',
svcWidth = 640,
svcHeight = 385,
svcStream = 'null',
svcType = 'application/x-shockwave-flash',
svcError = '$arr[\'app:control\'][\'yt:state\'][\'value\']'
WHERE serviceID = 1;

MySQL Error : Unknown column 'svcStream' in 'field list'
Error Number : 1054
Request Date : Sunday, August 29th 2010 @ 08:22:25 AM
Error Date : Sunday, August 29th 2010 @ 08:22:25 AM
Script : http://www.mycncuk.com/forums/media....n_host_restore
Referrer : http://www.mycncuk.com/forums/media.php?do=admin_host
Classname : vB_Database
MySQL Version : 5.1.26-rc-5.1.26rc
I have upgraded to 4.1.6 from 4.0.9 by uploading and then importing the xml file, i also set this to overright for both the uploads and the import.

2.
The other thing i have a problem with is this blank space showing up, i think its somthing to do with the custom variable system. I have this turned off so im not sure why its creating this blank space. Also what are the "custom variables" attully for, how do we use them and can you give an example.

Thanks for your time.

Lee

Lee Roberts 08-29-2010 04:08 PM

Looks like its somthing to do with this line, if i remove it the blank area go's away:

Quote:

<vb:if condition="$media['embed_stream']"><div class="mediarow" style="margin-top: {vb:stylevar media_margin}px; border: 0px; padding: 0px;">{vb:raw media.embed_stream}</div></vb:if>

Jaxel 08-29-2010 06:28 PM

Quote:

Originally Posted by MYCNCUK (Post 2091123)
I am getting the following error:

I have upgraded to 4.1.6 from 4.0.9 by uploading and then importing the xml file, i also set this to overright for both the uploads and the import.

4.1.6 was a rollup, from 4.1.2... add the following row to your media_services table:
svcStream varchar(255) NOT NULL default 'null',

Quote:

Originally Posted by iask (Post 2091028)
Media URL contained invalid data.
http://www.youtube.com/watch?v=tGpLHj-MVtk

Rebuild your hoster services; 4.1.6 now includes error codes to enhance error reporting when hoster sites (such as youtube) reject your embed request. (such as: this video is not available in your region or uploader has disabled external embedding for this video)

Big-Pete 08-29-2010 07:20 PM

HI Jaxel,
Love this mod..

I'd like to add my videos that I have on Amazon s3 / cloudfront, Is there a way to get these into the media library aswell??
The URL format is

Quote:

http: // myvids.s3.amazonaws.com/gt/myvideotitle-2448555.flv
My videos also have MRSS files / info with them..

spoky29 08-29-2010 08:24 PM

Very nice it's working perfectly! Thanks

Just a little idea: Will it be possible to put a buton " Add to playlist" To add any video of the media library?

++

Jaxel 08-29-2010 09:23 PM

Quote:

Originally Posted by Big-Pete (Post 2091249)
HI Jaxel,
Love this mod..

I'd like to add my videos that I have on Amazon s3 / cloudfront, Is there a way to get these into the media library aswell??
The URL format is



My videos also have MRSS files / info with them..

Please send me a link to an example mrss file.

Merjawy 08-30-2010 05:39 AM

I am really not that dumb, I feel like one this time

I installed it and had issue with vsa mod and had issues with it before so I removed it
uninstalled this mod and reinstalled it

now all seem to be ok, but the first plug-in media Admin import is disabled. Is that normal?

when I enable it, and run the updates I get database errors tabe videotagvideo not found

PHP Code:

Database error in vBulletin 4.0.6:

Invalid SQL:
INSERT IGNORE
        INTO media_tag_content 
(tagIDmediaIDuserIDdateline)
        
SELECT tagidvideoiduseriddateline FROM videotagvideo;

MySQL Error   Table 'XXXXXXXXXX_vb403.videotagvideo' doesn't exist
Error Number  : 1146
Request Date  : Monday, August 30th 2010 @ 02:36:06 AM
Error Date    : Monday, August 30th 2010 @ 02:36:06 AM
Script        : http://www.XXXXXXX.com/XXXXXX/XXXXXXcp/misc.php?do=import_media_vdrcreate
Referrer      : http://www.XXXXXXXX.com/XXXXXXX/XXXXXXcp/misc.php?do=import_media_check
IP Address    : XXXXXXXXX
Username      : XXXXXX
Classname     : vB_Database
MySQL Version : 4.1.22-standard 


Also I get database error with the other two options with different table not exist issues

Or am I doing it all wrong?
I don't have any data imported into my library yet

Thanks

kingMOB 08-31-2010 04:34 PM

Is there a way to make one link open the page with videos from more than one categorie? Like media.php?do=category&cid=3&cid=4&cid=5 ?

Thanks.

ANGEL OF FIRE 09-01-2010 08:16 AM

Search doesn't work if the search request is entered by Cyrillic. Fix it please as we have a lot of videoclips with Cyrillic titles.

djscoop 09-01-2010 11:46 AM

Installed with no problems :) Thanks Man!

bada_bing 09-01-2010 08:20 PM

Is there a list of video sites this plugin works with? So far I can only get youtube videos to work when submitting a video via the Media URL

For example I am trying to all this url
HTML Code:

http://www.monkeysee.com/play/17103-%2D%2D%09Distracted%2DDriving%2DText%2DMessaging
But I get a "could not parse media url" message. I can only parse youtube videos?

cloferba 09-02-2010 03:56 AM

where i can find more services on xml format...to import them?

thanks! amazing mod!

asj 09-02-2010 04:54 AM

Installed with no problems Arabic :)
http://www.arabdeaf.net/media.php?

Thank you very much

cevo 09-02-2010 08:41 AM

All installation working fine except that there is no comment box allow the user to leave the comment. I am sure that I have configured the permission of that user to that already.

I also have fixed Nav error with this code already
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;
}

But this code only fix the menu for Admin, still not showing the comment box for the user at all.

Lee Roberts 09-02-2010 11:20 AM

Quote:

Originally Posted by Jaxel (Post 2091233)
4.1.6 was a rollup, from 4.1.2... add the following row to your media_services table:
svcStream varchar(255) NOT NULL default 'null',

Hey,

Ok thanks mate, i did think it would be that simple but thought i would put it to you first.

I'v also got a feature request or what ever, if your taking note's for the next version that is, add the ability for vB to submit the (ML) sitemap when it dose the others :up:

Cheers,
Lee

bada_bing 09-02-2010 03:18 PM

Quote:

Originally Posted by bada_bing (Post 2092589)
Is there a list of video sites this plugin works with? So far I can only get youtube videos to work when submitting a video via the Media URL

For example I am trying to all this url
HTML Code:

http://www.monkeysee.com/play/17103-%2D%2D%09Distracted%2DDriving%2DText%2DMessaging
But I get a "could not parse media url" message. I can only parse youtube videos?

Any Help please

Ninos 09-02-2010 03:41 PM

It's probably been asked before, but you gotta understand that there's 96 pages to root thru.

How do I remove the "media" tab from the navigation bar?I'm using a custom navigation tabs mod and I'm linking to the seperate categories direct and therefore I don't have any use for the 'media' tab if you get me. See it wouldn't be a problem but if I disable the navtab plugin it removes ALL related navigation too (eg. the secondary navigation links).

Ninos 09-02-2010 05:08 PM

sorry double post

liefdesdichter 09-02-2010 07:54 PM

nice one but VDR was better google was possible en there was a better config menu


All times are GMT. The time now is 03:19 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.03656 seconds
  • Memory Usage 1,864KB
  • 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
  • (3)bbcode_code_printable
  • (2)bbcode_html_printable
  • (1)bbcode_php_printable
  • (17)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