Custom BB Code

Started by Anguz, November 12, 2004, 05:35:27 AM

Previous topic - Next topic

theantidote

I have this working successfully on 1.0. You will have to install it all by hand, the installer doesn't work.

huijaa

how do?

I can't even install FasterParserCode 1.04 for "SMF 1.0". But if succesful i can continue with Custom BB Code.

Dovenforum Nederland -- a forum for deaf people in the Netherlands --

theantidote

Do it all by hand, the old mod files don't work with 1.0. Get subs.php from your sources directory and anything else you need and start working. Just download the archives, exract them, and open the .mod files with wordpad. DONT USE NOTEPAD! It mangles the php structure. Do exactly what it says in the .mod file and your fine.

Jerry

Quote from: theantidote on January 04, 2005, 05:06:38 PM
I have this working successfully on 1.0. You will have to install it all by hand, the installer doesn't work.
If you look at the package-info.xml carefully you can edit it so that it can install on SMF 1.0 ;) But its always best to wait for the mod authors to update the mod.


- Jerry
Find me on:
Facebook
Twitter
PlanetSMF

"If all you look for is the negative in things, you will never see the positive."

Atomsk

Google BBcode ->

CODE :
google <a href="http://www.google.com/search?q=$1" target="_blank">$1</a>

USE :
[google][/google]

This Custom BB Code MOD -> RLZ!!!

Squeakypants

#45
That google thing is kinda cool

I hate installin mods by hand, too much risk (I did it with another mod, i think it was the shop one, and i did it right but it took to long, even if I am a web programmer). Any time it will work in  1.0.1? (i mean through teh package manager)

also, would this work?
$1 <$1>$2</$1>

one more thing, where is the forum settings? do you mean "Edit Features and Options"?

Anguz

1.01


  • Updated for SMF 1.0.1
Cristián Lávaque http://cristianlavaque.com

Anguz

Quote from: Squeakypants on January 24, 2005, 09:35:13 PM
would this work?
$1 <$1>$2</$1>

I'm not sure I understand what you want to do.

Quote
one more thing, where is the forum settings? do you mean "Edit Features and Options"?

Yes.
Cristián Lávaque http://cristianlavaque.com

maufonseca

This will work in all the Themes or only in the Default one?

maufonseca

#49
I alredy Intalled it, and yeah, It works in other themes, but i dont know alot about code, so can anyone tell me how to make some cool tags  :D  maybe a list of diferent codes that can be installed

* maufonseca loves custom BBCode tags

Brett Patterson

Hey guys.  I'm kinda new to the whole write your own bbcode tags.  Lookin for some help.

Could someone point me in the right direction to either create a mod or custom BB tag for Macromedia ActionScript highlighting?

It would basically be highlighted code with some pre-defined vars.  The code tag exists for other boards, but I can't find it (or it's tough to get a hold of).

Thanks.

~Brett

Brett Patterson

QuoteWikipedia Search
wiki <a href="http://en.wikipedia.org/wiki/$1 [nofollow]" target="_blank">$1</a>
[wiki]Search_Term(s)[/wiki]

eBay Search
ebay <a href="http://search.ebay.com/$1 [nofollow]" target="_blank">$1</a>
[ebay]Search_Term[/ebay]

Amazon.com [nofollow]
amazon <a href="http://www.amazon.com/exec/obidos/external-search/103-2098341-7480628?field-keywords=$1 [nofollow]" target="_blank">$1</a>
[amazon]Search_Term[/amazon]

Current Weather
weather <a href="http://www.weather.com/weather/local/$1 [nofollow]" target="_blank">$1</a>
[weather]ZipCode[/weather]
Use the previous code as [weather]21250[/weather] Zipcode ONLY

That is basically all of what you can find in the Mozilla Firefox 1.0 integrated search (with some extras, and repeats excluded).

This is just to help people.  Some are useless (weather) but still fun and easy!!

~Brett

Anguz

Atomsk and Brett, thank you for those tags. :)

In fact, I've had this idea for a tag similar to those that'd be more or less like this:

[shortcut=google]keyword[/shortcut]

There'd be some default ones, but more could be added in the admin area. The problem I have is I still haven't found a good name for that tag, "shortcut" is just for the example. I thought maybe "link" but am not sure yet.
Cristián Lávaque http://cristianlavaque.com

Tony Reid

Custom tag that looks up a meaning to a word from on answers.com

about <a href="http://www.answers.com/main/ntquery?s=$1" target="_blank">$1</a>

usage:

[about]purple[/about]

results in purple




Can I reccomend that the text area be expanded as wide as possible in the next version :)

Thanks for the great mod Anguz!

Tony Reid

gor

new version out yet for smf 1.0.2? i upgraded my forum and this and the two mods needed to install custom bbcode were no longer useful  >:(

any help is appreciated

Anguz

Cristián Lávaque http://cristianlavaque.com

Anguz

1.02


  • Updated for SMF 1.0.2.
Cristián Lávaque http://cristianlavaque.com

Squeakypants

Quote from: Anguz on January 29, 2005, 08:21:24 AM
Quote from: Squeakypants on January 24, 2005, 09:35:13 PM
would this work?
$1 <$1>$2</$1>

I'm not sure I understand what you want to do.

To make it so you can do anything in html in bbcode. For example, with this you could do [strong]blah[/strong] and it should read it as <strong>blah</strong>

Anguz

You may be able to do it, although not exactly the way you wrote it, but do you realize that it could empower anyone in your forum to use dangerous code?
Cristián Lávaque http://cristianlavaque.com

Waste

#59
How could I make the text area in the admin area larger?
Getting kinda hard to weed through the code in such a small window.


Nevermind.
Figured it out myself.

Advertisement: