Page 4 of 267

Re: Custom BBCodes

Posted: Fri Sep 21, 2007 3:46 pm
by oglach
Marshalrusty wrote:
oglach wrote:when i add videos, in the post when viewing it shows up the tags and link aswell as the video?
Is that a question, or are you stating that's what happens? If properly done, that shouldn't happen.
Question sorry,
ive done it on all these bbcodes and its happening. The Windows Media player worked a treat, but the others keep showing link add and tags,

Re: Custom BBCodes

Posted: Sat Sep 22, 2007 12:13 am
by siadam
Kick ass codes...

Much appreciated!!

8-)

Re: Custom BBCodes

Posted: Sat Sep 22, 2007 2:51 am
by Marshalrusty
oglach wrote:
Marshalrusty wrote:
oglach wrote:when i add videos, in the post when viewing it shows up the tags and link aswell as the video?
Is that a question, or are you stating that's what happens? If properly done, that shouldn't happen.
Question sorry,
ive done it on all these bbcodes and its happening. The Windows Media player worked a treat, but the others keep showing link add and tags,
Can you take a screenshot of what you're entering in the administration panel for a code that's doing this?

What version of phpBB3 are you running? Do you have any MODs installed?

Re: Custom BBCodes

Posted: Sat Sep 22, 2007 3:57 am
by d3ad
yeah same problem i couldn't make it work. i just get [youtube]http://youtube.com/watch?v=8-8nkkOA_AM[/youtube]

Re: Custom BBCodes

Posted: Sat Sep 22, 2007 4:49 am
by Marshalrusty
d3ad wrote:yeah same problem i couldn't make it work. i just get [youtube]http://youtube.com/watch?v=8-8nkkOA_AM[/youtube]
That's not the same problem ;)

Although I'll ask you to do the same thing:
Marshalrusty wrote:Can you take a screenshot of what you're entering in the administration panel for a code that's doing this?

What version of phpBB3 are you running? Do you have any MODs installed?

Re: Custom BBCodes

Posted: Sat Sep 22, 2007 1:33 pm
by Wou[$]eR
Nice topic I will post my BB-codes later this day

Re: Custom BBCodes

Posted: Sat Sep 22, 2007 4:03 pm
by dumdum1974
d3ad wrote:yeah same problem i couldn't make it work. i just get [youtube]http://youtube.com/watch?v=8-8nkkOA_AM[/youtube]
You should put full URL try like this

Code: Select all

[youtube]http://www.youtube.com/watch?v=8-8nkkOA_AM[/youtube]
it work with me together with www. not only http:// or just www. needs to be like you see in code above full URL. ;)

Re: Custom BBCodes

Posted: Sun Sep 23, 2007 7:29 pm
by Mishkin
Here's a simple strikethrough bbcode I use:

BBcode:

Code: Select all

[strike]{text}[/strike]
Html replacement:

Code: Select all

<div style="text-decoration:line-through; display:inline;">{text}</div>

Re: Custom BBCodes

Posted: Sun Sep 23, 2007 7:50 pm
by ~Ivy
madd74 wrote:Do you really mean that? For that is simple code... I am not sure if you know this and are being funny or you are raelly hoping someone would post it :)
I really am hoping someone would post it. I don't know how to make it myself. Am I supposed to be embarrased now? :|

Re: Custom BBCodes

Posted: Sun Sep 23, 2007 9:03 pm
by diabolus07
Is it possible to make a custom BBCode that will display an image as a hyperlink AND resize the image at the same time? For example, the image in the code below is 537px wide, but my forum is only set up to allow 500px max width, and I DO NOT want to upload it as an attachment and I DO NOT want to just post a link to it.

Could I make a BBCode that will replace the following HTML? :

Code: Select all

<a href="http://nougatpowered.net/monster.jpg" width="500"><img src="http://nougatpowered.net/monster.jpg"></a>
I tried a few things but could not get it to do what I want. Any suggestions?
Thanks.

Re: Custom BBCodes

Posted: Tue Sep 25, 2007 11:16 am
by ilchmanpetr
Good morning
Much please about reinforcing and about counsel I don't know English so Shall I text translated translator need advise st. to how get to the benefit on his forum HTML code by the help of BBCODE is that a important so I hope that someone will advise

Here's that HTML code
----------------------------------------------------------------------
<script type="text/javascript" src="swfobject.js"></script>
<div id="flashcontent">Form</div>
<script type="text/javascript">
var so = new SWFObject("myform.swf", "myform.xml", "350", "350", "7,0,0,0", "#ffffff");
so.addParam("classid", "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000");
so.addParam("quality", "high");
so.addParam("scale", "noscale");
so.addParam("salign", "lt");
so.addParam("FlashVars", "xmlfile=myform.xml&w=350&h=350");
so.write("flashcontent");
</script>
----------------------------------------------------------------------------------------------------------

Thank you much Gebls geblsebls.com icq 207782921

Re: Custom BBCodes

Posted: Wed Sep 26, 2007 5:39 am
by eskilozzy
This is for posting song from radioblogclub.com

BBCODE:

Code: Select all

[radioblog]<embed type="application/x-shockwave-flash"  src="http://stat.radioblogclub.com/radio.blog/skins/mini/player.swf" allowScriptAccess="always" width="180" height="23"  bgcolor="#ECECEC"  id="radioblog_player_1"  FlashVars="id=1&filepath=http://www.radioblogclub.com/listen?u={TEXT}&cover=1&crossfader=1&replay=1&colors=body:#ECECEC;border:#BBBBBB;button:#999999;player_text:#999999;playlist_text:#666666;new_tracks:#000000;"></embed>[/radioblog]
HTML:

Code: Select all

<embed type="application/x-shockwave-flash"  src="http://stat.radioblogclub.com/radio.blog/skins/mini/player.swf" allowScriptAccess="always" width="180" height="23"  bgcolor="#ECECEC"  id="radioblog_player_1"  FlashVars="id=1&filepath=http://www.radioblogclub.com/listen?u={TEXT}&cover=1&crossfader=1&replay=1&colors=body:#ECECEC;border:#BBBBBB;button:#999999;player_text:#999999;playlist_text:#666666;new_tracks:#000000;"></embed>
Now pickup a song, copy&paste the code to use it in a BLOG ( right side ). and use it like this

Code: Select all

[radioblog]<embed type="application/x-shockwave-flash"  src="http://stat.radioblogclub.com/radio.blog/skins/mini/player.swf" allowScriptAccess="always" width="180" height="23"  bgcolor="#ECECEC"  id="radioblog_player_0"  FlashVars="id=0&filepath=http://www.radioblogclub.com/listen?u=.8yck5WdvN3LyZmLlVmcm5SYrNXdyVHb/Slayer%2520-%2520Raining%2520Blood.rbs&colors=body:#ECECEC;border:#BBBBBB;button:#999999;player_text:#999999;playlist_text:#999999;"></embed>[/radioblog] 
I hope you like it, this is my first bbcode. :?

Re: Custom BBCodes

Posted: Thu Sep 27, 2007 1:19 am
by Mishkin
diabolus07 wrote:Is it possible to make a custom BBCode that will display an image as a hyperlink AND resize the image at the same time? For example, the image in the code below is 537px wide, but my forum is only set up to allow 500px max width, and I DO NOT want to upload it as an attachment and I DO NOT want to just post a link to it.

Could I make a BBCode that will replace the following HTML? :

Code: Select all

<a href="http://nougatpowered.net/monster.jpg" width="500"><img src="http://nougatpowered.net/monster.jpg"></a>
I tried a few things but could not get it to do what I want. Any suggestions?
Thanks.
Yes I got this to work though I didn't bother to put in the html to resize it:

bb code:

Code: Select all

[imgurl={text1}]{text2}[/imgurl]
html replacement:

Code: Select all

<a href="{text1}"><img src="{text2}" /></a>

Re: Custom BBCodes

Posted: Fri Sep 28, 2007 3:38 am
by lsearcy
Is it possible to use a bbcode to create multiple lines in a topic?

ex. some of my topics always start with date, project, details then a link formatted as such...

Code: Select all

[b]Date:[/b]
[b]Project:[/b]
[b]Details:[/b]

[url]Link[/url]
I would like all this to be set up when i hit the [files] button right up there with the rest, is the possible?
Or would this be better done by some sort of a template? but i wouldn't know where to start. please help.

Re: Custom BBCodes

Posted: Fri Sep 28, 2007 4:01 am
by lsearcy
I was trying to use this but as you might guess only places the text after the post, i need it in the post for me to add the information to.

[File]{SIMPLETEXT}[/File]
________________________________________

<div style="font-weight:bold">Date:</div>
<div style="font-weight:bold">Project:</div>
<div style="font-weight:bold">Details:</div>

<a href="http://www.hadcinc.com/order.htm"><b>Order Copies<b/></a>
any suggestions?