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)

paradoxG(r)eek 04-19-2017 05:27 PM

Quote:

Originally Posted by Naijasite (Post 2585628)
1. There is no no ending slash
2. I dont no how to go about this ............. The php function "copy" does not works: copy(''.$videothumb.'', ''.$vbulletin->options["videoclub_serverpath"].'/tmp/'.$logo.'');

Would you mind i send you my admincp login details so you fix the error?

The server path to thumbs is correct?

Stratis 04-19-2017 05:35 PM

Quote:

Originally Posted by paradoxG(r)eek (Post 2585624)
It was not 644? Strange. Normal is 644 for all files. Once, some years ago, I had a similar problem. Don't remember if it was 600 or 640 but it was not 644 so I had problems with many files. That's why it came to my mind when I read that "Forbitten".

I think that you must contact your hosting provider to get advices.

No its was not CMOD. As I say above it works now.
COMODO firewall sees the embed code or frame.. and there are security rules in my server, so that why error 403.
Any way I inserted the id xxx error for exempt and hope all ok from now on.


I am translating it in Greek :D

Thanks

Naijasite 04-19-2017 05:44 PM

Quote:

Originally Posted by paradoxG(r)eek (Post 2585629)
The server path to thumbs is correct?

now i see the server path should be the problem because its wrong. I just use the default server path of the mod.

Vbulletin DOCUMENT_ROOT /home/myname/public_html/www.spyidea.com

Please see what wrong on my path
/home/myname/public_html/www.spyidea.com/videoclub/thumbs

I think am making mistake on the path address because my forum is installed at Addon Domain directory and not on the public folder.

Can you correct the path for me

paradoxG(r)eek 04-19-2017 06:07 PM

Quote:

Originally Posted by Naijasite (Post 2585631)
now i see the server path should be the problem because its wrong. I just use the default server path of the mod.

Vbulletin DOCUMENT_ROOT /home/myname/public_html/www.spyidea.com

Please see what wrong on my path
/home/myname/public_html/www.spyidea.com/videoclub/thumbs

I think am making mistake on the path address because my forum is installed at Addon Domain directory and not on the public folder.

Can you correct the path for me

Upload the attached files to videoclub/thumbs/ and access it from your browser. eg
http://www.spyidea.com/videoclub/thumbs/forumpath.php

It will shows you the path

Naijasite 04-19-2017 08:13 PM

Thanks its working fine now.

PRO Version (Finally the features below will be FREE)


Extra Providers
Facebook
Videoplayer with support for prevideo ads

Are these feature available on this mod, if no what the cost or link to the pro version.

Naijasite 04-19-2017 09:11 PM

Video view count is only added when the user is login to the forum. But when guest view video the view count does not increase.

1. How can i allow video view count to increase when view by Guest?
2. How also want guest to be able to Like video.

Please your help on these will be appreciated

paradoxG(r)eek 04-20-2017 05:12 AM

Quote:

Originally Posted by Naijasite (Post 2585636)
Thanks its working fine now.

PRO Version (Finally the features below will be FREE)


Extra Providers
Facebook
Videoplayer with support for prevideo ads

Are these feature available on this mod, if no what the cost or link to the pro version.

Currently there are is no PRO version. Actually never had PRO versions. Step by step, I'll add all those features (max in 30 days), and when they'll be ready, I'll decide if I start selling a PRO version or I will include them in the free version.

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

Quote:

Originally Posted by Naijasite (Post 2585637)
Video view count is only added when the user is login to the forum. But when guest view video the view count does not increase.

1. How can i allow video view count to increase when view by Guest?
2. How also want guest to be able to Like video.

Please your help on these will be appreciated

1.- Views count only for logon users EXCEPT the video owner. Allowing guests (or the owner) to count views then the counter looses the value. The owner will goes there as not logon and will increase the counter to 1000 in just 10 minures.

2.- It can't be done as the system shows the users who liked it.

Don't forget that is a community addon which means that any mod must focus to make quest register in your site. If you allow them available to guest why to register? For example yesterday I registered in your site as ChrisTERiS just to see what is going wrong. If this was available to guest I should never register.

Naijasite 04-20-2017 07:09 AM

Your mod is really nice and i really appreciate your response. Though i wont mind if the views is been increase whe guest view videoes. Because this will attract other guest to click other video based on the many views.

Please if you can tell me what code to edit so views and like will be increased when guest view or click on like a video, just the same way it works on thread.

Because more views or likes will attract more video click.
Thanks in advance.

paradoxG(r)eek 04-20-2017 07:47 AM

Quote:

Originally Posted by Naijasite (Post 2585640)
Your mod is really nice and i really appreciate your response. Though i wont mind if the views is been increase whe guest view videoes. Because this will attract other guest to click other video based on the many views.

Please if you can tell me what code to edit so views and like will be increased when guest view or click on like a video, just the same way it works on thread.

Because more views or likes will attract more video click.
Thanks in advance.

For Views: Open file video.php

Find (Lines 845-849):
Code:

// Count View
if ($userid > 0 && $userid <> $item["userid"])
{
        $vbulletin->db->query_write("UPDATE ".TABLE_PREFIX."videoclub_items SET views=views+1 WHERE id=$itemid");
}

Replace with:
Code:

// Count View
$vbulletin->db->query_write("UPDATE ".TABLE_PREFIX."videoclub_items SET views=views+1 WHERE id=$itemid");

For Votes, sorry but there are many variables to edit, not only to php but also to template. Also modifying the code it will brings database errors when a guests tries to vote:
1.- During saving vote
2.- When tries to get the list of voters


All times are GMT. The time now is 11:52 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.01566 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
  • (2)bbcode_code_printable
  • (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