vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Show Thread Enhancements - Automatic Embedded Video (youtube, plus many more) (https://vborg.vbsupport.ru/showthread.php?t=150472)

dizzy100 06-25-2007 10:48 AM

Just got around to testing this. I have found a plugin clash using the Youtube video embedding.

Posting

http://www.youtube.com/watch?v=m2OC5Z1Fii8

Gives me this

[YOUTUBEvid]m2OC5Z1Fii8[/youtubevid]


But doesn't actually embed. Obviously your mod is working but isn't showing.

Through the process of elimination however i tracked it down to a conflict with the Embed XHTML valid YouTube and Google Video into your posts plugin

https://vborg.vbsupport.ru/showthread.php?t=130868

If i disable his plugin and repost the same link, yours embeds as it should.

Whats bizarre is that viper uses the bbcode

[YOUTUBE]http://www.youtube.com/watch?v=m2OC5Z1Fii8[/YOUTUBE]

So its not touching your BBCODE at all. But i've now tried several times and the only way i can get your embed to work is by disabling his. Although thats an option, we do have many youtubes already embedded using his BBCODE.

Any ideas for a fixable solution ?

I tried with myspace videos and they parse and emded fine.

InTeNsE-HuMoR 06-25-2007 12:22 PM

I also use Vipers youtube embed code, is there any way that the too could work together?

jasculs 06-25-2007 04:07 PM

Quote:

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.
The way it is with the custom bbcode permission mod that I have installed is that the user can not use the bbcode, but they are able to see the bbcode of those who can use it. For example if they try to use the bbcode and they don't have permission then it shows up like this.

[youtube]150472[youtube] and it doesn't show the video, but if they do have permission to post the bbcode then everyone can see the embedded video.

Hope that makes sense.

NightShado 06-25-2007 04:27 PM

Thanx for bbcode's :) its superb

fly 06-25-2007 07:02 PM

Quality hack. Thanks!

mfyvie 06-25-2007 07:08 PM

Quote:

Originally Posted by jasculs (Post 1276228)
The way it is with the custom bbcode permission mod that I have installed is that the user can not use the bbcode, but they are able to see the bbcode of those who can use it. For example if they try to use the bbcode and they don't have permission then it shows up like this.

[youtube]150472[youtube] and it doesn't show the video, but if they do have permission to post the bbcode then everyone can see the embedded video.

Hope that makes sense.

Ok, I understand the issue now. I've added two options which should then resolve this issue for people in your situation. To be honest, it wasn't as straight forward as I thought, and has so far taken me the entire day to test and get right (some of these regular expressions are nasty). But finally it is working. To give you a taste of what is coming, see the attached screenshot of the options.

Quote:

Originally Posted by InTeNsE-HuMoR (Post 1276071)
I also use Vipers youtube embed code, is there any way that the too could work together?

Ok, I'll take a quick look at this and see if I can figure out where the conflict lies. If you need the old BBcodes from this mod to support existing tags in your posts you can leave the BB Code in there but disable Viper's mod (since I am guessing that mine covers this anyway).

anarx 06-25-2007 07:29 PM

Very nice mod !!! Installed :>

skariko 06-25-2007 07:57 PM

Thank you for this wonderful work.

Is it possibile to filter the various BBCodes in the Quote Tags?

mfyvie 06-25-2007 08:19 PM

Quote:

Originally Posted by skariko (Post 1276364)
Thank you for this wonderful work.

Is it possibile to filter the various BBCodes in the Quote Tags?

Wasn't really planning on adding a feature like that to this mod. Trying to keep it as simple as possible. There may be other mods that are designed to block various BBCodes in quote blocks.

paldo 06-25-2007 08:22 PM

i installed this and it killed my hide tags .. i removed it via add remove products and my hide tags are still very dead here is what displys now

[hide]{param}[/hide]

{param} isnt supposed to be there and now every post that hide tags was used on is now dead

how do i remove this 100% ? cuz somthing is still lingering after i uninstalled the product


All times are GMT. The time now is 12:52 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.01149 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
  • (4)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