Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 4 1 2 3 4
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
Instead of continuing to completely hijack the other thread, and post additions everywhere but the initial post; here's the thread for my Embedding BBCode additions.

7.3 Update - Due to the "Custom Tags" option added in 7.3 these can be added much easier, without having to hack code. Please see the following links:
[7.3+] Gizmo's Embedding BBCode (Compatibility) (compatibility with the codes below in 7.3)
[7.3+] Gizmo's CustomTags (My new custom tags thread for all things 7.3+)

Installation:
Open: libs/ubbthreads.inc.php
Find:
Code
			// You don't see the next line
array( "#\[email:([+_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,4}))\](.+?)\[/email]#i", '<a href="mailto:\1">\5</a>' ),

Add After (choose any you wish, this is my added block from my site):
Code

// Gizmo's Added UBBCode
array( "#\[google\]([a-zA-Z0-9 ]+)\[/google\]#i", '<a href="http://www.google.com/custom?domains=www.undergroundnews.com&q=\1&sa=Search&sitesearch=&client=pub-5168900358893374&forid=1&channel=4984299912&ie=ISO-8859-1&oe=ISO-8859-1&cof=GALT%3A%238CA3D6%3BGL%3A1%3BDIV%3A%23666666%3BVLC%3A8CA3D6%3BAH%3Acenter%3BBGC%3A000000%3BLBGC%3A000000%3BALC%3AC0C0C0%3BLC%3AC0C0C0%3BT%3AFFFFFF%3BGFNT%3A8CA3D6%3BGIMP%3A8CA3D6%3BFORID%3A1&hl=en" target="_new">\1</a>' ),
array( "#\[googlevideo\]([a-zA-Z0-9-_]+)\[/googlevideo\]#i", '<center><embed style="width:425px; height:350px;" id="VideoPlayback" type="application/x-shockwave-flash" src="http://video.google.com/googleplayer.swf?docId=\1&hl=en"></embed></center>' ),
array( "#\[googleimages\]([a-zA-Z0-9 ]+)\[/googleimages\]#i", '<a href="http://images.google.com/images?sourceid=navclient-ff&ie=UTF-8&rls=GGGL,GGGL:2006-17,GGGL:en&q=\1" target="_new">\1</a>' ),
array( "#\[froogle\]([a-zA-Z0-9 ]+)\[/froogle\]#i", '<a href="http://froogle.google.com/froogle?q=\1C&btnG=Search+Froogle" target="_new">\1</a>' ),
array( "#\[pricegrabber\]([a-zA-Z0-9 ]+)\[/pricegrabber\]#i", '<a href="http://www.pricegrabber.com/search_getoffers.php?keyword=\1" target="_new">\1</a>' ),
array( "#\[youtube\]([a-zA-Z0-9-_]+)\[/youtube\]#i", '<center><object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/\1"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/\1" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object></center>' ),
array( "#\[break\]([a-zA-Z0-9-_]+)\[/break\]#i", '<center><object width="425" height="350"><param name="movie" value="http://embed.break.com/\1"></param><embed src="http://embed.break.com/\1" type="application/x-shockwave-flash" width="425" height="350"></embed></object></center>' ),
array( "#\[yahoovideo\]([a-zA-Z0-9-_]+).([a-zA-Z0-9 ]+)\[/yahoovideo\]#i", '<center><embed src="http://us.i1.yimg.com/cosmos.bcst.yahoo.com/player/media/swf/FLVVideoSolo.swf" flashvars="id=\2&emailUrl=http%3A%2F%2Fvideo.yahoo.com%2Futil%2Fmail%3Fei%3DUTF-8%26vid%3D\1.\2%26cache%3D1&imUrl=http%253A%252F%252Fvideo.yahoo.com%252Fvideo%252Fplay%253F%2526ei%253DUTF-8%2526vid%253D\1.\2%2526cache%253D1&imTitle=TreehuggerTV%253A%2BFreshtopia%2BTakes%2Bthe%2BLong%2BTrain&searchUrl=http://video.yahoo.com/video/search?p=&profileUrl=http://video.yahoo.com/video/profile?yid=&creatorValue=YmlwZWRiaXBlZA%3D%3D&vid=\1.\2" type="application/x-shockwave-flash" width="425" height="350"></embed></center>' ),
array( "#\[myspace\]([a-zA-Z0-9 ]+)\[/myspace\]#i", '<a href="http://www.myspace.com/\1" target="_new">\1</a>' ),
array( "#\[myspacevideo\]([a-zA-Z0-9-_]+)\[/myspacevideo\]#i", '<center><embed src="http://lads.myspace.com/videos/vplayer.swf" flashvars="m=\1&type=video" type="application/x-shockwave-flash" width="425" height="350"></embed></center>' ),
array( "#\[loowa\]([a-zA-Z0-9@.]+)\[/loowa\]#i", '<a href="http://www.loowa.com/profile.php?email=\1" target="_new">\1</a>' ),
array( "#\[loowavideo\]([a-zA-Z0-9-_]+)\[/loowavideo\]#i", '<center><embed src="http://update.videoegg.com/flash/player8.swf?jsver=1.3" FlashVars="file=http%3A//selfserve1.download.videoegg.com/gid353/cid1208/CZ/PW/1169094106KzyWvMT0WVB7S74rN6a2&bgColor=000000&autoPlay=false&showAd=false&adVars=&pageURL=http%3A//www.loowa.com/video/\1&allowFlash9Fullscreen=true" quality="high" allowFullScreen="true" allowScriptAccess="always" bgcolor="#000000" scale="noscale" wmode="window" width="425" height="350" name="VE_Player" align="middle" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed></center>' ),
array( "#\[revver\]([a-zA-Z0-9-_]+)\[/revver\]#i", '<center><embed type="application/x-shockwave-flash" src="http://flash.revver.com/player/1.0/player.swf" pluginspage="http://www.macromedia.com/go/getflashplayer" scale="noScale" salign="TL" bgcolor="#ffffff" flashvars="mediaId=\1&affiliateId=64082" wmode="transparent" height="350" width="425"></embed></center>' ),
array( "#\[wiki\]([a-zA-Z0-9 ]+)\[/wiki\]#i", '<a href="http://en.wikipedia.org/wiki/\1" target="_new">\1</a>' ),
array( "#\[description\](.+?)\[/description\]#i", '<b>Description</b>: \\1' ),
array( "#\[desc\](.+?)\[/desc\]#i", '<b>Description</b>: \\1' ),
array( "#\[photobucket\]([a-zA-Z0-9-_/:.]+)\[/photobucket\]#i", '<center><object width="425" height="350"><embed type="application/x-shockwave-flash" wmode="transparent" src="http://w33.photobucket.com/pbwidget.swf?pbwurl=\1" height="350" width="425"></embed></object></center>' ),
array( "#\[podcast\]([a-zA-Z0-9-_.&:/]+)\[/podcast\]#i", '<center><embed src="http://www.undergroundnews.com/forum/addons/mp3player.swf" width="425" height="42" bgcolor="#000000" quality="low" menu="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" flashvars="file=\1&autostart=false&backcolor=0x000000&frontcolor=0xFFFFFF&lightcolor=0xFFFFFF" /></center>' ),
array( "#\[webcam\]([a-zA-Z0-9-_]+)\[/webcam\]#i", '<center><embed src="http://player.stickam.com/stickamPlayer/\1" type="application/x-shockwave-flash" width="480" height="210" allowScriptAccess="always"></embed></center>' ),
array( "#\[pbucket\]([a-zA-Z0-9-_.:/]+)\[/pbucket\]#i", '<center><embed width="425" height="350" type="application/x-shockwave-flash" wmode="transparent" src="http://vid68.photobucket.com/player.swf?file=\1"></embed></center>' ),
array( "#\[skype\]([a-zA-Z0-9-_]+)\[/skype\]#i", '<a href="skype:\1?call"><img src="http://mystatus.skype.com/bigclassic/\1" style="border: none;" width="182" height="44" alt="My status" /></a>' ),
array( "#\[flash\]([0-9]+), ([0-9]+), ([a-zA-Z0-9-_.&:/]+)\[/flash\]#i", '<center><object width="\2" height="\1"><param name="movie" value="\3"></param><embed src="\3" type="application/x-shockwave-flash" width="\2" height="\1"></embed></object></center>' ),
array( "#\[flash\]([a-zA-Z0-9-_.&:/]+)\[/flash\]#i", '<center><object width="425" height="350"><param name="movie" value="\1"></param><embed src="\1" type="application/x-shockwave-flash" width="425" height="350"></embed></object></center>' ),
array( "#\[liveleak\]([a-zA-Z0-9_]+)\[/liveleak\]#i", '<center><object type="application/x-shockwave-flash" width="425" height="350" wmode="transparent" data="http://www.liveleak.com/player.swf?autostart=false&token=\1"><param name="movie" value="http://www.liveleak.com/player.swf?autostart=false&token=\1"><param name="wmode" value="transparent"><param name="quality" value="high"></object></center>' ),
array( "#\[sdeluxe\]([a-zA-Z0-9]+)\[/sdeluxe\]#i", '<center><object width="425" height="350"><param name="allowFullScreen" value="true" /><param name="movie" value="http://www.superdeluxe.com/static/swf/share_vidplayer.swf" /><param name="FlashVars" value="id=\1" /><embed src="http://www.superdeluxe.com/static/swf/share_vidplayer.swf" FlashVars="id=\1" type="application/x-shockwave-flash" width="425" height="350" allowFullScreen="true" ></embed></object></center>' ),

Usage:
Code
[google]Search Criteria[/google]
[googlevideo]VideoID[/googlevideo]
[googleimages]Search Criteria[/googleimages]
[froogle]Search Criteria[/froogle]
[pricegrabber]Search Criteria[/pricegrabber]
[youtube]VideoID[/youtube]
[break]VideoID[/break]
[yahoovideo][/yahoovideo]
[myspace]UserID[/myspace]
[myspacevideo]VideoID[/mypacevideo]
[loowa]UserID[/loowa]
[loowavideo]VideoID[/loowavideo]
[revver]VideoID[/revver]
[wiki]Wiki Criteria[/wiki]
[description]Desctiption Data[/description]
[desc]Description Data[/desc]
[photobucket]EmbedURL[/photobucket]
[podcast]http://www.url.to/podcast.mp3[/podcast]
[webcam]StickamID[/webcam]
[pbucket]PhotoBucketVideoURL[/pbucket]
[skype]SkypeID[/skype]
[flash]height, width, URL[/flash]
[flash]URL[/flash]
[liveleak]VideoID[/liveleak]
[sdeluxe]VideoID[/sdeluxe]

Others:
Spoiler Tags
Daily Motion

NOTE:
  • The [podcast] tag requires the MP3 flash file inserted into your /libs directory; this file is available here. Please note that you'll also need to insert the URL to this file in the bbcode entry.
  • For support on the Spoiler Tags bbcode, please go here as it has its own page.
  • To see why there is the description/desc tags, please see here.
  • The PhotoBucket Video code requires the videoURL from the embed link on photobucket, you can't use the "link to this page" link as it does not give the video data to embed the video.


Markup Panel Note: The text attached shows you how to add an option to your markup panel (the graphic goes in images/markup_panel/ and should be named "vidembed.gif"); it took a while to get everything to mesh well, but I think it should work fine.

The only options in here (for now) is the Video Embedding options, and it prompts the user to enter a description for their video (so search engines or impaired users can actually tell what it is as they can have issues viewing videos)... On another note, do you like my video embed graphic?

Licensing Notice: I hereby grant exclusive access over the attached image(s) to UBB.Central and UBB.Dev and their userbase to be used only within the UBB (and any UBB addon's or scripts). No other usage is approved.

Attachment Information:
2475.gif - vidembed.gif
vidembedmarkuppanel.txt - The markup panel addon WITH the description tag added into the javascript prompts (recommended as Search Engines and Visually Impaired users cannot SEE the video, the reader can read a description of the video; higly recommended especially if you rely on search engine traffic).
vidembedmarkuppanel2.txt - The markup panel addon WITHOUT the description tag added into the javascript prompts (the above is recommended, this is provided for those who don't want the description tag for whatever reason).
Attachments
vidembed.gif (168 Bytes, 186 downloads)
vidembedmarkuppanel.txt (9.74 KB, 68 downloads)
SHA1: 658a87aafcfb7a761a6c443a7c0c7500b531822d
vidembed.jpg (22.06 KB, 184 downloads)
vidembedmarkuppanel2.txt (8.97 KB, 48 downloads)
SHA1: 42ba18bf9687833dd15123538535f395b323a255


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Sponsored Links
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
It'd seem that Yahoo changed how they embed items, I'm not sure how at moment, but the embed string is nothing like it was several months ago...

It USED to be: 146a6f217779edcc766c1f02c7696206.1417545 where the long string is the userid, and the short is the videoid; but now they're crafting data different and it looks (offhand) that I just need to call the videoid... interesting...


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Nov 2001
Posts: 29
User
User
Offline
Joined: Nov 2001
Posts: 29
zOMG no markup code /hint Gizmo


-Cuervo
zOMG and oNOES
Joined: Nov 2003
Posts: 329
Beta Tester
Beta Tester
Offline
Joined: Nov 2003
Posts: 329
HUmmm i lost my last post.

1. Does your code above gizmo cover the _ in "YouTube" ?


Its an instant hit with the members Gizmo smile

Another site you may want to include and is very popular is

http://www.dailymotion.com/


BOOM 7.6.+ rocks....
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
Originally Posted by Mark_S
1. Does your code above gizmo cover the _ in "YouTube"?


In short, yes:
Originally Posted by Gizmo
[a-zA-Z0-9-_]

Originally Posted by Cuervo
zOMG no markup code /hint Gizmo
hmm? Do you mean the markup panel itself? If so, I guess I could throw something togethere, but after a couple additions it'll get quite crowded...


As for "dailymotion", this should work, however you have to take the id out of the embed code vs the url:
Code
			array( "#\[dailymotion\]([a-zA-Z0-9-_]+)\[/dailymotion\]#i", '<center><object width="425" height="350"><param name="movie" value="http://www.dailymotion.com/swf/\1"></param><param name="allowfullscreen" value="true"></param><embed src="http://www.dailymotion.com/swf/\1" type="application/x-shockwave-flash" width="425" height="350" allowfullscreen="true"></embed></object></center>' ),


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Sponsored Links
Joined: Nov 2003
Posts: 329
Beta Tester
Beta Tester
Offline
Joined: Nov 2003
Posts: 329
Top Man Top Man

Cheers Gizmo will test it later smile


BOOM 7.6.+ rocks....
Joined: Nov 2003
Posts: 329
Beta Tester
Beta Tester
Offline
Joined: Nov 2003
Posts: 329
Works like a charm the dailymotion..


BOOM 7.6.+ rocks....
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
glad to hear it. I'm going to work on the yahoo code later on when I get more time; it's really odd that they changed things around; i'm wondering what all i can shave from the embed code...


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Feb 2002
Posts: 2,286
Veteran
Veteran
Joined: Feb 2002
Posts: 2,286
Giz - you have

[description]Desctiption Data[/description]
[desc]Description Data[/description]

rather than

[description]Desctiption Data[/description]
[desc]Description Data[/desc]#

not 100% sure what this one does at the moment BTW


Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
haha, good call! Consider it updated.

Description is just a small tag which allows you to post a description of a video, basically its no different than:
Code
Description: This is the description.

Basically, it's to encourage people to post a description with their videos; as search engines cannot crawl, let alone see, the content within the flash file lol.


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Sponsored Links
Joined: Nov 2003
Posts: 329
Beta Tester
Beta Tester
Offline
Joined: Nov 2003
Posts: 329
Jesus we have code tags coming out of our hoola hoops lol

Didnt even know i had that one until you mentioned it Ian.

Keep up the good work Gizmo smile


BOOM 7.6.+ rocks....
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
Lol, yeh if you just copy down the block above you get a whole bunch of added goodies lol; though the podcast code requires the mp3 swf file (though theres a link to that in my notes). The spoiler one is heavily used by some communities; and it's a great one...


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Feb 2002
Posts: 2,286
Veteran
Veteran
Joined: Feb 2002
Posts: 2,286
Whilst I think this is great - the only problem is that most users when they make a post are totally unaware of these functions unless they are on buttons or as a drop down etc.


Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
You can craft entries for the full reply box's system, however there isn't much space to play, and adding too many items is going to make it quite full and messy looking...


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Feb 2002
Posts: 2,286
Veteran
Veteran
Joined: Feb 2002
Posts: 2,286
I know - that is why there should be an alternative - maybe a dropdown?


Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
Sure, if you know javascript go ahead... wink...


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Jan 2003
Posts: 125
Journeyman
Journeyman
Joined: Jan 2003
Posts: 125
Ouch, no props to the original YouTube mod!? tipsy

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
Originally Posted by chillin
Ouch, no props to the original YouTube mod!? tipsy
I made this about the same time as the "original" was listed here for my personal use wink...

I'm actually contemplating remaking all of mine to be xhtml valid; but that'd take too long and i'd get bored hehe.


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Nov 2003
Posts: 329
Beta Tester
Beta Tester
Offline
Joined: Nov 2003
Posts: 329
Hey ive just noticed that when members have been using this
mod YouTube its recording the hits from the embedded link.

So if your members embedd a YouTube Video
Google is picking up your site name. smile smile

e.g. - Google Result looks like this.

YouTube - Chassis with 27 litre tank engine for Rover SD1 project
4 clicks from http://www.mysite.co.uk/forums/ubbthreads.php?ub...
3 clicks from http://www.his-site.co.uk/forum/index.php?showto. ...


Extra Bonus there with the YouTube Hack smile smile
Again Nice one Gizmo


BOOM 7.6.+ rocks....
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
Lol how do you look those up mark? sounds fun :x


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Nov 2003
Posts: 329
Beta Tester
Beta Tester
Offline
Joined: Nov 2003
Posts: 329
With me changing domain names recently,
i only have a search result from google of 200

so i was just going through the 5 pages or so,
to see what was being spidered and there they were,
at about 100 ish results in smile

I guess there were about 6 diffrent ones that were listed.
Its a very popular add-on on my site the members love it.


BOOM 7.6.+ rocks....
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
I'm glad to hear it's popular! Video blogging/posting is really something that I expect to see more of in the months and years to come, can't wait to see how things develop smile


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Feb 2002
Posts: 2,286
Veteran
Veteran
Joined: Feb 2002
Posts: 2,286
My members like it - but they are a bit thick at times LOL and forget to use the features....

Maybe it is because they often use the quick reply box, so do not see these features, and indeed smilies within or near that box.

Not sure of the reason - but I used to see it used, but not any more frown


Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
Updated initial page, added -_ for all video tags (since it's becoming more and more popular, figured why the hell not), also added break.com.


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
I removed the Spoiler Tags code as I work on it on the other thread; and I added a PhotoBucket Video embed code.

If I can find a flash embedder that I'm happy with, I'll add that as well, so stay tuned.


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Feb 2007
Posts: 329
Yarp™
Yarp™
Offline
Joined: Feb 2007
Posts: 329
Originally Posted by Gizmo
Add After (choose any you wish, this is my added block from my site):

I would put things at a different spot.

You need to modify the lines a bit, but imho it should be in the "if( $type != "sig" ) {" construction just below the place you put it in now.

Because all these flash thingy includes don't belong in a signature. Just add "$regexes[] = " and replace the , at the end with a ; and it should work, I think smile

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
'eh woudln't be too hard I guess :shrug: some people may want spoilers in their sig? :shrug: you could put them in either place, would take just a couple extra lines to drop them in the no sig area


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
For my new friend Outdoorking, a Skype BBCode:
Code
array( "#\[skype\]([a-zA-Z0-9-_]+)\[/skype\]#i", '<a href="skype:\1?call"><img src="http://mystatus.skype.com/bigclassic/\1" style="border: none;" width="182" height="44" alt="My status" /></a>' ),


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Feb 2007
Posts: 329
Yarp™
Yarp™
Offline
Joined: Feb 2007
Posts: 329
At our forum we use youtube and google video.

But especially with youtube, lots of people just type in the whole url instead of just the code.

But it shouldn't be too difficult to accept a whole URL also isn't it?

My lame attempt was:

Code
			array( "#\[youtube\]http://www.youtube.com/watch?v=([a-zA-Z0-9-_]+)\[/youtube\]#i", '<object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/\1"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/\1" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object>' ),			

But regexxes is pretty new for me, so I don't know what characters I can or can't use.

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
I donno why that wouldn't work offhand, it looks sane enough; don't really have the time atm to test it, but i'll give it a shot later on.


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Nov 2003
Posts: 482
Enthusiast
Enthusiast
Offline
Joined: Nov 2003
Posts: 482
nice

Joined: Oct 2002
Posts: 105
ehm Offline
Journeyman
Journeyman
Offline
Joined: Oct 2002
Posts: 105
Great product. Work's perfect on my forum smile
thank you Gizmo smile

Joined: Nov 2003
Posts: 329
Beta Tester
Beta Tester
Offline
Joined: Nov 2003
Posts: 329
7.2X

Works fine for me smile

Qwerk?
7.1x video's would appear in the centre in a post.
7.2x Video's now appear on the left?

Anyone else or have i broke it again lol


BOOM 7.6.+ rocks....
Joined: Nov 2003
Posts: 329
Beta Tester
Beta Tester
Offline
Joined: Nov 2003
Posts: 329
Gizmo

I have an extra bit of code that isnt mentioned in your first post?
In FF if i remove this code, and click preview it show it as
tags and tube code only?

PHP Code
array( "#\[youtube\](.+?)\[/youtube\]#i", '<object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/\1"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/\1" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object>' ),




Its then i would paste the rest of your code in post 1 of this thread.
Of course i dont understand any of it just feed back wink


BOOM 7.6.+ rocks....
Joined: Nov 2003
Posts: 482
Enthusiast
Enthusiast
Offline
Joined: Nov 2003
Posts: 482
Code
array( "#\[pbucket\]([a-zA-Z0-9-_.:/]+)\[/pbucket\]#i", '<center><embed width="425" height="350" type="application/x-shockwave-flash" wmode="transparent" src="http://vid68.photobucket.com/player.swf?file=\\1"></embed></center>' ),

remove second \ after file=\, then it works

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
Mark, the reason they're not centered is because the youtube tag you're using isn't from my posting, it's from the other youtube tag posting in another thread. This should effect both of your posts.




UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Nov 2003
Posts: 329
Beta Tester
Beta Tester
Offline
Joined: Nov 2003
Posts: 329
Yep all working now wink
used ALL of the code from the first post wink

Part of my problem was a video i was testing?

OTl8ySlr4Qw&eurl

Ive no idea where the &eurl came from as in i dont know.
So that was causing me problems as it was the correct format.

With &eurl removed the extra and positioning now all works.
Centred and previewing fine wink


OTl8ySlr4Qw

I'm now using all the codes posted in the first post wink
Thanks for the reply's.


BOOM 7.6.+ rocks....
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
lol, not a problem wink... figured you'd have asked me on AIM about this vs having me stumble in half drunk


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Nov 2003
Posts: 329
Beta Tester
Beta Tester
Offline
Joined: Nov 2003
Posts: 329
On me laptop with out msn settings frown
There's always next time lol


BOOM 7.6.+ rocks....
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
Code updated to remove the additional \ in the pbucket tag which wasn't working for some users.


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
worked well on 7.2, thankie smile


- Allen wavey
- What Drives You?
Joined: Nov 2003
Posts: 482
Enthusiast
Enthusiast
Offline
Joined: Nov 2003
Posts: 482
yep, i added it all too.. btw, i have a firefox extension that i wrote to make it easy to just right click and have all the codes handy with it parsing the clipboard ..

makes it easier, while the editor hasn't all the options

i'll post it in another thread..

dunno what to call it yet laugh ubbfox ? threadsfox ? whatever wink

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
Gizmo's BBCode! lol...


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Feb 2007
Posts: 329
Yarp™
Yarp™
Offline
Joined: Feb 2007
Posts: 329
We use an alternative youtube line on themepark.nl that is w3c xhtml valid

Code
			$regexes[] = array( "#\[youtube\]([a-zA-Z0-9-_]+)\[/youtube\]#i", '<object type="application/x-shockwave-flash" style="width:425px; height:350px;" data="http://www.youtube.com/v/\1"><param name="movie" value="http://www.youtube.com/v/\1" /><param name="wmode" value="transparent"></object>');		

If you copy/paste this one, it needs to be in the if( $type != "sig" ) { section. I don't want youtube video's in signatures, that's why I put in the non signature section.

source: http://www.bernzilla.com/item.php?id=681

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
What's different in yours than mine? Mine's taken directly from the youtube site; it shouldn't be any harder to just copy the code to the nosig area.


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Feb 2007
Posts: 329
Yarp™
Yarp™
Offline
Joined: Feb 2007
Posts: 329
Originally Posted by Gizmo
What's different in yours than mine? Mine's taken directly from the youtube site;

The difference in mine is that is does not use the embad tag.

The embad tag is fine for html, but it is not part of the xhtml standard.
ubb.threads uses xhtml, so you should avoid imho if possible non xhtml code.

http://www.alistapart.com/articles/flashsatay

more reading about this.

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
Ahhh, yeh i use object tag on my corthell.net site due to embed not being in the xhtml spec; but I didn't want to rewrite all of the other tags especially since the paramaters can and will change and I didn't want to have to constantly update them for new params


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Nov 2003
Posts: 329
Beta Tester
Beta Tester
Offline
Joined: Nov 2003
Posts: 329
If you use the youtube tags its ok
if you use the myspacevideo tags its not?

This is feedback and what i mean is that the Active
Topic List goes behind the myspace videos but the
youtube ones seem fine? Even the Rate topic and the
other drop menus get hidden behind the myspacevideo video.

Its a qwerk but i thought i would mention it if ricks
throwing this into 7.3 wink


BOOM 7.6.+ rocks....
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
Could you link me to this b0ged thread? it should display the item in line in the post area as that's where it's being embedded...


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
Got your PM, I believe this is a forum issue vs one with this addon (as we're only adding BBCode); I'm curious if you could add an image with the image tag and see if the same happens...

I believe SD had a similar issue on his hopto mod with a user so I'll talk to him about it later.


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Nov 2003
Posts: 482
Enthusiast
Enthusiast
Offline
Joined: Nov 2003
Posts: 482
z-index baby ! in the tpl should do it smile

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
tried a zindex on the manage topic table (and div) and it pops behind; very odd indeed...


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Nov 2003
Posts: 482
Enthusiast
Enthusiast
Offline
Joined: Nov 2003
Posts: 482
position: abosolute on the div too wink

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
still showing behind the video wink


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
Added [flash] tags to the initial post; covered both "url only" and "height/width/url" definitions.

The tags use the object tag vs the embed tag (like the others) to ensure proper validation.


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Nov 2003
Posts: 482
Enthusiast
Enthusiast
Offline
Joined: Nov 2003
Posts: 482
Originally Posted by Gizmo
still showing behind the video wink


post it as a bug ! wink

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
Yeh, but then he'll say it's cas of the "mod" wink... But very odd none the less...


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Nov 2003
Posts: 482
Enthusiast
Enthusiast
Offline
Joined: Nov 2003
Posts: 482
lol, well, assuming that video gets embedded into future versions, this will become a 'bug'

and i'm quite sure there's a fix in properly setting up the div in the right DOM order...

i guess we can table it for now until then...

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
By table it, I assume you mean tell mark he's sol? :x


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Nov 2003
Posts: 482
Enthusiast
Enthusiast
Offline
Joined: Nov 2003
Posts: 482
dude. it's a css / html thingie.. you are the expert dude wink

so you get to tell him laugh

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
Mark, we tried everything, but unfortunately, she's dead, you're screwed... next?

lol... jk, not sure about how to fix it here atm...


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Nov 2003
Posts: 482
Enthusiast
Enthusiast
Offline
Joined: Nov 2003
Posts: 482
well, it's not a bug. you guys are doing something wrong. i have my hop to menu doing the same thing over a youtube vid..

screenie:[Linked Image]

soooooo..... where's the beef ? laugh

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
Try with a MySpaceVideo link...
Code
[myspacevideo]6827997[/myspacevideo]


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Nov 2003
Posts: 329
Beta Tester
Beta Tester
Offline
Joined: Nov 2003
Posts: 329
you tube is fine wink
its not a bug more a qwerk as it shows the video wink


BOOM 7.6.+ rocks....
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
i will agree that it's even more weird that the myspacevideo is the only tag affected :x...


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Nov 2003
Posts: 482
Enthusiast
Enthusiast
Offline
Joined: Nov 2003
Posts: 482
well, it's not a bug. you guys are doing something wrong. i have my hop to menu doing the same thing over a youtube myspace vid..

screenie:[Linked Image]

soooooo..... where's the beef ? laugh

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
lol how about the "manage topic" box big boy wink


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Nov 2003
Posts: 482
Enthusiast
Enthusiast
Offline
Joined: Nov 2003
Posts: 482
hehe, i was sayin you should do same div + css that i did with the hop to mod that is done with manage topic... sonny boy laugh

when i get back from b'day party, i will see what the diffs are.. it will be a small change, imo :neener:

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
:neener: :neener: :neener: tipsy


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Nov 2003
Posts: 329
Beta Tester
Beta Tester
Offline
Joined: Nov 2003
Posts: 329
Originally Posted by Gizmo
Mark, we tried everything, but unfortunately, she's dead, you're screwed... next?

lol... jk, not sure about how to fix it here atm...
It doesnt bother me to be honest just wanted to highlight that it was going on. wink

LiveLeak - very popular with the armed forces
Any code for those video's Sir Gizmo wink
http://www.liveleak.com/view?i=04c_1186817959

smile smile smile smile smile


BOOM 7.6.+ rocks....
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
try:
Code
			array( "#\[liveleak\]([a-zA-Z0-9_]+)\[/liveleak\]#i", '<center><object type="application/x-shockwave-flash" width="450" height="370" wmode="transparent" data="http://www.liveleak.com/player.swf?autostart=false&token=\1"><param name="movie" value="http://www.liveleak.com/player.swf?autostart=false&token=\1"><param name="wmode" value="transparent"><param name="quality" value="high"></object></center>' ),


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
added liveleak to my initial block of code since i have it working in my demo zone.


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Nov 2003
Posts: 329
Beta Tester
Beta Tester
Offline
Joined: Nov 2003
Posts: 329
Good lad Gizmo wink Thanks, i will pass on the love from my members wink


BOOM 7.6.+ rocks....
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
Originally Posted by Mark_S
Thanks, i will pass on the love from my members wink
tell them to open wide...


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
Added tags for Super Deluxe


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
added a markup panel how to to the initial posting... This will insert a graphic next to the image embed item which will drop down a list of video sites. Upon clicking the site you wish to embed from, it will prompt you for your video id and then it will ask for a description of the video as well. Will attach screens as well to the initial post.


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Nov 2003
Posts: 482
Enthusiast
Enthusiast
Offline
Joined: Nov 2003
Posts: 482
gettin better!!

giz FlexTM wink

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
:flex:™ hehe... took a good portion of my evening to figure out how to do things in javascript, and a good part of last night lol... But overall I think it's dead sexy wink...


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
I'm wondering what I should do next... Do a seperate markup panel for the search options (search engines, wiki, and froogle and several others) or what... Not sure what i should do for an image on it either lol...

Like my image? I made it myself after a boatload of trial and error lol


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
Wow, ten downloads already of the markup panel addon... Let me know what you think!


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Nov 2003
Posts: 329
Beta Tester
Beta Tester
Offline
Joined: Nov 2003
Posts: 329
working and looking good gizmo.

Feedback :

1. Its the mark up panel i know but when you finish with the
code + description in FF the drop list is in the way of the output.

2. If you dont enter a description in the box, the tags are left visible ]desc[ ]/desc[ ive reversed the braces to help.

Apart from that, i moved our prefered vids up and down in the tpl file and all is well wink

Awaiting user feedback.


BOOM 7.6.+ rocks....
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
In all honesty, your users really need to enter a description... Search engines and visually impaired users can't see the video, so the topic of the page will just be your responses... I guess I could seperate the description into its own area though at the bottom of the list... But again, I recommend that if you're going to post a video that you should post a description no matter what... Plus it's not like you can't remove the tags...

On #1 i'm not sure i get what youw ant... It loads fine for me in FireFox so I guess it's just a miss communication...

BTW, I stole the markup info from the text size box and used the doprompt script, so the behavior of the dropdown will directly reflect that of what the font type/size dropdowns work.


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Nov 2003
Posts: 329
Beta Tester
Beta Tester
Offline
Joined: Nov 2003
Posts: 329
Were used to just adding the code,
the subject of the topic normally covers any description that's required. I don't think its needed mate.

Its feedback not criticism, its one of the best mods i have installed.

If it can be edited that the "[desc]" tags don't show if nothing is entered then i say you have a solid add-on wink

but i'm glad your happy to share smile


BOOM 7.6.+ rocks....
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
Well, you could go through the js file and take out the desc options for every tag type if you want to remove the option for the description... I still stand behind the current methodology, but I'll build a seperate js addon for you since you don't want it that way.


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
Just for mark:
Code
/* Start Gizmo's Video Embedding Options */
if (action == "break") {
var thisVideo = prompt(enterVideo, "");
if (thisVideo == null){return;}

insertAtCaret(document.replier.Body, "\n[break]" + thisVideo + "[/break]\n" );
document.replier.texteditor.focus();
showHideElement('vembed', 'hide');
return;
}
if (action == "googlevideo") {
var thisVideo = prompt(enterVideo, "");
if (thisVideo == null){return;}

insertAtCaret(document.replier.Body, "\n[googlevideo]" + thisVideo + "[/googlevideo]\n" );
document.replier.texteditor.focus();
showHideElement('vembed', 'hide');
return;
}
if (action == "liveleak") {
var thisVideo = prompt(enterVideo, "");
if (thisVideo == null){return;}

insertAtCaret(document.replier.Body, "\n[liveleak]" + thisVideo + "[/liveleak]\n" );
document.replier.texteditor.focus();
showHideElement('vembed', 'hide');
return;
}
if (action == "loowavideo") {
var thisVideo = prompt(enterVideo, "");
if (thisVideo == null){return;}

insertAtCaret(document.replier.Body, "\n[loowavideo]" + thisVideo + "[/loowavideo]\n" );
document.replier.texteditor.focus();
showHideElement('vembed', 'hide');
return;
}
if (action == "myspacevideo") {
var thisVideo = prompt(enterVideo, "");
if (thisVideo == null){return;}

insertAtCaret(document.replier.Body, "\n[myspacevideo]" + thisVideo + "[/myspacevideo]\n" );
document.replier.texteditor.focus();
showHideElement('vembed', 'hide');
return;
}
if (action == "revver") {
var thisVideo = prompt(enterVideo, "");
if (thisVideo == null){return;}

insertAtCaret(document.replier.Body, "\n[revver]" + thisVideo + "[/revver]\n" );
document.replier.texteditor.focus();
showHideElement('vembed', 'hide');
return;
}
if (action == "sdeluxe") {
var thisVideo = prompt(enterVideo, "");
if (thisVideo == null){return;}

insertAtCaret(document.replier.Body, "\n[sdeluxe]" + thisVideo + "[/sdeluxe]\n" );
document.replier.texteditor.focus();
showHideElement('vembed', 'hide');
return;
}
if (action == "yahoovideo") {
var thisVideo = prompt(enterVideo, "");
if (thisVideo == null){return;}

insertAtCaret(document.replier.Body, "\n[yahoovideo]" + thisVideo + "[/yahoovideo]\n" );
document.replier.texteditor.focus();
showHideElement('vembed', 'hide');
return;
}
if (action == "youtube") {
var thisVideo = prompt(enterVideo, "");
if (thisVideo == null){return;}

insertAtCaret(document.replier.Body, "\n[youtube]" + thisVideo + "[/youtube]\n" );
document.replier.texteditor.focus();
showHideElement('vembed', 'hide');
return;
}
/* End Gizmo's Video Embedding Options */

Simply replace the section in the js file and you'll no longer be prompted for a description.


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
Updated my initial post with an alternate method for those who do not want the desc tag (though highly recommended that you use the one which does use it)


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Nov 2003
Posts: 329
Beta Tester
Beta Tester
Offline
Joined: Nov 2003
Posts: 329
Cheers Gizmo,
i'm not saying there not important, but if they auto cancelled them self out if the box was empty at the prompt would keep all happy smile

Easy to say than done i know.

The description is a nice touch, but on my forums members just throw a topic title up and embed the video end.

Thanks for the "Just for mark code" wink


BOOM 7.6.+ rocks....
Joined: Feb 2007
Posts: 329
Yarp™
Yarp™
Offline
Joined: Feb 2007
Posts: 329
Originally Posted by Mark_S
Thanks for the "Just for mark code" wink

I'm gonna give that version a go to when 7.2.2 is released! Allthough we only offer google video and youtube yet.

Joined: Nov 2003
Posts: 329
Beta Tester
Beta Tester
Offline
Joined: Nov 2003
Posts: 329
That's what i done stripped out some of the others in the .tpl file and shuffled them around and put you tube at the top wink


BOOM 7.6.+ rocks....
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
'eh I like alphabetical listing wink... So when I added SuperDeluxe (watch adult swim? it's the one they highly advertise, so it's rather large) I decided to sort them like that since there where so many video items now...



UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Dec 2006
Posts: 17
Newbie
Newbie
Offline
Joined: Dec 2006
Posts: 17
Does post 1 have the most complete update of this code all in one?

Where can I see and use this mod in operation?

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
Post #1 contains all current code and is updated on a regular basis.

As for where to see it in action My Video Studio


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Nov 2003
Posts: 482
Enthusiast
Enthusiast
Offline
Joined: Nov 2003
Posts: 482
holy crap! that theme is uber-dark... /me gets flashlight..

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
Originally Posted by sirdude
holy crap! that theme is uber-dark... /me gets flashlight..
its where the vampires lurk


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Nov 2003
Posts: 482
Enthusiast
Enthusiast
Offline
Joined: Nov 2003
Posts: 482
you need a lighter theme.. that one's kinda ghey.. shocked

Joined: Nov 2003
Posts: 329
Beta Tester
Beta Tester
Offline
Joined: Nov 2003
Posts: 329
Does anyone have a .FLV player For UBB ?

let me explain.
With the numerous sites out there that will convert your
own movies to *.flv files like what You Tube Does.

Many of my members are using these site to compress there
video's into .flv files and now are asking if our own
forums can show them, if there uploaded.

Summary
I'm after a .FLV player to work like you tube and such.
So we can show video's with the embedded screen.

Any Help or Advice Appreciated smile


BOOM 7.6.+ rocks....
Joined: Nov 2003
Posts: 482
Enthusiast
Enthusiast
Offline
Joined: Nov 2003
Posts: 482
google

1st hit

Linky Poo

Creative Commons License player Linky Dinky

how to do it in wordpress (what you'd have to do for ubbt): Ca Ching

Joined: Nov 2003
Posts: 329
Beta Tester
Beta Tester
Offline
Joined: Nov 2003
Posts: 329
Why Thank You SD smile
I got one out of 3 in may search lol..

I shall have a play with that smile
Its more for keeping Archives available and not deleted
from there source in moments of tantrums lol..

Thanks again smile


BOOM 7.6.+ rocks....
Joined: Nov 2003
Posts: 329
Beta Tester
Beta Tester
Offline
Joined: Nov 2003
Posts: 329
Seems the first one is a bit buggy.
Ca Ching flew over my head lol


Got this one to work with out too much difficulty
http://www.jeroenwijering.com/?item=JW_FLV_Player

Reading this
http://www.jeroenwijering.com/extras/readme.html


Wow just found a wizard to make it easy smile
http://www.jeroenwijering.com/extras/wizard.html

Full Reply HTML Selected
And pasting in the Embedded Code
Changing the path to the Files i uploaded
And the File on my server i want to play.

Its clunky but works,
not as simple a Gizmo's Embedded stuff but for keeping a
archive it should do me fine smile
But what do you want for free lol

Ive probably gone round the world to do something simple
if you find a easier way or not as clunky please share smile

Last edited by Mark_S; 10/19/2007 6:55 AM. Reason: added wizard link

BOOM 7.6.+ rocks....
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
you could make an embed code to utilize it wink...


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Nov 2003
Posts: 329
Beta Tester
Beta Tester
Offline
Joined: Nov 2003
Posts: 329
If i was that clever my friend i would,
but i'm not lol...

But there is a man that's ever so clever with this stuff
not a million miles away lol


BOOM 7.6.+ rocks....
Joined: Nov 2003
Posts: 482
Enthusiast
Enthusiast
Offline
Joined: Nov 2003
Posts: 482
Originally Posted by Gizmo
you could make an embed code to utilize it wink...
hehe smile

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
Lol whats the code you use to embed the file on your posts?


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Feb 2007
Posts: 329
Yarp™
Yarp™
Offline
Joined: Feb 2007
Posts: 329
We have a gizmo to make up those smile

Joined: Nov 2003
Posts: 482
Enthusiast
Enthusiast
Offline
Joined: Nov 2003
Posts: 482
yah giz, quite post whoring and get to some regexes!!

speaking of which Linky Poo <-- geeks get it laugh

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
Well, i love mark, so i'll help him out if he gets back to me wink


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Nov 2003
Posts: 329
Beta Tester
Beta Tester
Offline
Joined: Nov 2003
Posts: 329
Phew just check my e-mails and seen the "Loves mark"
well who could resist such an offer lol

Code



<embed src="http://www.mydomain.co.uk/pathtoplayer/flvplayer.swf" width="425" height="300"
type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"
flashvars="file=http://www.mydomain.co.uk/pathtomyvideo/myvideo.flv&displayheight=300" />

That's all i use Giz wink
I guess if you can come up with something then i will have a
dedicated directory for all video's smile

p.s Giz your kinda special to me too lol


BOOM 7.6.+ rocks....
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
Hi Mark
Code
			array( "#\[embed\]([a-zA-Z0-9-_]+)\[/embed\]#i", '<center><embed src="http://www.mydomain.co.uk/pathtoplayer/flvplayer.swf" width="425" height="350" 
type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"
flashvars="file=http://www.mydomain.co.uk/pathtomyvideo/\1.flv&displayheight=350" /></center>' ),

[embed]videoid[/embed]
Bye Mark wink


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Nov 2003
Posts: 329
Beta Tester
Beta Tester
Offline
Joined: Nov 2003
Posts: 329
Cheers Gizzy
Will give that a blast on the weekend if i have time.
Thanks for taking the time out smile

Will report back when up and running.


BOOM 7.6.+ rocks....
Joined: Oct 2007
Posts: 4
Lurker
Lurker
Offline
Joined: Oct 2007
Posts: 4
Nothing makes you feel more dumb than not being able to follow simple directions.. twice.

Both times a clean attempt with virgin files and still, only the code displays. Ver 7.2.2 is what we run.

Any help at all would be great, even it’s a just a pointer.

B

Joined: Oct 2007
Posts: 4
Lurker
Lurker
Offline
Joined: Oct 2007
Posts: 4

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
Could you link me to a specific post which isn't parsing data?


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Oct 2007
Posts: 4
Lurker
Lurker
Offline
Joined: Oct 2007
Posts: 4

Joined: Feb 2002
Posts: 2,286
Veteran
Veteran
Joined: Feb 2002
Posts: 2,286
access denied frown


Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)
Joined: Oct 2007
Posts: 4
Lurker
Lurker
Offline
Joined: Oct 2007
Posts: 4
Thanks Ian. I really appreciate your help. Forgot you had to register to see that forum frown

http://www.bostondancemusic.com/forum/ubbthreads.php?ubb=showflat&Number=37056#Post37056

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
Your posting the embed code, all you need is the id:
[youtube]cebkHslx5oY[/youtube]

7.3 video tags will allow you to insert the URL to the video.


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
Initial post updated to show 7.3 links of the compatibility (these codes ala 7.3's customtag editor) and the 7.3 CustomTags thread (two separate threads).


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Nov 2003
Posts: 329
Beta Tester
Beta Tester
Offline
Joined: Nov 2003
Posts: 329
This is a revelation in 7.3 i love it smile
Good work fellow Gizzz


BOOM 7.6.+ rocks....
Joined: Apr 2008
Posts: 2
Lurker
Lurker
Offline
Joined: Apr 2008
Posts: 2
Hi,

Is there any way to add autostart=false to the Flash embed for version 7.2.2?

Thanks

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
Yeh, simply take the current:
Code
			array( "#\[flash\]([0-9]+), ([0-9]+), ([a-zA-Z0-9-_.&:/]+)\[/flash\]#i", '<center><object width="\2" height="\1"><param name="movie" value="\3"></param><embed src="\3" type="application/x-shockwave-flash" width="\2" height="\1"></embed></object></center>' ),
array( "#\[flash\]([a-zA-Z0-9-_.&:/]+)\[/flash\]#i", '<center><object width="425" height="350"><param name="movie" value="\1"></param><embed src="\1" type="application/x-shockwave-flash" width="425" height="350"></embed></object></center>' ),

And change it to be:
Code
			array( "#\[flash\]([0-9]+), ([0-9]+), ([a-zA-Z0-9-_.&:/]+)\[/flash\]#i", '<center><object width="\2" height="\1"><param name="movie" value="\3"></param><param name="autostart" value="false"></param><embed src="\3" type="application/x-shockwave-flash" width="\2" height="\1"></embed></object></center>' ),
array( "#\[flash\]([a-zA-Z0-9-_.&:/]+)\[/flash\]#i", '<center><object width="425" height="350"><param name="movie" value="\1"></param><param name="autostart" value="false"></param><embed src="\1" type="application/x-shockwave-flash" width="425" height="350"></embed></object></center>' ),

The param addition should do the job for you smile.


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Apr 2008
Posts: 2
Lurker
Lurker
Offline
Joined: Apr 2008
Posts: 2
Thanks!

Page 1 of 4 1 2 3 4

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)