News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Custom BBCode

Started by Sarke, March 03, 2007, 02:40:26 PM

Previous topic - Next topic

hclloveh

I only install these mods:

Attachments Positioning
MessagePreviewOnHover

Maybe have problem with it ? :(

bigjoe11a

Thats what I was thinking from the start. There has to be an answer some where. Thats why I said to start from scratch

SMF Forums http://www.df-barracks.com Where gamers go.

ディン1031

#102
So the Mod itself hava a small bug, if you delete a tag sometimes it do not count the numbers correct and will end in a infinity loop ;).

So i add to this post a fix for this bug, because the author did not answer to the pm. (CustomBBCDeleteBug100.zip)

I programmed also two small extensions for the mod.

The first one is extension to parse quoted equals (It's usefull for user what like to use bbc in the equal tag the option). (CustomBBCQuoteExtend100.zip)


And the second one make it possible to use bbc also in the field "The HTML used for the tag". (CustomBBCExtendPreparse102.zip)

All extensions work only on a installed Version of the CustomBBC mod.

Hope it's usefull

Use on own risk ;).

Bye
DIN1031
Support only via MOD Thread! NO PM Support!
My Forum: ayu][kult Forum
My Mods: My Small Mod Collection
My Parser: DIN1031's ModParser
Current Info: More away the next days, because i've to much work to do :x

TeaTephi

#103
Hi I'm trying to install the "indent" button.

I don't know what html code to put in the html code, and where do I upload the custom GIF?

Thanks for your patience. :)


  Thanks everyone, but I figured it out.  Just use <blockquote> and copy the Gif to the image folder and it works!

Thanks  I plan to add more custom buttons!!
SMF 2.0.2 | TinyPortal 1.107 Veterans day theme Opera 11.50
Mods:Profile Comments.....AEVA Media 2.10.....Activity in profile.....join-reason....Bookmarks 2.3.....SA Chat    Beta 4-1 Rev43....Tapatalk SMF 2.0 RC4/RC5/Final Plugin    3.0.1.....SMFPacks Likes Lite Mod

Thank you guys for all your support and development that you do.  I love my forum, and am so thankful to have a place to ask my questions.  I do love SMF 2.0 it's smoother and all my members love it!

brasiweb

I'm having troubles to select "Parse BBC on the Content" for more than 1 custom BBC. I select for one, then when select this option in another, the first BCC option has gone.

Please, help me on this.

Also, hxxp:custombbcextendpreparse100.zip [nonactive] has an error:

<search for>
array('check', 'customBBCode_block_level_' . $i, null, $txt['customBBCode_block_level']),
</search for>

<add after>
array('check', 'customBBCode_block_level_' . $i, null, $txt['customBBCode_block_level']),
array('check', 'customBBCode_preparse_content_' . $i, null, $txt['customBBCode_preparse_content']),
</add after>


It should be <replace> instead <add after>

ディン1031

Oh Thanks, i did not see it XD.

But i fix it. :)

Bye
DIN1031
Support only via MOD Thread! NO PM Support!
My Forum: ayu][kult Forum
My Mods: My Small Mod Collection
My Parser: DIN1031's ModParser
Current Info: More away the next days, because i've to much work to do :x

brasiweb

Quote from: brasiweb on January 21, 2008, 02:58:07 AM
I'm having troubles to select "Parse BBC on the Content" for more than 1 custom BBC. I select for one, then when select this option in another, the first BCC option has gone.

Please, help me on this.

How about this?

I can't add customBBCode_preparse_content_X manually.

I have customBBCode_preparse_content_1 => 1
When I try to add customBBCode_preparse_content_2 => 1 its says something like duplicated key..

ディン1031

#107
Quote from: brasiweb on January 21, 2008, 06:03:24 AM
Quote from: brasiweb on January 21, 2008, 02:58:07 AM
I'm having troubles to select "Parse BBC on the Content" for more than 1 custom BBC. I select for one, then when select this option in another, the first BCC option has gone.

Please, help me on this.

How about this?

I can't add customBBCode_preparse_content_X manually.

I have customBBCode_preparse_content_1 => 1
When I try to add customBBCode_preparse_content_2 => 1 its says something like duplicated key..
Upgrade to the latest Version 1.0.2 than this is fixed... i don't know why but the customBBCode_preparse_content_2 is to long... now i replaced it with a much shorter version and the error should not happen any more ;).

Bye
DIN1031
Support only via MOD Thread! NO PM Support!
My Forum: ayu][kult Forum
My Mods: My Small Mod Collection
My Parser: DIN1031's ModParser
Current Info: More away the next days, because i've to much work to do :x

brasiweb

#108
VERY THANKS!

works like a charm!

i needed to install html tags, and edit mod to add some of them maually, like table, tr, td, span, div and tbody, who html tags mod author choose to not add, and do some other changes not included in any mod to work as i want

maybe i send a mod with all the changes together (with all credits to mod authos, off course), my brazilian friends will luv it :)

*these changes will enable the use of "gerador de posts" (posts generator) for game/movies/apps review sites, with images, and lots of contents and stuffs in a table. these generators have most bbcode tags compatible between them, so a post made in the generator of one forum works normally in others forums, without needing to regenerate the post using the generator of each one (they have some particularities, but just differents positioning of sections, etc)

another time, THANKS!!

-edit-

strange.. after add some bbcodes, some messages was messed up

i'will double check it again (re-do the changes and test in between)

Moif

Hi,

Can anyone explain how I would use this to embed Google Maps into my forum?

If someone saved the static link from Google Maps and wanted to show it as a map instead of a link, that kind of thing :)





Touti

I installed this mod today and I like it so much I came up with an idea for a new feature.  It would really be great for my members if they could go to their profiles and put default values for the {option} and {content} parts that would be automatically copied in the bbcode when they click the button.

My forum is for DVD Collectors and most of us publish our collection to a web site for others to see.  I created a bbcode where the user can put the domain/path of his hosted collection in the {option} portion and the UPC Code of a DVD in the {content} portion.  When parsed the tag displays an image of the DVD as a link to the corresponding page on his site.

If each user could put a default value for the {option} portion of that bbcode in their profile they wouldn't have to enter the domain/path each time they use the tag.

Pe2

Hi

I get this error when I try to access Features and Options after installing this mod:

Fatal error: Cannot redeclare modifycustombbcodesettings() (previously declared in /customers/petterthorvald.com/petterthorvald.com/httpd.www/Sources/ModSettings.php:346) in /customers/petterthorvald.com/petterthorvald.com/httpd.www/Sources/ModSettings.php on line 366

Any Ideas?

I'm using SMF 1.1.4 and I have no other mods installed

perplexed

Quote from: Pe2 on February 27, 2008, 03:20:30 AM
Hi

I get this error when I try to access Features and Options after installing this mod:

Fatal error: Cannot redeclare modifycustombbcodesettings() (previously declared in /customers/petterthorvald.com/petterthorvald.com/httpd.www/Sources/ModSettings.php:346) in /customers/petterthorvald.com/petterthorvald.com/httpd.www/Sources/ModSettings.php on line 366

Any Ideas?

I'm using SMF 1.1.4 and I have no other mods installed

duplicate code on those lines.  Open that file and remove the duplication. 

Metorks

Question:

I used this to make a Highslide BBCode, and it works great.  The problem is that I'm not able to post more than one Highslide BBCode  on a line, it forces the next entry to the next line.  When I use the code I set up as BBC outside of the BBC (a TP scriptbox for example) it works fine, so I surmise that the trouble is with the BBC.  Can anyone tell me where to find where my custom code is actually scripted so I can examine it?

Thanks,
Metorks

Metal_13

is there an update for SMF 2? please make one.. thanks...

perplexed

is it possible to make a hyperlink tag with this mod?

I want to make a bbc version of this to make it easier for members to post hyperlinks with bbc as they confused when trying to do this [url=http://www.google.com]google[/url]  google

I've been playing with

<a href=></a> 

but I can't get it to work

thanks

58tbird

#118
I installed your mod and am anxious to use it.  For the benefit of us newbies, can someone give a quick definition for these:

   Tag type     
   Parse enclosed BBCode    
   Trim whitespace    
   Block level

I get the first two types of tags, I just don't understand the last one: [tag]

I don't understand any of the other options.

Thank you! :)

58tbird

Quote from: pcsimke on October 26, 2007, 08:22:19 PM
QuoteTo add a button to a custom tag, enable the "Add button" option for the tag,

where exactly i shooed enable this?

After you create your new code and click save, the option to enable buttons appears.

Advertisement: