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)

LichtMann 11-02-2010 01:13 PM

Hi Jaxel

Thank you for the great mod. I'v been using it for a while.

Btw, I am trying to setup the RSS Feed, but when I try to fetch the content, it shows nothing, like there'd be no content at all.

http://www.gamersco.com/media.php?do=rss

That is the RSS URL. I've tried some permissions, but finally the feed is not showing the content. Do you know what could be the reason?

Thank you for your attention.

Jaxel 11-02-2010 01:21 PM

Feed works fine for me... what browser are you using?

Chrome does not have a built in RSS feed reader... You can install it here:
https://chrome.google.com/extensions...bbbdekmmmcbfjd

Xeyn 11-02-2010 01:35 PM

all the vids i want to add from youtube come up with...when i try to add:

Syndication of this video was restricted by its owner

LichtMann 11-02-2010 01:41 PM

Quote:

Originally Posted by Jaxel (Post 2117135)
Feed works fine for me... what browser are you using?

Chrome does not have a built in RSS feed reader... You can install it here:
https://chrome.google.com/extensions...bbbdekmmmcbfjd

Well, it works like a charm now, I dont know why. Thank you for the answer!

LichtMann 11-02-2010 04:04 PM

Well, and this another thing.

I am changing some things inside the mod, in order to enable the Like Button from Facebook.

As well, it's necessary to add some tags in the HTML code. Actually it is taking the generic information of vb, but no the specific for each video. For that reason the Like button doesn't work well.

For example

Code:

<meta property="og:description"
So I tracked it, and it comes from $vbulletin->options['description'] in the functions_facebook.php file from vbulletin.

Do you have any suggestion of a plugin that can fill the variables needed by facebook? (meta property="og:description", meta property="og:url", meta property="og:type")

Thank you.

Arved Yagami 11-02-2010 11:30 PM

Can anyone help? I'm still getting this error

Code:

SELECT media.*, media_service.*, media_category.*, IF(NOT ISNULL(user.userid), user.username, media.username) AS username
                        FROM vbmedia AS media
                        LEFT JOIN vbmedia_service AS media_service ON(media_service.serviceID = media.serviceID)
                        LEFT JOIN vbmedia_category AS media_category ON(media_category.categoryID = media.categoryID)
                        LEFT JOIN vbuser AS user ON(user.userid = media.userID)
                        WHERE media_category.catOrder != '0'
                        ORDER BY media.favorites DESC, media.comments DESC, media.views DESC
                        LIMIT 6;

MySQL Error  : Unknown column 'media.favorites' in 'order clause'
Error Number  : 1054


Jaxel 11-03-2010 12:02 AM

Quote:

Originally Posted by VBUsers (Post 2116263)
the nav link is showing up all broken and incorrect on my forum

http://www.hydrocanna.com/forum.php

can you tell me how to fix that?

This is due to the edits on your skin...

Quote:

Originally Posted by danyol1706 (Post 2116837)
Hi,

After the recent update, I'm getting a "page not found" error after clicking on a video in my media gallery. Did I break the links? If so, how can I fix this?

Turn off SEO slugs

Quote:

Originally Posted by Xeyn (Post 2117139)
all the vids i want to add from youtube come up with...when i try to add:

Syndication of this video was restricted by its owner

Don't complain to me... complain to its owner.

Quote:

Originally Posted by LichtMann (Post 2117140)
Well, it works like a charm now, I dont know why. Thank you for the answer!

Its because the feed isn't generated until after a while...

Quote:

Originally Posted by Arved Yagami (Post 2117280)
Can anyone help? I'm still getting this error

Code:

SELECT media.*, media_service.*, media_category.*, IF(NOT ISNULL(user.userid), user.username, media.username) AS username
                        FROM vbmedia AS media
                        LEFT JOIN vbmedia_service AS media_service ON(media_service.serviceID = media.serviceID)
                        LEFT JOIN vbmedia_category AS media_category ON(media_category.categoryID = media.categoryID)
                        LEFT JOIN vbuser AS user ON(user.userid = media.userID)
                        WHERE media_category.catOrder != '0'
                        ORDER BY media.favorites DESC, media.comments DESC, media.views DESC
                        LIMIT 6;

MySQL Error  : Unknown column 'media.favorites' in 'order clause'
Error Number  : 1054


Please read the install instructions.

Dangerboy 11-03-2010 03:39 PM

Hi Jaxel,

Is megavideo thumbnails working for you? I did some testing with adding new megavideo items and it worked fine. I though I fixed the issue so I tried building the thumbnails in the update counter section and the new entries are now just black thumbnails too. I've played around with the permissions for the thumbs directory as well in the "customVID" folder but no luck. Any ideas would be greatly appreciated.

stwan 11-04-2010 09:44 AM

1 Attachment(s)
Bugs in 4.1.7 (vbulletin 4.0.8):
Attachment 123386
Attachment 123387

And please make Words => in the phrase:
Attachment 123388
media.php
Attachment 123389
media.php?do=admin_tags

staffurdu 11-04-2010 10:09 AM

I need a little help if you could spare some time.

I saw a site installed MediaLibrary at forums and they were showing latest media additions in a widget at home page and the thing is that it wasnt just showing names but also thumbnails.

I have searched a lot because I didnt wanted to disturb you but I havent found such mod or addon.

Can you please send me link to such mod or guide me how this can be done..

stwan 11-04-2010 11:58 AM

staffurdu, https://vborg.vbsupport.ru/showthread.php?t=244058 this?

staffurdu 11-04-2010 12:23 PM

Quote:

Originally Posted by stwan (Post 2117837)

Yes exactly. Thanks a lot.

EquinoxWorld 11-05-2010 01:50 PM

Quote:

Originally Posted by Dangerboy (Post 2117520)
Hi Jaxel,

Is megavideo thumbnails working for you? I did some testing with adding new megavideo items and it worked fine. I though I fixed the issue so I tried building the thumbnails in the update counter section and the new entries are now just black thumbnails too. I've played around with the permissions for the thumbs directory as well in the "customVID" folder but no luck. Any ideas would be greatly appreciated.

Megavideo thumbnails not working for us either, at least the new releases anyway. I uploaded an old megavideo URL today and it created the thumbnail just fine but newly uploaded videos to megavideo URL has been not creating thumnail at all. This has been going on for a few days now. Any ideas anyone?

EDITED: I may add when I ran the rebuild thumbnail process same thing happen as you Dangerboy , the thumbnail just became black. And for some reason it took a while to rebuild about 10 of them. I don't believe it is a permissions issue or anything from the script end, sometimes megavideo changes their API so we might have to change the megavideo.xml if someone knows how to update that it would be extremely helpful.

Jaxel 11-05-2010 02:49 PM

Quote:

Originally Posted by EquinoxWorld (Post 2118277)
Megavideo thumbnails not working for us either, at least the new releases anyway. I uploaded an old megavideo URL today and it created the thumbnail just fine but newly uploaded videos to megavideo URL has been not creating thumnail at all. This has been going on for a few days now. Any ideas anyone?

EDITED: I may add when I ran the rebuild thumbnail process same thing happen as you Dangerboy , the thumbnail just became black. And for some reason it took a while to rebuild about 10 of them. I don't believe it is a permissions issue or anything from the script end, sometimes megavideo changes their API so we might have to change the megavideo.xml if someone knows how to update that it would be extremely helpful.

MegaVideo changes their API CONSTANTLY... I've had to update the importer for them about 7 times now...

EquinoxWorld 11-05-2010 03:15 PM

Quote:

Originally Posted by Jaxel (Post 2118301)
MegaVideo changes their API CONSTANTLY... I've had to update the importer for them about 7 times now...

Hello Jaxel,

Thank for your response. Is it maybe possible for us to get a tut of some sorts so we can change the importer ourselves or is it too complicated? I am more or less familiar with the API but have very little experience with the importers. Either way it would be very helpful to all members who use this mod and I am sure less of a burden for you . :) Thanks again for your quick reply though. I hope we can get this updated at some point, Megavideo represents about 50% of our imports. Any help with this would be as always very much appreciated.

Dangerboy 11-05-2010 05:33 PM

Quote:

Originally Posted by Jaxel (Post 2118301)
MegaVideo changes their API CONSTANTLY... I've had to update the importer for them about 7 times now...

I though I might have found a solution for that but it's not working in my thumbnail rebuild that's running right now. I tried a few of the previous versions as well but the one in the current version appears to be correct. If I import a video from megavideo, it captures the thumbnail. If I try to rebuild the older ones, it will not pull the thumbnail and I lose the new one I imported. I am searching now to see what the difference is with the rebuild vs the import.
Quote:

Originally Posted by EquinoxWorld (Post 2118313)
Hello Jaxel, Thank for your response. Is it maybe possible for us to get a tut of some sorts so we can change the importer ourselves or is it too complicated? I am more or less familiar with the API but have very little experience with the importers. Either way it would be very helpful to all members who use this mod and I am sure less of a burden for you . :) Thanks again for your quick reply though. I hope we can get this updated at some point, Megavideo represents about 50% of our imports. Any help with this would be as always very much appreciated.

It's not hard to change. On the media main page, click on the "Administrate" dropdown and select "Services". Then find the Megavideo line and select "edit" on the right. I think this is what needs to be changed for the thumbnails but I am not sure:
Code:

preg_match('#[\w+%.-]*'.$service['serviceVAL'].'([\w]*)[\w+%.-]*#i',$arr['ROW']['embed'],$match);$thu='http://img1.megavideo.com/'.$match[1].'.jpg'
This API works for me if I import a new video but not on the rebuild.

weexto 11-05-2010 05:34 PM

hello,
with this application you can moderate the media's users?
Can you help me please ?
W.

EquinoxWorld 11-05-2010 07:18 PM

Quote:

Originally Posted by Dangerboy (Post 2118357)
I though I might have found a solution for that but it's not working in my thumbnail rebuild that's running right now. I tried a few of the previous versions as well but the one in the current version appears to be correct. If I import a video from megavideo, it captures the thumbnail. If I try to rebuild the older ones, it will not pull the thumbnail and I lose the new one I imported. I am searching now to see what the difference is with the rebuild vs the import.
It's not hard to change. On the media main page, click on the "Administrate" dropdown and select "Services". Then find the Megavideo line and select "edit" on the right. I think this is what needs to be changed for the thumbnails but I am not sure:
Code:

preg_match('#[\w+%.-]*'.$service['serviceVAL'].'([\w]*)[\w+%.-]*#i',$arr['ROW']['embed'],$match);$thu='http://img1.megavideo.com/'.$match[1].'.jpg'
This API works for me if I import a new video but not on the rebuild.

Thanks for the post Dander but that API is the same as the old one we currently have. For me if we upload a new video to megavideo and use the current API we do not get a thumnail, just a broken image and when we run the media rebuild thumbnail we just get a black image. :( Need your help Jaxel.

Wayne Luke 11-05-2010 11:40 PM

Just installed this addon and it is looking good. Have to work on the style but that is because of my site, not the addon.

Anyway, a suggestion for a future version. It would be nice to be able to put media into multiple categories. For instance, I am doing a movie site and could have a movie in "Action/Adventure" and "Western". You'll probably tell me to just use tags but then that makes the categories worthless because then everything will have to be done by tags.

puertoblack2003 11-06-2010 02:11 AM

just a heads up jaxel. in the profile there's a tab, but when i click on it.Its not showing what i uploaded.

Gary V 11-06-2010 10:20 AM

Great add on! Figure'd I'd post this up... it's a how to post media step by step for your forum members. Feel free to down load the pics and create a how to on your forum if you'd like.


Best regards,
Gary

Gleedo 11-06-2010 02:28 PM

Firstly, what an excellent mod - thanks very much for releasing it :)

The only thing I would like to change and I have searched but not found the answer, is how to change the format/style of the posts that get made in a forum when a new media is submitted.

I guess I have to edit one of the EditTemplates, but which one please?

dcuellar 11-06-2010 09:39 PM

Any way to set Auto-Create Thread default to yes?

----

Edit: Solved. For those interested you can do the following in the '8WR_media_submit' template:

Replace:
Code:

                        <input type="checkbox" class="primary full checkbox" name="newthread" value="newthread" />
With:
Code:

                        <input type="checkbox" class="primary full checkbox" name="newthread" value="newthread" checked />

dcuellar 11-06-2010 09:54 PM

BTW...beautiful mod. Love it!

LichtMann 11-09-2010 10:53 AM

Quote:

Originally Posted by bioload (Post 2096994)
Installed and running on 4.0.6......Thanks

Is it possible to add facebook integration to the media section as well?


I am requesting also this feature. In fact, I tried to did it, but unsuccessfully :(

Any information about this?

Thank you!

hardboiled 11-09-2010 09:39 PM

Someone said in order to change the navbar name "media" to something else, you need to "rename the phrase". Can anyone explain HOW and WHERE one would "rename the phrase"?

RobbieZ 11-09-2010 10:00 PM

ACP > Languages & Phrases > Search in phrases > 'Media' > Find..

Should be the top one..

Edit > (change to 'Moving Images with words :o') Save ;)

Vric 11-10-2010 02:04 PM

Quote:

Originally Posted by barcraft (Post 2116759)
Hi,

I need Service for www.pokertube.com videos please :)


Regards!

make us 2 !

Will pay if need

teamsupra 11-11-2010 01:29 AM

What do I have to add to my VBSEO htaccess to get Search Engine Optimization to work?

luan7749 11-11-2010 07:48 AM

So, I want to upload thumnail in external hosting, How can do that ?

stained 11-11-2010 11:36 AM

Quote:

Originally Posted by teamsupra (Post 2120412)
What do I have to add to my VBSEO htaccess to get Search Engine Optimization to work?

http://www.vbseo.com/f23/media-libra...e-rules-43754/

elviejoepu 11-12-2010 02:04 AM

Almost all the videos my users try to upload a video get this error
This video is not available in your region. but they are available on youtube.

What should i do?

michaelmash 11-13-2010 09:32 AM

HI jaxel, PLEASE HELP ME

i make a service xml , its from youtube.xml.
and i already got the video site api links. below XML content structure copy from rss feed.

REGEX and everythings looks good . but its always said "Media ulr contained invalid content" when i submit video .

please help me to correct it. thanks.


VIDEO SOURCE LINK:http://www.tudou.com/programs/view/gJNCRc1usFI

Code:

<?xml version="1.0" encoding="UTF-8"?>

<service>
        <svcName>TuDou</svcName>
        <svcRegex><![CDATA[http://[a-z]*?[\.]?tudou\.[a-z]*?/programs/view/([\w-]*)]]></svcRegex>
        <svcURL>http://www.tudou.com/programs/view/{serviceVAL}</svcURL>
        <svcFeed><![CDATA[http://api.tudou.com/v3/gw?method=item.info.get&appKey=myKey&format=xml&itemCodes={serviceVAL}]]></svcFeed>
        <svcValue2>null</svcValue2>
        <svcThumb>null</svcThumb>
        <svcTitle><![CDATA[$arr['result']['results']['ItemInfo']['title']['value']]]></svcTitle>
        <svcDesc>null</svcDesc>
        <svcLength>null</svcLength>
        <svcTags>null</svcTags>
        <svcMovie>http://www.tudou.com/v/{serviceVAL}</svcMovie>
        <svcWidth>640</svcWidth>
        <svcHeight>385</svcHeight>
        <svcStream>null</svcStream>
        <svcError>null</svcError>
        <svcParams>null</svcParams>
</service>



Code:

<result><results><ItemInfo><itemCode>CjU1waYQWrU</itemCode><title>titleee</title><tags>tags</tags><description>description</description><picUrl>http://i01.img.tudou.com/data/imgs/i/063/608/082/p.jpg</picUrl><picChoiceUrl><string>http://i00.img.tudou.com/data/imgs/i/063/608/082/m15.jpg</string><string>http://i00.img.tudou.com/data/imgs/i/063/608/082/m30.jpg</string></picChoiceUrl><totalTime>71630</totalTime><pubDate>2010-11-12</pubDate><ownerId>40360632</ownerId><ownerName>tudoushexian</ownerName><ownerNickname>tudou</ownerNickname><channelId>1</channelId><outerPlayerUrl>http://www.tudou.com/v/CjU1waYQWrU</outerPlayerUrl><itemUrl>http://www.tudou.com/programs/view/CjU1waYQWrU/</itemUrl><mediaType>video</mediaType></ItemInfo></results></result>

Jaxel 11-14-2010 02:33 AM

Quote:

Originally Posted by michaelmash (Post 2121307)
HI jaxel, PLEASE HELP ME

i make a service xml , its from youtube.xml.
and i already got the video site api links. below XML content structure copy from rss feed.

REGEX and everythings looks good . but its always said "Media ulr contained invalid content" when i submit video .

please help me to correct it. thanks.


VIDEO SOURCE LINK:http://www.tudou.com/programs/view/gJNCRc1usFI

Code:

<?xml version="1.0" encoding="UTF-8"?>

<service>
        <svcName>TuDou</svcName>
        <svcRegex><![CDATA[http://[a-z]*?[\.]?tudou\.[a-z]*?/programs/view/([\w-]*)]]></svcRegex>
        <svcURL>http://www.tudou.com/programs/view/{serviceVAL}</svcURL>
        <svcFeed><![CDATA[http://api.tudou.com/v3/gw?method=item.info.get&appKey=myKey&format=xml&itemCodes={serviceVAL}]]></svcFeed>
        <svcValue2>null</svcValue2>
        <svcThumb>null</svcThumb>
        <svcTitle><![CDATA[$arr['result']['results']['ItemInfo']['title']['value']]]></svcTitle>
        <svcDesc>null</svcDesc>
        <svcLength>null</svcLength>
        <svcTags>null</svcTags>
        <svcMovie>http://www.tudou.com/v/{serviceVAL}</svcMovie>
        <svcWidth>640</svcWidth>
        <svcHeight>385</svcHeight>
        <svcStream>null</svcStream>
        <svcError>null</svcError>
        <svcParams>null</svcParams>
</service>



Code:

<result><results><ItemInfo><itemCode>CjU1waYQWrU</itemCode><title>titleee</title><tags>tags</tags><description>description</description><picUrl>http://i01.img.tudou.com/data/imgs/i/063/608/082/p.jpg</picUrl><picChoiceUrl><string>http://i00.img.tudou.com/data/imgs/i/063/608/082/m15.jpg</string><string>http://i00.img.tudou.com/data/imgs/i/063/608/082/m30.jpg</string></picChoiceUrl><totalTime>71630</totalTime><pubDate>2010-11-12</pubDate><ownerId>40360632</ownerId><ownerName>tudoushexian</ownerName><ownerNickname>tudou</ownerNickname><channelId>1</channelId><outerPlayerUrl>http://www.tudou.com/v/CjU1waYQWrU</outerPlayerUrl><itemUrl>http://www.tudou.com/programs/view/CjU1waYQWrU/</itemUrl><mediaType>video</mediaType></ItemInfo></results></result>

You need a thumbnail. Thumbnail is a REQUIRED field.

michaelmash 11-14-2010 03:14 AM

Quote:

Originally Posted by Jaxel (Post 2121605)
You need a thumbnail. Thumbnail is a REQUIRED field.

hi jaxel , i set the thumb, but its still say that.


test video url : http://www.tudou.com/programs/view/x0stnflkpVM

Code:

<?xml version="1.0" encoding="UTF-8"?>

<service>
        <svcName>TuDou</svcName>
        <svcRegex><![CDATA[http://[a-z]*?[\.]?tudou\.[a-z]*?/programs/view/([\w-]*)]]></svcRegex>
        <svcURL>http://www.tudou.com/programs/view/{serviceVAL}</svcURL>
        <svcFeed><![CDATA[http://api.tudou.com/v3/gw?method=item.info.get&appKey=mykey&format=xml&itemCodes={serviceVAL}]]></svcFeed>
        <svcValue2>null</svcValue2>
        <svcThumb><![CDATA[$arr['result']['results']['itemInfo']['picurl']]]></svcThumb>
        <svcTitle><![CDATA[$arr['result']['results']['itemInfo']['title']]]></svcTitle>
        <svcDesc><![CDATA[$arr['result']['results']['itemInfo']['description']]]></svcDesc>
        <svcLength><![CDATA[$arr['result']['results']['itemInfo']['totalTime']]]></svcLength>
        <svcTags><![CDATA[$arr['result']['results']['itemInfo']['tags']]]></svcTags>
        <svcMovie>http://www.tudou.com/v/{serviceVAL}</svcMovie>
        <svcWidth>640</svcWidth>
        <svcHeight>385</svcHeight>
        <svcStream>null</svcStream>
        <svcError>null</svcError>
        <svcParams>null</svcParams>
</service>


teamsupra 11-14-2010 04:13 AM

Mod Security blocks this application. Can you fix it so we can use it on servers running Mod Security or tell us which files need to be excluded from it?

THanks

michaelmash 11-14-2010 06:57 AM

Jaxel~~~~~~~~help~~~~~~~~~~~~~~~please~~~~~~~~~~~~ ~~~

Jaxel 11-14-2010 04:03 PM

Quote:

Originally Posted by michaelmash (Post 2121673)
Jaxel~~~~~~~~help~~~~~~~~~~~~~~~please~~~~~~~~~~~~ ~~~

$arr['result'] is redundant... just use $arr

teamsupra 11-14-2010 05:20 PM

Mod Security? :)

elviejoepu 11-14-2010 08:51 PM

Quote:

Originally Posted by elviejoepu (Post 2120781)
Almost all the videos my users try to upload a video get this error
This video is not available in your region. but they are available on youtube.

What should i do?

Jaxel... again.. What should i do with that problem? Is kind of annoying


All times are GMT. The time now is 04:00 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.04079 seconds
  • Memory Usage 1,881KB
  • 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
  • (12)bbcode_code_printable
  • (20)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