Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons

Reply
 
Thread Tools
Youtube/Google Videos Downloader For your Forum ♦ v2.2 Now ♦ Details »»
Youtube/Google Videos Downloader For your Forum ♦ v2.2 Now ♦
Version: 2.2, by Hitterman Hitterman is offline
Developer Last Online: Aug 2015 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.7.x Rating:
Released: 10-25-2008 Last Update: 10-26-2008 Installs: 29
Uses Plugins Auto-Templates
Additional Files  
No support by the author.

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

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 10-26-2008, 11:41 AM
Arcade Fire's Avatar
Arcade Fire Arcade Fire is offline
 
Join Date: May 2008
Location: Menorca, Spain
Posts: 132
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

Reply With Quote
  #3  
Old 10-26-2008, 12:14 PM
Hitterman's Avatar
Hitterman Hitterman is offline
 
Join Date: May 2008
Location: Tutorialistic.net
Posts: 172
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #4  
Old 10-26-2008, 12:26 PM
Arcade Fire's Avatar
Arcade Fire Arcade Fire is offline
 
Join Date: May 2008
Location: Menorca, Spain
Posts: 132
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

Reply With Quote
  #5  
Old 10-26-2008, 12:42 PM
Dr. Bantham's Avatar
Dr. Bantham Dr. Bantham is offline
 
Join Date: Feb 2007
Posts: 164
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Arcade Fire View Post
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

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.
Reply With Quote
  #6  
Old 10-26-2008, 02:26 PM
WarLion's Avatar
WarLion WarLion is offline
 
Join Date: Jun 2006
Posts: 165
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #7  
Old 10-26-2008, 03:20 PM
Hitterman's Avatar
Hitterman Hitterman is offline
 
Join Date: May 2008
Location: Tutorialistic.net
Posts: 172
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The problem has been caught by me. Soon v2.0 will be released.
Reply With Quote
  #8  
Old 10-26-2008, 03:25 PM
Hitterman's Avatar
Hitterman Hitterman is offline
 
Join Date: May 2008
Location: Tutorialistic.net
Posts: 172
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

EDIT: Just released the v2.0 with all the bugs corrected.
Reply With Quote
  #9  
Old 10-26-2008, 03:57 PM
bollie's Avatar
bollie bollie is offline
 
Join Date: Jun 2006
Location: Zele (Belgium)
Posts: 259
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

My forum use forum.php
Reply With Quote
  #10  
Old 10-26-2008, 04:09 PM
Dr. Bantham's Avatar
Dr. Bantham Dr. Bantham is offline
 
Join Date: Feb 2007
Posts: 164
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:46 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05023 seconds
  • Memory Usage 2,295KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete