Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Remove Quick Reply From PM's Details »»
Remove Quick Reply From PM's
Version: 1.0, by ChopSuey ChopSuey is offline
Developer Last Online: Jul 2010 Show Printable Version Email this Page

Category: Private Messages Enhancements - Version: 3.8.x Rating:
Released: 02-07-2010 Last Update: Never Installs: 4
Template Edits
Re-useable Code Code Changes Translations  
No support by the author.

This makes quick reply go away when viewing a PM.

AdminCP> Styles & Templates> Style Manager< Your Syle> Private Messaging Templates> pm_showpm

Replace the whole thing with
HTML Code:
<if condition="$show['receiptprompt']">
<script type="text/javascript">
<!--
<if condition="$show['receiptpopup']">
if (window.attachEvent)
{
	window.attachEvent('onload', askReceipt);
}
else if(window.addEventListener)
{
	window.addEventListener('load', askReceipt, false);
}
function askReceipt()
{
	doReceipt(confirm("$receipt_question_js"));
}
</if>
function doReceipt(yesno)
{
	// do image method too to get around popup blockers
	var img_obj = new Image();
	img_obj.src = "private.php?$session[sessionurl]do=dopmreceipt&type=img&pmid=$pm[pmid]&confirm=" + (yesno ? 1 : 0);
	if (yesno)
	{
		fetch_object('receipt').style.display = 'none';
	}
}
// -->
</script>
</if>

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" style="border-bottom-width:0px">
<tr>
	<td class="tcat">
		<div class="normal" style="float:$stylevar[right]">
		<if condition="$show['reportlink']"><a href="private.php?$session[sessionurl]do=report&amp;pmid=$pm[pmid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/report.gif" alt="$vbphrase[report_bad_private_message]" border="0" /></a> &nbsp;</if>
		</div>
		$vbphrase[private_message]<span class="normal">: $pm[original_title]</span>
	</td>
</tr>
<if condition="$show['recipients']">
<tr>
	<td class="alt1"><if condition="$ccrecipients"><strong>$vbphrase[recipients]</strong>: $ccrecipients<br /></if><if condition="$bccrecipients"><strong>$vbphrase[recipients] <span class="smallfont">($vbphrase[bcc])</span></strong>: $bccrecipients</if></td>
</tr>
</if>
</table>

$postbit

<br />

<if condition="$show['receiptprompt']">
	<form action="private.php?do=managepm&amp;dowhat=delete&amp;pmid=$pm[pmid]" method="post">
	<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" id="receipt">
	<tr>
		<td class="thead"><strong>$vbphrase[confirm_outstanding_receipt]</strong></td>
	</tr>
	<tr>
		<td class="panelsurround" align="center">
		<div class="panel">
			<div style="width:$stylevar[formwidth_usercp]" align="$stylevar[left]">

				<table class="fieldset" cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
				<tr>
					<td><phrase 1="$pm[fromusername]">$vbphrase[x_requested_read_receipt]</phrase></td>
					<td>
						<input type="hidden" name="s" value="$session[sessionhash]" />
						<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
						<input type="hidden" name="do" value="managepm" />
						<input type="hidden" name="dowhat" value="delete" />
						<input type="hidden" name="folderid" value="$pm[folderid]" />
						<input type="button" class="button" style="font-weight:normal" value="$vbphrase[okay]" onclick="doReceipt(1);this.disabled=true;" />
					</td>
				</tr>
				</table>

			</div>
		</div>
		</td>
	</tr>
	</table>


	<br />
	</form>
</if>
<form action="private.php?do=managepm&amp;dowhat=delete&amp;pmid=$pm[pmid]" method="post">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
	<tr>
		<td class="tcat">
			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('pm_delete')"><img id="collapseimg_pm_delete" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_pm_delete].gif" alt="" border="0" /></a>
			$vbphrase[delete_this_message]
		</td>
	</tr>
</thead>
<tbody id="collapseobj_pm_delete" style="$vbcollapse[collapseobj_pm_delete]">
	<tr>
		<td class="panelsurround" align="center">
		<div class="panel">
			<div style="width:$stylevar[formwidth_usercp]" align="$stylevar[left]">

			<fieldset class="fieldset">
				<legend>$vbphrase[delete_message]</legend>
				<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
				<tr>
					<td>$vbphrase[delete_message_click_button]</td>
				</tr>
				<tr>
					<td><label for="deletepm"><input type="checkbox" name="pm[$pm[pmid]]" id="deletepm" value="true" />$vbphrase[delete_this_message]</label></td>
				</tr>
				</table>
			</fieldset>

			</div>
		</div>

		<div style="margin-top:$stylevar[cellpadding]px">
			<input type="hidden" name="s" value="$session[sessionhash]" />
			<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
			<input type="hidden" name="do" value="managepm" />
			<input type="hidden" name="dowhat" value="delete" />
			<input type="hidden" name="folderid" value="$pm[folderid]" />
			<input type="submit" class="button" value="$vbphrase[delete_this_message]" />
		</div>
		</td>
	</tr>
</tbody>
</table>

</form>
Enjoy!

Screenshots

File Type: jpg noqr+history.jpg (54.9 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 02-08-2010, 03:38 PM
Brandon Sheley's Avatar
Brandon Sheley Brandon Sheley is offline
 
Join Date: Mar 2005
Location: Google Kansas
Posts: 4,678
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I love the quick reply via pm's
Reply With Quote
  #3  
Old 02-08-2010, 03:45 PM
ChopSuey ChopSuey is offline
 
Join Date: Jun 2009
Location: Alaska
Posts: 2,140
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't care if you like it or not lol, i hate it.....
Reply With Quote
  #4  
Old 02-08-2010, 04:39 PM
Brandon Sheley's Avatar
Brandon Sheley Brandon Sheley is offline
 
Join Date: Mar 2005
Location: Google Kansas
Posts: 4,678
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

aww
I think it was just recently added wasn't it?
I would think there is a setting in vboptions to remove it?
Reply With Quote
  #5  
Old 02-09-2010, 01:02 AM
niadene's Avatar
niadene niadene is offline
 
Join Date: Oct 2009
Posts: 121
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks chopsuey..installed i hate quick reply..lol
Reply With Quote
  #6  
Old 02-09-2010, 06:08 AM
ChopSuey ChopSuey is offline
 
Join Date: Jun 2009
Location: Alaska
Posts: 2,140
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Loco.M View Post
aww
I think it was just recently added wasn't it?
I would think there is a setting in vboptions to remove it?
Pics or it didn't get added.
Quote:
Originally Posted by niadene View Post
thanks chopsuey..installed i hate quick reply..lol
Im glad you agree!
Reply With Quote
  #7  
Old 03-01-2010, 10:32 AM
ChopSuey ChopSuey is offline
 
Join Date: Jun 2009
Location: Alaska
Posts: 2,140
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Updating this to vB4 later on today!
Reply With Quote
  #8  
Old 04-14-2012, 02:29 AM
egclive egclive is offline
 
Join Date: Dec 2009
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can i get this for 4 series?
Reply With Quote
  #9  
Old 04-14-2012, 03:20 AM
blind-eddie's Avatar
blind-eddie blind-eddie is offline
 
Join Date: Apr 2006
Location: Michigan
Posts: 2,310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not unless someone else takes on the project, the author of this addon has passed away.
His code is now maked as re-usable code so anyone can update it.

You can simply remove the code that shows the quick reply or comment it out.
I do not use 4.x.x series or I would do it. Good luck
Reply With Quote
  #10  
Old 10-12-2012, 11:30 AM
viper357's Avatar
viper357 viper357 is offline
 
Join Date: Dec 2006
Location: Worthing, UK
Posts: 563
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does anybody know how to do this without losing the "History" option?

Thanks.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:48 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04673 seconds
  • Memory Usage 2,337KB
  • Queries Executed 24 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_html
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (1)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete