News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Custom BB Code

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

Previous topic - Next topic

Anguz

Link to Mod

Requires FasterParsecode and ModSettingsTextarea to be installed first.
http://mods.simplemachines.org/index.php?mod=39
http://mods.simplemachines.org/index.php?mod=47

This mod will let you create your own BB code tags in the forum settings area. It does tags without attributes. Click on the [?] next to the setting for more information on how to do it.
      
Copyright 2004 by Cristian Lavaque. http://anguz.net
Cristián Lávaque http://cristianlavaque.com

Jerry

I installed this mod on my board and its terrific, the only thing I didn't like about it is you have to put everything in one box. Maybe something like the board news page would be good for the bbcode? thanks :) I am just happy to have this box now.


- Jerry
Find me on:
Facebook
Twitter
PlanetSMF

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

codenaught

Great mod!  :D This should make it quite a bit easier to add bbcode! I hope many people give out cool html codes to convert to BBcode so we can put them into that box.  ;)
Dev Consultant
Former SMF Doc Coordinator

Anguz

Glad you liked it ;)

Yeah, that's not a bad idea. You guys could use this topic to post the tags you create with the mod. :)
Cristián Lávaque http://cristianlavaque.com

Anguz

#4
Here's a couple of screenshots.
Cristián Lávaque http://cristianlavaque.com

[darksteel]




Luis "[darksteel]" Alvarado.
Spanish Support
¿Qué es el repair_settings?
No doy soporte por PM, publica tu duda en el foro y tendras respuestas mas rapidas.
My forum:
www.caamboard.com

Jerry

I have one other question is it possible to use more than one number? the $1's

like
stream <embed height="$1" width="$2" src="$3" autostart="true"></embed> or would I just use $1 if possible at all?


- Jerry
Find me on:
Facebook
Twitter
PlanetSMF

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

Anguz

#7
Quote from: Jerry on November 12, 2004, 06:59:29 PM
I have one other question is it possible to use more than one number?

Quote from: Anguz
It does tags without attributes.

I do have the code written for that already, though, but I have to figure out a couple of things before releasing it. For the example you gave, it could written like this


stream_w_h <embed src="$3" width="$1" height="$2" /><noembed>$3</noembed>


the tag would look like this


[stream w="100" h="100"]http://example.com/movie.mov[/stream]


but like I said, it's not in this version. Probably soon, stay tuned. ;)

PS: The embed tag has been deprecated in HTML 4.0 in favor of the object element, iirc.
Cristián Lávaque http://cristianlavaque.com

Jerry

thanks for the embed/object info :), I cannot wait for the next versions of this mod. You are gr8 :)


- Jerry
Find me on:
Facebook
Twitter
PlanetSMF

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

ryanbsoftware

I installed this mod for someone but now got a blank screen, i installed it manually because the package manager dosen't work with the host.

Anguz

And after doing it by hand it worked?
Cristián Lávaque http://cristianlavaque.com

ryanbsoftware

no it didn't i just get a blank screen when going to the site now.

Anguz

Hmm... well, that's odd, did you change something else? I don't know how this mod could be causing that. Did you install the FasterParsecode and ModSettingsTextarea ones first? Did you try uninstalling the mod to see if the blank page problem goes away?
Cristián Lávaque http://cristianlavaque.com

ryanbsoftware

Quote from: Anguz on November 18, 2004, 11:11:39 PM
Hmm... well, that's odd, did you change something else? I don't know how this mod could be causing that. Did you install the FasterParsecode and ModSettingsTextarea ones first? Did you try uninstalling the mod to see if the blank page problem goes away?

i undertand you are trying to help me but obviously i know how to read and follow directions and uninstalling it would fix the problem as it was an unmodified version of RC2 until this, and i made the edits exactly as stated in the .mod files.

Jerry

Did you install the other 2 mods required by this mod (just asking)


- Jerry
Find me on:
Facebook
Twitter
PlanetSMF

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

Anguz

Quote from: ryanbsoftware on November 19, 2004, 12:40:51 AM
i undertand you are trying to help me but obviously i know how to read and follow directions and uninstalling it would fix the problem as it was an unmodified version of RC2 until this, and i made the edits exactly as stated in the .mod files.

You did the edits by hand? If it's a clean RC2 install, then the package manager can do it fine. Does it give you the blank page using the package manager?
Cristián Lávaque http://cristianlavaque.com

ryanbsoftware

Quote from: Anguz on November 19, 2004, 04:24:05 AM
Quote from: ryanbsoftware on November 19, 2004, 12:40:51 AM
i undertand you are trying to help me but obviously i know how to read and follow directions and uninstalling it would fix the problem as it was an unmodified version of RC2 until this, and i made the edits exactly as stated in the .mod files.

You did the edits by hand? If it's a clean RC2 install, then the package manager can do it fine. Does it give you the blank page using the package manager?

something like that, i just know it dosen't work.

Anguz

I'm sorry. If somebody else has this problem, please let me know.
Cristián Lávaque http://cristianlavaque.com

ryanbsoftware

could this be because the host has php safe mode enabled?

Anguz

It could be, I'm not familiar with the problems that causes. :-\
Cristián Lávaque http://cristianlavaque.com

Advertisement: