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)

kho91 05-05-2010 11:23 AM

Rebuild Media Information : work perfectly, but i I still have the same problem with thumbs

thank you

your24hourstore 05-05-2010 11:25 AM

Quote:

Originally Posted by kho91 (Post 2032066)
Rebuild Media Information : work perfectly, but i I still have the same problem with thumbs

thank you

whats your site, let me look maybe your browsers is cahing the rror or something. close everything and start over with a new browser, it should be working

lol proxy servers and stuff dont worry im not the CIA :>

your24hourstore 05-05-2010 11:26 AM

Quote:

Originally Posted by kho91 (Post 2032066)
Rebuild Media Information : work perfectly, but i I still have the same problem with thumbs

thank you

did rebuild thunmbs work also, cause thats the important rebuld?

Jaxel 05-05-2010 11:51 AM

Quote:

Originally Posted by kho91 (Post 2032042)
after upgrading i lose all Thumbnails and i can't do "Rebuild Media Thumbnails" i have this error

Warning: fopen([path]/customVID/thumbs/100.jpg) [function.fopen]: failed to open stream: No such file or directory in [path]/media/media_functions_builds.php on line 23

Warning: fwrite(): supplied argument is not a valid stream resource in [path]/media/media_functions_builds.php on line 24

Warning: fclose(): supplied argument is not a valid stream resource in [path]/media/media_functions_builds.php on line 25

Warning: getimagesize([path]/customVID/thumbs/100.jpg) [function.getimagesize]: failed to open stream: No such file or directory in [path]/media/media_functions_builds.php on line 27

DELETE the following folders:
/customVID/0
/customVID/1
/customVID/2
/customVID/3
/customVID/4
/customVID/5
/customVID/6
/customVID/7
/customVID/8
/customVID/9

CHMOD the following folder to 777:
/customVID/thumbs

Run Rebuild Thumbnails.

your24hourstore 05-05-2010 11:51 AM

gotta go bbl

we dont need those files any more jaxel?
0-9

Jaxel 05-05-2010 11:52 AM

Quote:

Originally Posted by kho91 (Post 2032057)
i have also this error in my mail adress

Database error in vBulletin 4.0.3:

Invalid SQL:
SELECT * FROM vbmedia_tag WHERE media_tag.tagText = 'allah';

MySQL Error : Unknown column 'media_tag.tagText' in 'where clause'
Error Number : 1054
Request Date : Wednesday, May 5th 2010 @ 01:57:52 PM
Error Date : Wednesday, May 5th 2010 @ 01:57:52 PM
Script : http://www.mysitename.com/media.php?do=rss&tid=random
Referrer :
IP Address : 67.195.111.167
Username : gest
Classname : vB_Database
MySQL Version :

Fixed for next version.

kho91 05-05-2010 12:08 PM

thank you jaxel, solved!

Jaxel 05-05-2010 12:14 PM

Forumhome block...

http://test.8wayrun.com/forum.php

hotslot 05-05-2010 12:55 PM

Quote:

Originally Posted by Jaxel (Post 2032086)

Oh I love that so much...

Is that available now?

Delilahs 05-05-2010 01:28 PM

Is there an xml file for videojug?

Also, how can we link to videos that we host on our own servers?

Veer 05-05-2010 02:31 PM

Quote:

Originally Posted by Jaxel (Post 2032086)

That's very nice Jaxel, actually I was wondering recent media in this way (bellow navbar) from this mod.

Delilahs 05-05-2010 03:20 PM

I've got the widget to work on the cms main page, but how can we get it onto the forum side bars?

hotslot 05-05-2010 03:34 PM

Quote:

Originally Posted by hotslot (Post 2032098)
Oh I love that so much...

Is that available now?

Also is there going to be an option on how many videos are on the main forum area? are the videos going to list by newest etc?

Delilahs 05-05-2010 03:37 PM

If you look at the code, it's set at three at the moment, you can just change that to whatever number you like,

$output = date(vB::$vbulletin->options['dateformat']) . "<br />\n";

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 2");

while ($media = vB::$vbulletin->db->fetch_array($medias))
{

hotslot 05-05-2010 04:14 PM

Jaxel, Can You do something like This where Members can upload videos and media?

https://vborg.vbsupport.ru/

Uploaded with ImageShack.us

COL NIL SATIS 05-05-2010 06:45 PM

Quote:

Originally Posted by Jaxel (Post 2032086)

WOW....Jaxel thats awesome ...is this available mate :)

vglobal 05-05-2010 07:02 PM

Installed 0.5. The Services Administrative task is not working, can't delete, edit or export a service.
Suggest: permission feature for inividual catgory.
Thank you for your work,

Jaxel 05-05-2010 07:55 PM

Quote:

Originally Posted by vglobal (Post 2032250)
Installed 0.5. The Services Administrative task is not working, can't delete, edit or export a service.
Suggest: permission feature for inividual catgory.
Thank you for your work,

Fixed for next version... right now it only works for SEO slugs... oops.

Fifth Dimension 05-05-2010 10:57 PM

So nothing about Hulu? :(

Hulu vids can't be embedded in the media library? Or does an XML file need to be written?

hotslot 05-05-2010 11:18 PM

Quote:

Originally Posted by hotslot (Post 2032187)
Jaxel, Can You do something like This where Members can upload videos and media?

https://vborg.vbsupport.ru/

Uploaded with ImageShack.us


Anyone else want this upload feature? :up:

Jaxel, is this within your coding knowledge?

warm regards

Jaxel 05-06-2010 12:02 AM

================================================== =========
Version 4.0.6 FAVORITES AND WIDGETS
================================================== =========
  • NEW FEATURE: Users can now give hearts to media and mark them as favorites.
    Any usergroup with permissions to rate, will have permission to mark favorites.
  • NEW FEATURE: User Profile Tab for most recent media.
    This uses the new "tiny" bit; which is selectable as the main bit in admincp.
  • NEW FEATURE: Widget support for both the ForumHome Sidebar and the vbCMS.
    This has been updated since the previous versions, so please update your codes.
    Sidebar Block:
    Code:

    global $vbulletin;
    require_once(DIR.'/media/media_functions_hrefs.php');

    $medias = $vbulletin->db->query_read("
            SELECT media.*, media_service.*
            FROM " . TABLE_PREFIX . "media AS media
            LEFT JOIN " . TABLE_PREFIX . "media_service AS media_service ON(media_service.serviceID = media.serviceID)
            ORDER BY media.dateline DESC
            LIMIT 3
    ");

    while ($media = $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'] = $vbulletin->options['media_thumb_dir']."/thumbs/". $media['mediaID'] .".jpg";
            $media['href'] = construct_href_details($media);

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

    return $mediabits;

    CMS Widget:
    Code:

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

    $medias = vB::$vbulletin->db->query_read("
            SELECT media.*, media_service.*
            FROM " . TABLE_PREFIX . "media AS media
            LEFT JOIN " . TABLE_PREFIX . "media_service AS media_service ON(media_service.serviceID = media.serviceID)
            ORDER BY media.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_WIDGET');
                    $templater->register('media', $media);
            $mediabits .= $templater->render();
    }

    $output = $mediabits;

  • BUG FIX: Fixed formatting buttons on quick reply for comments.
  • BUG FIX: Fixed MySQLi errors for those who happen to be using it.
  • BUG FIX: Fixed service constructs for non-SEO slugged links.
  • BUG FIX: Fixed RSS feeds for tags in table prefix settings.

SwollenCranium 05-06-2010 12:37 AM

^ Outstanding!

jkcerda 05-06-2010 12:54 AM

silly question, can you embed a youtube vid here?:o

Veer 05-06-2010 12:55 AM

Jaxel, I'm running Version 4.0.4, Can I upgrade directly to Version 4.0.6?

puertoblack2003 05-06-2010 01:05 AM

Good job:up:

your24hourstore 05-06-2010 01:33 AM

1 Attachment(s)
sssssssweet

Jaxel 05-06-2010 01:38 AM

1 Attachment(s)
I've been working on new block designs...

https://vborg.vbsupport.ru/attachmen...1&d=1273113485
Most popular media is now sorted by the following order: Favorites, Comments, Views... So the highest favorites shows up, and then it uses the highest comments to break ties... and then highest views to break ties even further.

The heart means that I have "favorited" that specific item.

flightsim 05-06-2010 04:03 AM

Quote:

Originally Posted by flightsim (Post 2030950)
Hello
I have a problem....
All extern Hosters like youtube etc. works great....
when i upload a locavideo is that also no problem... i can see the video with the direct link. When i want to see the video in the system and click on the thumb is this loading... and loading... and loading... but ist never starting. what is wrong?

Here a example....

Here you can see... the video is loading but is not starting :
http://www.4104.ch/cgi-bin/4104_vers...=details&mid=4

When i click the direct link the video is working :
http://www.4104.ch/cgi-bin/4104_vers...mVID/rega4.wmv

Whta is wrong?

Jaxel 05-06-2010 05:26 AM

You can not play WMV videos through flash. That requires the Silverlight player...

I'll get working on that later.

ProFifaLeagues 05-06-2010 05:33 AM

This mod just gets better!
Jaxel the use of the sidebar mod,Does it update the videos it shows??Or do these stay the same!
Again thanks

Delilahs 05-06-2010 05:40 AM

Rammie, everyime you upload a new video, the latest one would normally go to the top.

For those that don't have the admin links again, the code to change is on page 17 of this thread.

ProFifaLeagues 05-06-2010 05:44 AM

Spot on thank you.

K4GAP 05-06-2010 05:59 AM

How do I upgrade from version 4 to version 6?

flightsim 05-06-2010 06:29 AM

Quote:

Originally Posted by Jaxel (Post 2032443)
You can not play WMV videos through flash. That requires the Silverlight player...

I'll get working on that later.

Thank you for the answer

i try this also with mpeg..... its also not working

http://www.4104.ch/cgi-bin/4104_vers...=details&mid=5


in the browser i found this :
Quote:

Details zum Fehler auf der Webseite
Benutzer-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; InfoPath.2; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
Zeitstempel: Thu, 6 May 2010 08:30:20 UTC


Meldung: Object required
Zeile: 71
Zeichen: 4
Code: 0
URI: http://www.4104.ch/cgi-bin/4104_vers..._ajax_faves.js

the file media_ajax_faves.js is on my server on the right place

Delilahs 05-06-2010 08:46 AM

Quote:

Originally Posted by GaryT (Post 2032456)
How do I upgrade from version 4 to version 6?


Just upload all the new files, then import the product, remember to make sure that you check the box to overwrite existing plugin

Gn_Snake 05-06-2010 10:39 AM

I have upgrading product media-library0.6 ,uploaded file and overwrite existing plugin , but during import video (youtube) done this error:

Warning: get_meta_tags() [function.get-meta-tags]: URL file-access is disabled in the server configuration in [path]/media/media_functions_constructs.php on line 167

Warning: get_meta_tags(http://gdata.youtube.com/feeds/api/videos/VTqDOKrrdDw) [function.get-meta-tags]: failed to open stream: no suitable wrapper could be found in [path]/media/media_functions_constructs.php on line 167

:confused:

your24hourstore 05-06-2010 11:11 AM

Quote:

Originally Posted by flightsim (Post 2032460)
Thank you for the answer

i try this also with mpeg..... its also not working

http://www.4104.ch/cgi-bin/4104_vers...=details&mid=5


in the browser i found this :


the file media_ajax_faves.js is on my server on the right place

no mpeg yet...........
read all the posts, flash is what we are using here , he just told you like 2 posts back that wma needs silverlight. if you want to host them with this mod today convertt the videos to flash

COL NIL SATIS 05-06-2010 12:33 PM

this is incredible ...!!! quite simply OUTSTANDING

Xencored 05-06-2010 01:05 PM

<333333333333

Awesome Thanks Jaxel
Hope your well!

monkeyboy1916 05-06-2010 01:12 PM

I'm really curious if theres a way to parse bbcode in the Category Descriptions.

In the older 3.8.x version I relied on category descriptions to add additional links to related content using HTML, but in this 4.x version HTML won't work anymore.

Any help maybe?


All times are GMT. The time now is 06:31 PM.

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.03932 seconds
  • Memory Usage 1,845KB
  • 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
  • (15)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