vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   BB Code Enhancements - Embed XHTML valid YouTube and Google Video into your posts (https://vborg.vbsupport.ru/showthread.php?t=130868)

bombardier 11-18-2006 08:09 PM

Installed ! and it works great thank yoiu very very much

Viper007Bond 11-19-2006 02:18 AM

Quote:

Originally Posted by transitbus (Post 1119478)
Few quick questions or suggestions:

1) Is it possible to add a time out function?
2) Any chance to get the title of the video in the "header bar"?

1) It's just a simple <object> with a remote Flash file, so no.
2) I have this on my forum and I'll be adding it to the plugin in the next release (which is mostly done and should be released soon). :)

Quote:

Originally Posted by The Wedge (Post 1120019)
I can't figure out why helper plugin is not workin on my site. It just give a black box and no video. If I use the partial url it works fine. And I have installed this on another site and it worked fine. The only other thing I have running on my site different from that one is photopost. But I dont know how that could interfere with it. I've also removed all my google adsense and analytics in case that was the problem. But nothing is working.

here is a link to an example

http://sicktracks.com/forums/showthr...45#post1060945

All 4 videos on that site show up correctly for me.

Viper007Bond 11-19-2006 04:26 AM

New version out! (2.0.0)

Total recode featuring custom titles, light error checking (ex: people can't do [youtube]http://www.google.com/[/youtube] for example), one click installation (no more having to manually add the BBCode), etc.

MorrisMcD 11-19-2006 04:48 AM

So should we remove the BB Code we added before installing the plugin?

Viper007Bond 11-19-2006 05:00 AM

No, you can leave it. It'll attempt to add it again, but will silently fail (although it will add two new ones used for the custom titles). :)

transitbus 11-19-2006 05:02 AM

New version is working great! Thanks for updating :D

Viper007Bond 11-19-2006 05:35 AM

Quote:

Originally Posted by transitbus (Post 1120520)
New version is working great! Thanks for updating :D

Ah, good to hear! I tested on both my test forums and my real forums, but I still wasn't sure it was fully bug free. :)

transitbus 11-19-2006 05:38 AM

that reminds me... one thing i did notice was that you did not need quotes around the ID when doing a custom title.

MorrisMcD 11-19-2006 05:39 AM

Quote:

Originally Posted by Viper007Bond (Post 1120519)
No, you can leave it. It'll attempt to add it again, but will silently fail (although it will add two new ones used for the custom titles). :)

Good deal.. All is well!

Thanks!

Viper007Bond 11-19-2006 05:54 AM

Quote:

Originally Posted by transitbus (Post 1120538)
that reminds me... one thing i did notice was that you did not need quotes around the ID when doing a custom title.

That is indeed correct. I coded it to handle both methods, just as vB does with like [url].

redlabour 11-19-2006 06:03 AM

Hi,

now i have a great Problem. How can i change [youtube] and [gvideo] to [yt] and [gv] ???

And one Bug - after i have installed your Product i cant see any longer at AdminCP my own vBCodes. After deinstalling your Product this leaves the same.

Who can i fix this ?

s. Screenshot.

I have looked for a problem with phpMyAdmin everything looks fine and the BB Codes are still working. :confused:

Restore of vb3_bb Code Table brings no success.

hcmagix 11-19-2006 06:22 AM

I need a myvideo.de integration. :D I will wait.

Viper007Bond 11-19-2006 07:28 AM

Quote:

Originally Posted by redlabour (Post 1120547)
now i have a great Problem. How can i change [youtube] and [gvideo] to [yt] and [gv] ???

You'll need to edit the two plugins this product adds and replace all instances of youtube/gvideo with yt and gv.

Quote:

Originally Posted by redlabour (Post 1120547)
And one Bug - after i have installed your Product i cant see any longer at AdminCP my own vBCodes. After deinstalling your Product this leaves the same.

That is very odd... :ermm:

When the plugin is uninstalled, it removes the BBCode it adds and everything, so it shouldn't screw anything up. I really don't know what to suggest. :(

What happens if you view the source of that frame window?

Viper007Bond 11-19-2006 07:29 AM

Quote:

Originally Posted by hcmagix (Post 1120558)
I need a myvideo.de integration. :D I will wait.

Sorry, won't be happening. Not enough demand and I'm not really looking to make this into an "everything under the sun" plugin. ;)

redlabour 11-19-2006 07:58 AM

Quote:

Originally Posted by Viper007Bond (Post 1120584)
What happens if you view the source of that frame window?



Quote:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html dir="ltr" lang="de">
<head>
<script type="text/javascript">
<!--
// get out of any containing frameset
if (self.parent.frames.length != 0)
{
self.parent.location.replace(document.location.hre f);
}
// -->
</script>
<title>politikstube.de & theologieforum.de - die christliche Community (Politikforum & Theologieforum) Administrator-Kontrollzentrum</title>
</head>

<frameset cols="195,*" framespacing="0" border="0" frameborder="0" frameborder="no" border="0">

<frame src="index.php?do=nav" name="nav" scrolling="yes" frameborder="0" marginwidth="0" marginheight="0" border="no" />
<frameset rows="20,*" framespacing="0" border="0" frameborder="0" frameborder="no" border="0">
<frame src="index.php?do=head" name="head" scrolling="no" noresize="noresize" frameborder="0" marginwidth="10" marginheight="0" border="no" />
<frame src="index.php?do=home" name="main" scrolling="yes" frameborder="0" marginwidth="10" marginheight="10" border="no" />
</frameset>
</frameset>

<noframes>
<body>
<p>Ihr Browser unterst?tzt keine Frames. Bitte installieren Sie einen, der das kann!</p>
</body>
</noframes>
</html>
It tells me in Firefox 2.0 and IE 7.0 that my Browser does not support Frames. :confused:

Rabbitoh Warren 11-19-2006 08:06 AM

*100th Install* :p

redlabour 11-19-2006 08:08 AM

Quote:

Originally Posted by redlabour (Post 1120599)
It tells me in Firefox 2.0 and IE 7.0 that my Browser does not support Frames. :confused:

And if i look for the Frame source :
Code:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html dir="ltr" lang="de">
<head>
        <title>vB Codes verwalten - politikstube.de & theologieforum.de - die christliche Community  (Politikforum & Theologieforum) - vBulletin Administrator-Kontrollzentrum</title>
        <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
        <link rel="stylesheet" type="text/css" href="../cpstyles/vBulletin_2_Default/controlpanel.css" />
        <script type="text/javascript">
        <!--
        var SESSIONHASH = "";
        function set_cp_title()
        {
                if (typeof(parent.document) != 'undefined' && typeof(parent.document) != 'unknown' && typeof(parent.document.title) == 'string')
                {
                        parent.document.title = (document.title != '' ? document.title : 'vBulletin');
                }
        }
        //-->
        </script>
        <script type="text/javascript" src="../clientscript/vbulletin_global.js"></script>
</head>

<body style="margin:0px" onload="set_cp_title();">
<div class="pagetitle">vB Codes verwalten</div>
<div style="margin:10px">
<!-- END CONTROL PANEL HEADER -->


<!-- form started:8 queries executed -->
<form action="bbcode.php?do=add" method="post" name="cpform" id="cpform">
<input type="hidden" name="do" value="add" />
<input type="hidden" name="adminhash" value="134ab670d5c6ac34d59c503e028764a2" />
<br />
<table cellpadding="4" cellspacing="0" border="0" align="center" width="90%" class="tborder" id="cpform_table">
<tr>
        <td class="tcat" align="center" colspan="6">
                <div style="float:right"><a class="helplink" href="#" onclick="js_open_help('bbcode', 'modify', ''); return false;">Hilfe <img src="../cpstyles/vBulletin_2_Default/cp_help.gif" alt="" border="0" title="Ich brauche Hilfe bei diesen Optionen" style="vertical-align:middle" /></a></div>

                <b>vB Codes verwalten</b>
        </td>
</tr>
<tr valign="top" align="center">
        <td class="thead" align="left">Titel</td>
        <td class="thead" align="left">vB Code</td>
        <td class="thead" align="left">HTML</td>
        <td class="thead" align="left">Einzuf?gender Code</td>

        <td class="thead" align="left">Schaltfl?chen-Grafik</td>
        <td class="thead" align="left">Einstellungen</td>
</tr>


Viper007Bond 11-19-2006 08:28 AM

Quote:

Originally Posted by redlabour (Post 1120605)
And if i look for the Frame source :

Looks like the while() that outputs each BBCode entry is failing. I don't know why, sorry. :(

Look for some PHP errors in your logs is all I can suggest.

Quote:

Originally Posted by Rabbitoh Warren (Post 1120603)
*100th Install* :p

Woot! :D

redlabour 11-19-2006 10:34 AM

Quote:

Originally Posted by Viper007Bond (Post 1120621)
Looks like the while() that outputs each BBCode entry is failing. I don't know why, sorry. :(

Look for some PHP errors in your logs is all I can suggest.



Woot! :D

Sorry - not your Fault. It was vBAnonymizer.

redlabour 11-19-2006 10:59 AM

Quote:

Originally Posted by hcmagix (Post 1120558)
I need a myvideo.de integration. :D I will wait.

Wait for AnyMedia 3.6.x ....

Quote:

Originally Posted by Viper007Bond (Post 1120584)
You'll need to edit the two plugins this product adds and replace all instances of youtube/gvideo with yt and gv.

Please integrate this into AdminCP as it is here :

SEO YouTube and Google Videos

For know i have asked here :

Change used BB-Code in Posts if BB-Code was changed

smoknz28 11-19-2006 04:08 PM

Doh! I had just installed this yesterday with the previous version. :cross-eyed:

Please recommend the best way to upgrade this mod.

Would it be best to take out the custom BB codes that were instructed from previous? Do I uninstall the previous plugin and then install this new one?

Just looking for the best recommended way of upgrading this. I didn't see any instructions for those of us upgrading.

Thanks,
Mark

redlabour 11-19-2006 04:19 PM

Quote:

Originally Posted by redlabour (Post 1120699)
Wait for AnyMedia 3.6.x ....



Please integrate this into AdminCP as it is here :

SEO YouTube and Google Videos

For know i have asked here :

Change used BB-Code in Posts if BB-Code was changed

Quote:

Originally Posted by smoknz28 (Post 1120866)

Just looking for the best recommended way of upgrading this. I didn't see any instructions for those of us upgrading.

Thanks,
Mark

You do not see any Instruction ? Maybe you should read the last Post before yours and wait for a answer ? :cool: :confused:

xtrass 11-19-2006 04:33 PM

I installed it, but it does not work for me, here is a link to it
http://www.ezpicking.com/forum/showt...?p=415#post415

please help as this would be a great feature for my fourm!

Thank you.

redlabour 11-19-2006 04:51 PM

Quote:

Originally Posted by xtrass (Post 1120888)
I installed it, but it does not work for me, here is a link to it
http://www.ezpicking.com/forum/showt...?p=415#post415

please help as this would be a great feature for my fourm!

Thank you.

Take a working YouTube Link. Hack seems ok.

xtrass 11-19-2006 04:55 PM

That is a working youtube link :surprised:

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

Just does not work in my post with this mod

smoknz28 11-19-2006 04:57 PM

Quote:

Originally Posted by redlabour (Post 1120878)
You do not see any Instruction ? Maybe you should read the last Post before yours and wait for a answer ? :cool: :confused:

That's correct....don't bother hijacking my post amigo. I still don't get what you're refering to. And if there was a "last post" before mine....it may be possible I was in the middle of typing my post as the last poster was hitting the save button.

I love smart-arses....

xtrass 11-19-2006 05:21 PM

Ok, not sure what happened, but it seems if you edit the post it becomes invalid and you have to enter the youtube url again.

Works now.

RidinHighSpeeds 11-19-2006 07:03 PM

Great mod, however I would strongly recommend a new feature much like the "hyperlink" pop-up windows.

If you currently click on Google or the YouTube link, it brings up the window where you enter the URL. However, many users do not enter a title within the tags, and then when they submit just the URL, it does not display the video..

I think there should be 2 windows. 1 window for the URL, and another for the TITLE. That would work perfectly!

Viper007Bond 11-19-2006 08:01 PM

Quote:

Originally Posted by smoknz28 (Post 1120866)
Please recommend the best way to upgrade this mod.

Remove the old plugin entry and then import the new product.

I've edited my post to include upgrade instructions (sorry!).

smoknz28 11-19-2006 08:04 PM

Quote:

Originally Posted by Viper007Bond (Post 1121022)
Remove the old plugin entry and then import the new product.

I've edited my post to include upgrade instructions (sorry!).

Thank you Viper007Bond. ;)

I know you hit on this one previously....but I'd like to know if it would be better to remove the Custom BB Codes we added with the previous version of this hack? Seemed like your response was more of a...you can if you want...but if not...there's no issues. But I'd rather not have it there if there's no need for it with this verion.

Thanks again Viper007Bond.

Viper007Bond 11-19-2006 08:08 PM

Quote:

Originally Posted by xtrass (Post 1120929)
Ok, not sure what happened, but it seems if you edit the post it becomes invalid and you have to enter the youtube url again.

Let me explain a little how this plugin works behind the scenes, using [youtube] as an example (the Google Video one works the same way).

First, it finds all validly formatted calls to the BBCode and replaces them with [VALIDYOUTUBE12345]gakjh43hj34f[/VALIDYOUTUBE12345]. Anything left over is then bad calls to the BBCode (ex: [YOUTUBE]http://www.yahoo.com/[/YOUTUBE]). These get replaced with [INVALIDYOUTUBE] so that the BBCode parser doesn't replace them and make a broken embed box.

Then once the BBCode parser is done, it replaces all of the [INVALIDYOUTUBE]'s with [YOUTUBE]. This results in them displaying as the user typed in (in plain text) with no HTML.

However, it seems that second plugin (which puts the tags back) doesn't always work and I'm not quite sure why (since I'm new to vB). That's why you may see [INVALIDYOUTUBE]'s sometimes in your posts rather than [YOUTUBE]http://www.yahoo.com/[/YOUTUBE]. Valid calls to the BBCode though should always work and show up correctly.

Viper007Bond 11-19-2006 08:09 PM

Quote:

Originally Posted by RidinHighSpeeds (Post 1120975)
Great mod, however I would strongly recommend a new feature much like the "hyperlink" pop-up windows.

If you currently click on Google or the YouTube link, it brings up the window where you enter the URL. However, many users do not enter a title within the tags, and then when they submit just the URL, it does not display the video..

I think there should be 2 windows. 1 window for the URL, and another for the TITLE. That would work perfectly!

Wait, what? I'm lost.

Viper007Bond 11-19-2006 08:10 PM

Quote:

Originally Posted by smoknz28 (Post 1121025)
I know you hit on this one previously....but I'd like to know if it would be better to remove the Custom BB Codes we added with the previous version of this hack? Seemed like your response was more of a...you can if you want...but if not...there's no issues. But I'd rather not have it there if there's no need for it with this verion.

No, there is no need to remove them. :)

ubblite 11-19-2006 08:21 PM

A CMPS module would be a great addition for this mod.

Also, if you could have your own player instead of using Google's and YouTube's, it would be a real nice option.

xtrass 11-19-2006 08:27 PM

Viper, great mod. I also run a SMF forum, version 1.1 RC3,

any chance you can port this over for 1.1RC3?

They only have a similar mod for 1.1RC2 and all the suggested hacks to get it to work on RC3 fails. Plus you need to install 2 mods to get what your VB mod does!

I know your mod would be greatly appreciated for SMF :)

Any chance it happening?

smoknz28 11-19-2006 08:57 PM

Quote:

Originally Posted by Viper007Bond (Post 1121033)
No, there is no need to remove them. :)

Sounds good....thanks again for taking time out in putting this hack together. ;)

RidinHighSpeeds 11-19-2006 08:59 PM

Quote:

Originally Posted by Viper007Bond (Post 1121032)
Wait, what? I'm lost.

When you click the YouTube icon for example, it brings up a window where you enter in the URL of the video.

Now if I submit my reply without entering in a title within the tags, it does not display the video. I would recommend another pop-up window asking the user to enter in a description or title.

redlabour 11-19-2006 09:28 PM

Attention :

If you have used something like [gv] before this Update and want to change now all old Codes to [gvideo] operate this SQL Querie.

Code:

UPDATE vb3_post SET pagetext = REPLACE(pagetext, '[gv]', '[gvideo]');
UPDATE vb3_post SET pagetext = REPLACE(pagetext, '[/gv]', '[/gvideo]');
UPDATE vb3_post SET pagetext = REPLACE(pagetext, '[GV]', '[gvideo]');
UPDATE vb3_post SET pagetext = REPLACE(pagetext, '[/GV]', '[/gvideo]');
UPDATE vb3_post SET pagetext = REPLACE(pagetext, '[Gv]', '[gvideo]');
UPDATE vb3_post SET pagetext = REPLACE(pagetext, '[/Gv]', '[/gvideo]');

Same for old [anymedia] or [yt] Codes. ;)

Attention - maybe you have to change Tableprefix.

@Viper007Bond - include this to Installinstructions please or use it for coding a AdminCP Option. ;)

transitbus 11-19-2006 10:26 PM

Quote:

Originally Posted by Viper007Bond (Post 1121032)
Wait, what? I'm lost.

I think what he is asking is like the insert link:

Attachment 56240

ByG SteAm 11-19-2006 11:28 PM

I am a little confused, you have the example usage thing but how do i make it so when they click to insert the video url it shows more than the [google][ /google] thing but instead the full Usage code you have posted above.


All times are GMT. The time now is 11:53 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.01663 seconds
  • Memory Usage 1,864KB
  • 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
  • (28)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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