Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)

Reply
 
Thread Tools Display Modes
  #1  
Old 02-24-2005, 02:20 AM
Keyser S?ze's Avatar
Keyser S?ze Keyser S?ze is offline
 
Join Date: Apr 2002
Location: USA
Posts: 690
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default PM reply button (no quotes)

what i would love, is to have like we did in VB2, with in a Pm a reply button that when u press it, just replys to the person, without any quotes

can anyone do this and make my day ;D

thanks
Reply With Quote
  #2  
Old 02-24-2005, 06:07 AM
BamaStangGuy's Avatar
BamaStangGuy BamaStangGuy is offline
 
Join Date: Mar 2004
Location: Alabama
Posts: 521
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Keyser S?ze
what i would love, is to have like we did in VB2, with in a Pm a reply button that when u press it, just replys to the person, without any quotes

can anyone do this and make my day ;D

thanks
This needs to be standard for one cause its annoying erasing the quoted stuff after you have been pming someone back and forth for awhile
Reply With Quote
  #3  
Old 02-24-2005, 01:51 PM
Keyser S?ze's Avatar
Keyser S?ze Keyser S?ze is offline
 
Join Date: Apr 2002
Location: USA
Posts: 690
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

exactly

or sometimes u just dont want to quote

also a nice big "NEW PM button would be nice, some new members that arent use to using the PM system dont see the "send a PM" link
Reply With Quote
  #4  
Old 02-24-2005, 02:01 PM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Keyser S?ze
exactly

or sometimes u just dont want to quote


also a nice big "NEW PM button would be nice, some new members that arent use to using the PM system dont see the "send a PM" link
I have a template edit on vB.com for just adding a reply button (send a new pm to them, no title, no quotes)
Reply With Quote
  #5  
Old 02-24-2005, 04:57 PM
Keyser S?ze's Avatar
Keyser S?ze Keyser S?ze is offline
 
Join Date: Apr 2002
Location: USA
Posts: 690
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you got a link to it?
Reply With Quote
  #6  
Old 02-28-2005, 04:28 PM
Keyser S?ze's Avatar
Keyser S?ze Keyser S?ze is offline
 
Join Date: Apr 2002
Location: USA
Posts: 690
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

anyone going to be able to do this? thanks
Reply With Quote
  #7  
Old 02-28-2005, 04:57 PM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Keyser S?ze
anyone going to be able to do this? thanks
Its a simple template edit
HTML Code:
http://www.yoursite.com/forum/private.php?do=newpm&userid=$post[userid]
and if you only want it to show on private.php you add a conditional

<if condition="THIS_SCRIPT == private"> </if>
Reply With Quote
  #8  
Old 02-28-2005, 05:18 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Keyser S?ze
what i would love, is to have like we did in VB2, with in a Pm a reply button that when u press it, just replys to the person, without any quotes

can anyone do this and make my day ;D

thanks
See Quote options in thread and private message replies.
Reply With Quote
  #9  
Old 03-11-2005, 07:29 PM
Keyser S?ze's Avatar
Keyser S?ze Keyser S?ze is offline
 
Join Date: Apr 2002
Location: USA
Posts: 690
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Zachery
Its a simple template edit
HTML Code:
http://www.yoursite.com/forum/private.php?do=newpm&amp;userid=$post[userid]
and if you only want it to show on private.php you add a conditional

<if condition="THIS_SCRIPT == private"> </if>

im sorry maybe im just not smart enough but that explination just doesnt make me understand what i need to do to add a reply button in the private messages

i dont want to change anything to the postbit (when i say that i mean, im perfectly happy with the way it is set up now as it is), its just the private messages i want a reply button, i do however relize that the private message system is run partially off the postbit

but what im not sur eof is what to change where or add there, u see

thanks
Reply With Quote
  #10  
Old 03-11-2005, 10:48 PM
why-not why-not is offline
 
Join Date: Feb 2004
Posts: 218
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You can also do it like this!

Open 'private.php'

FIND THIS!

Code:
				if ($_REQUEST['stripquote'])
				{
					$pagetext = strip_quotes($pm['message']);
				}
				else
				{
					// this is now the default behavior -- leave quotes, like vB2
					$pagetext = $pm['message'];
				}
				$pagetext = trim(htmlspecialchars_uni($pagetext));

				eval('$pm[message] = "' . fetch_template('newpost_quote', 1, 0) . '";');

REPLACE WITH

Code:
				if ( empty ( $_REQUEST['noquote'] ) )
				{
					if ($_REQUEST['stripquote'])
					{
						$pagetext = strip_quotes($pm['message']);
					}
					else
					{
						// this is now the default behavior -- leave quotes, like vB2
						$pagetext = $pm['message'];
					}
					$pagetext = trim(htmlspecialchars_uni($pagetext));

					eval('$pm[message] = "' . fetch_template('newpost_quote', 1, 0) . '";');
				}
				else
				{
					$pm[message] = '';
				}

Go to templates => 'postbit' and 'postbit_legacy' (1) edit (SAME EDIT) each template!

FIND THIS!

Code:
			<if condition="$post['replylink']">
				<a href="$post[replylink]"><img src="$stylevar[imgdir_button]/<if condition="$post['forwardlink']">reply_small<else />quote</if>.gif" alt="$vbphrase[reply_with_quote]" border="0" /></a>
			</if>
REPLACE WITH

Code:
			<if condition="$post['replylink']">
			<if condition="THIS_SCRIPT=='private'">
				<a href="$post[replylink]"><img src="$stylevar[imgdir_button]/quote.gif" alt="$vbphrase[reply_with_quote]" border="0" /></a>
				<a href="$post[replylink]&amp;noquote=1"><img src="$stylevar[imgdir_button]/reply_small.gif" alt="$vbphrase[reply_to_private_message]" border="0" /></a>
			<else />
				<a href="$post[replylink]"><img src="$stylevar[imgdir_button]/<if condition="$post['forwardlink']">reply_small<else />quote</if>.gif" alt="$vbphrase[reply_with_quote]" border="0" /></a>
			</if>
			</if>

This allows for reply to PM with quote and reply to PM no message, but will load the title and who you are replying too!



Sonia
Reply With Quote
Reply

Thread Tools
Display Modes

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:28 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.04534 seconds
  • Memory Usage 2,260KB
  • Queries Executed 13 (?)
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)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (4)bbcode_code
  • (2)bbcode_html
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (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_postinfo_query
  • fetch_postinfo
  • 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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete