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 01:34 PM

Quote:

Originally Posted by paradoxG(r)eek (Post 2584970)
So my question is: Do you want to add as 3nd option the old commenting system that I had in Media Gallery?

Thanks for asking... :)

My opinion... I'd like a system that is self contained and not on some other organization's server. I'd also prefer something that doesn't use the vBulletin thread system

So, if your old commenting system from Media Gallery was standalone and handled internally by your mod alone, that would be my preference, although I'm sure you have others here who would prefer either of the current two options.

Just my two cents worth .. ;)

Regards,
Doug

paradoxG(r)eek 04-07-2017 01:36 PM

Quote:

Originally Posted by BadgerDog (Post 2584971)
I clicked import button and it read it in ok with descriptions etc., but as you can see from the attached pics, once again it didn't create a thumbnail.

Regards,
Doug

That's why I added the option for manual upload of a photo to be used as thumbnails. Is common for old videos to not see a thumbnail. Actually they exist but they're so small and so poor quality that is not for use.

Choose a photo and upload it. Is much better than having a gray "Preview not Available"

BadgerDog 04-07-2017 01:48 PM

Quote:

Originally Posted by paradoxG(r)eek (Post 2584975)
That's why I added the option for manual upload of a photo to be used as thumbnails. Is common for old videos to not see a thumbnail. Actually they exist but they're so small and so poor quality that is not for use.

Choose a photo and upload it. Is much better than having a gray "Preview not Available"

Ok, I manually added a thumbnail, which it accepted and processed the video .. (see attached)..

I then simply wanted to return to the Video Club main menu, so I clicked the TAB bar (see attached) and the screen went white... :D

Is it because that tab mistakenly points to video_usercp.php instead of video.php?

Regards,
Doug

BadgerDog 04-07-2017 02:01 PM

A small cosmetic issue.... (see attached)

In order to identify our various usergroup members with a specific colour, their name field is bracketed with HTML code.

Could Video Club interpret that HTML code and show the user name in the proper site color for that member.

Second, Video Club used some odd blue pastel color for a number of test items. Could this just be set to plain black so the mod works better with all types of custom styles?

Third, even when "Prev/Next Navigation" checked as ON, it doesn't seem to work? (see attached), although the text appears, except it's not clickable?

Thanks Chris ... :up:

Regards,
Doug

paradoxG(r)eek 04-07-2017 03:39 PM

Quote:

Originally Posted by BadgerDog (Post 2584976)
Ok, I manually added a thumbnail, which it accepted and processed the video .. (see attached)..

I then simply wanted to return to the Video Club main menu, so I clicked the TAB bar (see attached) and the screen went white... :D

Is it because that tab mistakenly points to video_usercp.php instead of video.php?

Regards,
Doug

2 links exist:
- Homepage -> video.php
- UserCP -> video_usercp.php?do=myvideos

BadgerDog 04-07-2017 04:03 PM

Quote:

Originally Posted by paradoxG(r)eek (Post 2584983)
2 links exist:
- Homepage -> video.php
- UserCP -> video_usercp.php?do=myvideos

I understand that... :)

However, the Video Club Home Page has a link pointing to -> video_usercp.php?do=myvideos

That just ends up with a white page... (see pic in earlier post)

That link titled Video Club shown in the pic should goto -> video.php

You're already at video_usercp.php?do=myvideos when viewing that page, so why would you want to go there again... :D

I think the label for - Home - Settings - Video Club - My Videos... needs to be changed?

Regards,
Doug

paradoxG(r)eek 04-07-2017 04:27 PM

ver. 1.0.4 released with 2 bug fixes in video_usercp.php file:

1.- Blank page when the link video_usercp.php had no parammeter (eg ?do=myvideos)
2.- Wrong pagination links in my videos page.

To upgrade download ver. 1.0.4 and upload only the file: video_usercp.php

Thank you
Chris

BadgerDog 04-07-2017 04:30 PM

Quote:

Originally Posted by paradoxG(r)eek (Post 2584987)
v

To upgrade download ver. 1.0.4 and upload only the file: video_usercp.php

Thanks ... :up:

We're getting there .. :)

Edit: Chris.. there's no more white page, but when people click the phrase Video Club while viewing their UserCP page of their own videos, you're still using the link https://www.mysite.com/video_usercp.php

Settings -> Video Club -> My Videos

The highlighted link should take the user back to the Video Club Home Page at video.php, not leave him at video_usercp.php

Regards,
Doug

paradoxG(r)eek 04-07-2017 04:38 PM

Quote:

Originally Posted by BadgerDog (Post 2584988)
Thanks ... :up:

We're getting there .. :)

For design issues please give me a breath to finish features (I'm working on adding the other commenting system as 3nd option for comments) and also to fix all code bugs.

After all I can work in design issues.

paradoxG(r)eek 04-07-2017 04:55 PM

Quote:

Originally Posted by BadgerDog (Post 2584988)
Settings -> Video Club -> My Videos

Regards,
Doug

Upload this file

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?

BadgerDog 04-08-2017 09:07 AM

Quote:

Originally Posted by paradoxG(r)eek (Post 2585010)
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?

Sure.. here you go... :)

https://www.youtube.com/watch?v=tPS_X4Wc5ko

Also, did a brief test on your new addition of "Simple Coments" (see attached) and it seems to work fine so far. :up:

Is there any way for the Admin to delete comments that may be inappropriate?

Also, note that double thumbnails are still appearing for videos ..

Regards,
Doug

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

Quote:

Originally Posted by BadgerDog (Post 2585011)

Thank you. I'll check it after a short nap. I'm not so young anymore and need 1 hour rest at afternoon :)

Quote:

Originally Posted by BadgerDog (Post 2585011)
Is there any way for the Admin to delete comments that may be inappropriate?

Owner of comment and those with permission "Can Moderate" can delete comments

Quote:

Originally Posted by BadgerDog (Post 2585011)
Also, note that double thumbnails are still appearing for videos ..

Regards,
Doug

As I said yesterday is a bug coming from slider if the slides are less than 4. Instead to try to debug it I prefer to change it with another one.

BadgerDog 04-08-2017 09:27 AM

Quote:

Originally Posted by paradoxG(r)eek (Post 2585012)
Thank you. I'll check it after a short nap. I'm not so young anymore and need 1 hour rest at afternoon :)

Thanks Chris ...:)

Heck. I'm almost 70, so get with the program .. :p

I won't try to upload anything new until I hear back from you ..

Here's a separate question for you?

What is the right arrow for.. I can't seem to make it do anything?

Regards,
Doug

lillylissy 04-08-2017 09:31 AM

Quote:

Originally Posted by paradoxG(r)eek (Post 2585012)
As I said yesterday is a bug coming from slider if the slides are less than 4. Instead to try to debug it I prefer to change it with another one.

Which Slider? I would like also the Slider! :p

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

Good News !!!

Have changed the text in mail post. Finally the features marked as PRO version there, should be FREE !!. After 11 years and with more than 50 Free addons, there is no sense to have a paid one. So the next version will has:
  • Extra Providers
    • Facebook
    • LiveLeak.com
    • OpenLoadMovies.com
  • Videoplayer with support for prevideo ads
  • Better carousel for latest videos at top
  • Video search in multiple providers
  • Many notifications (Follow category, follow user etc)
  • Brand free
Also, as I promised to some good people here, I'll release the same version for vB3.8

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

Quote:

Originally Posted by BadgerDog (Post 2585013)
What is the right arrow for.. I can't seem to make it do anything?

Regards,
Doug

That arrow is standard vB code. A button to Open/Close the sidebar.

BadgerDog 04-08-2017 11:08 AM

Quote:

Originally Posted by paradoxG(r)eek (Post 2585016)
That arrow is standard vB code. A button to Open/Close the sidebar.

Ok.. thanks.. :)

I don't use sidebars and they aren't even turned ON in our vBulletin?

This arrow doesn't appear anywhere else on any other vBulletin screen except within Video Club.

I just thought I'd let you know that ..

Regards,
Doug

paradoxG(r)eek 04-08-2017 12:34 PM

A small update to fix a database error. Please download ver. 1.1.1 and upload only the file video_usercp.php

The next upgrade will includes the follow features:
  1. Extra Providers
    1. Facebook
    2. LiveLeak.com
    3. OpenLoadMovies.com
  2. Videoplayer with support for your own Ads
  3. Better carousel for latest videos at top
  4. Video search in multiple providers
  5. Many notifications (Follow category, follow user etc)

BadgerDog 04-08-2017 12:48 PM

Quote:

Originally Posted by paradoxG(r)eek (Post 2585023)
A small update to fix a database error. Please download ver. 1.1.1 and upload only the file video_usercp.php

Confirmed... :up:

Added new video from YouTube without a problem... :)

It even picked up the thumbnail from the old 2015 video just fine, although I chose to overwrite it with a custom one of my own...

Regards,
Doug

paradoxG(r)eek 04-08-2017 12:54 PM

Quote:

Originally Posted by BadgerDog (Post 2585024)
Confirmed... :up:

Regards,
Doug

Thank you for your reports Doug

paradoxG(r)eek 04-08-2017 03:22 PM

Not a superior feature in ver. 1.1.2 but something that makes your site looking more professional. A duplicate check when fetching the video. If it exists the user will gets an error message and will be redirect to homepage.

To upgrade:
  1. Download ver. 1.1.2
  2. Upload video_usercp.php
  3. Import product-videoclub.xml

lillylissy 04-08-2017 04:42 PM

Christos, is there a solution to make the Videocode iframe variable?

paradoxG(r)eek 04-08-2017 05:04 PM

Quote:

Originally Posted by lillylissy (Post 2585034)
Christos, is there a solution to make the Videocode iframe variable?

Can you give me an example? Do you mean to extract from iframe code only the URL or something else?

To extract the URL a working code is:
Code:

// Extract Link
preg_match('/src="([^"]+)"/', $iframe_code, $match);
$url_clean = $match[1];


lillylissy 04-08-2017 05:08 PM

Quote:

Originally Posted by paradoxG(r)eek (Post 2585035)
Can you give me an example?

Yes of course: https://baeckerei-lieb.de/video.php?do=viewvideo&id=39

The video window is too broad on my site.

paradoxG(r)eek 04-08-2017 05:16 PM

Quote:

Originally Posted by lillylissy (Post 2585036)
Yes of course: https://baeckerei-lieb.de/video.php?do=viewvideo&id=39

The video window is too broad on my site.

Can you try this file and let me know if works or not.

paradoxG(r)eek 04-08-2017 05:18 PM

Works :) I seen it........ But the slider does not works :(

lillylissy 04-08-2017 05:20 PM

Where is a slider? I asked already once for it.

paradoxG(r)eek 04-08-2017 05:20 PM

Try this file to check the slider

paradoxG(r)eek 04-08-2017 05:21 PM

Quote:

Originally Posted by lillylissy (Post 2585039)
Where is a slider? I asked already once for it.

Those vertical videos must be horizontal and sliding. Maybe because i had 4 per pass while your width is smaller. I changed to show 3 per pass.

lillylissy 04-08-2017 05:23 PM

No. No Slider.


All times are GMT. The time now is 01:04 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.02135 seconds
  • Memory Usage 1,859KB
  • 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_code_printable
  • (29)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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