Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Aiheen aloitti: edi67 - maaliskuu 11, 2009, 05:55:04 AP

Otsikko: How make link posted not active?
Kirjoitti: edi67 - maaliskuu 11, 2009, 05:55:04 AP
I made one button BBC code for create one table around links posted in topic ( look screenshot ) but i want that links remain NOT Active, i means links posted are not clickable, now if you go under the link you can click it, i want the same thing that TAG CODE do when somebody post links, in TAG CODE them are not active and i want same
somebody can help me?

thx
Otsikko: Re: How make link posted not active?
Kirjoitti: Anakin_holland - maaliskuu 11, 2009, 07:42:11 AP
The function of a URL can be disabled by using tags nobbc and /nobbc:

[nobbc]http://www.simplemachines.org/community/index.php[/nobbc]

will result in

http://www.simplemachines.org/community/index.php

It's not active, not clickable.
Otsikko: Re: How make link posted not active?
Kirjoitti: edi67 - maaliskuu 11, 2009, 08:15:31 AP
Lainaus käyttäjältä: Anakin_holland - maaliskuu 11, 2009, 07:42:11 AP
The function of a URL can be disabled by using tags nobbc and /nobbc:

[nobbc]http://www.simplemachines.org/community/index.php[/nobbc]

will result in

http://www.simplemachines.org/community/index.php

It's not active, not clickable.

not work i try to insert that before the content of my bbc code but not work, links are not active now but appear this look screenshot

Otsikko: Re: How make link posted not active?
Kirjoitti: fotografo74 - maaliskuu 11, 2009, 11:41:07 AP
Ciao Edi.
Forse devi mettere i tags in ciascun link, non un unico tag per tutti.

Hi Edy.
Maybe you must insert tag link by link, not only one tag for all links.

Antonio
Otsikko: Re: How make link posted not active?
Kirjoitti: Anakin_holland - maaliskuu 11, 2009, 01:02:46 IP
I don't know the code-insertion-code, but maybe you can remove the [url=]  [/url] ?

This will leave you with just the http-link, etc?
Otsikko: Re: How make link posted not active?
Kirjoitti: edi67 - maaliskuu 11, 2009, 06:46:23 IP
Lainaus käyttäjältä: fotografo74 - maaliskuu 11, 2009, 11:41:07 AP
Ciao Edi.
Forse devi mettere i tags in ciascun link, non un unico tag per tutti.

Hi Edy.
Maybe you must insert tag link by link, not only one tag for all links.

Antonio

thx but this is not one good solution ;) i will try to solve as the code TAG
Otsikko: Re: How make link posted not active?
Kirjoitti: Rumbaar - maaliskuu 21, 2009, 08:08:33 IP
In the custom BBC code you've created, take a look at how the 'code' BBC tags work.  They post 'unlinked' URLs when used.
Otsikko: Re: How make link posted not active?
Kirjoitti: edi67 - maaliskuu 22, 2009, 01:21:21 IP
Lainaus käyttäjältä: Rumbaar - maaliskuu 21, 2009, 08:08:33 IP
In the custom BBC code you've created, take a look at how the 'code' BBC tags work.  They post 'unlinked' URLs when used.

how i could make this ? how i can create unlinked urls ? please help me
Otsikko: Re: How make link posted not active?
Kirjoitti: Rumbaar - maaliskuu 22, 2009, 04:59:56 IP
What is the code you've currently used to create that custom BBC?
Otsikko: Re: How make link posted not active?
Kirjoitti: edi67 - maaliskuu 22, 2009, 06:10:51 IP
Lainaus käyttäjältä: Rumbaar - maaliskuu 22, 2009, 04:59:56 IP
What is the code you've currently used to create that custom BBC?

i sent you PM
Otsikko: Re: How make link posted not active?
Kirjoitti: Rumbaar - maaliskuu 22, 2009, 06:12:56 IP
Well try adding the following to the bbc array, taken from the 'code' bbc array.
'type' => 'unparsed_content',
Otsikko: Re: How make link posted not active?
Kirjoitti: edi67 - maaliskuu 22, 2009, 06:33:51 IP
Lainaus käyttäjältä: Rumbaar - maaliskuu 22, 2009, 06:12:56 IP
Well try adding the following to the bbc array, taken from the 'code' bbc array.
'type' => 'unparsed_content',

oh damn, if i add that voice everything not show, i means that the content is not showed, nothing i can see, links, window nothing, that parameters make hidden the content
Otsikko: Re: How make link posted not active?
Kirjoitti: Rumbaar - maaliskuu 22, 2009, 07:20:28 IP
You'll have to change the way you've created the bbc code, from 'before' & 'after' to content, and perform the formatting of the posted data within that array entry.