vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Send author PM on thread move (https://vborg.vbsupport.ru/showthread.php?t=35644)

NSeXcellent 04-02-2002 10:40 PM

Thanks... I appreciate it...http://www.sportsnimports.com/forums...s/thumbsup.gif

inetd 05-18-2002 10:04 AM

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 :)

Jen 06-27-2002 07:15 AM

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!

Learner29 08-18-2002 09:12 PM

thank you thank you thank you

camoboy 08-25-2002 01:10 AM

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 :D

DraX 09-22-2002 06:01 AM

Why would you move a user's thread to a forum they can't access in the first place?

yzztik 10-09-2002 11:58 PM

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?

Dynamic One 11-01-2002 07:37 PM

Thanks you for this wonerfull hack Overgrow.

vicko 11-25-2002 12:49 PM

that's very useful.thank u very much
i will try it now

tpearl5 11-29-2002 03:25 PM

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)


All times are GMT. The time now is 07:59 AM.

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.01226 seconds
  • Memory Usage 1,729KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete