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.
User avatar
Théonaute
Registered User
Posts: 341
Joined: Sun Jan 22, 2006 10:31 am

Re: Quick reply for phpBB3

Post by Théonaute »

rxu wrote:
Théonaute wrote:You can't use $user->data here because if an admin or mod edit this post, he will see his own groups
There's nothing to do with post edit here, QR is just for posting ;) Unless I'm missing something in your MOD.
You're right.
Théonaute | ex-MOD Team member on phpbb-fr.com
No more phpBB's activities. No MODs updates, no new MODs... Thanks.
User avatar
Ephemeraboy
Registered User
Posts: 331
Joined: Tue Dec 29, 2009 4:25 pm
Location: Bandung Kota Hujan
Name: Bernando Bona Tius Sianipar
Contact:

Re: Quick reply for phpBB3

Post by Ephemeraboy »

hm..
if this MOD support for 3.0.6..
please
tell me what must I do then...
thx very much...
My diary, my notepad, and my life on
http://www.bonatius.com
My online shop at
http://www.nefara.com
rxu
Extensions Development Team
Posts: 3473
Joined: Wed Oct 25, 2006 12:46 pm
Location: Siberia, Russian Federation
Name: Ruslan
Contact:

Re: Quick reply for phpBB3

Post by rxu »

Ephemeraboy wrote:if this MOD support for 3.0.6..
Please notice that 3.0.6 has it own built-in quick reply.
And regarding this particular MOD - yes, it works with 3.0.6 with limitations of using CAPTCHA (if you do use it for reply).
frenzoo
Registered User
Posts: 15
Joined: Wed Jan 20, 2010 7:07 am

Re: Quick reply for phpBB3

Post by frenzoo »

Excuse me, I have tried to install the QR mod under phpbb3.0.2

I have made all the changes stated in QR_phpBB3.xml
And I have run the bug fixed install.php to install afterwards

It said in my browser that the module is installed successfully.
However, when I go back to the forum to check, it have no changes made (there is no quick reply functionality)

Then I check the ACP.
I go to system -> module management -> ACP -> General -> Board Configuration, it shows Quick Reply module there and that it is enabled.

That means the quick reply is actually enabled according to the ACP setting. However, I cannot use the quick reply function when I go to my forum.

May I ask what can I do in such case?
Thanks
rxu
Extensions Development Team
Posts: 3473
Joined: Wed Oct 25, 2006 12:46 pm
Location: Siberia, Russian Federation
Name: Ruslan
Contact:

Re: Quick reply for phpBB3

Post by rxu »

Please, check if quick reply is enabled in your UCP/Board preferences/Edit display options/ tab.
And do you use some custom style?
frenzoo
Registered User
Posts: 15
Joined: Wed Jan 20, 2010 7:07 am

Re: Quick reply for phpBB3

Post by frenzoo »

Hi, rux.

Thank you for your reply.

I have done the following:

Go to the ACP -> System -> Module Management -> User Control Panel -> Board Preference -> Edit Display Option. Then I click "edit", enable all the things there and submit.

Afterwards, when I log in to my forum again, I can see that there is edit display option in the user control panel. But there is not any option for enable quick reply. I can only see:

Display images within posts:
Display Flash animations:
Display smilies as images:
Display signatures:
Display avatars:
Enable word censoring:

Display topics from previous days:
Display topics ordering by:
Display topic order direction:

Display posts from previous days:
Display posts ordering by:
Display post order direction:

Have I done anything worng?
And for the "custom style" you mention, what is it? Is there anyway I can check?

Thank you very much for your attention
frenzoo
Registered User
Posts: 15
Joined: Wed Jan 20, 2010 7:07 am

Re: Quick reply for phpBB3

Post by frenzoo »

Hi, rux.

We have noticed that one of our previous colleges have changed the previous code a bit, causing incompatibility.

Now the problem is solved.
Thank you very much for your attention and time.
Thanks
frenzoo
Registered User
Posts: 15
Joined: Wed Jan 20, 2010 7:07 am

Re: Quick reply for phpBB3

Post by frenzoo »

Excuse me, I have a new problem.

I finally can enable the quick reply in UCP.
However, when I click the submit button, my FireBug complains that the function "checkForm" is not defined.

May I ask where can I find the function checkForm? Which JS file should I look at?
Because I really cannot find a JS file the contain the implementation of the function checkForm

Thank you very much
frenzoo
Registered User
Posts: 15
Joined: Wed Jan 20, 2010 7:07 am

Re: Quick reply for phpBB3

Post by frenzoo »

Excuse me, sorry that I have made quite a lot of post here, But I am new to phpbb and I have something that I do not understand and want to ask.

in the quick reply.php, the form has the action attribute having the value of {S_POST_ACTION}
Is {S_POST_ACTION} a variable?

If yes, where can I find the value of such variable?

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

Re: Quick reply for phpBB3

Post by rxu »

frenzoo wrote:FireBug complains that the function "checkForm" is not defined.
You can just find the following row in quick_reply.html

Code: Select all

<form id="postform" method="post" action="{S_POST_ACTION}" onsubmit="return checkForm(this);" name="postform"{S_FORM_ENCTYPE}>
and delete the entry of onsubmit="return checkForm(this);" there, getting the final code like

Code: Select all

<form id="postform" method="post" action="{S_POST_ACTION}" name="postform"{S_FORM_ENCTYPE}>
This is a kind of bug.
frenzoo wrote:Is {S_POST_ACTION} a variable?
If yes, where can I find the value of such variable?
That's a common phpBB3 templating basis. You can find an assignment of that placeholder in includes/quick_reply.php

Code: Select all

'S_POST_ACTION'			=> $s_action
and for $s_action

Code: Select all

	$s_action = append_sid("{$phpbb_root_path}posting.$phpEx", "mode=$mode&f=$forum_id", true, $user->session_id);
	$s_action .= (isset($topic_id) && $topic_id) ? "&t=$topic_id" : '';
frenzoo
Registered User
Posts: 15
Joined: Wed Jan 20, 2010 7:07 am

Re: Quick reply for phpBB3

Post by frenzoo »

Thank you very much for explaining.

After I make a quick reply message and click "submit" in my forum page, I get redirected to posting.php
which said the posting of the message is successful.

Afterwards, it automatically redirect me to
http://242.www.luke.frenzoo.com/jasperD ... 63&p=68883

which result in 404 not found

I think the link should be
http://242.www.luke.frenzoo.com/jasperD ... 63&p=68883

instead of
http://242.www.luke.frenzoo.com/jasperD ... 63&p=68883

I have taken a look into the forum/posting.php but still cannot find the correct place to edit the link.
May I ask where is the place that I should edit the link ?

Thank you very much for your attention
frenzoo
Registered User
Posts: 15
Joined: Wed Jan 20, 2010 7:07 am

Re: Quick reply for phpBB3

Post by frenzoo »

Thanks.

I finally managed where I should change the path and solved the problem. Thanks
hojko
Registered User
Posts: 69
Joined: Wed Aug 11, 2004 2:20 am
Location: Slovakia

Re: Quick reply for phpBB3

Post by hojko »

When I am wrote post and somebody send new post before my clicking to send it, phpBB notice error: "The submitted form was invalid. Try submitting again." When I am refresh this sending, it's notice: "At least one new post has been made to this topic." I am using 3.0.6 and alternative template (AvalonBlue). How can I fix it? Thanks.
rxu
Extensions Development Team
Posts: 3473
Joined: Wed Oct 25, 2006 12:46 pm
Location: Siberia, Russian Federation
Name: Ruslan
Contact:

Re: Quick reply for phpBB3

Post by rxu »

Do you get the same behavior with the stock styles (prosilver/subsilver2)?
hojko
Registered User
Posts: 69
Joined: Wed Aug 11, 2004 2:20 am
Location: Slovakia

Re: Quick reply for phpBB3

Post by hojko »

rxu: Yep.
Locked

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