Git Product home page Git Product logo

boardtools / quickreply Goto Github PK

View Code? Open in Web Editor NEW
28.0 28.0 20.0 1.48 MB

Extension for phpBB 3.1+ that allows to show BBCode and smiles in quickreply, use quick quote, insert nickname to quickreply by clicking, ajax sending posts, sending with Ctrl+Enter, ajax topic navigation etc. IMPORTANT NOTE: If you are moving from the previous Tatiana5/QuickReply repository, please follow the instructions available here: https://github.com/BoardTools/QuickReply/tree/migrate.

License: GNU General Public License v2.0

PHP 66.69% HTML 9.92% JavaScript 21.97% CSS 1.43%
ajax javascript php phpbb phpbb-extension

quickreply's People

Contributors

alg5 avatar alhitary avatar bonelifer avatar dmzx avatar fryschyn avatar galixte avatar golelcintolga avatar lavigor avatar nekstati avatar phpbb-es avatar rxu avatar sumanai avatar tatiana5 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

quickreply's Issues

Quote notification not working for 1.1.0-b1

Hey

With 1.1.0-b1, even if using "quote" button on a previous post, the QR form still uses "reply" parameter for posting $mode.

Therefore "notification.type.quote" notification never triggers, and users don't get any notifications when quoted.

Posts merging extension compatibility

Hi @lavigor,

from this commit: 4b9db88#diff-5b16f81e26748b1551589589de97e98a, the compatibility with the Posts merging extension was added.

But if i disable the setting option:

Posts merging interval:
If a user submit more than 2 posts in this time period, posts will be merged into one post. Information about the time passed from the previous post submitting will be added (for each post). Leave blank or set 0 to disable posts merging.

The button: “Do not merge with previous post” is still displayed under the text area, in the Quick reply.
While on the posting.php page (Post a reply page) this option is hidden correctly.

Migrate: Using standard method

In step 3, i can see: “Copy all files from this repository to ext/tatiana5/quickreply. This step will save your data so that they will not be deleted on the fifth step.”.

Why the link of archive is: https://github.com/Tatiana5/QuickReply/archive/migrate.zip instead of this: https://github.com/BoardTools/QuickReply/archive/migrate.zip ?

The archive from this link: https://github.com/Tatiana5/QuickReply/archive/migrate.zip contains all files from QuickReply Reloaded (old repository) that i have already and currently on my FTP.

Why i should upload the last files on my FTP from the old repository to save data ? I don’t understand why in step 5: “Click "Delete data" button” will save data, in my opinion it will delete those.

Support for Hawiki theme

This is the one thing missing from my forum (www.data-medics.com/forum), is this extension. Anyone out there with the know how willing to add support for this theme?

I'd certainly be willing to donate a few bucks to get it done.

Installed, not working

Installed on a clean phpbb 3.1.9, prosilver, not working. Default options

I see only these in the page source:

<link href="./ext/boardtools/quickreply/styles/prosilver/theme/quickreply.css?assets_version=3" rel="stylesheet" type="text/css" media="screen" />

//<![CDATA[
var quickreply = {};

// Special features for QuickReply - settings.
quickreply.special = {
    hideSubject: true};

// Special features for QuickReply - functions.
quickreply.special.functions = {};
//]]>
</script>

<script type="text/javascript" src="./ext/boardtools/quickreply/styles/prosilver/template/quickreply_special.js?assets_version=3"></script>

Add a confirmation window for links

When a user clicks on a link without target="_blank", he leaves the current page and entered reply can be lost.
We need to deal with this problem somehow.

Close topic on reply

Hey there,

my suggestion as a new feature is to add a checkbox for closing the topic after reply. This option should be automatically visible to users who have the permission to close a topic within a particular forum.

Thanks for reading.

Best regards
Olaf

Quick Reply zone not present/working in phpBB 3.1.1

I just installed phpBB-3.1.1 Release and your extension to my board but it's not working as expected.
The QuickReply zone is not present at the bottom of the forum thread and all the features about highlighting text to quick reply is not present.
No error is thrown in browser JS profiler nor in phpBB logs.
The extension is well installed and activated, also all the params are set to enable it for the board.

[Bug] If use other extension submit_post function

[phpBB Debug] PHP Notice: in file [ROOT]/ext/tatiana5/quickreply/event/listener.php on line 478: Undefined index: topic_first_post_id
[phpBB Debug] PHP Notice: in file [ROOT]/ext/tatiana5/quickreply/event/listener.php on line 478: Undefined index: post_id

If we use a direct submit_post function, it is not required deliver this two variables.
PS: otherwise nice extension ;)

Version 1.1.0-RC2

[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/class_loader.php on line 160: require(./../ext/boardtools/quickreply/event/listener_helper.php): failed to open stream: No such file or directory
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/class_loader.php on line 160: require(./../ext/boardtools/quickreply/event/listener_helper.php): failed to open stream: No such file or directory

Fatal error: require(): Failed opening required './../ext/boardtools/quickreply/event/listener_helper.php' (include_path='.:/opt/cpanel/ea-php56/root/usr/share/pear') in

Fix form submission error.

QuickReply needs to detect this type of errors and update the form automatically.
Currently it requires clicking on the Post Reply button to go to the standard editor with saved text and attachments.

На 3.1.3 мод работает только в первом-втором сообщении на странице

Форум на phpbb 3.1.3.
"Быстрая цитата" и "обратиться по нику" при наведении на ник в минипрофиле срабатывают только в первом-втором сообщении на странице. В остальных сообщениях этой функции нет.
Стандартный "быстрый ответ" включён на всех форумах без исключения.
Помимо Quick Reply установлены следующие моды:
Advanced BBCode Box 3.1.0
Auto Database Backup 1.1.0
Ban Hammer 1.0.0
Board Rules 1.0.1
Collapse Categories Light 1.0.2
Delete unnecessary notifications 0.0.1
Empennage: add code and content to the top/bottom of pages 0.1.3
External Links Open in New Window 1.0.0
FAQ manager 1.0.0
Favicon 0.0.2
Individual posts per page 1.0.0
Inline images in attachment 1.0.0
OneAll Social Login 2.4.2
Pages 1.0.2
phpBB3 SEO Sitemap 1.0.3
PostSubject 0.0.4
Private Message Box Status Bars 2.0.0
Profile side switcher 0.0.1
Rank Post Styling 1.0.3
Reputation System 1.0.0-dev
s9e/mediaembed 20150104
Scroll To Top 1.0.0
SEO Topic & Canonical URL 1.0.3
Team Avatar 1.0.0
Top Five 1.0.0
Topic Preview 2.2.1
User Merge 1.0.0
User topics & posts per page 1.0.0

Версия Quick Reply 0.1.4-dev.

Ajax Posting doesn't work at all

Hi there. Ajax Posting is making a notice about "Ajax error" when you post and nothing happens. Preview and everything else seems to work fine though.
Plus, the post is added, just the page is not updated. So I needed to disable this function.
Can you please look into this issue? You can find me here: http://forum.swordcoast.pl/

Cannot find module quickreply_qn_module.php

Hi there!

phpbb version: 3.1.9
Theme: ComBoot 3.1 dev

Whenever i try to enable your QuickReply plugin i cannot access the Extensions page anymore and i get the following error message:

Cannot find module ./../includes/acp/\boardtools\quickreply\acp\quickreply_qn_module.php

BACKTRACE

FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()

FILE: [ROOT]/includes/functions_module.php
LINE: 571
CALL: trigger_error()

FILE: [ROOT]/adm/index.php
LINE: 81
CALL: p_master->load_active()

I have tried all of your branches but all of them give me this error.
I have found some versions on the forums where i don't get this error message, however most of the features aren't working on those

Am i missing something?

Thanks in advance!

Swedish language package

Hi!
As I'm building a new website for our association I also adding all the most useful extensions in our upgraded phpBB - among others QuixkReply Reloaded. And now I've made a Swedish language package for this Extensions.

The zip file: quickreply_sv-language-1_0.zip

Rank Post Styling extension compatibility

Hi @lavigor @PayBas,

if i post a message with QuickReply Reloaded, then i can’t use the dropdown menu when i click on username in mini-profile from the second message or the third message of topic (this seems to be random): https://github.com/PayBas/RankPostStyling.

Maybe PayBas has to read this: https://github.com/Tatiana5/QuickReply/wiki#how-to-make-this-extension-compatible-with-other-extensions & https://github.com/Tatiana5/QuickReply/wiki#developers-guide.

Or maybe it's a bug in QuickReply Reloaded extension.

quote button

The quote button is no longer displayed in version 2.0.0-alpha (phpbb 3.2.0).

submit button not working

i update my phpbb with QuickReply Version 2.0.0-beta1 through the site https://boardtools.ru/QuickReply/.
everything looks great, when clicking on submit it only popup the preview of the reply.
cannt post quick reply.
is there any fix for it?
the phpbb is language of rtl.
(this fixed quickreply that jumping all time is annoying, i there way to cancel it? )

Integration with ABBC broken after upgrade to ABBC 3.2.1

Following upgrade from ABBC 3.2.0 to 3.2.1, the integration with QuickReply is broken, see picture

broken quick reply

Tried so far:

  1. Enabling and Disabling both extensions (QR and ABBC) in different order, with and without deleting data.
  2. Removing ABBC completely, removing manually all codes installed by ABBC, then installing ABBC from scratch.

As long as ABBC is not enabled - everything is fine in QR. The moment it is enabled, QR shows icons from ABBC messed up as in the picture below, but without second line ("format-buttons" in the code). Disabling and re-enabling ABBC results in both lines of buttons shown - from ABBC and format-buttons.

For now going back to the previous setup with ABBC 3.2.0

Notification not working on phpBB 3.2.0-RC1

Hi there,

I was testing the develop 2.0 version and everything works perfectly but when I refer a username, that user doesn't receive a notification although it is enabled in their preferences.

The "boardtools.quickreply.notification.type.quicknick" is added to the "phpbb_notification_types" table, but no notifications are added to the "phpbb_notifications" table.

Notifications for quotes not working.

I've tried every possible setting combination in the ACP. Half the time it disables quotes altogether and the other half it simply won't give a notification when the person is quoted. Enabling/Disabling the app causes the issue to happen/not happen, so it's this latest version causing the problem.

I'm on phpBB3.2, using the latest 2.0.0-beta1.

Invalid use of ID tags and javascript

In your listener.php, this is bad:

'POST_AUTHOR_FULL'      => '<a href="javascript:void(0);" id="' . $row['user_id']
  1. You should not be using inline/obtrusive javascript. Just remove the href all together if you don't want it linking to anything, or if you are using a javascript click event on this link, have it return false or use event.preventDefault() and use a hash in the href.

  2. you can't assign the user_id to an id element. Mainly because it can result it multiple occurrences of the same id, and id's must always be unique for valid HTML. If you're doing this because you need the id for javascript, you'd be better off here using a data attribute, like data-user-id="$row['user_id']"

quote button disappears from messages

Hello everyone,
ext version: quick reply reloaded v. 2.0.0 beta (just downloaded from the website really)
phpbb: 3.2.1

Problem:
when quick reply reloaded is enabled the quote button disappears from the messages, it reappears if the extension is disabled.

I would give it a high priority, as it is so uncomfortable like this that I am not using the extension.

Thanks for the work!

ref tag and nicknames

Hi,

I use last 2.0 version with phobb 3.2.

ref tag works fine if username have color, like this is working: [ref=#ff6633]username[/ref]
If username doesn't have any color [ref] username[/ref] doesn't works at all.

Any fix?

Thanks

Scrollbar position to bottom of message box

Currently, when a quote is inserted in the quick reply window, the scroll position is set to the top. This confuses some users as they start typing in the middle of the quote, messing up their post. By positioning the scroll bar to the bottom of the window, the bottom of the quote will be visible and the user do not make this error.

I tried some javascript:

var mydiv = $("#message");
mydiv.scrollTop(mydiv.prop("scrollHeight"));

However, this didn't work.

phpBB 3.2.0-b1 compatibility issues

Fresh install 3.2.0-b1, php7, when visiting a topic:

Fatal error: Uncaught Error: Call to undefined method parse_message::set_mimetype_guesser() in .../phpBB/ext/boardtools/quickreply/event/listener_helper.php:212 Stack trace: #0 .../phpBB/ext/boardtools/quickreply/event/listener.php(265): boardtools\quickreply\event\listener_helper->handle_attachments(21, '2142', true) #1 [internal function]: boardtools\quickreply\event\listener->viewtopic_modify_data(Object(phpbb\event\data), 'core.viewtopic_...', Object(phpbb\event\dispatcher)) #2 .../phpBB/vendor/symfony/event-dispatcher/EventDispatcher.php(181): call_user_func(Array, Object(phpbb\event\data), 'core.viewtopic_...', Object(phpbb\event\dispatcher)) #3 .../phpBB/vendor/symfony/event-dispatcher/EventDispatcher.php(46): Symfony\Component\EventDispatcher\EventDispatcher->doDispatch(Array, 'core.viewtopic_...', Object(phpbb\ev in .../phpBB/ext/boardtools/quickreply/event/listener_helper.php on line 212

Dropdrown problem

the dropdown of "Insert quote in the Quick Reply form" don't work at my style "mobbern"

Problem on iOS with quoting posts

When quoting a user the time parameter in the quote tag is changed when that user is using iOS + safari. Example, when a user quotes someone normal behavior would be:

[quote=Striker post_id=699836 time=1481464715 user_id=755]

Whereas quote behavior changes on iOS devices using safari.

[quote=Striker post_id=699836 time=<a href="tel:1481464715">1481464715</a> user_id=755]

This occurs on a test board that is upgraded to phpBB 3.2.0-RC2 (from 3.1.15) when the option below is enabled.

Insert full quotes into the quick reply form:
Replace the standard behaviour of the “Reply with quote” button.

So when you click the quote button it inserts the code as

[quote=Striker post_id=699836 time=<a href="tel:1481464715">1481464715</a> user_id=755]

I can't seem to enable QuickReply

When I enable QuickReply through ACP, it just reverts itself to Disable.

General > Board Features > Allow quick reply > Set to "Yes"

Submit and Enable Quick Reply on all forums > Click

"Information
Configuration updated successfully.
« Back to previous page" mesaage shows up. I'm going back to previous page and see Allow Quick Reply set to No...

Couldn't fix it...

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.