Simple 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 here. No new MODs will be accepted into the MOD Database for phpBB2
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.

Rating:

Excellent!
58
64%
Very Good
15
16%
Good
10
11%
Fair
3
3%
Poor
5
5%
 
Total votes: 91

Glud
Registered User
Posts: 1
Joined: Thu Sep 14, 2006 6:45 pm
Location: Denmark

Post by Glud » Thu Sep 14, 2006 6:56 pm

Hey Guys!

I have installed this quit nice MOD, and it works like it should do!
But there is a little problem with the visual.
My current design is SoftGreen 1.1 by DaTutorials.com

The Quick Relpy Area look like this right now:
Image

As you can se, the area around the Quick Relpy-field is white, but I would like it be "soft green" like the area around it.

How can I change this?
/Glud

pfeilmayer
Registered User
Posts: 39
Joined: Fri Sep 08, 2006 5:48 am
Location: inside n-oferte.ro
Contact:

Post by pfeilmayer » Sat Sep 16, 2006 11:02 am

hello
I edited
language/lang_english/lang_main.php
viewtopic.php
but i use ptifo style, not subsilver, and in templates/ptifo/viewtopic_body.tpl
I don't find this :
<table width="100%" cellspacing="2" border="0" align="center">
<tr>
<td width="40%" valign="top" nowrap="nowrap" align="left"><span class="gensmall">{S_WATCH_TOPIC}</span><br />
&nbsp;<br />
{S_TOPIC_ADMIN}</td>
<td align="right" valign="top" nowrap="nowrap">{JUMPBOX}<span class="gensmall">{S_AUTH_LIST}</span></td>
</tr>
</table>

please tell me what to change to make this mod to work :D
thank you

this is the file I have to edit :
templates/ptifo/viewtopic_body.tpl



{POLL_DISPLAY}
<form method="post" name="post" action="{S_POST_DAYS_ACTION}">
{NAVIGATION_BOX}

<table border="0" cellpadding="4" cellspacing="1" width="100%">
<tr>
<td><span class="maintitle">
<a class="maintitle" href="{U_VIEW_TOPIC}">{TOPIC_TITLE}</a>
<!-- BEGIN moderators --></span><span class="gensmall"><br /><b>{L_MODERATORS}:&nbsp;</b><!-- BEGIN mod --><a href="{moderators.mod.U_MOD}" title="{moderators.mod.L_MOD_TITLE}" class="gensmall">{moderators.mod.L_MOD}</a><!-- BEGIN sep -->, <!-- END sep --><!-- END mod --><!-- END moderators -->
</span></td>
</tr>
</table>

<table width="100%" cellspacing="0" cellpadding="2" border="0">
<tr>
<td align="left" valign="bottom" nowrap="nowrap"><span class="nav">
<a href="{U_NEW_TOPIC}" title="{L_NEW_TOPIC}"><img src="{I_NEW_TOPIC}" border="0" alt="{L_NEW_TOPIC}" align="middle" /></a>&nbsp;&nbsp;&nbsp;<a href="{U_REPLY_TOPIC}" title="{L_REPLY_TOPIC}"><img src="{I_REPLY_TOPIC}" border="0" alt="{L_REPLY_TOPIC}" align="middle" /></a>
</span></td>
<td align="right" valign="bottom" nowrap="nowrap"><span class="gensmall">
<a href="{U_VIEW_PREVIOUS_TOPIC}" title="{L_VIEW_PREVIOUS_TOPIC}"><img src="{I_VIEW_PREVIOUS_TOPIC}" border="0" alt="{L_VIEW_PREVIOUS_TOPIC}" hspace="2" /></a><!-- BEGIN watch --><a href="{U_WATCH_TOPIC}" title="{L_WATCH_TOPIC}"><img src="{I_WATCH_TOPIC}" border="0" alt="{L_WATCH_TOPIC}" hspace="2" /></a><!-- END watch --><!-- BEGIN unread_topic --><a href="{U_UNREAD_TOPIC}" title="{L_UNREAD_TOPIC}"><img src="{I_UNREAD_TOPIC}" border="0" alt="{L_UNREAD_TOPIC}" hspace="2" /></a><!-- END unread_topic --><a href="{U_VIEW_NEXT_TOPIC}" title="{L_VIEW_NEXT_TOPIC}"><img src="{I_VIEW_NEXT_TOPIC}" border="0" alt="{L_VIEW_NEXT_TOPIC}" hspace="2" /></a>
</span></td>
</tr>
</table>
<!-- INCLUDE pagination_box.tpl -->
<table class="forumline" width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td colspan="5"><img src="{I_SPACER}" height="1" border="0" alt="" /></td>
</tr>
<tr>
<td width="1"><img src="{I_SPACER}" width="1" border="0" alt="" /></td>
<th class="thCornerL" width="150" nowrap="nowrap">{L_AUTHOR}</th>
<td width="1"><img src="{I_SPACER}" width="1" border="0" alt="" /></td>
<th class="thCornerR" nowrap="nowrap">{L_MESSAGE}</th>
<td width="1"><img src="{I_SPACER}" width="1" border="0" alt="" /></td>
</tr>
<!-- BEGIN postrow -->
<tr>
<td rowspan="7" width="1"><img src="{I_SPACER}" width="1" border="0" alt="" /></td>
<td><img src="{I_SPACER}" height="1" border="0" alt="" /></td>
<td rowspan="3" width="1"><img src="{I_SPACER}" width="1" border="0" alt="" /></td>
<td><img src="{I_SPACER}" height="1" border="0" alt="" /></td>
<td rowspan="7" width="1"><img src="{I_SPACER}" width="1" border="0" alt="" /></td>
</tr>
<tr>
<td rowspan="2" width="150" align="left" valign="top" class="<!-- BEGIN light -->row1<!-- BEGINELSE light -->row2<!-- END light -->" style="padding: 3px"><span class="name">
<a name="{postrow.U_POST_ID}"></a><b>{postrow.POSTER_NAME}</b></span><br /><span class="postdetails">
<!-- BEGIN rank -->{postrow.L_POSTER_RANK}<br /><!-- BEGIN img --><img src="{postrow.I_POSTER_RANK}" border="0" alt="{postrow.L_POSTER_RANK}" /><br /><!-- END img --><!-- END rank -->
<!-- BEGIN avatar --><img src="{postrow.POSTER_AVATAR}" border="0" alt="" /><br /><!-- END avatar -->
<br />
<!-- BEGIN poster_joined -->{L_POSTER_JOINED}: {postrow.POSTER_JOINED}<br /><!-- END poster_joined -->
<!-- BEGIN poster_posts -->{L_POSTER_POSTS}: {postrow.POSTER_POSTS}<br /><!-- END poster_posts -->
<!-- BEGIN poster_from -->{L_POSTER_FROM}: {postrow.POSTER_FROM}<br /><!-- END poster_from -->
</span></td>
<td height="100%" class="<!-- BEGIN light -->row1<!-- BEGINELSE light -->row2<!-- END light -->" width="100%" valign="top" style="padding: 3px">
<span class="postbody">
<!-- BEGIN msg_icon --><img src="{postrow.msg_icon.I_ICON}" border="0" title="{postrow.msg_icon.L_ICON}" class="absbottom" alt="" />&nbsp;<!-- END msg_icon -->
<!-- BEGIN sub_type --><!-- BEGIN img --><img src="{postrow.sub_type.I_SUB_TYPE}" border="0" alt="{postrow.sub_type.L_SUB_TYPE}" title="{postrow.sub_type.L_SUB_TYPE}" class="absbottom" /><!-- END img --><!-- BEGIN txt --><b>[{postrow.sub_type.L_SUB_TYPE}]</b><!-- END txt -->&nbsp;<!-- END sub_type -->
<!-- BEGIN title --><b>{postrow.POST_SUBJECT}</b><br /></span><span class="postdetails"><!-- END title -->
<!-- BEGIN sub_title -->{postrow.sub_title.SUB_TITLE}<br /><!-- END sub_title -->
<!-- BEGIN announce -->{postrow.announce.S_ANNOUNCE}<br /><!-- END announce -->
<!-- BEGIN calendar_event -->{postrow.calendar_event.S_CALENDAR_EVENT}<br /><!-- END calendar_event -->
<!-- BEGIN title --></span><hr /><span class="postbody"><!-- END title -->
{postrow.MESSAGE}<br />
</span>
{postrow.ATTACHMENTS}
</td>
</tr>
<tr>
<td class="<!-- BEGIN light -->row1<!-- BEGINELSE light -->row2<!-- END light -->" valign="bottom" style="padding: 3px"><div class="postbody">
<!-- BEGIN signature -->_________________<br />{postrow.SIGNATURE}<br /><!-- END signature -->
</div><div class="postdetails" align="right"><br />
<a href="{postrow.U_POST}" title="{postrow.L_POST}"><img src="{postrow.I_POST}" alt="{postrow.L_POST}" border="0" hspace="2" /></a><b>{L_POSTED}:</b>&nbsp;{postrow.POST_DATE}<br /><!-- BEGIN edited -->{postrow.EDITED_MESSAGE}<br /><!-- END edited -->
</div></td>
</tr>
<tr>
<td colspan="3"><img src="{I_SPACER}" height="1" border="0" alt="" /></td>
</tr>
<tr>
<td height="18" colspan="3" class="catlight" width="100%" valign="bottom" nowrap="nowrap" style="padding: 3px">
<table cellspacing="0" cellpadding="0" border="0"><tr>
<td height="18" valign="top" nowrap="nowrap">&nbsp;
<!-- BEGIN profile --><a href="{postrow.U_PROFILE}" title="{L_POSTER_PROFILE}"><img src="{I_POSTER_PROFILE}" border="0" alt="{L_POSTER_PROFILE}" /></a>&nbsp;<!-- END profile -->
<!-- BEGIN pm --><a href="{postrow.U_PM}" title="{L_POSTER_PM}"><img src="{I_POSTER_PM}" border="0" alt="{L_POSTER_PM}" /></a>&nbsp;<!-- END pm -->
<!-- BEGIN email --><a href="{postrow.U_EMAIL}" title="{L_POSTER_EMAIL}"><img src="{I_POSTER_EMAIL}" border="0" alt="{L_POSTER_EMAIL}" /></a>&nbsp;<!-- END email -->
<!-- BEGIN www --><a href="{postrow.U_WWW}" title="{L_POSTER_WWW}" target="userwww"><img src="{I_POSTER_WWW}" border="0" alt="{L_POSTER_WWW}" /></a>&nbsp;<!-- END www -->
<!-- BEGIN aim --><a href="{postrow.U_AIM}" title="{L_POSTER_AIM}"><img src="{I_POSTER_AIM}" border="0" alt="{L_POSTER_AIM}" /></a>&nbsp;<!-- END aim -->
<!-- BEGIN yim --><a href="{postrow.U_YIM}" title="{L_POSTER_YIM}"><img src="{I_POSTER_YIM}" border="0" alt="{L_POSTER_YIM}" /></a>&nbsp;<!-- END yim -->
<!-- BEGIN msn --><a href="{postrow.U_MSN}" title="{L_POSTER_MSN}"><img src="{I_POSTER_MSN}" border="0" alt="{L_POSTER_MSN}" /></a>&nbsp;<!-- END msn -->
</td>
<!-- BEGIN icq -->
<td height="18" valign="top" nowrap="nowrap">
<div style="position:relative"><a href="{postrow.U_ICQ}" title="{L_POSTER_ICQ}"><img src="{I_POSTER_ICQ}" border="0" alt="{L_POSTER_ICQ}"></a>&nbsp;<div id="icq_status_{postrow.U_POST_ID}" style="position:absolute; left:3px; top:-1px; display:none"><a href="{postrow.U_ICQ_STATUS}" title=""><img src="{postrow.I_ICQ_STATUS}" width="18" height="18" border="0" alt="" /></a></div></div>
</td>
<!-- END icq -->
<td height="18" valign="middle" align="right" nowrap="nowrap" width="100%">&nbsp;
<!-- BEGIN quote --><a href="{postrow.U_QUOTE}" title="{L_POST_QUOTE}"><img src="{I_POST_QUOTE}" border="0" alt="{L_POST_QUOTE}" /></a>&nbsp;<!-- END quote -->
<!-- BEGIN edit --><a href="{postrow.U_EDIT}" title="{L_POST_EDIT}"><img src="{I_POST_EDIT}" border="0" alt="{L_POST_EDIT}" /></a>&nbsp;<!-- END edit -->
<!-- BEGIN delete --><a href="{postrow.U_DELETE}" title="{L_POST_DELETE}"><img src="{I_POST_DELETE}" border="0" alt="{L_POST_DELETE}" /></a>&nbsp;<!-- END delete -->
<!-- BEGIN ip --><a href="{postrow.U_IP}" title="{L_POST_IP}"><img src="{I_POST_IP}" border="0" alt="{L_POST_IP}" /></a>&nbsp;<!-- END ip -->
<!-- BEGIN unmark_read --><a href="{postrow.U_UNREAD_POST}" title="{L_POST_UNREAD}"><img src="{I_POST_UNREAD}" border="0" alt="{L_POST_UNREAD}" /></a>&nbsp;<!-- END unmark_read -->
<a href="#top" class="nav"><img src="{I_BACK_TO_TOP}" title="{L_BACK_TO_TOP}" alt="{L_BACK_TO_TOP}" border="0" /></a>&nbsp;
</td>
</tr></table>
</td>
</tr>
<tr>
<td colspan="3"><img src="{I_SPACER}" height="1" border="0" alt="" /></td>
</tr>
<tr>
<td class="spaceRow" colspan="3" height="1"><img src="{I_SPACER}" alt="" width="1" height="1" /></td>
</tr>
<!-- END postrow -->
<!-- BEGIN empty -->
<tr>
<td colspan="5"><img src="{I_SPACER}" height="1" border="0" alt="" /></td>
</tr>
<tr>
<td width="1"><img src="{I_SPACER}" width="1" border="0" alt="" /></td>
<td colspan="3" class="row1" height="35" align="center"><span class="gen">{L_EMPTY}
</span></td>
<td width="1"><img src="{I_SPACER}" width="1" border="0" alt="" /></td>
</tr>
<tr>
<td colspan="5"><img src="{I_SPACER}" height="1" border="0" alt="" /></td>
</tr>
<tr>
<td width="1"><img src="{I_SPACER}" width="1" border="0" alt="" /></td>
<td class="spaceRow" colspan="3" height="1"><img src="{I_SPACER}" alt="" width="1" height="1" /></td>
<td width="1"><img src="{I_SPACER}" width="1" border="0" alt="" /></td>
</tr>
<!-- END empty -->
<tr>
<td colspan="5"><img src="{I_SPACER}" height="1" border="0" alt="" /></td>
</tr>
<tr align="center">
<td width="1"><img src="{I_SPACER}" width="1" border="0" alt="" /></td>
<td class="catBottom" colspan="3" height="28" align="center" style="padding: 3px"><span class="gensmall">
{L_DISPLAY_POSTS}:&nbsp;<select name="postdays">{POSTDAYS}</select>&nbsp;&nbsp;{L_SORT_BY}:&nbsp;<select name="sort">{SORT}</select>&nbsp;<select name="postorder">{POSTORDER}</select>&nbsp;<input type="image" src="{I_GO}" value="{L_GO}" name="submit" align="top" />
</span></td>
<td width="1"><img src="{I_SPACER}" width="1" border="0" alt="" /></td>
</tr>
<tr>
<td colspan="5"><img src="{I_SPACER}" height="1" border="0" alt="" /></td>
</tr>
</table>
<!-- INCLUDE pagination_box.tpl -->
<table width="100%" cellspacing="0" cellpadding="2" border="0">
<tr>
<td align="left" valign="top" nowrap="nowrap"><span class="nav">
<a href="{U_NEW_TOPIC}" title="{L_NEW_TOPIC}"><img src="{I_NEW_TOPIC}" border="0" alt="{L_NEW_TOPIC}" align="middle" /></a>&nbsp;&nbsp;&nbsp;<a href="{U_REPLY_TOPIC}" title="{L_REPLY_TOPIC}"><img src="{I_REPLY_TOPIC}" border="0" alt="{L_REPLY_TOPIC}" align="middle" /></a>
</span></td>
<td align="right" valign="top" nowrap="nowrap"><span class="gensmall">
<a href="{U_VIEW_PREVIOUS_TOPIC}" title="{L_VIEW_PREVIOUS_TOPIC}"><img src="{I_VIEW_PREVIOUS_TOPIC}" border="0" alt="{L_VIEW_PREVIOUS_TOPIC}" hspace="2" /></a><!-- BEGIN watch --><a href="{U_WATCH_TOPIC}" title="{L_WATCH_TOPIC}"><img src="{I_WATCH_TOPIC}" border="0" alt="{L_WATCH_TOPIC}" hspace="2" /></a><!-- END watch --><!-- BEGIN unread_topic --><a href="{U_UNREAD_TOPIC}" title="{L_UNREAD_TOPIC}"><img src="{I_UNREAD_TOPIC}" border="0" alt="{L_UNREAD_TOPIC}" hspace="2" /></a><!-- END unread_topic --><a href="{U_VIEW_NEXT_TOPIC}" title="{L_VIEW_NEXT_TOPIC}"><img src="{I_VIEW_NEXT_TOPIC}" border="0" alt="{L_VIEW_NEXT_TOPIC}" hspace="2" /></a>
</span></td>
</tr>
</table>

{NAVIGATION_BOX}
</form>

<table width="100%" cellspacing="2" border="0" align="center">
<tr>
<td valign="top" nowrap="nowrap" align="left">
<!-- BEGIN modcp --><a href="{modcp.U_ACTION}" title="{modcp.L_ACTION}"><img src="{modcp.I_ACTION}" border="0" alt="{modcp.L_ACTION}" /></a>&nbsp;<!-- END modcp -->
</td>
<td align="right" width="100%" valign="top" nowrap="nowrap">
{JUMPBOX}
<!-- BEGIN rules --><br /><span class="gensmall"><!-- BEGIN row -->{rules.row.S_RULE}<br /><!-- END row --></span><!-- END rules -->
</td>
</tr>
</table>

<script language="JavaScript" type="text/javascript"><!--//
function _icq()
{
this.ids = new Array();
return this;
}
_icq.prototype.objref = function(id)
{
return document.getElementById ? document.getElementById(id) : (document.all ? document.all[id] : (document.layers ? document.layers[id] : null));
}
_icq.prototype.display_status = function()
{
if ( (navigator.userAgent.toLowerCase().indexOf('mozilla') == -1) || (navigator.userAgent.indexOf('5.') != -1) || (navigator.userAgent.indexOf('6.') != -1) )
{
for ( i = 1; i < this.ids.length; i++ )
{
icq_status = this.objref(this.ids);
if ( icq_status && icq_status.style )
{
icq_status.style.display = '';
}
}
}
}

icq_status = new _icq();
icq_status.ids = Array(''<!-- BEGIN postrow --><!-- BEGIN icq -->, 'icq_status_{postrow.U_POST_ID}'<!-- END icq --><!-- END postrow -->);
icq_status.display_status();
//--></script>

User avatar
DizzyDazzle
Registered User
Posts: 39
Joined: Sun Oct 08, 2006 11:50 pm

Post by DizzyDazzle » Mon Oct 09, 2006 12:23 am

Hello!
Firstly-nice mod!
Secondly-I installed this mod which works perfectly in all instances exept one. Whenever the reply box is removed in a topic (locked topic, user cannot post etc) i get a break at the top of my skin (inline with memberlist, usergroups, profile etc) but if the reply box is visible (user can post) the skin is fine. I do not understand PHP but im guessing its a skin issue. maybe this info will help:

running: phpBB2 v2.0.21
style: jasidogdotcom
installed MODS: eXtreme Styles

ANY help or advice would be enormously appreciated!
If you need to look at any files please let me know and i'll post them.

Thanks in advance to anyone who can help!

MartY3
Registered User
Posts: 27
Joined: Sun Sep 17, 2006 6:15 pm
Location: United Kingdom

Post by MartY3 » Tue Oct 10, 2006 5:50 am

:cry: another quick reply which wont work :cry:

man there is no quick reply for my forum theme :cry: i tryed them all
regards...

Frettie
Registered User
Posts: 12
Joined: Sat Aug 26, 2006 9:57 am

Post by Frettie » Mon Oct 16, 2006 7:14 pm

MartY3 wrote: :cry: another quick reply which wont work :cry:

man there is no quick reply for my forum theme :cry: i tryed them all

the simple quick reply is working fine here..

pfeilmayer
Registered User
Posts: 39
Joined: Fri Sep 08, 2006 5:48 am
Location: inside n-oferte.ro
Contact:

Post by pfeilmayer » Mon Oct 16, 2006 7:20 pm

I am wery happy 4 you .. but for me it doesn't work :(

J Rome
Registered User
Posts: 28
Joined: Tue Sep 19, 2006 2:57 am

Post by J Rome » Thu Nov 09, 2006 5:49 pm

ok I have a quick question :

I installed this mod and everything works GREAT

Just one prob. When people type a quick message it adds ________ at the end of the message

For example :

This is a test page_____________

Even though I only typed : This is a test page

And Thats ^^^ what it shows.

Could someone please explain that to me.

Thanks alot,
- J Rome

nolatron
Registered User
Posts: 6
Joined: Sat Nov 18, 2006 5:55 pm

Post by nolatron » Tue Nov 21, 2006 3:28 am

Got this installed on a forum and it works, almost. :)

If I'm watching a topic (Stop watching this topic on bottom of page), and make a reply using the quick reply box, it turns off topic notification on me.

When the page reloads it now says "Watch this topic".

Replying with the regular reply page works fine, it's only quick reply that's turning off the topic notification.

Anyone else experience this?

GilaMonster
Registered User
Posts: 83
Joined: Mon Jan 10, 2005 12:52 am
Location: CSC Scania, Iraq - Silver City, NM
Contact:

Post by GilaMonster » Mon Dec 04, 2006 8:57 pm

Have applied this mod to three different phpBB messageboards and six different styles. It works perfectly every time.
Great mod! Thanks!

Hugo_87
Registered User
Posts: 3
Joined: Tue Dec 05, 2006 11:41 am

Post by Hugo_87 » Tue Dec 05, 2006 11:46 am

great job!..

excelent mod.. a small simplicity, enormously usefull :)
and very easy to install!..

just took me 2 minutes to adjust it to my template.. but that's MY problem.. :).. keep up the good work!

Algorithm
Registered User
Posts: 29
Joined: Mon Aug 07, 2006 1:20 am
Location: Canada

Post by Algorithm » Thu Dec 07, 2006 4:47 am

Okay, so the first part says to do this:

Code: Select all

#
#-----[ OPEN ]------------------------------------------
#
viewtopic.php
I'm using cpx, if that helps and I'm wondering where I would find this php file to open?
The purpose in life is finding just that.

miscworld
Registered User
Posts: 33
Joined: Thu Mar 25, 2004 12:19 pm

Post by miscworld » Sat Dec 09, 2006 12:18 am

Great mod, but for some reason I have two quick reply boxes, any ideas what's causing this?

miscworld
Registered User
Posts: 33
Joined: Thu Mar 25, 2004 12:19 pm

Post by miscworld » Sat Dec 09, 2006 1:26 am

^ I got that sorted, I'm so silly :D I pasted the view_topic stuff twice. Duh.

It works great with subsilver, but I can't work how to get it in to the nosebleed theme.

I thought it would be this section here:

Code: Select all

<div class="right">{JUMPBOX}</div>
<div class="clear"></div>

<div class="spacing"></div>

<table cellspacing="0">
	<tr> 
		<td class="txttop">
			{S_TOPIC_ADMIN}
		</td>
		<td class="txtright">
			{S_AUTH_LIST}
		</td>
	</tr>
but I just get a parse error when I replace the above with the quick reply code. Any ideas?

BTW: This is the full view_topic for nosebleed theme:

Code: Select all

<table cellspacing="1" class="viewtopic">
	<tr class="toplines"> 
		<th>{L_AUTHOR}</th>
		<th>{L_MESSAGE}</th>
	</tr>
	<tr>
		<td colspan="2"><h2><a href="{U_INDEX}"><</a>&nbsp;&nbsp;<a href="{U_VIEW_FORUM}">{FORUM_NAME}</a>&nbsp;&nbsp;~&nbsp;&nbsp;{TOPIC_TITLE}</h2></td>
	</tr>
	{POLL_DISPLAY} 
	<!-- BEGIN postrow -->
	<tr>
		<td class="row3 one"><a id="{postrow.U_POST_ID}"></a>{postrow.POSTER_NAME}</td>
		<td class="row3 two">
			<table cellspacing="0">
				<tr>
					<td><a href="{postrow.U_MINI_POST}"><img src="{postrow.MINI_POST_IMG}" style="width: 12px; height: 9px; border: 0;" alt="" /></a>{L_POSTED}: {postrow.POST_DATE}</td>
					<td class="txtright">{postrow.QUOTE_IMG} {postrow.EDIT_IMG} {postrow.DELETE_IMG} {postrow.IP_IMG}</td>
				</tr>
			</table>
		</td>
	</tr>
	<tr> 
		<td class="{postrow.ROW_CLASS} three">
			<span class="avatar">{postrow.POSTER_AVATAR}</span>
			<span class="block">{postrow.POSTER_RANK}</span>
			<span class="block">{postrow.RANK_IMAGE}</span>
			<span class="block">{postrow.POSTER_JOINED}</span>
			<span class="block">{postrow.POSTER_POSTS}</span>
			<span class="block">{postrow.POSTER_FROM}</span>
		</td>
		<td class="{postrow.ROW_CLASS} four">
			<table cellspacing="0">
				<tr>
					<td class="txttop">{postrow.MESSAGE}</td>
				</tr>
				<tr>
					<td class="txtbottom"><span class="edited">{postrow.EDITED_MESSAGE}</span>{postrow.SIGNATURE}</td>
				</tr>
			</table>
		</td>
	</tr>
	<tr> 
		<td class="{postrow.ROW_CLASS} five blacklink"><a href="#top">{L_BACK_TO_TOP}</a></td>
		<td class="{postrow.ROW_CLASS} six">
			{postrow.PROFILE_IMG} {postrow.PM_IMG} {postrow.EMAIL_IMG} {postrow.WWW_IMG} {postrow.AIM_IMG} {postrow.YIM_IMG} {postrow.MSN_IMG} {postrow.ICQ_IMG}
		</td>
	</tr>
	<!-- END postrow -->
	<tr> 
		<td class="row3 pad4 txtright" colspan="2">
			<form method="post" action="{S_POST_DAYS_ACTION}">
				<p>{L_DISPLAY_POSTS}: {S_SELECT_POST_DAYS}&nbsp;{S_SELECT_POST_ORDER}
					<input type="submit" value="{L_GO}" class="button" name="submit" /></p>
			</form>
		</td>
	</tr>
</table>

<div class="timezone left">{S_WATCH_TOPIC}</div>
<div class="timezone right">{S_TIMEZONE}</div>
<div class="spacing"></div>

<table cellspacing="0">
	<tr class="lines_3">
		<th>
		<div class="left">
			<a href="{U_VIEW_NEWER_TOPIC}">{L_VIEW_NEXT_TOPIC}</a><br />
			<a href="{U_VIEW_OLDER_TOPIC}">{L_VIEW_PREVIOUS_TOPIC}</a>
		</div>
		<div class="right">
			{PAGE_NUMBER}<br />
			{PAGINATION}
		</div>
		<div class="clear"></div>
		<div class="left">
			<span class="nav"><a href="{U_INDEX}">{L_INDEX}</a>&nbsp;&nbsp;~&nbsp;&nbsp;<a href="{U_VIEW_FORUM}">{FORUM_NAME}</a></span>
		</div>
		</th>
	</tr>
</table>

<div class="spacing"></div>

<div class="postbuttons"><a href="{U_POST_NEW_TOPIC}"><img src="{POST_IMG}" alt="{L_POST_NEW_TOPIC}" /></a><a href="{U_POST_REPLY_TOPIC}"><img src="{REPLY_IMG}" alt="" /></a></div>

<div class="spacing"></div>

<div class="right">{JUMPBOX}</div>
<div class="clear"></div>

<div class="spacing"></div>

<table cellspacing="0">
	<tr> 
		<td class="txttop">
			{S_TOPIC_ADMIN}
		</td>
		<td class="txtright">
			{S_AUTH_LIST}
		</td>
	</tr>
</table>

miscworld
Registered User
Posts: 33
Joined: Thu Mar 25, 2004 12:19 pm

Post by miscworld » Sat Dec 09, 2006 9:11 pm

Sorry for the treble post :D

I got it sorted It was just the table at the at the bottom need replacing
then then

Code: Select all

<div class="right">{JUMPBOX}</div>
out. Works great. Thanks for this mod.

subcultist
Registered User
Posts: 3
Joined: Tue Dec 26, 2006 2:41 am

Post by subcultist » Tue Dec 26, 2006 3:00 am

I whipped up some code to use this MOD in conjunction with the disable-spambots MOD. Without adding this code, the Simple Quick Reply will always show a preview if disable-spambots is installed.

Code: Select all

##############################################################
## MOD Title: Use disable-spambots and Simple Quick Reply MOD together
## MOD Author: subcultist
## MOD Description: Fixes problem where Simple Quick Reply results in a Preview when disable-spambots is installed
## MOD Version: 1.0.0
##
## Installation Level: Easy
## Installation Time: 5 minutes
## Files To Edit: viewtopic.php
##                templates/subSilver/viewtopic_body.tpl
## Included Files: n/a
##############################################################
## For Security Purposes, Please Check: http://www.phpbb.com/mods/ for the
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code
## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered
## in our MOD-Database, located at: http://www.phpbb.com/mods/
##############################################################
## Author Notes:
##
## This MOD has been tested on phpBB 2.0.21.
## This MOD is based on code by magenta & Merri (Vesa Piittinen): modified simple quick reply to make it work with disable-spambots
##
##############################################################
##
## MOD History:
##
##    2006-12-25 - Version 1.0.0
##       - Initial release
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################


#
#-----[ OPEN ]------------------------------------------
#
viewtopic.php

#
#-----[ FIND ]------------------------------------------
#
	$template->assign_vars(array(
		'L_EMPTY_MSG' => $lang['Empty_message'],

#
#-----[ BEFORE, ADD ]------------------------------------
#
# Be sure to change nana and foofoo to the unique values you used when installing disable-spambots
#
	$secretkey = 't' . $topic_id;

	// Generate a signature to validate this page
	$authkey = md5("nana" . $secretkey . "foofoo");
	$authval = md5($HTTP_SERVER_VARS['HTTP_USER_AGENT'] . $secretkey . $HTTP_SERVER_VARS['REMOTE_ADDR']);
	$timekey = md5("time" . $secretkey);
	$timepad = preg_replace('/[^0-9]/', '', $HTTP_SERVER_VARS['REMOTE_ADDR']) + 0;
	$timeval = time() ^ $timepad;

#
#-----[ FIND ]------------------------------------------
#
		'S_TOPIC_ID' => $topic_id)

#
#-----[ REPLACE WITH ]------------------------------------------
#
		'S_TOPIC_ID' => $topic_id,
		'S_AUTHKEY' => $authkey,
		'S_AUTHVAL' => $authval,
		'S_TIMEKEY' => $timekey,
		'S_TIMEVAL' => $timeval)

#-----[ OPEN ]------------------------------------------
#
viewtopic_body.tpl

#
#-----[ FIND ]------------------------------------------
#
					<input type="hidden" name="notify" value="{S_NOTIFY}" /><br />

#
#-----[ AFTER, ADD ]------------------------------------
#
					<input type="hidden" name="{S_AUTHKEY}" value="{S_AUTHVAL}">
					<input type="hidden" name="{S_TIMEKEY}" value="{S_TIMEVAL}">

#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM

Post Reply

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