Quick Reply Box disappeared

Support for PhpBB3. Post here to get help with any phpBB3 related issue here
There is no support here! Only Read Access!
Forum rules
In order the get any support, you will have to do following:
1. Use a describing title!
2. Describe your problem and what happened when the problem occured
3. Tell us what version of phpBB3 you are currently using.
Else your topic may be ignored or locked!
User avatar
Steve
BBCoder VI
BBCoder VI
Posts: 863
Joined: 05 Mar 2010, 01:10
BBCodes: 2000
Favourite BBCode: p**n tube
Favourite MOD: Non of Stokers

Re: Quick Reply Box disappeared

Post 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
Steve wrote: 14 Nov 2024, 16:45 It's happy bastard day!
User avatar
Inner Circle
BBCoder III
BBCoder III
Posts: 107
Joined: 20 Mar 2010, 20:25
Location: Germany
Contact:

Re: Quick Reply Box disappeared

Post 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...
cisco007
BBCoder VI
BBCoder VI
Posts: 1015
Joined: 16 Mar 2010, 18:14
Location: Don't really know!

Re: Quick Reply Box disappeared

Post by cisco007 »

do you have a lot of mods installed on your board!?
User avatar
Inner Circle
BBCoder III
BBCoder III
Posts: 107
Joined: 20 Mar 2010, 20:25
Location: Germany
Contact:

Re: Quick Reply Box disappeared

Post 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
cisco007
BBCoder VI
BBCoder VI
Posts: 1015
Joined: 16 Mar 2010, 18:14
Location: Don't really know!

Re: Quick Reply Box disappeared

Post by cisco007 »

well i was going to say, just upload a brand new viewtopic.php file, to try to get rid of the problem!
User avatar
Inner Circle
BBCoder III
BBCoder III
Posts: 107
Joined: 20 Mar 2010, 20:25
Location: Germany
Contact:

Re: Quick Reply Box disappeared

Post 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
cisco007
BBCoder VI
BBCoder VI
Posts: 1015
Joined: 16 Mar 2010, 18:14
Location: Don't really know!

Re: Quick Reply Box disappeared

Post 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!
Locked