Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 03-02-2003, 04:16 PM
sabret00the's Avatar
sabret00the sabret00the is offline
 
Join Date: Jan 2003
Location: London
Posts: 5,268
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Private Message User From Profile

Just a quick idea, basically it's just a matter of adapting the quick reply hack to enable ppl to pm a member from their profile, sound good to anyone?
Reply With Quote
  #2  
Old 03-02-2003, 04:17 PM
filburt1 filburt1 is offline
 
Join Date: Feb 2002
Location: Maryland, US
Posts: 6,144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No because it's just one more click anyway the current way. However, it can be done with just templates so I'll probably release this at vBT.
Reply With Quote
  #3  
Old 03-02-2003, 04:46 PM
EchoHype.com's Avatar
EchoHype.com EchoHype.com is offline
 
Join Date: Mar 2002
Location: Harrisburg, PA
Posts: 174
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

heh, me and my partner are working on this same exact thing(adds a small box with subject) in the profile of that user and you can send them a PM
Reply With Quote
  #4  
Old 03-05-2003, 03:06 PM
sabret00the's Avatar
sabret00the sabret00the is offline
 
Join Date: Jan 2003
Location: London
Posts: 5,268
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

cool, i'll look out for yours echohype and i'll check vbt filburt
Reply With Quote
  #5  
Old 04-30-2003, 12:25 PM
sabret00the's Avatar
sabret00the sabret00the is offline
 
Join Date: Jan 2003
Location: London
Posts: 5,268
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

did anyone release this yet?
Reply With Quote
  #6  
Old 08-13-2003, 04:00 PM
sabret00the's Avatar
sabret00the sabret00the is offline
 
Join Date: Jan 2003
Location: London
Posts: 5,268
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

*bump*
Reply With Quote
  #7  
Old 08-13-2003, 08:24 PM
EvilLS1's Avatar
EvilLS1 EvilLS1 is offline
 
Join Date: Apr 2002
Location: Georgia, USA
Posts: 987
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Open your getinfo_sendpm template..

At the bottom add this:

Code:
<script type=text/javascript> 
function toggleT(_w,_h) { 
if(document.getElementById) { //This for Mozilla 
if (_h=='s') eval("document.getElementById(_w).style.visibility='visible';"); 
if (_h=='h') eval("document.getElementById(_w).style.visibility='hidden';"); 
} 
if (document.all) { // is IE 
if (_h=='s') eval("document.all."+_w+".style.visibility='visible';"); 
if (_h=='h') eval("document.all."+_w+".style.visibility='hidden';"); 
} 
else { // is NS? 
if (_h=='s') eval("document.layers['"+_w+"'].visibility='show';"); 
if (_h=='h') eval("document.layers['"+_w+"'].visibility='hide';"); 
} 
} 
</script>

<form action="private.php" method="post" name="vbform" style="display:inline;" onSubmit="return validate(this)">
<input name="r2" type="button" class="bginput"  value="QuickPM" onClick="toggleT('qpm','s')"><br /> 
 <div id="qpm" style="VISIBILITY: hidden; POSITION: absolute">
<input type="hidden" name="s" value="$session[sessionhash]">
<input type="hidden" name="prevmessageid" value="$privatemessageid">
<input type="hidden" name="forward" value="$forward">
<input type="hidden" name="parseurl" value="yes">
<input type="hidden" name="savecopy" value="yes">
<table cellpadding="{tableouterborderwidth}" cellspacing="0" border="0" bgcolor="{tablebordercolor}" {tableouterextra} width="50" align="center"><tr><td>
<table cellpadding="4" cellspacing="{tableinnerborderwidth}" border="0" {tableinnerextra} width="100%">
<tr>
	<td bgcolor="{tableheadbgcolor}" colspan="2"><normalfont color="{tableheadtextcolor}"><b>QuickPM</b></normalfont></td>
</tr>
<tr>
	<td bgcolor="{secondaltcolor}" nowrap><normalfont><b>Subject:</b></normalfont></td>
<td bgcolor="{secondaltcolor}">
<normalfont><input type="text" class="bginput" name="title" value="$subject" size="50" maxlength="85" tabindex="2"></normalfont>
<input type="hidden" class="bginput" name="touser" value="$userinfo[username]" size="25" maxlength="25" tabindex="1"></td>
</tr>
<tr>
	<td bgcolor="{secondaltcolor}" valign="top" nowrap><normalfont><b>Message:</b></normalfont>
	<p>
	</td>
	<td bgcolor="{secondaltcolor}">
	<table cellpadding="0" cellspacing="0" border="0">
	<tr valign="top">		<td>
<textarea name="message" rows="10" cols="50" wrap="virtual" tabindex="3">$message[message]</textarea>
		<br>
<normalfont>
	<input type="hidden" name="action" value="dosend">
	<input type="submit" class="bginput" name="submit" value="Send Message" accesskey="s" tabindex="4">
	<!--<input type="button" class="bginput" value="Spell Check" onclick="var f=document.forms['vbform']; doSpell( '$spellchecklang', f.message, '$bburl/spellcheck/sproxy.php', true);" tabindex="5">-->
	<input type="reset" class="bginput" name="RESET" value="Clear" tabindex="6">
<input name="r2" type="button" class="bginput" value="Hide" onClick="toggleT('qpm','h')">

	</normalfont>

<input type="checkbox" name="signature" value="yes"><smallfont>Sig</smallfont>
</td>
	</tr>
	</table>
	</td>
</tr>
</table>
</td></tr></table>
<br>
</form>
</div>
done.
Reply With Quote
  #8  
Old 09-25-2003, 07:04 AM
sabret00the's Avatar
sabret00the sabret00the is offline
 
Join Date: Jan 2003
Location: London
Posts: 5,268
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks evil, i'll test it out later, only just saw this my lucky day
Reply With Quote
  #9  
Old 09-25-2003, 06:49 PM
EvilLS1's Avatar
EvilLS1 EvilLS1 is offline
 
Join Date: Apr 2002
Location: Georgia, USA
Posts: 987
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

n/p.. Its also posted in the templates forum with screenshots if you wanna check it out first.
Reply With Quote
  #10  
Old 09-27-2003, 03:51 PM
sabret00the's Avatar
sabret00the sabret00the is offline
 
Join Date: Jan 2003
Location: London
Posts: 5,268
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

oh i saw that one, but i wanted it without having to click a button, kinda like the quick reply box is in a thread
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 11:17 AM.


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.04555 seconds
  • Memory Usage 2,266KB
  • Queries Executed 11 (?)
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
  • (1)bbcode_code
  • (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_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