Quick reply for phpBB3

All new MODs released in our MOD Database will be announced in here. All support for released MODs needs to take place in the Customisations Database.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTICE: This forum is only for the announcement of new releases and/or updates of MODs. Any MOD support should be obtained through the Customisations Database in the support area designated for each MOD.

A direct link to support for each MOD is in the first post of the respective topic.
CMA
Registered User
Posts: 330
Joined: Mon Jun 02, 2003 4:15 pm
Location: Vancouver BC Canada
Contact:

Re: Quick reply for phpBB3

Post by CMA »

hmmm... i guess, i have to tell all idiots like me...

;p


but what about send or change address of quote button into this mod?
rxu
Extensions Development Team
Posts: 3456
Joined: Wed Oct 25, 2006 12:46 pm
Location: Siberia, Russian Federation
Name: Ruslan
Contact:

Re: Quick reply for phpBB3

Post by rxu »

CMA wrote:i guess, i have to tell all idiots like me...
What do you mean?
CMA wrote:what about send or change address of quote button into this mod?
You mean the name of the link?
CMA
Registered User
Posts: 330
Joined: Mon Jun 02, 2003 4:15 pm
Location: Vancouver BC Canada
Contact:

Re: Quick reply for phpBB3

Post by CMA »

some members will not understand what "quote" link under username does... i will add some description about it...

i mean... something like this "http://www.phpbb.com/community/posting. ... p=11509255" so not redirection to post page but just send message into textbox...
rxu
Extensions Development Team
Posts: 3456
Joined: Wed Oct 25, 2006 12:46 pm
Location: Siberia, Russian Federation
Name: Ruslan
Contact:

Re: Quick reply for phpBB3

Post by rxu »

You could try the following (after the MOD is installed):

Code: Select all

OPEN
language/en/mods/quick_reply.php

FIND
	'QUICK_POST_DISPLAY'	=> 'Display quick topic post panel at forum view',

AFTER, ADD
	'QUOTE_SELECTED'	=> 'Quote selected',

OPEN
styles/prosilver/template/viewtopic_body.html

FIND
<!-- We use "\r\n" newline here because insert_text() JS function doesn't insert newline with "\n" (at least in Windows) -->
			<!-- IF not postrow.RANK_TITLE --><br /><!-- IF QUICK_REPLY --><dd><a href="#postform" onclick="addquote({postrow.POST_ID},'{postrow.POSTER_QUOTE}'); insert_text('\r\n'); return false;" title="{L_QUOTE_TEXT}">{L_QUOTE}</a></dd><!-- ENDIF --><!-- ENDIF -->
			<!-- IF postrow.RANK_TITLE or postrow.RANK_IMG --><dd>{postrow.RANK_TITLE}<!-- IF QUICK_REPLY --><br /><a href="#postform" onclick="addquote({postrow.POST_ID},'{postrow.POSTER_QUOTE}'); insert_text('\r\n'); return false;" title="{L_QUOTE_TEXT}">{L_QUOTE}</a><!-- ENDIF --><!-- IF postrow.RANK_TITLE and postrow.RANK_IMG --><br /><!-- ENDIF -->{postrow.RANK_IMG}</dd><!-- ENDIF -->

REPLACE WITH
<!-- We use "\r\n" newline here because insert_text() JS function doesn't insert newline with "\n" (at least in Windows) -->
			<!-- IF not postrow.RANK_TITLE --><br /><!-- IF QUICK_REPLY --><dd><a href="#" onclick="addquote({postrow.POST_ID},'{postrow.POSTER_QUOTE}'); insert_text('\r\n'); return false;" title="{L_QUOTE_TEXT}">{L_QUOTE_SELECTED}</a></dd><!-- ENDIF --><!-- ENDIF -->
			<!-- IF postrow.RANK_TITLE or postrow.RANK_IMG --><dd>{postrow.RANK_TITLE}<!-- IF QUICK_REPLY --><br /><a href="#" onclick="addquote({postrow.POST_ID},'{postrow.POSTER_QUOTE}'); insert_text('\r\n'); return false;" title="{L_QUOTE_TEXT}">{L_QUOTE_SELECTED}</a><!-- ENDIF --><!-- IF postrow.RANK_TITLE and postrow.RANK_IMG --><br /><!-- ENDIF -->{postrow.RANK_IMG}</dd><!-- ENDIF -->
This should change the name of the link "Quote" to "Quote selected" and get rid of jumping page to QR box at all when you click that link.
CMA
Registered User
Posts: 330
Joined: Mon Jun 02, 2003 4:15 pm
Location: Vancouver BC Canada
Contact:

Re: Quick reply for phpBB3

Post by CMA »

thank you very much for this... perhaps you should add this into your 3rd post ;]
barqersbite
Registered User
Posts: 5
Joined: Thu Dec 17, 2009 1:16 am

Re: Quick reply for phpBB3

Post by barqersbite »

Just a question, howcome The quick reply box is under every single post? I only wanted it at the bottom of the page? :S

And it's above everything that the was written in the message. So for instance if someone posts "test" the quick reply box is above "test" and it's above every single post in the forum!


EDIT!! Okay I figured it out, apparently in the Infinity theme, the

Code: Select all

<!-- IF QUICK_REPLY --><!-- INCLUDE quick_reply.html --><!-- ENDIF -->
does not go above:

Code: Select all

<!-- IF postrow.S_HAS_ATTACHMENTS -->
So, You put it above:

Code: Select all

<div id="pagefooter"></div>

<br clear="all" />

<!-- INCLUDE breadcrumbs.html -->

<!-- IF S_DISPLAY_ONLINE_LIST -->
And It works perfectly :D just incase anyone else has this error! :S
Groundy
Registered User
Posts: 307
Joined: Tue Dec 08, 2009 5:05 pm

Re: Quick reply for phpBB3

Post by Groundy »

I've installed this on 3.0.6

I keep getting parse errors on the includes/session.php file when I try to install any idea's ?
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting T_VARIABLE in /home/manutdb/public_html/includes/session.php on line 1455
Man Utd Forum

The one stop site for United fans
rxu
Extensions Development Team
Posts: 3456
Joined: Wed Oct 25, 2006 12:46 pm
Location: Siberia, Russian Federation
Name: Ruslan
Contact:

Re: Quick reply for phpBB3

Post by rxu »

That's an error in session.php edits. Please post the erroring line 1455 here.
Groundy
Registered User
Posts: 307
Joined: Tue Dec 08, 2009 5:05 pm

Re: Quick reply for phpBB3

Post by Groundy »

rxu wrote:That's an error in session.php edits. Please post the erroring line 1455 here.
Thanks, I read through the preceeding posts and spooted the error, have corrected it and it's working fine now.

Cheers
Man Utd Forum

The one stop site for United fans
antoscarface
Registered User
Posts: 5
Joined: Sun Dec 27, 2009 10:39 am

Re: Quick reply for phpBB3

Post by antoscarface »

Hi all.. I've installated this mod on my forum and it's works perfectly.

I also have translate this mod on my language, italian, for my forum.
I don't know if anybody have already translate, but, if you want, I'm able to avalable to send you the my translate. ;)


PS: sorry for my bad english
rxu
Extensions Development Team
Posts: 3456
Joined: Wed Oct 25, 2006 12:46 pm
Location: Siberia, Russian Federation
Name: Ruslan
Contact:

Re: Quick reply for phpBB3

Post by rxu »

antoscarface wrote:if you want, I'm able to avalable to send you the my translate.
Thanks, you're free to post your translation (archived) here :) Once done, I'll provide a link to your files on the first page of the topic.
antoscarface
Registered User
Posts: 5
Joined: Sun Dec 27, 2009 10:39 am

Re: Quick reply for phpBB3

Post by antoscarface »

rxu wrote:
antoscarface wrote:if you want, I'm able to avalable to send you the my translate.
Thanks, you're free to post your translation (archived) here :) Once done, I'll provide a link to your files on the first page of the topic.
Perfect... I've attached the translate archive ;)
Attachments

[The extension rar has been deactivated and can no longer be displayed.]

rxu
Extensions Development Team
Posts: 3456
Joined: Wed Oct 25, 2006 12:46 pm
Location: Siberia, Russian Federation
Name: Ruslan
Contact:

Re: Quick reply for phpBB3

Post by rxu »

Thanks. The link is provided here.
dem_z
Registered User
Posts: 25
Joined: Fri Aug 22, 2008 9:56 pm

Re: Quick reply for phpBB3

Post by dem_z »

Hey, awesome QR mod!... I've used it in 3.0.5, but I've decieded to do a full install of 3.0.6, so I'm a bit stuck


These things aren't in my files:

Open: styles/prosilver/template/viewtopic_body.html

Find
Tip: This may be a partial find and not the whole line.
<!-- IF not postrow.U_POST_AUTHOR --><strong>{postrow.POST_AUTHOR_FULL}</strong><!-- ELSE -->{postrow.POST_AUTHOR_FULL}<!-- ENDIF -->
Find
Tip: This may be a partial find and not the whole line.
<!-- IF postrow.RANK_TITLE or postrow.RANK_IMG --><dd>{postrow.RANK_TITLE}<!-- IF postrow.RANK_TITLE and postrow.RANK_IMG --><br /><!-- ENDIF -->{postrow.RANK_IMG}</dd><!-- ENDIF -->
Open: language/en/acp/common.php
Find
Tip: This may be a partial find and not the whole line.
CODE: SELECT ALL
'ACP_QUICK_ACCESS'
Add after
Tip: Add these lines on a new blank line after the preceding line(s) to find.
CODE: SELECT ALL
// Added with Quick reply for phpBB3 MOD
'ACP_QUICK_REPLY' => 'Quick reply',
'LOG_CONFIG_QUICK_REPLY' => '<strong>Edited quick reply settings</strong>',
Is not in my installation, or the Full Package here: http://www.phpbb.com/downloads/olympus.php

Cheers and happy holidays!
dem_z
Registered User
Posts: 25
Joined: Fri Aug 22, 2008 9:56 pm

Re: Quick reply for phpBB3

Post by dem_z »

whoa I didn't pose it as a question... Sorry, my eyes hurt when I'm on the computer too long... Basically I'm really stuck, and any help would be appreciated!!! It's basically a small forum that I have, and not having QR sucks!!!
Locked

Return to “[3.0.x] MOD Database Releases”