Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Send author PM on thread move Details »»
Send author PM on thread move
Version: 1.00, by Overgrow Overgrow is offline
Developer Last Online: Jun 2004 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 03-02-2002 Last Update: Never Installs: 33
 
No support by the author.

Disclaimer:

-No support is offered for this hack. If you PM or email for support, it will be joyfully ignored. When I have time, I will answer questions in this thread.


PM on Thread Move


Design Spec:

Alert users that their post has been moved by sending the original
author a private message. This helps prevent clogging the forums
with those ugly moved markers. An additional checkbox will be
shown allowing you to add the PM.


Steps for installation:

-edit one file 'postings.php'
-edit one template 'threads_move'


Tested: 2.2.1


Updated: Will now put a checkbox option to send the PM instead of changing the default move action.

Show Your Support

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

Comments
  #22  
Old 04-02-2002, 10:40 PM
NSeXcellent NSeXcellent is offline
 
Join Date: Jan 2002
Location: Tampa Bay
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks... I appreciate it...
Reply With Quote
  #23  
Old 05-18-2002, 10:04 AM
inetd inetd is offline
 
Join Date: Nov 2001
Posts: 332
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Overgrow, hi
You can make small add-on for this hack? I need send PM to all user's who replies in thread, if thread moving
If you can make this, please make
Reply With Quote
  #24  
Old 06-27-2002, 07:15 AM
Jen's Avatar
Jen Jen is offline
 
Join Date: Apr 2002
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For those interested in having the Mod/Admin who moved the thread being the originator of the PM instead of Member #1 (or a set Member you choose) here's the change:

In postings.php Change This:
Code:
$DB_site->query("INSERT INTO privatemessage (privatemessageid,userid,touserid,
fromuserid,title,message,dateline,showsignature,iconid,messageread,folderid,receipt) 
VALUES (NULL,$firstpostinfo[userid],$firstpostinfo[userid],1,'Your post has been 
moved.','".addslashes($movemessage)."',".time().",0,9,0,0,0)");
To This:
Code:
$DB_site->query("INSERT INTO privatemessage (privatemessageid,userid,touserid,
fromuserid,title,message,dateline,showsignature,iconid,messageread,folderid,receipt) 
VALUES (NULL,$firstpostinfo[userid],$firstpostinfo[userid],$bbuserinfo[userid],'Your post has
been moved.','".addslashes($movemessage)."',".time().",0,9,0,0,0)");
You just need to change the 1 in the original query for the fromuserid to the value for the userid in bbuserinfo. Make sure you do this all in one line, the added lines here are to keep everything from scrolling.

Hope this helps someone. Thanks for the great hack!
Reply With Quote
  #25  
Old 08-18-2002, 09:12 PM
Learner29's Avatar
Learner29 Learner29 is offline
 
Join Date: Nov 2001
Posts: 174
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thank you thank you thank you
Reply With Quote
  #26  
Old 08-25-2002, 01:10 AM
camoboy camoboy is offline
 
Join Date: Feb 2002
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is great but there is a slight issue with it...if the thread is moved to a private forum, the recipient gets told to visit the new thread in the private forum. Of course, then they click on the link and get Permission Denied.

It would be great if it was moved to a private forum, it just said "Your thread was removed" or something, instead of specifiying the new forum.

Thanks
Reply With Quote
  #27  
Old 09-22-2002, 06:01 AM
DraX DraX is offline
 
Join Date: Aug 2002
Location: Bear, DE
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Why would you move a user's thread to a forum they can't access in the first place?
Reply With Quote
  #28  
Old 10-09-2002, 11:58 PM
yzztik's Avatar
yzztik yzztik is offline
 
Join Date: Feb 2002
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Because you want it gone from public view but maybe want to save it for record keeping. I do the same in my forum and would love this add-on.

Also, is there a way to include a reason for the thread move in the PM?
Reply With Quote
  #29  
Old 11-01-2002, 07:37 PM
Dynamic One's Avatar
Dynamic One Dynamic One is offline
 
Join Date: Nov 2001
Location: Somewhere on the net
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks you for this wonerfull hack Overgrow.
Reply With Quote
  #30  
Old 11-25-2002, 12:49 PM
vicko vicko is offline
 
Join Date: Nov 2002
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

that's very useful.thank u very much
i will try it now
Reply With Quote
  #31  
Old 11-29-2002, 03:25 PM
tpearl5's Avatar
tpearl5 tpearl5 is offline
 
Join Date: Nov 2001
Location: PA
Posts: 1,014
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I also couldn't get the PM on delete to work. Anyone have any ideas? (I removed all line returns and tried adding a couple things)
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 10:21 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.07594 seconds
  • Memory Usage 2,298KB
  • Queries Executed 25 (?)
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
  • (2)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
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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