Thread: Show Thread Enhancements - Automatic Embedded Video (youtube, plus many more)
View Single Post
  #106  
Old 06-25-2007, 05:34 AM
mfyvie mfyvie is offline
 
Join Date: Mar 2007
Location: Zurich, Switzerland
Posts: 336
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by hornstar1337 View Post
this youtube link dont work: http://www.youtube.com/v/lpm6tqnEw5s
Ok, that looks like a totally different format for youtube, but I've fixed it for that and it will be in the next version.

Quote:
Originally Posted by Endurer View Post
Excellent mod.There's a little problem with google video though. These URI's work well: http://video.google.com/videoplay?do...59754181918But when a user pastes this URI: http://video.google.com/videoplay?do...83484610119600 Nothing happens or the URI is parsed as a URI and not a video.The difference as I asume is of the '-' next to docid= in the URI.
Already fixed for the next version.

Quote:
Originally Posted by Silvio View Post
now seems that in youtube there ia a sort of private videos management :| what is that :S all videos seems to be private status :S
Sorry, I don't know what you mean, could you please post more information on this point if you want me to look into it. Like a sample URL

Quote:
Originally Posted by jasculs View Post
I use custom bbcode permissions and when someone who does not have permission to use the bbcode puts in a link the unparsed bbcode shows up instead of the link. Is there anyway to fix this or change it?
I've been thinking about this. This is a bit of a problem. If some users in a given forum have permission to write BB Code, but others don't have permission to read it, then this will create a situation where some users can't view a video, and others can.

I believe the best way to handle this is that I'll add an option to insert the BB Code, while preserving the original URL. This way both will appear next to each other.

Quote:
Originally Posted by Nathan2006 View Post
Updated Thank you

Would there be anyway to exclude some forums from this?

I have a forum for video ripping and the links
that members post will get converted

Thank you for any help
This is done and tested and will be in the next version. I went further and combined it with user and group permissions and made it possible to both include and exclude. It turned out to be a bit more complex than I expected.
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01235 seconds
  • Memory Usage 1,782KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • 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
  • showpost_complete