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)

michal72 06-10-2012 02:50 PM

Quote:

Originally Posted by LgsOfChampions (Post 2338462)
I keep getting this error,


however, my description is more then 10 char. and I also put 0 to disable the amount needed in the admin panel.

Any reason for this happening?

my signature will help you. regards

LgsOfChampions 06-10-2012 04:53 PM

Quote:

Originally Posted by michal72 (Post 2338469)
my signature will help you. regards

totally worked!!! Thanks!!!

A quick question.... I tried searching thru the posts in the thread to find this just way to many to go thru lol..... Question is What does the gametrailer.xml do?

michal72 06-10-2012 05:16 PM

Quote:

Originally Posted by LgsOfChampions (Post 2338506)
Question is What does the gametrailer.xml do?

This is the service for www.gametrailers.com site but this originally included in media library is obsolete. You will find a new one which is working in my sig.
With services you can add media from different sites. You can create services by yourself.

Chadi 06-12-2012 12:24 AM

Quote:

Originally Posted by Chadi (Post 2337995)
I cannot find any option to have member submissions put into moderation queue for approval. Can you please add that feature, very important.

Thanks.

PS: is there a forumhome sideblock widget for this? That would be awesome!

Hey guys, would appreciate help on this please. Thanks for understanding (Christian community, need moderation)

GaRanT 06-15-2012 07:53 PM

Quote:

Originally Posted by Elenna (Post 2275389)
I created an XML for the YouTube "short link" (YouTu.be) style links.

Please see attached. Hope it helps!


Thank you, now comments from youtube works perfect.

profanitytalker 06-15-2012 07:57 PM

Does anyone know which is the variable with the total media uploaded by each user, to add ir in the postbit below user name?

Thanks in advance!

ElfenLied1337 06-18-2012 08:46 PM

Anyone have this working on 4.2.0?

Chadi 06-19-2012 12:10 PM

Quote:

Originally Posted by Chadi (Post 2337995)
I cannot find any option to have member submissions put into moderation queue for approval. Can you please add that feature, very important.

Thanks.

PS: is there a forumhome sideblock widget for this? That would be awesome!

Anyone, please? :)

Taurus1 06-19-2012 12:32 PM

Quote:

Originally Posted by Chadi (Post 2341041)
Anyone, please? :)

I can't remember where I got it, but here is the forumblock I use:

Create a new forum block with PHP as the content type, and add this code in the content part. You can edit how many thumbs you want to display in the forum block by editing the "LIMIT" part in the code.

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;

Make sure the template to use is 'block_html'

Chadi 06-19-2012 12:46 PM

Awesome that worked :)

Gamelobby 06-20-2012 05:02 PM

Quote:

Originally Posted by Chadi (Post 2338841)
Hey guys, would appreciate help on this please. Thanks for understanding (Christian community, need moderation)

From where would offensive or "bad" videos come from.?
YouTube moderates their stuff, & I'm sure a place called GodTube would as well.

I wouldn't worry too much about it.. they may add that option in the future, but it shouldn't keep you from using this mod now. :)

Chadi 06-20-2012 05:11 PM

Gamelobby,

Youtube has ample garbage on it too. Godtube is safe and sound no doubt, but also Vimeo, Veoh, Picasa.

wuto 06-21-2012 05:28 PM

When trying to change the thumbnail image on a locally uploaded media, I get this error message:

Could not find phrase 'there_were_errors_encountered_with_your_upload'.

Any ideas?

ti6 06-21-2012 06:24 PM

First of all great Mod. Ill just going crazy right now... where can i add more categorys? Ive just the possibility 2 add Media in General Media. Pls. Help thx.

michal72 06-21-2012 06:52 PM

Quote:

Originally Posted by ti6 (Post 2341820)
First of all great Mod. Ill just going crazy right now... where can i add more categorys? Ive just the possibility 2 add Media in General Media. Pls. Help thx.

See:
https://vborg.vbsupport.ru/showpost....postcount=2765
and
https://vborg.vbsupport.ru/showpost....postcount=2766
regards

ti6 06-21-2012 07:56 PM

Quote:

Originally Posted by michal72 (Post 2341832)

Thx 4 ur fast answer, but it still wont work. All should be fine. But have a look:

https://vborg.vbsupport.ru/external/2012/06/12.jpg

Did i missed somethin?

Edit: My vBulletin Version is: 4.1.11 btw.

michal72 06-21-2012 08:44 PM

see Known Bugs section in the first post above.

Naijasite 06-21-2012 09:22 PM

I just installed it on my forum 4.2 but the comment box is not working. when i click on submite it dose'nt function.

Please what the solution

Chadi 06-21-2012 10:35 PM

I would like to add a 'share' button somewhere on the video play page. Which template would I edit?

Thanks.

Naijasite 06-22-2012 01:52 AM

It's working on Vbellutin 4.2 Forum Its working well here http://www.naijafinder.com/media.php
Quote:

Originally Posted by ElfenLied1337 (Post 2340829)
Anyone have this working on 4.2.0?


Naijasite 06-22-2012 02:19 AM

Comment box not working please help to fix the problem. when i comment on the 8WayRun.Com - Media Library on my Forum, the comment button don't work.

It's working well on Vbulletin 4.2.0 but the comment box is not working please fix the problem
http://www.naijafinder.com/media.php

michal72 06-22-2012 04:21 AM

Quote:

Originally Posted by felixkomo (Post 2341868)
I just installed it on my forum 4.2 but the comment box is not working. when i click on submite it dose'nt function.

Please what the solution

clik link in my signature

GhostHunter2010 06-22-2012 09:11 PM

hello again im havin a problem with this plugin i cant submit video i get this error

The description you have entered is too short (0 characters). Please lengthen your description to at least 10 characters.

can someone tell me how to fix this thankyou

hasidoo 06-23-2012 05:43 PM

Help me please..
Once I've turned on the SEO slug option of this mod, some links are not showing the content of the page.

eg: original link http://www.mysite.com/forums/media.p...etails&mid=143 will be shown as http://www.mysite.com/forums/media/m...t-content-link

I'm currently using standard URL in vboptions friendly URL (changing that to any other URL type causes the disappearance of threads on my forum )

I really appreciate if someone helps me with this. I search for a solution for this for months..but couldn't find.

michal72 06-24-2012 09:39 AM

Quote:

Originally Posted by GhostHunter2010 (Post 2342151)
hello again im havin a problem with this plugin i cant submit video i get this error

The description you have entered is too short (0 characters). Please lengthen your description to at least 10 characters.

can someone tell me how to fix this thankyou

See my signature
regards

GhostHunter2010 06-24-2012 10:44 AM

fixed thankyou

MarekJan 06-24-2012 03:47 PM

BUG:
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /www/htdocs/xxxxxxxxx/board/includes/class_core.php(4633) : eval()'d code on line 187
VB 4.2.0
Sorry, I can not write English

Edit:
Again, everything was ok at TMS, I disabled it and now everything works perfectly, thank you
Translated by Babalfish :)

docvader 06-25-2012 07:16 PM

In your "fixes" area, you state to
Quote:

Relapace in all 8 WR Media templates:
I have about 30 8WR media templates.... Getting the same error, on 4.2, as mentioned above.

(using "search in templates, find and replace", I get no matches for the changes you recommend. Were these template changes fixed in the latest 1.7 version of this mod?)



Great mod by the way, hope you keep this alive.

EDIT: Seems to work without the template edits, just altering the two .js files, as described in your signature. Thanks!

Chadi 06-25-2012 08:15 PM

Quote:

Originally Posted by Chadi (Post 2341881)
I would like to add a 'share' button somewhere on the video play page. Which template would I edit?

Thanks.

Anyone know how to accomplish this? Thanks.

michal72 06-25-2012 08:44 PM

Quote:

Originally Posted by Chadi (Post 2342858)
Anyone know how to accomplish this? Thanks.

8WR_media_details

BR

Chadi 06-25-2012 09:12 PM

1 Attachment(s)
Thanks. That worked ;)

What about the video size (same page view), how can I increase the size for HD like Vimeo? Anytime I go to the "hosts" admin page and click edit, it redirects to the home page.

second problem:

tags are stuck together, not separated by space or comma

Example:

michal72 06-26-2012 05:09 AM

Quote:

Originally Posted by Chadi (Post 2342871)

tags are stuck together, not separated by space or comma

https://vborg.vbsupport.ru/showthrea...gs#post2279767

BR

Chadi 06-26-2012 06:32 PM

1 Attachment(s)
Quote:

Originally Posted by EuroBeat2 (Post 2279767)
Please refer to post:

https://vborg.vbsupport.ru/showpost....postcount=2394

and post:

https://vborg.vbsupport.ru/showpost....postcount=2402.

Author of that post suggested following change in .xml file and it worked. Please note this modification adds comma and space. Presense of space will allow proper line break and proper display of tags in main MEDIA LIBRARY page.

https://vborg.vbsupport.ru/external/2012/06/9.jpg



EB

I uploaded the new xml but this messed up my navbar menu. How can I fix it?

michal72 06-26-2012 07:04 PM

Quote:

Originally Posted by Chadi (Post 2343118)
I uploaded the new xml but this messed up my navbar menu. How can I fix it?

It was better to modify directly in the template but no matter.
About navbar. I recommend you disable your existing navbar and install my simple mod which you can find in my signature. Just try.

Chadi 06-28-2012 09:55 PM

Quote:

Originally Posted by Taurus1 (Post 2341047)
I can't remember where I got it, but here is the forumblock I use:

Create a new forum block with PHP as the content type, and add this code in the content part. You can edit how many thumbs you want to display in the forum block by editing the "LIMIT" part in the code.

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;

Make sure the template to use is 'block_html'


How do I edit the css for the block? I edited the 8wr WIDGET template's last line, and nothing is changing (hard refreshed page)
Quote:

<div style="text-align: center;padding:5px"><b><a href="{vb:var media.href}">{vb:var media.title}</a></b></div>
Thanks.

capy 07-02-2012 05:11 PM

I payed for this software and now I want to remove the copyright footer. Where can I do that?

EDIT: Found out:) edit product-medialibrary.xml. I just searched for the sponsor.

capy 07-02-2012 05:30 PM

Please take a look at fpv.no. is there a reason why the clips should not be lined up under each other? It's irritating to have them diagonally bellow each other. Anny fix for this?

michal72 07-02-2012 08:11 PM

Quote:

Originally Posted by capy (Post 2344544)
Please take a look at fpv.no. is there a reason why the clips should not be lined up under each other?

Try this code.

PHP Code:

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

//  %d
$show_count 5

$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 "
.$show_count);


$output '
  <style type="text/css">
    .thumbnail img{
      width: 90px;
      height: 70px;
      border: 1px solid #ccc;
      padding: 5px;
      margin: 5px;
      float: left;
    }
    
    .video_bit {
      min-height: 90px;
    }
  
  </style>
                                                           
'
;

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

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

    
extract($media);
    
    
$title substr($title,0,60);
    
    
$mediabits .= sprintf('<div class="cms_widget_post_bit video_bit"><div class="thumbnail"><a href="%s"><img src="%s"></a></div><div class="cms_widget_post_header"><a href="%s">%s</a></div><div class="cms_widget_post_userinfo"><a href="member.php/u=%d">%s</a> On %s</div></div><span style="line-height:2px;"><br/></span>',$href,$thumbnail,$href,$title,$userid,$username,date('F j, Y, g:i a',$dateline));
}



$output .= $mediabits


appsfinder 07-04-2012 11:50 AM

<a href="media/">Media Library</a> its the main breadcrumb

please can anyone help

BlueCheri 07-04-2012 12:31 PM

1 Attachment(s)
Can not upload video from 'Submit Media' under

http://www.(forumname).com/media.php

Image is attaching for details.

Kindly guide me how to fix it.

Thanx in advance

G!


All times are GMT. The time now is 10:45 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.04560 seconds
  • Memory Usage 1,862KB
  • 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
  • (1)bbcode_php_printable
  • (22)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