Support Forum

quick comment box

YA yair
yair
Member

Is it possible to make a Add quick Replay box?
Be an open text box without having click on the “Add Replay” button

16 Answers

New Answer

MP Mr Papa
Mr Papa
Member

not sure what you really want… do you just want the reply box open at start? change it in the template function arguments…

http://codex.simple-press.com/codex/api/template-functions-and-the-api/display-template-functions/topic-view/sp_posteditorwindow/

set hide to 0 instead of 1….

YA yair
yair
Member

Please tell me the file name and the line should be edited

MP Mr Papa
Mr Papa
Member

you need to get accustom to looking at the template files in the theme… your customizations can be made there.. its not hard – I gave you the function you want to change… and I cannot give you a line number – every theme is different…

in spTopicView.php, change

‘hide’ => 1,

to

‘hide’ => 0,

remember, you want your own sp theme and not be editing one of ours and lose your changes on upgrade..

see: http://codex.simple-press.com/codex/themes/theme-basics/creating-a-theme/

YA yair
yair
Member

OK

Please check for the next version to make a check box in the Settings panel

TNX

YS Yellow Swordfish
Yellow Swordfish
Member

No – we will not provide this. This is NOT how templates work. Templates replace the barrage of options and are more flexible.

YA yair
yair
Member

so its have to hide the “add replay” button & add “toolbar”

is it possible?

 

YA yair
yair
Member

no “add toolbar”

i want to add “toolbar” to the replay box – toolbar of [bold] [italic] [underline]….

YS Yellow Swordfish
Yellow Swordfish
Member

have you installed one of the SP editor plugins?

YA yair
yair
Member

yes sure
but i didnt see it on the replay box when i change in spTopicView.php, 

‘hide’ => 1,

to

‘hide’ => 0,

But Please note that

when i press on “add replay” Then the toolbar appears in the Reply box

YS Yellow Swordfish
Yellow Swordfish
Member

That looks like a bug with the new WordPress tinymce version. I will open a ticket to get it looked at.

YA yair
yair
Member

Andy, I think it’s not a bug of WP

Check Again – ask Mr Papa

YA yair
yair
Member

My Another question
If the reply box is Already appears [after i change in spTopicView.php, ‘hide’ => 1, to

‘hide’ => 0, ]

So I do not need the “Add replay” button
Right?

so the question is, How can i hide the “Add replay” button

MP Mr Papa
Mr Papa
Member

what are you talking about?  Andy never said it was a WP problem, but ours and that he was opening a ticket… and will be fixed in the next version…  in fact, already fixed up in the dev version…

Add replay???  do you mean Add Reply?  just remove the template tag from your theme…