vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Major Additions - Video-Directory Remixed (https://vborg.vbsupport.ru/showthread.php?t=200819)

Jaxel 07-31-2009 01:35 AM

================================================== =========
Version 1.3.0
================================================== =========
  • Add Video page now has an option to auto-create threads for videos.
    • To use this function, you must first select a forum in the settings.
    • If auto-created, Add Video forwards to the thread, not the video.
  • Add Video page now has a drop-down list for upload categories.
  • Add Video button is now on ALL pages, and will remember categories.
  • Video details now support AJAX for commenting, deleting and pagination.
  • Toolbar functions have been removed from the comment quick reply form.
  • SHELL_SIDE will now relocate itself depending on HD or non-HD videos.
  • Thread creation for Add Video and Report Video have been revamped.
  • BUG FIX: Fixed uncached templates for user video pages.
  • BUG FIX: Fixed permission problems with recent videos page.
  • BUG FIX: Fixed YouTube constructs for YouTube's new embed codes.
  • FILE EDITS SINCE 1.2.5: (make sure you upload these new versions!)
    • upload/video.php
    • upload/video_ajax.php
    • clientscript/vbulletin_ajax_videocomment.js
    • includes/xml/videohoster-YouTube.xml
    • includes/xml/videohoster-YouTubeHD.xml
  • TEMPLATE EDITS SINCE 1.2.5: (make sure you revert these templates!)
    • video_add
    • video_category
    • video_commentbit
    • video_details
    • video_edit
    • VIDEO_SHELL
    • VIDEO_SHELL_SIDE

LilPimp 07-31-2009 03:31 AM

So i only need to upload those files for the upgrade not the rest? and re-import the xml file and im good? from 1.2.5

Oblivion Knight 07-31-2009 07:57 AM

Thanks for the upgrade, Jaxel.

Great stuff.

GaRanT 07-31-2009 06:26 PM

https://vborg.vbsupport.ru/
I have one problem all youtube thrumbinal video has on the corner some question marks,
how to fix it ?
Thanks!!!

EWGF 07-31-2009 08:41 PM

Old video's need to be manually edited to include the correct durations of the videos

southie 07-31-2009 11:27 PM

i just installed it, and try to go to the video.php page and it wont give me access

southie, you do not have permission to access this page. This could be due to one of several reasons:

Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.

EuroBeat2 08-01-2009 04:06 AM

Jaxel,

Do you have plan to allow edit comments made to video?

EB

Dr. Bantham 08-01-2009 12:35 PM

An wonderful upgrade to an outstanding mod!

I have a conflict with vBulletin-Glossary which creates the following error when viewing the VIDEO BBCode:
Quote:

Fatal error: Cannot redeclare construct_category_url() (previously declared in /home/ligotti/public_html/includes/functions_videodirectory.php:190) in /home/ligotti/public_html/includes/functions_vbglossar.php on line 963
I noticed that there is a post here that indicates turning off cross-linking within vBulletin-Glossary will eliminate the conflict, but that feature is too valuable to lose.

Here is the code which ends in the referenced line number:
PHP Code:

/**
* Check for availability/activated vBSEO and perform url to category
*
* @author     Surviver
*
* @param    string    entry    array with category informations
* @param    string    Appendix to add to the url (e.g. perpage var, page var, etc)
*
* @return    string    url    url to category, either seo-like or standard
*/
function construct_category_url(&$category$append '')
{
    global 
$vbulletin;

    if (
$vbulletin->options['vbglossar_vbseo'] AND defined('VBSEO_ENABLED'))
    {
        
$url 'vbglossar.php?' $vbulletin->session->vars['sessionurl'] . 'do=showcat&catid=' $category['id'] . '&cattitle=' vbseo_filter_text($category['name']) . $append;
    }
    else
    {
        
$url 'vbglossar.php?' $vbulletin->session->vars['sessionurl'] . 'do=showcat&catid=' $category['id'] . $append;
    }

    (
$hook vBulletinHook::fetch_hook('vbglossar_category_url')) ? eval($hook) : false;

    
$category['url'] = $url;

    return 
$url;


Note that I do not have vBSEO installed, but I do have vBSEO Google/Yahoo Sitemap Generator installed. When I removed the offending lines of code I received another error from the main vbglossar.php file which did not seem to reference vBSEO. I fear that the conflict may be deeply rooted.

Any ideas what may be causing this error and what might resolve the conflict?

If not, I can disable the VIDEO BBCode, but this results in corresponding threads created by Video Directory without a functional embedded video. This conflict was in the previous version, but not as critical since there was no thread creation feature previously. I can use AME to remedy this if I can simply insert the original URL of the video. I found the location of the code within the videodirectory_newthread and videodirectory_reportthread phrases, but I was unable to modify this to insert the raw video URL. I tried variations of the $videoinfo[url] variable, to no avail. Ideally, I would like to use all features of both mods, but alternatively I will settle for this workaround if I can get the variable to pass.

Taringa! CS 08-01-2009 03:41 PM

Quote:

Originally Posted by Taringa! CS (Post 1854154)
I've got a permission problem when users that are on groups created by me tryed to access the video gallery.

check attachments

Attachment 102398

Attachment 102399

thx in advance

i've updated my board, but this problem it's still there... any ideas where should i start looking for?

thanks for this great mod!

marcchell0 08-01-2009 07:34 PM

you got to edit the catagory screen in the admincp

admincp>Video Directory>Manage categories>Edit>Select or deselect usergroups>save

then it should work fine


All times are GMT. The time now is 07:14 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.08858 seconds
  • Memory Usage 1,756KB
  • 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
  • (1)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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