vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Add-On Releases - Youtube/Google Videos Downloader For your Forum ♦ v2.2 Now ♦ (https://vborg.vbsupport.ru/showthread.php?t=194614)

Hitterman 10-25-2008 10:00 PM

Youtube/Google Videos Downloader For your Forum ♦ v2.2 Now ♦
 
Name: Youtube/Google videos Downloader
Description:This will alow users to download Youtube or Google videos from your Forum
Version: 2.2
vBulletin version: 3.7.x
Coder: Hitterman : hitterman@tutorialistic.net

Features:
♦ Supports both Google videos and Youtube videos.
♦ Provided Title and screenshots of the Video.

Installation:
♦ Upload the file "upload/youtube.php" in your vBulletin Forum root Directory so it will be www.example.com/forum/youtube.php.
♦ Upload the Plugin "product-youtubegooglevideo.xml" via Product Manager.




Important Upgrading instructions♦Please read this to make your hack work♦

I found the problem but the solution is also little weird.
UPgrading instructions: Uninstall the product.
Delete the "youtube" template manually from Styles and manager.

Now upload the new product attached in this post.
After doing this Go to Styles and Manager>>Your style>>and open "youtube" template.

Without doing anything,click on save button.
This will make your hack work. Since i am newbie coder,i really wanted to find out why is this happening.







NOTE:Please don't remove the Copyright or credits from the script.

If you liked it,Please click "install" and nominate for MOTM.

Click here if you liked my Hack

Arcade Fire 10-26-2008 11:41 AM

Good job, Thank you :)


Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/xxxxxxx/public_html/youtube.php(48) : eval()'d code on line 40

:confused:

Hitterman 10-26-2008 12:14 PM

Weird! I did different install of this script and it is working okay for me.
www.tutorialistic.net/forums/testube.php
Hav you chmoded your youtube.php file to "777"? Also you have to upload in your forums directory ,i mean vbulletin forum directory.

EDIT: Are you using AJAX Post Thankyou Hack? Try disabling all the plugins and try it. It is really weird. I have used this on 5 forums and all are working well.

Arcade Fire 10-26-2008 12:26 PM

No, I?m not using AJAX Post Thankyou Hack and youtube.php is in root with "777" atributes

:confused:

Dr. Bantham 10-26-2008 12:42 PM

Quote:

Originally Posted by Arcade Fire (Post 1653029)
Good job, Thank you :)


Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/xxxxxxx/public_html/youtube.php(48) : eval()'d code on line 40

:confused:

I encountered the same error message initially. When I set the file permissions to 777, I get the following error message:
Quote:

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, xxxxxx@xxxxxx and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

WarLion 10-26-2008 02:26 PM

same here
Code:

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/rcmex/public_html/foro/youtube.php(48) : eval()'d code on line 40
my guess for the errr is that you have php code over templates

Hitterman 10-26-2008 03:20 PM

The problem has been caught by me. Soon v2.0 will be released.

Hitterman 10-26-2008 03:25 PM

EDIT: Just released the v2.0 with all the bugs corrected.

bollie 10-26-2008 03:57 PM

White Page?
http://www.xxxxxxxx.be/youtube.php

My forum use forum.php

Dr. Bantham 10-26-2008 04:09 PM

Still similar problems. It appears to work at first, though the instructions text is not visible using my dark style. I assume this is because you are hard coding the text color. Inputting a URL results in:
Quote:

Forbidden

You don't have permission to access /youtube.php on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Changing the youtube.php permissions to 777 (is that safe?) denies access to the main input page:
Quote:

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, xxxxxx@xxxxxx and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


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