Evil Quick Reply

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.
Locked
SilentHill
Registered User
Posts: 2
Joined: Tue Apr 24, 2007 11:54 pm

Re: Evil Quick Reply

Post by SilentHill »

dkasler wrote:
statm wrote:Yea I think it has to do with the js error that you get from this line : onload_functions.push('toggle_quick_reply()');

It says "onload_functions" is undefined

This is only in IE.
Yes, I just check and that is exactly the problem I am having. Any fix for this?
Problem continius? Someone solved?
Remor
Registered User
Posts: 9
Joined: Sun Nov 11, 2007 1:25 pm

Re: Evil Quick Reply

Post by Remor »

With this mod quick reply work on my forum gold 3.0.0

File: good version.rar

start:
File Copy

Copy: root/includes/functions_quick_reply.php
To: includes/functions_quick_reply.php

Copy: root/styles/prosilver/imageset/en/button_quick_reply.gif
To: styles/prosilver/imageset/en/button_quick_reply.gif

Copy: root/styles/prosilver/template/posting_qr_body.html
To: styles/prosilver/template/posting_qr_body.html
Open: viewtopic.php

Find
'WARN_IMG' => $user->img('icon_user_warn', 'WARN_USER'),

Add after
'QUICK_REPLY_IMG' => $user->img('button_quick_reply', 'QUICK_REPLY'),


Find
page_footer();

Add before
include($phpbb_root_path . 'includes/functions_quick_reply.' . $phpEx);
quick_reply($topic_id, $forum_id, $topic_data);
Open: includes/acp/acp_language.php

Find
, 'button_topic_reply'

In-line Add after
, 'button_quick_reply'
Open: includes/acp/acp_styles.php

Find
, 'button_topic_reply'

In-line Add after
, 'button_quick_reply'
Open: language/en/common.php

Find
'POST_REPLY' => 'Post a reply',

Add after
'QUICK_REPLY' => 'Quick reply',
Open: language/en/acp/styles.php

Find
'IMG_BUTTON_TOPIC_REPLY' => 'Reply topic',

Add after
'IMG_BUTTON_QUICK_REPLY' => 'Quick reply',
Open: styles/prosilver/imageset/en/imageset.cfg

Find
img_button_topic_reply = button_topic_reply.gif*25*96

Add after
img_button_quick_reply = button_quick_reply.gif*25*96
Open: styles/prosilver/template/viewtopic_body.html

Find
<div class="<!-- IF S_IS_LOCKED -->locked-icon<!-- ELSE -->reply-icon<!-- ENDIF -->"><a href="{U_POST_REPLY_TOPIC}" title="<!-- IF S_IS_LOCKED -->{L_TOPIC_LOCKED}<!-- ELSE -->{L_POST_REPLY}<!-- ENDIF -->"><span></span><!-- IF S_IS_LOCKED -->{L_TOPIC_LOCKED_SHORT}<!-- ELSE -->{L_POST_REPLY}<!-- ENDIF --></a></div>

line 245

change with this:
<div class="<!-- IF S_IS_LOCKED -->locked-icon<!-- ELSE -->reply-icon<!-- ENDIF -->"><a href="{U_POST_REPLY_TOPIC}" title="<!-- IF S_IS_LOCKED -->{L_TOPIC_LOCKED}<!-- ELSE -->{L_POST_REPLY}<!-- ENDIF -->"><span></span><!-- IF S_IS_LOCKED -->{L_TOPIC_LOCKED_SHORT}<!-- ELSE -->{L_POST_REPLY}<!-- ENDIF --></a></div><!-- IF S_QR_ENABLED --><div class="quick-reply-icon"><a href="javascript:toggle_quick_reply();" title="{L_QUICK_REPLY}"><span></span>{L_QUICK_REPLY}</a></div><!-- ENDIF -->

Find
<!-- INCLUDE jumpbox.html -->

Add before
<!-- INCLUDE posting_qr_body.html -->
Open: styles/prosilver/theme/buttons.css

Find
.reply-icon span { background: transparent none 0 0 no-repeat; }

Add after
.quick-reply-icon span { background: transparent none 0 0 no-repeat; }

Find
.buttons div.reply-icon { width: {IMG_BUTTON_TOPIC_REPLY_WIDTH}px; height: {IMG_BUTTON_TOPIC_REPLY_HEIGHT}px; }

Add after
.buttons div.quick-reply-icon { width: {IMG_BUTTON_QUICK_REPLY_WIDTH}px; height: {IMG_BUTTON_QUICK_REPLY_HEIGHT}px; }
Open: styles/prosilver/theme/colours.css

Find
.reply-icon span { background-image: url("{IMG_BUTTON_TOPIC_REPLY_SRC}"); }

Add after
.quick-reply-icon span { background-image: url("{IMG_BUTTON_QUICK_REPLY_SRC}"); }

PS: only prosilver ;)
Last edited by Remor on Sun Dec 23, 2007 5:29 pm, edited 1 time in total.
Mjonir
Registered User
Posts: 18
Joined: Sat May 05, 2007 10:46 pm

Re: Evil Quick Reply

Post by Mjonir »

Yeah, I just finished making it compatible and installed it on a Gold.

I also suggest something so that the Quick Reply doesn't show when the topic is locked (useless) exept if user is a Mod: (in viewtopic_body.html)

Code: Select all

<!-- IF S_QR_ENABLED --><!-- IF not S_IS_LOCKED or S_TOPIC_MOD --><div class="quick-reply-icon"><a href="javascript:toggle_quick_reply();" title="{L_QUICK_REPLY}"><span></span>{L_QUICK_REPLY}</a></div><!-- ENDIF --><!-- ENDIF -->
User avatar
mathmission
Registered User
Posts: 51
Joined: Thu Sep 27, 2007 8:04 pm

Re: Evil Quick Reply

Post by mathmission »

Installed this on PHPBB3.0.0 (GOLD) on the CARBON template.

At the top of the screen on every page, it displays this:

Code: Select all

[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3405: Cannot modify header information - headers already sent by (output started at /language/en/common.php:1)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3407: Cannot modify header information - headers already sent by (output started at /language/en/common.php:1)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3408: Cannot modify header information - headers already sent by (output started at /language/en/common.php:1)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3409: Cannot modify header information - headers already sent by (output started at /language/en/common.php:1)
Everything else on the pages works. The quick reply button does not display. I think there was only one instance when the instructions didn't match what I had, and that was in the template:

Code: Select all

Open: styles/prosilver/template/viewtopic_body.html
Find
Tip: This may be a partial find and not the whole line.

Code:Select All
{S_POLL_ACTION}
Find
Tip: This may be a partial find and not the whole line.

Code:Select All
{L_POST_REPLY}<!-- ENDIF --></span></a></div>
In-line Find
Tip: This is a partial match of a line for in-line operations.

Code:Select All
{L_POST_REPLY}<!-- ENDIF --></span></a></div>
In-line Add after

Code:Select All
<!-- IF S_QR_ENABLED --><div class="quick-reply-icon"><a href="javascript:toggle_quick_reply();"><span>{L_QUICK_REPLY}</span></a></div><!-- ENDIF -->

Any ideas?
AlphaSquirell
Registered User
Posts: 5
Joined: Fri Mar 23, 2007 11:40 pm

Re: Evil Quick Reply

Post by AlphaSquirell »

Roggy wrote:still the same...
maybe i need to refresh the theme/template? or something else?
Yes, you have to refresh whichever one of those it is that the MOD edits. (template? brainfart won't let me remember which) One lets you refresh it and the MOD works, and the other one tells you there's no need to refresh. At least, that's what it did for me.
Rosca
Registered User
Posts: 21
Joined: Sat Dec 15, 2007 8:27 pm

Re: Evil Quick Reply

Post by Rosca »

Thank you very much, this mod is also working on gold version ;)
User avatar
mathmission
Registered User
Posts: 51
Joined: Thu Sep 27, 2007 8:04 pm

Re: Evil Quick Reply

Post by mathmission »

Are there skins that this just doesn't work on?
Rosca
Registered User
Posts: 21
Joined: Sat Dec 15, 2007 8:27 pm

Re: Evil Quick Reply

Post by Rosca »

I do't think because I'm using this in a different style and It's working very good
Remor
Registered User
Posts: 9
Joined: Sun Nov 11, 2007 1:25 pm

Re: Evil Quick Reply

Post by Remor »

I have not tried to mount in other skin but it is possible that the same functions ;)
MyBigToe
Registered User
Posts: 33
Joined: Mon Feb 06, 2006 12:10 am

Re: Evil Quick Reply

Post by MyBigToe »

so am i right in thinking that it doesnt work in gold yet?
Rosca
Registered User
Posts: 21
Joined: Sat Dec 15, 2007 8:27 pm

Re: Evil Quick Reply

Post by Rosca »

MyBigToe wrote:so am i right in thinking that it doesnt work in gold yet?
It's working on gold, I'm using it in gold version, but I had to do same changes in HTML files.
MrC
Registered User
Posts: 857
Joined: Mon Jun 30, 2003 4:11 pm
Location: The Netherlands
Name: Ivo
Contact:

Re: Evil Quick Reply

Post by MrC »

MrC wrote:Hi,

I'm getting a javasript error in IE7 using prosilver. (can't move focus to the control because it is invisible ....)
The error is generated by this part in posting_qr_body.html

Code: Select all

<!-- INCLUDE posting_buttons.html -->
This line comes when adding smilies and bbcode to the quickreply.
Still having this javascript error in IE when i add the bbcodes and smilies.
Is it solvable and is if so: how?
MyBigToe
Registered User
Posts: 33
Joined: Mon Feb 06, 2006 12:10 am

Re: Evil Quick Reply

Post by MyBigToe »

Rosca wrote:
MyBigToe wrote:so am i right in thinking that it doesnt work in gold yet?
It's working on gold, I'm using it in gold version, but I had to do same changes in HTML files.
what are the tweaks to the original code to make it work?
im not exactly great at all of this
Rosca
Registered User
Posts: 21
Joined: Sat Dec 15, 2007 8:27 pm

Re: Evil Quick Reply

Post by Rosca »

Take a look on second post on this page, Remor wrote the version which is working on gold.
LyVyU VT
Registered User
Posts: 2
Joined: Thu Jul 19, 2007 10:13 am
Location: Romania
Contact:

Re: Evil Quick Reply

Post by LyVyU VT »

Why I cannot see the qucik reply image in viewtopic.php ?
Locked

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