Page 2 of 2

Re: Quick Reply Box disappeared

Posted: 25 Apr 2010, 23:46
by Steve
What phpBB3 version are using ?

I see some bad finds in the smilie mod for the quick reply im using phpbb3 version 3.0.7 PL , think i can get it to work.
But you want have this error if you have undone all file edits included with in the install.xml file.
This is your viewtopic.php and i know 100% its wrongly edited for 3.0.7
your file:

Code: Select all

// let's set up quick_reply
$s_quick_reply = false;
if ($user->data['is_registered'] && $config['allow_quick_reply'] && ($topic_data['forum_flags'] & FORUM_FLAG_QUICK_REPLY) && $auth->acl_get('f_reply', $forum_id))
{
	// Quick reply enabled forum
	$s_quick_reply = (($topic_data['forum_status'] == ITEM_UNLOCKED && $topic_data['topic_status'] == ITEM_UNLOCKED) || $auth->acl_get('m_edit', $forum_id)) ? true : false;
}
$smilies_status   = ($bbcode_status && $config['allow_smilies'] && $auth->acl_get('f_smilies', $forum_id)) ? true : false;
fresh file:

Code: Select all

// let's set up quick_reply
$s_quick_reply = false;
if ($user->data['is_registered'] && $config['allow_quick_reply'] && ($topic_data['forum_flags'] & FORUM_FLAG_QUICK_REPLY) && $auth->acl_get('f_reply', $forum_id))
{
	// Quick reply enabled forum
	$s_quick_reply = (($topic_data['forum_status'] == ITEM_UNLOCKED && $topic_data['topic_status'] == ITEM_UNLOCKED) || $auth->acl_get('m_edit', $forum_id)) ? true : false;
}
If your willing to test try this edit:

Code: Select all

	// Quick reply enabled forum
	$s_quick_reply = (($topic_data['forum_status'] == ITEM_UNLOCKED && $topic_data['topic_status'] == ITEM_UNLOCKED) || $auth->acl_get('m_edit', $forum_id)) ? true : false;
    $smilies_status   = ($bbcode_status && $config['allow_smilies'] && $auth->acl_get('f_smilies', $forum_id)) ? true : false;
{
note the { ends the php code
But you still getting the error means YOU HAVE NOT removed the bbcode or smilies QR addon for phpBB3 3.0.6 to 3.0.7

Re: Quick Reply Box disappeared

Posted: 26 Apr 2010, 02:09
by Inner Circle
Steve© » 25 Apr 2010, 23:46 wrote:
If your willing to test try this edit:

Code: Select all

	// Quick reply enabled forum
	$s_quick_reply = (($topic_data['forum_status'] == ITEM_UNLOCKED && $topic_data['topic_status'] == ITEM_UNLOCKED) || $auth->acl_get('m_edit', $forum_id)) ? true : false;
    $smilies_status   = ($bbcode_status && $config['allow_smilies'] && $auth->acl_get('f_smilies', $forum_id)) ? true : false;
{
note the { ends the php code
But you still getting the error means YOU HAVE NOT removed the bbcode or smilies QR addon for phpBB3 3.0.6 to 3.0.7
I´m using 3.0.7 PL-1

and i have removed both mods you can be assured...
The Code gives me a Syntax-Error when i try to open a topic...

Re: Quick Reply Box disappeared

Posted: 26 Apr 2010, 02:35
by cisco007
do you have a lot of mods installed on your board!?

Re: Quick Reply Box disappeared

Posted: 26 Apr 2010, 04:50
by Inner Circle
cisco007 » 26 Apr 2010, 02:35 wrote:do you have a lot of mods installed on your board!?
Yes, it´s heavily modified

Re: Quick Reply Box disappeared

Posted: 26 Apr 2010, 05:30
by cisco007
well i was going to say, just upload a brand new viewtopic.php file, to try to get rid of the problem!

Re: Quick Reply Box disappeared

Posted: 26 Apr 2010, 17:10
by Inner Circle
cisco007 » 26 Apr 2010, 05:30 wrote:well i was going to say, just upload a brand new viewtopic.php file, to try to get rid of the problem!
I´m going to use a vanilla viewtopic.php and add all edits from the installed mods on my board.

I´ll report when i´m ready

Re: Quick Reply Box disappeared

Posted: 26 Apr 2010, 17:20
by cisco007
yeah, that is what i advice you do, don't know what you use, but use winmerge to add edits between those two files!