PDA

View Full Version : Mini Mods - Editor Buttons newliner


itsid
02-14-2007, 10:00 PM
Hi,
have you ever thought, that another button in your editor could ruin your editors layout?

Do you want to have a new line to put your custom vB Code buttons into ?

Here you go...

Just install and you're done.
two languages available
english and deutsch ;)
To deactivate you'll find a new option in your vbSettings -> Editor dialog.
(see images)

UPDATE 0.1.1
very minor update..
but now able to add the newline-ability even to PM editors

cheers
'sid

PS Please click install if you use it ; thank you

Cyricx
02-15-2007, 12:08 PM
Great idea!!

That'll really help as I like to make buttons for all the custom bbcodes like glow, shadow, etc :)

Thanks!!

Distance
02-15-2007, 12:48 PM
Nice idea

*doesnt click install because does not need yet :)*

projectego
02-15-2007, 01:38 PM
Nice idea, itsid. :)

itsid
02-15-2007, 02:08 PM
thanks guys ;)

'sid

AMG021
02-15-2007, 02:12 PM
Nice Dude!

can't seem to find Editor dialog button looked all over installed the english version please help

pauloo
02-15-2007, 02:42 PM
nice !

Gizmo5h1t3
02-15-2007, 02:47 PM
installed, works a treat.
nice idea there m8

itsid
02-15-2007, 03:17 PM
AMG021,
It should be ACP -> vBulletin Settings -> Text: Editor (or something similar)
( just use that link: admincp/options.php?do=options&dogroup=postiface )
It's not red in your forums, but you'll surely regognize it ;)

'sid

encryption
02-16-2007, 11:07 AM
wow I've been looking for this for a while now... cheers mate

puertoblack2003
02-16-2007, 04:36 PM
hey guys to help you guys to where to configure it to disable it.

go to admincp>> vbulletin options>>Message Posting Interface Options>> scroll to the bottom and it's there.:p

pb

TheBlackPoet
02-16-2007, 04:40 PM
HELL YEA! thank you very much.. made my life simple.....

ChurchMedia
02-16-2007, 05:32 PM
Very Nice! Exacty what I've been needing!

ChurchMedia
02-20-2007, 03:50 PM
I got around to installing this and it cleans up my newthread/newpost pages beautifully. Terrific job! For some reason, it isn't doing it's thing in the new private messages section. You hooked it into global start so I would think it would work everywhere, but it doesn't there. If you get the change to look into it I'd appreciate it. If not, I might try copying part your code over into a PM hook and see what happens.

Thanks again!

itsid
02-20-2007, 09:54 PM
Yeah, I've missed that one I guess ;)

firstpost updated

'sid

ChurchMedia
02-20-2007, 09:56 PM
Thanks! You da man!

TheBlackPoet
02-20-2007, 11:40 PM
you are the man.... i didnt even look at the PM to see if it changed the first time... well... my site is much better, thanks to your efforts

GrendelKhan{TSU
02-21-2007, 06:28 AM
NEEDED!! thank you!! :D :D

<< installed.

lonelime
02-22-2007, 08:46 PM
*installed*

nice little hack .. thanks

how do i mod this or edit, so i can get this work for Quick Reply Message Box as well, because i have so many little icons on my quick reply tool bar, and it breaks the line

hope you help ...thanks

ahmednadir
02-27-2007, 04:01 AM
great mod
thanks alot for this

AMG021
03-17-2007, 01:59 AM
for some reason this doesn't seem to work for me!

itsid
03-24-2007, 11:16 AM
lonlime,
I think you have to hardcode the </tr><tr> to your quickreply template that provides the buttons.
I guess you'd installed a hack that adds those buttons to QR, though I don't have a chance to catch up template without knowing it's name ;)

AMG021,
Well, try to change executionorder of the plugins from this hack, maybe it's just colliding with another hack.

'sid

Speedy1505
05-10-2008, 04:01 PM
little Fix
search$bt_tpl_repl = '</tr><tr>'.$bt_tpl_find;
replace with$bt_tpl_repl = '</tr></table><table><tr>'.$bt_tpl_find;

it's better for more Buttons

Deadly Assassin
05-11-2008, 04:40 AM
Nice one, thanks

:up:


Makes things look a little tidier.

Webby24
05-12-2008, 08:49 PM
Hi,
habe das mal bei 3.7 installiert. Aber leider hat es nicht geklappt. Ist es definitv nicht f?r diese Version gedacht oder gibt es ne M?glichkeit das anzupassen. Wir haben soviele, die m?ssen runter :)

Hi,
I tried to install into 3.7. But it doesn?t work. Is there a possibility to install your hack into 3.7 or is that not possible. We have so much BB?s that it is neccessary to create a new line :-)

Thanks

Andr?

xorex
06-29-2008, 06:50 PM
I tried to install into 3.7. But it doesn?t work. Is there a possibility to install your hack into 3.7 or is that not possible. We have so much BB?s that it is neccessary to create a new line :-)

Thanks



+1 :)

puertoblack2003
08-05-2008, 04:59 PM
i need this too to be updated....

thanks

Binoy
10-20-2008, 11:37 AM
3.7 version would be much appreciated .

beduino
11-30-2008, 10:56 AM
Hi,
I installed in 3.7.4 and don't work. I already change the order of plugin and nothing happens. This hack works with 374 version?
Tks anyway!
all the best
joao barroca

beduino
12-22-2008, 08:36 AM
Well, maybe this helps another users with problem. I use the princeton's hack gtsmiliebox and change the global_start plugin in newline hack to

$sid_nl_pm = array('newpm','insertpm');
if (GET_EDIT_TEMPLATES === true OR in_array($_REQUEST['do'], $sid_nl_pm)){
$bt_tpl_find = '$vBeditTemplate[extrabuttons]';
if ($vbulletin->options['sid_btnl_active'] ){
$bt_tpl_repl = '</tr></table><table><tr>'.$bt_tpl_find;
$vbulletin->templatecache['editor_toolbar_on_GTSMILIEBOX_3700'] = str_replace($bt_tpl_find, $bt_tpl_repl, $vbulletin->templatecache['editor_toolbar_on_GTSMILIEBOX_3700']);
}
}

works for me :)

all the best
joao barroca
aka beduino

puertoblack2003
12-23-2008, 01:33 PM
Well, maybe this helps another users with problem. I use the princeton's hack gtsmiliebox and change the global_start plugin in newline hack to

$sid_nl_pm = array('newpm','insertpm');
if (GET_EDIT_TEMPLATES === true OR in_array($_REQUEST['do'], $sid_nl_pm)){
$bt_tpl_find = '$vBeditTemplate[extrabuttons]';
if ($vbulletin->options['sid_btnl_active'] ){
$bt_tpl_repl = '</tr></table><table><tr>'.$bt_tpl_find;
$vbulletin->templatecache['editor_toolbar_on_GTSMILIEBOX_3700'] = str_replace($bt_tpl_find, $bt_tpl_repl, $vbulletin->templatecache['editor_toolbar_on_GTSMILIEBOX_3700']);
}
}

works for me :)

all the best
joao barroca
aka beduino



yep i confirm it it works:up: good job

Helmut71
10-11-2009, 05:12 PM
any chance that this works with vb Blogs??