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)

final kaoss 05-21-2010 08:41 PM

if you want to link to a page, link to the correct one. K thanks.

Yurified 05-21-2010 09:04 PM

I got 403 error again >.> so I've reinstalled it and once again same thing...
Quote:

Forbidden

You don't have permission to access /media.php on this server.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
Except this time I uploaded htaccess file, because Webbstre said this
Quote:

Two requests:
1- Please mention the need to upload the htaccess file in the installation instructions.
2- Please include a copy of the installation instructions in the zip file.

final kaoss 05-21-2010 09:08 PM

did you check your chmod settings on the media directory?

Also check that you have done the following

Installation:
Upload all the files in the "upload" directory of the attached zip file to your forum root.
CHMOD the /customVID/thumbs/ directory to full read/write/execute 777 permissions.
CHMOD the /customVID/sitemap/ directory to full read/write/execute 777 permissions.
Import the product file called "product-medialibrary.xml" in the Product Manager of vBulletin.
Set your usergroup permissions and media library settings in your administration control panel.
OPTIONAL: Enable the "Generate XML Media Sitemap" scheduled task in your administration control panel.
Import the .htaccess file into an existing .htaccess file or upload the included .htaccess file.

Yurified 05-21-2010 09:58 PM

Yes I did T^T

Inferno Dragon 05-21-2010 10:07 PM

Hi, how I can make it work with the gametrailers.com? I notice that a XML file for GT is already exist in the XML folder (I am using the latest 4.0.1 version of Media Library) but whenever I try to submit media from GT it gives me a URL phrase error, for example I tried this URL: http://www.gametrailers.com/video/de...call-of/100352 and it's not retriving the info.

puertoblack2003 05-22-2010 01:45 AM

Quote:

Originally Posted by Inferno Dragon (Post 2041633)
Hi, how I can make it work with the gametrailers.com? I notice that a XML file for GT is already exist in the XML folder (I am using the latest 4.0.1 version of Media Library) but whenever I try to submit media from GT it gives me a URL phrase error, for example I tried this URL: http://www.gametrailers.com/video/de...call-of/100352 and it's not retriving the info.


i can confirm this jaxel, but I'm having issue with youtube.I'll double check my settings

final kaoss 05-22-2010 03:05 AM

No problems here
http://vgchat.info/forum/media/m21-d...duty-black-ops

puertoblack2003 05-22-2010 03:42 AM

Quote:

Originally Posted by puertoblack2003 (Post 2041706)
i can confirm this jaxel, but I'm having issue with youtube.I'll double check my settings


never mine i forgot to remove the friendly url rewrite in htaccess from vb and now its working

final kaoss 05-22-2010 04:25 AM

you need to fix the link in your sig btw.

Yurified 05-22-2010 06:45 AM

Can someone please help? I'm redoing it like crazy, and it doesn't work at all. I keep getting You don't have permission to access /media.php on this server. :/

milaszewski 05-22-2010 09:08 AM

Quote:

Originally Posted by Yurified (Post 2041760)
Can someone please help? I'm redoing it like crazy, and it doesn't work at all. I keep getting You don't have permission to access /media.php on this server. :/

I am getting the same error.
What was strange - I was able to add two videos 12 hours ago, I went to bed and when I woke up it wasn't working ...

patrick91 05-22-2010 03:59 PM

maybe stupid quastion but i can't find where i can change any category's etc..??

Footman 05-22-2010 04:25 PM

1 Attachment(s)
Quote:

Originally Posted by patrick91 (Post 2041904)
maybe stupid quastion but i can't find where i can change any category's etc..??

Make sure you're logged in with an admin profile with full admin privileges. You "should" then see the Administrate: Categories links like below.

akxt660 05-22-2010 04:36 PM

I got the following problem when i click: "Browse All Media":


Database error in vBulletin 4.0.3:

Invalid SQL:

SELECT COUNT(mediaID) AS count FROM xxx_media
LEFT JOIN xxx_media_category AS media_category ON(media_category.categoryID = media.categoryID);

MySQL Error : Unknown column 'media.categoryID' in 'on clause'
Error Number : 1054
Request Date : Saturday, May 22nd 2010 @ 02:26:23 PM
Error Date : Saturday, May 22nd 2010 @ 02:26:23 PM
Script : http://xxx.com.br/media.php?do=browse
Referrer : http://xxx.com.br/media.php
Classname : vB_Database
MySQL Version : 5.0.90-community


Help-me? Thanks

Footman 05-22-2010 05:26 PM

1 Attachment(s)
Ok... I'm stumped here. Everything was working perfectly the other day. Nothing new or added on my site. Except for some posts on threads. No new mods or even upgrades of existing mods. Today I go to the media section and click on one of my YouTube thumbs and the video is no longer showing. Not even the video player and the info box is now nearly full screen as you can see in the attachment. It's slightly indented from the left though which is interesting. I tried clicking the Click here to restore all services in the "/media/xml" directory to their default settings link again but this doesn't help.

Again, it was working the other day perfectly fine and now it's not. I thought it might have something to do with the embed feature being disabled by YouTube, as they do that with some vids. But I checked another vB4 board I've psted the same vid on and it's still working there. Also, when that happens I still see the player but with a pop up message saying embed has been disabled when I click the play button.

:confused:

patrick91 05-23-2010 06:17 AM

Quote:

Originally Posted by Footman (Post 2041918)
Make sure you're logged in with an admin profile with full admin privileges. You "should" then see the Administrate: Categories links like below.

Thnx! but i don't see it... :S i have everything on yes and with administrater rights i see none options for media libary..

stwan 05-23-2010 09:38 AM

Quote:

Originally Posted by xt660.com.br (Post 2041922)
I got the following problem when i click: "Browse All Media":


Database error in vBulletin 4.0.3:

Invalid SQL:

SELECT COUNT(mediaID) AS count FROM xxx_media
LEFT JOIN xxx_media_category AS media_category ON(media_category.categoryID = media.categoryID);

MySQL Error : Unknown column 'media.categoryID' in 'on clause'
Error Number : 1054
Request Date : Saturday, May 22nd 2010 @ 02:26:23 PM
Error Date : Saturday, May 22nd 2010 @ 02:26:23 PM
Script : http://xxx.com.br/media.php?do=browse
Referrer : http://xxx.com.br/media.php
Classname : vB_Database
MySQL Version : 5.0.90-community


Help-me? Thanks

Confirm!

milaszewski 05-23-2010 10:19 AM

Quote:

Originally Posted by xt660.com.br (Post 2041922)
I got the following problem when i click: "Browse All Media":


Database error in vBulletin 4.0.3:

Invalid SQL:

SELECT COUNT(mediaID) AS count FROM xxx_media
LEFT JOIN xxx_media_category AS media_category ON(media_category.categoryID = media.categoryID);

MySQL Error : Unknown column 'media.categoryID' in 'on clause'
Error Number : 1054
Request Date : Saturday, May 22nd 2010 @ 02:26:23 PM
Error Date : Saturday, May 22nd 2010 @ 02:26:23 PM
Script : http://xxx.com.br/media.php?do=browse
Referrer : http://xxx.com.br/media.php
Classname : vB_Database
MySQL Version : 5.0.90-community
Help-me? Thanks

Confirmed. The same is happening here.

weetabx 05-23-2010 11:31 AM

Quote:

Originally Posted by milaszewski (Post 2042163)
Confirmed. The same is happening here.


fine here ?

weetabx 05-23-2010 11:36 AM

Quote:

Originally Posted by patrick91 (Post 2042112)
Thnx! but i don't see it... :S i have everything on yes and with administrater rights i see none options for media libary..


you using vsachat ? if so

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:

PHP Code:

    $perms media_permissions(); 

REPLACE with:
Code:

PHP Code:

$perms['rate'] = true;
$perms['comment'] = true;
$perms['submit'] = true;

if (
is_member_of($vbulletin->userinfoexplode(',','5,6')))
{
    
$perms['modtags'] = true;
    
$perms['modcategory'] = true;
    
$perms['modservice'] = true;



your24hourstore 05-23-2010 12:29 PM

i just made anew video its pretty funny

http://www.youtube.com/watch?v=uhdKp0y0UJc

host it if you dare

your24hourstore 05-23-2010 12:44 PM

Quote:

Originally Posted by milaszewski (Post 2042163)
Confirmed. The same is happening here.

yup yup all is good

must be a misconfiguration in your setup somewhere

level8 05-23-2010 02:09 PM

works great.... widgets working perfect too :)

Is it possible to get the widget to display just a single catergory rather than all the latest videos?? if so where do I add this code??

bart6767 05-23-2010 07:28 PM

Quote:

Originally Posted by level8 (Post 2042244)
works great.... widgets working perfect too :)

Is it possible to get the widget to display just a single catergory rather than all the latest videos?? if so where do I add this code??

Where do you get the widgets for this ?

dbigras 05-23-2010 10:48 PM

Quote:

Originally Posted by Jaxel (Post 2040565)
Threads are created using the following check skips:

Code:

$threadman->set_info('skip_moderator_email', true);
$threadman->set_info('skip_floodcheck', true);
$threadman->set_info('skip_charcount', true);
$threadman->set_info('skip_title_error', true);

Those mods are hooked into one of these checks. Find out which check, and I will look into it.

He's an answer from VBShout's coder:

Quote:

I don't know about the others, but vBShout is on the hook location newpost_complete which would mean it would unfortunately not support threads created in such a way.

I'll look into changing it in the future, as I've already figured out how to for the @user tagging mod

I'm willing to place a small wager the other mods are hooked in a similar way.
I don't know if it means anything to you.

your24hourstore 05-24-2010 12:13 AM

changeing the default videos on widget and side blocks!!

not sure where i changed it but i run 5 in mine instead of the default 3, cant remember if i edited it in the php file or the widget code but yes it can be done i will look again

your24hourstore 05-24-2010 12:24 AM

Quote:

Originally Posted by bart6767 (Post 2042369)
Where do you get the widgets for this ?

Code:

ob_start();
require_once(DIR.'/media/media_functions_hrefs.php');

$medias = vB::$vbulletin->db->query_read("SELECT * FROM " . TABLE_PREFIX . "media ORDER BY dateline DESC LIMIT 3");

while ($media = vB::$vbulletin->db->fetch_array($medias))
{
        if ($media['length'] == 0)
        {
                $media['length'] = "???";
        }
        else
        {
                $duration = $media['length'];
                $minutes = floor($duration / 60);
                $seconds = $duration % 60;
                $seconds = str_pad($seconds, 2, "0", STR_PAD_LEFT);
                $media['length'] = "$minutes:$seconds";
        }

        $media['intrate'] = intval($media['rating']);
        $media['thumbnail'] = vB::$vbulletin->options['media_thumb_dir']."/thumbs/". $media['mediaID'] .".jpg";
        $media['href'] = construct_href_details($media);

        $templater = vB_Template::create('8WR_media_block');
        $templater->register('media', $media);
        $mediabits .= $templater->render();
}

$output = $mediabits;
ob_end_clean();


your24hourstore 05-24-2010 12:26 AM

Quote:

Originally Posted by level8 (Post 2042244)
works great.... widgets working perfect too :)

Is it possible to get the widget to display just a single catergory rather than all the latest videos?? if so where do I add this code??

:)
so N/m

dbigras 05-24-2010 02:33 AM

It would be AMAZING if the Video sideblock was also a video player, not just a clickable image.

milaszewski 05-24-2010 05:54 AM

Quote:

Originally Posted by harleyparts (Post 2042200)
yup yup all is good
must be a misconfiguration in your setup somewhere

at least 3 people have that problem
could it be related to mod rewrite friendly urls?

milaszewski 05-24-2010 12:05 PM

Quote:

Originally Posted by harleyparts (Post 2042200)
yup yup all is good
must be a misconfiguration in your setup somewhere

which version do you have? 0.9 or 1.0?
In my case it is 1.0
Everything else is working fine, just "Browse All Media" is wrong.

Jaxel 05-24-2010 05:29 PM

Quote:

Originally Posted by milaszewski (Post 2042541)
at least 3 people have that problem
could it be related to mod rewrite friendly urls?

No, its from me forgetting to put in a check for people who use TABLE_PREFIX.

Ahmet Turan 05-25-2010 05:27 AM

How do I change the name of media

How do I share This video for facebook

Thanx

Footman 05-25-2010 01:36 PM

Quote:

Originally Posted by Footman (Post 2041940)
Ok... I'm stumped here. Everything was working perfectly the other day. Nothing new or added on my site. Except for some posts on threads. No new mods or even upgrades of existing mods. Today I go to the media section and click on one of my YouTube thumbs and the video is no longer showing. Not even the video player and the info box is now nearly full screen as you can see in the attachment. It's slightly indented from the left though which is interesting. I tried clicking the Click here to restore all services in the "/media/xml" directory to their default settings link again but this doesn't help.

Again, it was working the other day perfectly fine and now it's not. I thought it might have something to do with the embed feature being disabled by YouTube, as they do that with some vids. But I checked another vB4 board I've psted the same vid on and it's still working there. Also, when that happens I still see the player but with a pop up message saying embed has been disabled when I click the play button.

:confused:

Well for some reason it's working now. I get the player and am able to play the linked video from YouTube. I haven't done a thing with the site since my last post, so this is still a mystery to me... but at least it's working today :)

puertoblack2003 05-25-2010 03:19 PM

Quote:

Originally Posted by Footman (Post 2043169)
Well for some reason it's working now. I get the player and am able to play the linked video from YouTube. I haven't done a thing with the site since my last post, so this is still a mystery to me... but at least it's working today :)

yea i had the same issue when my members upload a new video and they'll take that link form youtube to our board.but 1/2 hours later it'll work it's not this mod it's youtube

Footman 05-25-2010 03:51 PM

Quote:

Originally Posted by puertoblack2003 (Post 2043214)
yea i had the same issue when my members upload a new video and they'll take that link form youtube to our board.but 1/2 hours later it'll work it's not this mod it's youtube

I thought it might be YouTube as well since at times they block the embedding of certain videos. But that results in still seeing the player and a notice that embedding has been disabled by YouTube. Also, I checked the same video on another vB4 board I posted to and it was working fine. Lastly, the player didn't load at all during this period of "not working" and the description panel to the right of the player was almost full screen, which may be the way it's written.

Jaxel 05-25-2010 04:38 PM

Quote:

Originally Posted by Footman (Post 2043225)
I thought it might be YouTube as well since at times they block the embedding of certain videos. But that results in still seeing the player and a notice that embedding has been disabled by YouTube. Also, I checked the same video on another vB4 board I posted to and it was working fine. Lastly, the player didn't load at all during this period of "not working" and the description panel to the right of the player was almost full screen, which may be the way it's written.

Sounds like a cache problem.

drsmash 05-25-2010 06:00 PM

can i add widget for the liberary in the forum widgets and can i put more widget in the liberary ?

if i can please i want to know how?

Footman 05-25-2010 06:24 PM

Quote:

Originally Posted by Jaxel (Post 2043242)
Sounds like a cache problem.

I thought that as well Jaxel. I tried cleaning the browser cache but it still wasn't working. It's the weirdest thing. Then when I went to check today it was fine. It work for a time, then went screwy then back to working again.

COL NIL SATIS 05-26-2010 12:05 PM

Quote:

Originally Posted by dbigras (Post 2042492)
It would be AMAZING if the Video sideblock was also a video player, not just a clickable image.

That would indeed be amazing :)


All times are GMT. The time now is 10:18 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.03612 seconds
  • Memory Usage 1,865KB
  • 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
  • (2)bbcode_code_printable
  • (2)bbcode_php_printable
  • (26)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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