Code Monkey home page Code Monkey logo

mybb-fast_quote's Introduction

Plugin is abandoned

I decided to stop developling MyBB addons. You can find details here:

lukasamd/MyBB-View_Unread_posts#25


This plugin provide very fast quote option - select text and click button!ย 

Quote has never been so easy!

Additional fast quote button provide super-fast option to quote selected text. It supports whole post (just click it), or only selected area. It also supports mycode/bbcode in quoted posts.

Admin can set button CSS style in plugin settings. Form name, field name and alt/title text can be also set.

mybb-fast_quote's People

Contributors

lukasamd avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar

Forkers

alekznet

mybb-fast_quote's Issues

Suggestion - add newline after quote

fastQuote.js line 178 -
I added a "\n" after the "[/quote]" on my copy, so that the user can start typing straight away without adding one themselves. Some may even prefer a double newline.

This (with single newline) matches the behaviour of the "QuickQuote" plugin that was available for MyBB 1.6.

Thanks for your good work with this! (I wouldn't know where to start. I dabble in JS a little bit)

Compatibility with Advanced Quick Reply Editors

Fast Quote does not Support, to insert Quotes in the FastReply field if any advanced QuickReplyEditor is installed. With this adv. editors, there is no longer the textarea used to store the text.
This editors were tested by myself on newest mybb version wit fastquote and they did not work:
-Quick Advanced Editor
-Quick Advanced Editor Plus
-Advanced Quick Reply Form
-Handcode like told here: http://myskins.org/Thread-Change-your-Quick-Reply-editor-into-an-advanced-editor

Also i tried different values for the "Quick reply field name" field.

Would be great, if this would work!
Would be worth a donation!

Focus is not set after clicking quick reply button

I'm not sure why or if it's just a quirk with the MyBB theme I'm using, but (at least on Firefox) where the focus is supposed to be set to the quick reply box on line 94 of fastQuote.js, it doesn't get the focus. Perhaps something else is beating the script to it, but I've not been able to find anything obvious.

I went for a "setTimeout" wrapper around the focus call to work around it.

setTimeout(function() { textarea.focus(); }, 100);

error while activating fast quote

Error:

MyBB has experienced an internal SQL error and cannot continue.

SQL Error:
1366 - Incorrect integer value: 'NULL' for column 'gid' at row 1
Query:
INSERT INTO mybb_settinggroups (gid,name,title,description,disporder,isdefault) VALUES ('NULL','fastQuote','Fast Quote','Settings for plugin "Fast Quote"',33,'0')

The only modification in my forum is the following to add formatting options to the quick reply box:
http://letsforum.com/Thread-MyBB-Advanced-Quick-Reply-Form-No-Plugin-Needed

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.