Replace the "Quick edit" button with "Modify".

Started by User2, January 18, 2023, 09:10:45 AM

Previous topic - Next topic

User2

Hello.
I have hidden "Quick replay" and therefore I don't need the "Quick edit" button.
What should I do to display the "Modify" button instead of the "Quick edit" button?

Sir Osis of Liver

Quick reply and quick edit are two different things.
When in Emor, do as the Snamors.
                              - D. Lister

User2

Sir Osis of Liver, the "Quick edit" button is not working on my forum right now: I click on it and nothing happens. I understand that the command is passed to the "Quick replay" window. Or am I wrong?

Sir Osis of Liver

No, it opens an edit window in the post, not in quick reply.  Try it here.  Are you seeing any errors in forum error log?

If you have javascript disabled in your browser, nothing will happen when you click quick edit.
When in Emor, do as the Snamors.
                              - D. Lister

User2

Sir Osis of Liver, I hid the "Quick Reply" window with a tip from this topic, message #14: https://www.simplemachines.org/community/index.php?msg=4143361
After that, the "Quick edit" button stopped working.

Quote from: Sir Osis of Liver on January 18, 2023, 12:03:18 PMAre you seeing any errors in forum error log?
I'm just a user and sometimes I go to the Admin Panel, so I don't know where to look.

Kindred

If quick edit is not working, then the forum either has broken Javascript or you have Javascript turned off in your browser.


If you edited code, then you probably broke something
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Sir Osis of Liver

#6
Does quick edit work for you in this topic?

Edit: test of quick edit
When in Emor, do as the Snamors.
                              - D. Lister

Steve

My pet rock is not feeling well. I think it's stoned.

Sir Osis of Liver

Well, the question is for the OP to try it here, to determine if it's a browser issue.  I know it works for you, Steve.
When in Emor, do as the Snamors.
                              - D. Lister

Steve

My pet rock is not feeling well. I think it's stoned.

User2

The "Quick edit" button stops working when I hide the "Quick replay".
If I don't hide the "Quick replay", then the "Quick edit" button works.

I hid the "Quick Reply" window with a tip from this topic, message #14: https://www.simplemachines.org/community/index.php?msg=4143361

Sir Osis of Liver

When in Emor, do as the Snamors.
                              - D. Lister

Diego Andrés

Some script must be inside that sub_template?

I guess the edit should be different.

SMF Tricks - Free & Premium Responsive Themes for SMF.

Sir Osis of Liver

When in Emor, do as the Snamors.
                              - D. Lister

Diego Andrés

I only see some quote references  ???
Would need to test it later.

Could also use this mod to hide the quick reply: https://custom.simplemachines.org/index.php?mod=4351

SMF Tricks - Free & Premium Responsive Themes for SMF.

Sir Osis of Liver

index.css


/* Styles for the quick reply area. */
#quickreply {
    clear: both;
    display: none;
}



   

When in Emor, do as the Snamors.
                              - D. Lister

Illori

That does not redirect the quote function to the full editor, it would just silently fail.

Sir Osis of Liver

Yes, you'd pointed that out once before.  Forgot that, too.  :(

So you can't remove quick reply without fixing the redirect.

Diego's mod does that, use the mod.

When in Emor, do as the Snamors.
                              - D. Lister

User2

Yes, the "Enhanced Quick Reply" MOD solved the problem.
But I would like to make more changes. I would like the "Modify" button to be displayed so that it is visible, and not so that the visitor navigates through "MORE..." in the menu.
Кнопку "Quick edit" или вообще удалить (так хотелось бы) или если удалить нельзя, то спрятать в меню "MORE...".
How to do it?

User2

The "Quick edit" button or delete it altogether (I would like to), or if you can't delete it, then hide it in the "MORE..." menu.
How to do it?

Advertisement: