PDA

View Full Version : Single Tag vB Code...


cbn
07-15-2002, 01:26 PM
Would it be possible for a hack to allow the creation of custom vB codes where and [/ending] tag is not required, only a [start] tag?

You may ask, why not use a replacement? As we need the [tag] to be displayed instead of the rendered code when editing posts.

If someone could make this hack, please please let me know!

Please email me! (dave@cmgn.cc)

Thanks! :p

Logician
07-15-2002, 02:03 PM
if you omit the ending tag, how is the script supposed to know where your tag ends and non-tag lines begin then?

Xenon
07-15-2002, 02:43 PM
you can make a new replacement and enable replacements in posts, look how: here (https://vborg.vbsupport.ru/showthread.php?s=&threadid=35894)

cbn
07-15-2002, 05:15 PM
I'm still confused.

I need to be able to use a [tag] of some sort so that whenever I edit a post, the [tag] code is there instead of the replacement HTML code.

Say I create a replacement:

[dad] => <a href="http://www.commanderbond.net/Categories/9.html">Die Another Day</a>

So, I then post a topic:

Check out the lastest Bond news here at [dad]

Say I want to then edit the post, at the moment, all I get is:

Check out the lastest Bond news here a <a href="http://www.commanderbond.net/Categories/9.html">Die Another Day</a>

How can I get it to display:

Check out the lastest Bond news here at [dad]

...when editing a post...?

Xenon
07-15-2002, 07:29 PM
yes i know, thats the probleme with the replacement vars.

you have another possibility: download fireflys /me hack, and change the /me to for example [dad] and the replacement for /me to what ever you want, that'll do the trick, but you have to change the code from him, so if you can do so.... ;)