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.
Locked
rxu
Extensions Development Team
Posts: 2981
Joined: Wed Oct 25, 2006 12:46 pm
Location: Siberia, Russian Federation
Name: Ruslan
Contact:

Re: Quick reply for phpBB3

Post by rxu » Sun Apr 06, 2008 8:06 am

Try to apply this (pasting in an appropriate place of course):

Code: Select all

         <dt><label for="avatars1">{L_VIEW_AVATARS}:</label></dt>
         <dd>
            <label for="avatars1"><input type="radio" name="avatars" id="avatars1" value="1"<!-- IF S_AVATARS --> checked="checked"<!-- ENDIF --> /> {L_YES}</label> 
            <label for="avatars0"><input type="radio" name="avatars" id="avatars0" value="0"<!-- IF not S_AVATARS --> checked="checked"<!-- ENDIF --> /> {L_NO}</label>
         </dd>
      </dl>
      <!-- IF QUICK_REPLY -->
      <dl>
         <dt><label for="quickreply1">{L_QUICK_REPLY_DISPLAY}:</label></dt>
         <dd>
            <label for="quickreply1"><input type="radio" name="quickreply" id="quickreply1" value="1"<!-- IF S_QUICKREPLY --> checked="checked"<!-- ENDIF --> /> {L_YES}</label> 
            <label for="quickreply0"><input type="radio" name="quickreply" id="quickreply0" value="0"<!-- IF not S_QUICKREPLY --> checked="checked"<!-- ENDIF --> /> {L_NO}</label>
         </dd>
      </dl>
      <!-- ENDIF -->
      <!-- IF QUICK_POST -->
      <dl>
         <dt><label for="quickpost1">{L_QUICK_POST_DISPLAY}:</label></dt>
         <dd>
            <label for="quickpost1"><input type="radio" name="quickpost" id="quickpost1" value="1"<!-- IF S_QUICKPOST --> checked="checked"<!-- ENDIF --> /> {L_YES}</label> 
            <label for="quickpost0"><input type="radio" name="quickpost" id="quickpost0" value="0"<!-- IF not S_QUICKPOST --> checked="checked"<!-- ENDIF --> /> {L_NO}</label>
         </dd>
      </dl>
      <!-- ENDIF -->
      <!-- IF S_CHANGE_CENSORS -->
         <dl>
            <dt><label for="wordcensor1">{L_DISABLE_CENSORS}:</label></dt>
            <dd>
               <label for="wordcensor1"><input type="radio" name="wordcensor" id="wordcensor1" value="1"<!-- IF S_DISABLE_CENSORS --> checked="checked"<!-- ENDIF --> /> {L_YES}</label> 
               <label for="wordcensor0"><input type="radio" name="wordcensor" id="wordcensor0" value="0"<!-- IF not S_DISABLE_CENSORS --> checked="checked"<!-- ENDIF --> /> {L_NO}</label>
            </dd>
         </dl>
      <!-- ENDIF -->
      <hr />
traderttz
Are you sure all the additional MOD's PHP files are copied and all the board PHP files are edited properly, especially includes/quick_reply.php (copied) and viewtopic.php (edited)?

traderttz
Registered User
Posts: 4
Joined: Sun Apr 06, 2008 4:49 am

Re: Quick reply for phpBB3

Post by traderttz » Sun Apr 06, 2008 8:09 am

This is a portion of my ucp_prefs_view.html from line 28 to 38.

Code: Select all

<tr>
	<td class="row1" width="50%"><b class="genmed">{L_VIEW_AVATARS}:</b></td>
	<td class="row2"><input type="radio" class="radio" name="avatars" value="1"<!-- IF S_AVATARS --> checked="checked"<!-- ENDIF --> /><span class="gen">{L_YES}</span>&nbsp; &nbsp;<input type="radio" class="radio" name="avatars" value="0"<!-- IF not S_AVATARS --> checked="checked"<!-- ENDIF --> /><span class="gen">{L_NO}</span></td>
</tr>
<!-- IF QUICK_REPLY -->
<tr>
	<td class="row1" width="50%"><b class="genmed">{L_QUICK_REPLY_DISPLAY}:</b></td>
	<td class="row2"><input type="radio" class="radio" name="quickreply" value="1"<!-- IF S_QUICKREPLY --> checked="checked"<!-- ENDIF --> /><span class="gen">{L_YES}</span>&nbsp; &nbsp;<input type="radio" class="radio" name="quickreply" value="0"<!-- IF not S_QUICKREPLY --> checked="checked"<!-- ENDIF --> /><span class="gen">{L_NO}</span></td>
</tr>
<!-- ENDIF -->
<!-- IF QUICK_POST -->
Below is line 258 to 262 of viewforum_body.html

Code: Select all

<!-- IF QUICK_REPLY --><!-- INCLUDE quick_reply.html --><!-- ENDIF -->

<!-- INCLUDE breadcrumbs.html -->

<!-- IF S_DISPLAY_ONLINE_LIST -->
below is line 145 to 148 of viewtopic_body.html

Code: Select all

<td align="center" valign="middle">
				<!-- IF postrow.S_FIRST_UNREAD --><a name="unread"></a><!-- ENDIF --><a name="p{postrow.POST_ID}"></a>
				<b class="postauthor"<!-- IF postrow.POST_AUTHOR_COLOUR --> style="color: {postrow.POST_AUTHOR_COLOUR}"<!-- ENDIF -->><!-- IF QUICK_REPLY --><a href="#postform" onclick="insert_text('[b]{postrow.POSTER_QUOTE}[/b]\r\n'); return false;"<!-- IF postrow.POST_AUTHOR_COLOUR --> style="color: {postrow.POST_AUTHOR_COLOUR}"<!-- ENDIF -->><!-- ENDIF -->{postrow.POST_AUTHOR}<!-- IF QUICK_REPLY --></a><!-- ENDIF --></b>
			</td>
Line 170 to 179 viewtopic_body.html

Code: Select all

<!-- IF postrow.RANK_TITLE -->
				<tr>
					<td class="postdetails">{postrow.RANK_TITLE}</td>
				</tr>
			<!-- ENDIF -->
						<!-- IF QUICK_REPLY -->
				<tr>
					<td class="postdetails"><a href="#postform" onclick="addquote({postrow.POST_ID},'{postrow.POSTER_QUOTE}'); insert_text('\r\n'); return false;" title="{L_QUOTE_TEXT}">{L_QUOTE}</a></td>
				</tr>
			<!-- ENDIF -->
line 43-47 viewtopic_body.html

Code: Select all

<td class="gensmall" width="100%" align="{S_CONTENT_FLOW_END}" nowrap="nowrap"><!-- INCLUDE pagination.html --></td>
		<!-- ENDIF -->
	</tr>
	</table>
	<!-- IF QUICK_REPLY --><!-- INCLUDE quick_reply.html --><!-- ENDIF -->
line 319-323 viewtopic_body.html

Code: Select all

<td class="gensmall" width="100%" align="{S_CONTENT_FLOW_END}" nowrap="nowrap"><!-- INCLUDE pagination.html --></td>
		<!-- ENDIF -->
	</tr>
	</table>
<!-- IF QUICK_REPLY --><!-- INCLUDE quick_reply.html --><!-- ENDIF -->

traderttz
Registered User
Posts: 4
Joined: Sun Apr 06, 2008 4:49 am

Re: Quick reply for phpBB3

Post by traderttz » Sun Apr 06, 2008 8:20 am

I am not too sure if the problems lies here - the root path (viewtopic.php)

I have the forum installed at public_html/forums/

Code: Select all

define('IN_PHPBB', true);
$phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './';
$phpEx = substr(strrchr(__FILE__, '.'), 1);
include($phpbb_root_path . 'common.' . $phpEx);
include($phpbb_root_path . 'includes/functions_display.' . $phpEx);
include($phpbb_root_path . 'includes/bbcode.' . $phpEx);
Do i need to edit the root path?

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

Re: Quick reply for phpBB3

Post by rxu » Sun Apr 06, 2008 8:23 am

traderttz wrote:Do i need to edit the root path?
No, I don't think so :)
html files seem to be ok, but I've meant PHP files. What about viewtopic.php and includes/ucp/ucp_prefs.php edits?

sherylls
Registered User
Posts: 32
Joined: Tue Nov 15, 2005 7:25 pm

Re: Quick reply for phpBB3

Post by sherylls » Sun Apr 06, 2008 8:24 am

Thanks - that fixed my problem! :D

rampal
Registered User
Posts: 12
Joined: Sun Mar 02, 2008 2:16 am

Re: Quick reply for phpBB3

Post by rampal » Sun Apr 06, 2008 9:11 am

rxu wrote:rampal
Did you get at least Quick Reply ACP module after installation and "Display quick reply panel at topic view" option in UCP/Board preferences/Edit display options?
Thanks for answering rxu. No, I do not get this option in the board preferences of UCP. Not in the English or the Spanish languages. Nothing has changed and, surprisingly enough (which was my fear) nothing seems to be affected (even though all files are changed and edited as indicated). :?

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

Re: Quick reply for phpBB3

Post by rxu » Sun Apr 06, 2008 9:16 am

rampal wrote:I do not get this option in the board preferences of UCP
And how about ACP module? Is quick reply allowed there?

rampal
Registered User
Posts: 12
Joined: Sun Mar 02, 2008 2:16 am

Re: Quick reply for phpBB3

Post by rampal » Sun Apr 06, 2008 1:40 pm

rxu wrote:
rampal wrote:I do not get this option in the board preferences of UCP
And how about ACP module? Is quick reply allowed there?
No, I don't see the option for allowing quick reply in the ACP. Where should it be? Thanks

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

Re: Quick reply for phpBB3

Post by rxu » Sun Apr 06, 2008 2:16 pm

See the screenshot (click to see it in original size) :)
Image

rampal
Registered User
Posts: 12
Joined: Sun Mar 02, 2008 2:16 am

Re: Quick reply for phpBB3

Post by rampal » Sun Apr 06, 2008 2:41 pm

I see, thanks. No, obviously I don't see this in my ACP, therefore no wonder I don't see this in my UCP. I will re-start again the installation process and review all steps (should I edit the install.php file instead of using the bug-fixed version?). I have done the entire process already three times, but it seems I have done something wrong. Don't know what... I'll let you know.... weird...

coruscant
Registered User
Posts: 32
Joined: Tue Jul 04, 2006 6:31 pm

Re: Quick reply for phpBB3

Post by coruscant » Sun Apr 06, 2008 2:48 pm

Sorry but I'm using the style AcidTechYellow and I can't find

Code: Select all

<!-- IF not postrow.U_POST_AUTHOR --><strong>{postrow.POST_AUTHOR_FULL}</strong><!-- ELSE -->{postrow.POST_AUTHOR_FULL}<!-- ENDIF -->
in styles/prosilver/template/viewtopic_body.html

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

Re: Quick reply for phpBB3

Post by rxu » Sun Apr 06, 2008 2:51 pm

rampal
Check if all the MOD files to be copied are copied to the right places.
Installation of this MOD isn't too difficult, at my sight, so I don't think it have to make so lot of troubles with it...
Last edited by rxu on Sun Apr 06, 2008 3:00 pm, edited 1 time in total.

coruscant
Registered User
Posts: 32
Joined: Tue Jul 04, 2006 6:31 pm

Re: Quick reply for phpBB3

Post by coruscant » Sun Apr 06, 2008 2:57 pm

I can't find any of the line specified for viewtopic_body.html :(

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

Re: Quick reply for phpBB3

Post by rxu » Sun Apr 06, 2008 3:06 pm

Let me some time to take a look at AcidTechYellow.

coruscant
Registered User
Posts: 32
Joined: Tue Jul 04, 2006 6:31 pm

Re: Quick reply for phpBB3

Post by coruscant » Sun Apr 06, 2008 3:19 pm

Thanks a lot :)

Locked

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