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 Club (YouTUBE, Vimeo, DailyMotion etc) (https://vborg.vbsupport.ru/showthread.php?t=324885)

BadgerDog 04-07-2017 06:23 PM

Quote:

Originally Posted by paradoxG(r)eek (Post 2584992)
Upload this file


Installed.. fixed erroneous link issue.. :)

Regards,
Doug

mitch84 04-08-2017 02:26 AM

when I try upload this now:
Quote:

unable to fetch data from video provider
a idea?
thx

paradoxG(r)eek 04-08-2017 05:17 AM

Quote:

Originally Posted by mitch84 (Post 2585001)
when I try upload this now:

a idea?
thx

1.- Is the provider supported?
2.- If yes and is YouTUBE, is your API key valid?
3.- Can you try the same link in my installation?

paradoxG(r)eek 04-08-2017 08:17 AM

A new upgrade (ver. 1.1.0) is available for download. In this upgrade:
  1. Added as 3nd option for comments to use local, ajax comments.
  2. Fixed some bugs:
    1. Missing photo for Social Share
    2. Comment counter (N/A for Disqus)
    3. Prev/Next links
To upgrade:
  1. Download version 1.1.0
  2. Upload the files:
    1. video.php
    2. video_usercp.php
    3. videoclub/includes/functions.php
    4. videoclub/includes/functions_profile.php
  3. Import product-videoclub.xml

Thank you
Chris

mitch84 04-08-2017 08:37 AM

Sorry, I uninstalled it for vtube, it work fine

BadgerDog 04-08-2017 08:44 AM

Installed 1.1.0 with thanks for testing... :)

Working generally ok, but there's still an overflow text color bug, where the mod imposes it's dull bluish color over top of the vBulletin standard black text color used by profile and other tabs on profile. (see attached)

Again Chris, just a suggestion, but for universality of use by many different sites and styles, I'd recommend that the standard mod color for text be set to black, or a "simple" AdminCP user option be available to permit the user to do that.

Will post any other anomalies as I test the product... :up:

Thanks for your efforts .. :)

Regards,
Doug

lillylissy 04-08-2017 08:45 AM

Quote:

Originally Posted by mitch84 (Post 2585005)
Sorry, I uninstalled it for vtube, it work fine

Uninstalled vtube for this. It works fine too.:)

BadgerDog 04-08-2017 08:57 AM

Chris...

Another issue with 1.1.0...

Just tried to add another Youtube video for the first time since updating and the site blew up with a database error .. :eek:

Quote:

Database error in vBulletin 4.1.3:

Invalid SQL:
INSERT INTO videoclub_items
SET categoryid = '2',
userid = '2',
username = 'User',
brand = 'Youtube',
title = 'Curator\'s Corner: British SMLE',
slug = 'curators-corner-british-smle',
bodytext='NRA News\' Curator\'s Corner is back at the NRA National Firearms Museum in Fairfax, VA. Philip Schreier and John Popp examine the British SMLE. Airdate: 10-6-14. nramuseums.com',
keywords = 'NRA,National Rifle Association (Membership Organization),National Firearms Museum (Museum),NRA Museum,NRA Museums,NRA News,Curator's Corner,John Popp,Philip Schreier,Phil Schreier,rifle,gun,firearm,British,SMLE,Lee-Enfield (Collectable Item)',
videocode = '<iframe width="750" height="400" src="//www.youtube-nocookie.com/embed/tPS_X4Wc5ko?showinfo=0&rel=0&iv_load_policy=3&mode stbranding=1" frameborder="0" allowfullscreen></iframe>',
videothumb = '4f2129075561271b2a14d2326c0d2f3a.png',
postdate = '1491648618',
votes = '0',
views = '0',
comments = '0',
approved = '1',
hidden = '0',
reported = '0',
reporterid = '0',
reportdetails = '',
reportdate = '0';

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 's Corner,John Popp,Philip Schreier,Phil Schreier,rifle,gun,firearm,British,SMLE,' at line 9
Error Number : 1064
Request Date : Saturday, April 8th 2017 @ 06:50:18 AM
Error Date : Saturday, April 8th 2017 @ 06:50:18 AM
Script : http://www.mysite.com/video_usercp.php
Referrer : https://www.mysite.com/video_usercp.php?do=addnew
IP Address : 99.99.99.99
Username : User
Classname : vB_Database_MySQLi
MySQL Version : 5.7.17-0ubuntu0.16.04.1

paradoxG(r)eek 04-08-2017 08:57 AM

Quote:

Originally Posted by mitch84 (Post 2585005)
Sorry, I uninstalled it for vtube, it work fine

A simple uninstall, is more polite. Maybe needs to add a comparization chart here? If your needs is just a YouTUBE player then you can go there. Don't compare the price.

And you know something? I coded this mod in just 3 days just because I found frustated someone to ask xx Euros for a "shell". Because (even mine) is nothing more than a shell to video providers.

But you didn't replied to my question. Have you tried the link that is not working for you in my demo installation?
https://www.cmsbulletin.com/demo/vb42/video.php
demouser1 / demopass1

@mich84 ..... I remember you many years ago, and I've supported all your questions. Am I right? Yes, I'm. So at least be polite and don't advertise in my thread other mods.

Thank you for your understanding
Christos Teriakis

paradoxG(r)eek 04-08-2017 09:01 AM

Quote:

Originally Posted by BadgerDog (Post 2585008)
Chris...

Another issue with 1.1.0...

Just tried to add another Youtube video for the first time since updating and the site blew up with a database error .. :eek:

That's strange even if it's a common database error in posts with apostrophe. But I used the normal vB cleaner code: $title = $db->escape_string($vbulletin->GPC['title']);

Can you give me the original link to the video to test it on my own?


All times are GMT. The time now is 12:40 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.04086 seconds
  • Memory Usage 1,751KB
  • 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
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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