Simple Machines Community Forum

Customizing SMF => SMF Coding Discussion => Topic started by: Ignjatovic on March 27, 2008, 07:45:50 AM

Title: new bbc buton ?
Post by: Ignjatovic on March 27, 2008, 07:45:50 AM
How can i add a new bbc buton in the quick reply?
Title: Re: new bbc buton ?
Post by: ccbtimewiz on March 27, 2008, 03:52:19 PM
Quick Reply doesn't have any BBcode buttons on it in the first place. =T
Title: Re: new bbc buton ?
Post by: Bulakbol on March 27, 2008, 06:21:47 PM
There's a quick reply enhance mod for 1.1.4, Check this out.

http://custom.simplemachines.org/mods/index.php?mod=883
Title: Re: new bbc buton ?
Post by: Ignjatovic on March 28, 2008, 04:00:44 AM
Quote from: JohnyB on March 27, 2008, 06:21:47 PM
There's a quick reply enhance mod for 1.1.4, Check this out.

http://custom.simplemachines.org/mods/index.php?mod=883
I have this but i want to add a new bbc buton (hide tag buton)...
Title: Re: new bbc buton ?
Post by: Ignjatovic on March 28, 2008, 07:33:03 AM
I have it but I havenĀ“t got  this  place for text

(http://i25.tinypic.com/2dj2s9e.jpg)

how can I do it?
Title: Re: new bbc buton ?
Post by: Ignjatovic on April 03, 2008, 11:48:38 AM
Can someone help  me please?
Title: Re: new bbc buton ?
Post by: blarejazi on April 03, 2008, 12:08:13 PM
ok find this in Display.template.php
Quote<input type="hidden" name="num_replies" value="', $context['num_replies'], '" />
before this past this
Quote<a href="javascript:void(0);" onclick="surroundText(\'[hide]\', \'[/hide]\', document.forms.postmodify.message); return false;"><img onmouseover="bbc_highlight(this, true);" onmouseout="if (window.bbc_highlight) bbc_highlight(this, false);" src="' . $settings['images_url'] . '/hide.gif" alt="Left" title="Left" style="margin: 1px 2px 1px 1px; background-image: url(' . $settings['images_url'] . '/bbc_bg.gif);" align="bottom" border="0" /></a>
past hide.gif and bbc_bg.gif file in main images dir ur problem will solved  ;)
Title: Re: new bbc buton ?
Post by: Ignjatovic on April 03, 2008, 02:38:29 PM
Quote from: blarejazi on April 03, 2008, 12:08:13 PM
ok find this in Display.template.php
Quote<input type="hidden" name="num_replies" value="', $context['num_replies'], '" />
before this past this
Quote<a href="javascript:void(0);" onclick="surroundText(\'[hide]\', \'[/hide]\', document.forms.postmodify.message); return false;"><img onmouseover="bbc_highlight(this, true);" onmouseout="if (window.bbc_highlight) bbc_highlight(this, false);" src="' . $settings['images_url'] . '/hide.gif" alt="Left" title="Left" style="margin: 1px 2px 1px 1px; background-image: url(' . $settings['images_url'] . '/bbc_bg.gif);" align="bottom" border="0" /></a>
past hide.gif and bbc_bg.gif file in main images dir ur problem will solved  ;)

tnx but i Have this
I need this "textbox"jet

(http://i25.tinypic.com/2dj2s9e.jpg)

Do you know how can I do it?