Page 1 of 2

bbcode application

Posted: 12 Jul 2010, 11:56
by Galandas
I'm making a bbcode, can include more than one URL ?

example

[play]{URL}{URL}{URL}[/play] and wrong way ..............put right?

Re: bbcode application

Posted: 12 Jul 2010, 12:03
by KukY13
Galandas wrote:I'm making a bbcode, can include more than one URL ?

example

[play]{URL}{URL}{URL}[/play] and wrong way ..............put right?
You can place more URLs. But you have to number them, like this:

Code: Select all

{URL1},{URL2},{URL3}...
Hope I helped you...

Re: bbcode application

Posted: 12 Jul 2010, 12:18
by Galandas
ok you have been very helpful, also can you tell me how to insert html right :?:

I have tried but so wrong.
<a href="{URL1},{URL2},{URL3}"</a> :?

Re: bbcode application

Posted: 12 Jul 2010, 12:21
by KukY13
First tell me what are you trying to achieve using that code.
Then I can help you.

Re: bbcode application

Posted: 12 Jul 2010, 12:28
by Galandas
KukY13 » 12 Jul 2010, 12:21 wrote:First tell me what are you trying to achieve using that code.
Then I can help you.


I'm certainly trying to make a bbcode that allows me to put three links.

Re: bbcode application

Posted: 12 Jul 2010, 12:32
by KukY13
Galandas » 12 Jul 2010, 12:28 wrote:I'm certainly trying to make a bbcode that allows me to put three links.
How? So there is only one link, but when clicked on all 3 links open?

Re: bbcode application

Posted: 12 Jul 2010, 12:40
by Galandas
no
example

I want this result

example1,examplettt,examplecc

Re: bbcode application

Posted: 12 Jul 2010, 12:45
by KukY13
Galandas » 12 Jul 2010, 12:40 wrote:no
example

I want this result

example1,example2,example3
Why don't you just use multiple URL tags, like you do in the example?

About the code: Use 3 diffrent anchor tags. Like this:

Code: Select all

<a href="{URL1}">{TEXT1}</a>, <a href="{URL2}">{TEXT2}</a>, <a href="{URL3}">{TEXT3}</a>

Re: bbcode application

Posted: 12 Jul 2010, 12:53
by Galandas
because the bbcode, more soon

anyway thanks :thumb:

Re: bbcode application

Posted: 12 Jul 2010, 13:47
by cisco007
i don't see the point in creating a bbcode like this, it will take the same time to just use the standard url bbcode and insert the links manually! just like you did in a previous post!