Code: Select all
[godtube]http://www.godtube.com/watch/?v={TEXT}[/godtube]
Code: Select all
<object height="340" width="560" type="application/x-shockwave-flash" data="http://www.godtube.com/resource/mediaplayer/5.3/player.swf"><param name="movie" value="http://www.godtube.com/resource/mediaplayer/5.3/player.swf"><param name="allowfullscreen" value="true"><param name="allowscriptaccess" value="always"><param name="wmode" value="opaque"><param name="flashvars" value="file=http://www.godtube.com/resource/mediaplayer/{TEXT}.file&image=http://www.godtube.com/resource/mediaplayer/{TEXT}.jpg&screencolor=000000&type=video&autostart=true&playonce=true&skin=http://www.godtube.com//resource/mediaplayer/skin/carbon/carbon.zip&logo.file=http://media.salemwebnetwork.com/godtube/theme/default/media/embed-logo.png&logo.link=http://www.godtube.com/watch/%3Fv%3D{TEXT}&logo.position=top-left&logo.hide=false&controlbar.position=over"></object>
Code: Select all
[godtube]Video URL[/godtube]
Silly question, but did you create the custom BBCode via your admin panel to actually all this to work?lonleyinml wrote:I am an admitted noob at this I have studied all the bb code refrences i can find and when i put this code in my site in a announcement or any whwew else that allows bb code it will not centerand I see the [center] tags in the text pls help
[center]text[/center]
This code is glitchy for me as in if the url I want to open in a new window has non-simple characters it simply won't work. Simple url's do. ... I have a feeling it is because of instead of using TEXT I used SIMPLETEXT (because phpBB would not let me use TEXT due to security reasons). What other term could be used instead that would allow any link to be put in? But then I realized wait that doesn't make sense neither as the url part I have kept as URL ..Groundy wrote:This is handy code for opening links in a new window
BBcodeHTMLCode: Select all
[external={URL}]{TEXT}[/external]
Help lineCode: Select all
<a href="{URL}" target="_blank">{TEXT}</a>
Code: Select all
External URL links are re-directed to a new window
This an example how you use itCode: Select all
[external=link]link title[/external]
Code: Select all
[external={URL}]{SIMPLETEXT}[/external]
Code: Select all
<a href="{URL}" target="_blank">{SIMPLETEXT}</a><img src="http://i.imgur.com/lZGnK.gif">
Code: Select all
External URL links are re-directed to a new window [External=http://url]Go to Link[/External]
Works great Thanks againHippie459MN wrote:For GodTube, Try this...
BBCode Usage:HTML ReplacementCode: Select all
[godtube]http://www.godtube.com/watch/?v={TEXT}[/godtube]
Adjust the object Height and Width to suit your needs if you want. That size worked best on my site during testing.Code: Select all
<object height="340" width="560" type="application/x-shockwave-flash" data="http://www.godtube.com/resource/mediaplayer/5.3/player.swf"><param name="movie" value="http://www.godtube.com/resource/mediaplayer/5.3/player.swf"><param name="allowfullscreen" value="true"><param name="allowscriptaccess" value="always"><param name="wmode" value="opaque"><param name="flashvars" value="file=http://www.godtube.com/resource/mediaplayer/{TEXT}.file&image=http://www.godtube.com/resource/mediaplayer/{TEXT}.jpg&screencolor=000000&type=video&autostart=true&playonce=true&skin=http://www.godtube.com//resource/mediaplayer/skin/carbon/carbon.zip&logo.file=http://media.salemwebnetwork.com/godtube/theme/default/media/embed-logo.png&logo.link=http://www.godtube.com/watch/%3Fv%3D{TEXT}&logo.position=top-left&logo.hide=false&controlbar.position=over"></object>
Help Line:Hope that helps. Worked perfect on my test site.Code: Select all
[godtube]Video URL[/godtube]
Not sure how he did it but I was thinking that should not be too hard and I didn't see anyone answer you and I was wondering myself. So I made my first attempt at this (as I am new to phpBB except for helping another admin run his site because of a spam problem) and I tested it and it works for me:clothes_w wrote:Can anybody tell me how to make this Image Resize BBcode? Thanks!
http://www.youtube.com/watch?v=-VDiFcQyzfM
Code: Select all
[imgw={NUMBER}]{URL}[/imgw]
Code: Select all
<img width="{NUMBER}" src="{URL}">
Code: Select all
Image Width: [imgw=460]http://i.imgur.com/eALWN.gif[/imgw]
I wouldnt even bother with doing it that way. There are plenty of image resize mods that will resize images automatically then you can click the images to view them full size. I use an image resizing mod on all of my forums and its alot easier. I think so anyways.kabo0m wrote:Not sure how he did it but I was thinking that should not be too hard and I didn't see anyone answer you and I was wondering myself. So I made my first attempt at this (as I am new to phpBB except for helping another admin run his site because of a spam problem) and I tested it and it works for me:clothes_w wrote:Can anybody tell me how to make this Image Resize BBcode? Thanks!
http://www.youtube.com/watch?v=-VDiFcQyzfM
BBCode usage:HTML replacement:Code: Select all
[imgw={NUMBER}]{URL}[/imgw]
Help line:Code: Select all
<img width="{NUMBER}" src="{URL}">
Please feel free to improve on this as this was my first attempt and I don't know how to make the button say something better other than imgw= without effecting the code.Code: Select all
Image Width: [imgw=460]http://i.imgur.com/eALWN.gif[/imgw]
First, using {TEXT} where indicated shouldn't cause a security warning. I just tried it on my board and didn't get one.kabo0m wrote:This code is glitchy for me as in if the url I want to open in a new window has non-simple characters it simply won't work. Simple url's do. ... I have a feeling it is because of instead of using TEXT I used SIMPLETEXT (because phpBB would not let me use TEXT due to security reasons). What other term could be used instead that would allow any link to be put in? But then I realized wait that doesn't make sense neither as the url part I have kept as URL ..
Pony99CA wrote:First, using {TEXT} where indicated shouldn't cause a security warning. I just tried it on my board and didn't get one.kabo0m wrote:This code is glitchy for me as in if the url I want to open in a new window has non-simple characters it simply won't work. Simple url's do. ... I have a feeling it is because of instead of using TEXT I used SIMPLETEXT (because phpBB would not let me use TEXT due to security reasons). What other term could be used instead that would allow any link to be put in? But then I realized wait that doesn't make sense neither as the url part I have kept as URL ..
Second, have you tried one of the "glitchy" URLs with the standard phpBB URL tag? Does it correctly go to the URL entered? Regardless, you might want to post one of the URLs here so we can see it. That's what the problem seems to be, not the BBCode itself.
Another thing to try is putting both the EXTERNAL and URL BBCodes in a post with the same URL, doing a Preview, and then viewing the source in your browser. See if the HTML still shows both URLs correctly.
Steve
{TEXT}kabo0m wrote:Oh .. is it because the text I am putting where it says simpletext has other characters in it? Is that why it isn't working?
I had small links working yesterday but today even a test link to google isn't working and I don't know why. Looking at the source revealed nothing ..
Okay I think I am onto something there .. what should I use instead of simpletext? Identifier??
It's definitely possible -- see my table tags.nigel barnard wrote:would really find table code handy for my forum
if possible.