PDA

View Full Version : How do i make a custom url bb code for signatures?


DR AUTONAMUS
08-11-2008, 07:18 PM
OK How do i make a custom url bb code?

we have the URL bb code turned off for signatures as we don't want advertising but we want to be able for out members to be able to put likes to there tutorials on our site in there signatures.

So just to clarify what i want to know is it possible to make it so only urls to outr site are allowed in signatures.

Example.
www.our-site.com/forums/there-post.html
Making this one work and be allowed

But this not
www.not-out-site.com/forums

DR AUTONAMUS
08-13-2008, 11:03 PM
Anyone?

Spank
08-14-2008, 12:36 AM
You could set it up like this
Go to AdmincCP. Custom BB Codes> Add new BB Code>

Then insert the following:

Title: Anything you want
BB Code Tag name: Whatever you want to be the tag eg
Replacement: <a href="http://www.example.com/forums/{option}">{param}</a>
Example: [URL2=their-post.html] Their Post
Description: Post internal links, copy everything after forums/ and inser into the tag.
Use {option}: Yes

All the other options are optional.


Hope this helps.

DR AUTONAMUS
08-14-2008, 02:23 PM
Is it possible to replace this with the current URL BB Code?

Spank
08-14-2008, 04:17 PM
If there is a way, I don't know about it.