Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > Member Archives

Reply
 
Thread Tools
QuickPM -Send a user a private message from his profile page.. Details »»
QuickPM -Send a user a private message from his profile page..
Version: , by EvilLS1 EvilLS1 is offline
Developer Last Online: May 2021 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 08-20-2003 Last Update: Never Installs: 0
 
No support by the author.

I made this for someone who requested it about a week ago ( requested here ).. I decided to install it on my own forum and my users thought it was pretty neat so I figured I'd share it here.

This template modification will add a button to the profile page for all of your users. When clicked, a Quick PM box will pop up (via javascript) allowing you to instantly send that user a private message without having to load another page.

Screenshots

View after button is clicked:
Screenshot 1

View before button is clicked:
Screenshot 2

Download Now

File Type: (21.3 KB, 92 views)

Show Your Support

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

Comments
  #2  
Old 08-20-2003, 05:24 AM
EvilLS1's Avatar
EvilLS1 EvilLS1 is offline
 
Join Date: Apr 2002
Location: Georgia, USA
Posts: 987
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

screenshot 1
Attached Files
File Type: (21.3 KB, 137 views)
Reply With Quote
  #3  
Old 08-20-2003, 05:25 AM
EvilLS1's Avatar
EvilLS1 EvilLS1 is offline
 
Join Date: Apr 2002
Location: Georgia, USA
Posts: 987
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

screenshot 2
Attached Files
File Type: (21.3 KB, 99 views)
Reply With Quote
  #4  
Old 08-20-2003, 08:32 AM
BladeZz BladeZz is offline
 
Join Date: Jul 2003
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works great! Thank you very much.
Reply With Quote
  #5  
Old 08-22-2003, 08:24 PM
EvilLS1's Avatar
EvilLS1 EvilLS1 is offline
 
Join Date: Apr 2002
Location: Georgia, USA
Posts: 987
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You're welcome.
Reply With Quote
  #6  
Old 08-22-2003, 09:16 PM
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Location: England
Posts: 9,071
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice us of JS again

Does it work in all the major browsers?
Reply With Quote
  #7  
Old 08-22-2003, 09:32 PM
EvilLS1's Avatar
EvilLS1 EvilLS1 is offline
 
Join Date: Apr 2002
Location: Georgia, USA
Posts: 987
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Mist.

I've tested it with IE 6.0, Opera 7, and Mozilla.. Works great with all of those.
Reply With Quote
  #8  
Old 08-26-2003, 05:46 PM
Tes One Tes One is offline
 
Join Date: Apr 2002
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey Evil,

Awesome work! I have added both the QuickPM and QuickQuote to a style I am working on and it works great!

I do have a quick question about the Quick PM feature though. I have added it to the profile page as your script suggests, however I also added it to the postbit ? under the user?s info and avatar, I have placed the ?QuickPM?. It works perfectly, however when the button is pressed, the pop window will only show up under whoever the top poster of that page is (make sense? ). Sorry if that sounds confusing. The problem is the QuickPM window does not behave like the QuickQuote window does when placed in the postbit. Is there anything in the JS that would place the QuickPM window under the correct user?

Thanks-

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

Tes,
Since the form will be loaded in each postbit you'll have to give each form a unique ID for the toggle function. You can easily do that by using the $post[postid] variable.

In the QuickPM html find:
Code:
<input name="r2" type="button" class="bginput"  value="QuickPM" onClick="toggleT('qpm','s')">
Replace with:
Code:
<input name="r2" type="button" class="bginput"  value="QuickPM" onClick="toggleT('q$post[postid]','s')">
Find:
Code:
<div id="qpm" style="VISIBILITY: hidden; POSITION: absolute">
Replace with:
Code:
<div id="q$post[postid]" style="VISIBILITY: hidden; POSITION: absolute">
Find:
Code:
<input name="r2" type="button" class="bginput" value="Hide" onClick="toggleT('qpm','h')">
Replace with:
Code:
<input name="r2" type="button" class="bginput" value="Hide" onClick="toggleT('q$post[postid]','h')">
That should do it.

BTW, you should check out Quick Quote II.. Its much better than the first Quick Quote hack. There's a link to it in my profile.

Later,
Dewayne
Reply With Quote
  #10  
Old 08-27-2003, 06:32 AM
gmarik's Avatar
gmarik gmarik is offline
 
Join Date: May 2002
Location: Mocsow
Posts: 1,288
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oh, sounds nice, ok for 2.32?
Reply With Quote
Reply

Thread Tools

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 08:09 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04753 seconds
  • Memory Usage 2,315KB
  • 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
  • (6)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (3)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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete