Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
PM on Thread Move v1.0 Details »»
PM on Thread Move v1.0
Version: 1.00, by Alan @ CIT Alan @ CIT is offline
Developer Last Online: Apr 2012 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 10-09-2005 Last Update: Never Installs: 188
Uses Plugins
 
No support by the author.

A New Version of This Hack has been Released with Support for most Moderation Functions!

Get it from: https://vborg.vbsupport.ru/showthread.php?t=115677

Please UNINSTALL this mod before installing the new one



Description
This is a simple little plugin which will send a PM to the thread owner when one of their threads is moved to a different forum, and a re-direct is NOT used.

Quite often the problem arrises of re-directs cluttering up a forum, but if you move a thread without a redirect, then users cannot find it.

This plugin should solve that problem.

Installation
Just upload the attached product XML file. It will add 2 new hooks, and 2 new phrases.

Notes
This currently only works if you move the thread using either the ajax inline moderation, or the Thread Tools menu. If you move the thread from within the ModCP or the AdminCP, then it will not send a PM.

The PM subject and text are stored in the GLOBAL phrases "q_pm_on_move_message_subject" and "q_pm_on_move_message_text" respectivly

Important: Unfortunately, my leased vBulletin licence has now expired, and I won't be renewing it until September which means I will be unable to reply to this thread, or update this mod until then. I'm hopeful that the great vBulletin.org community will step in to answer any questions in my absence though See you all in early September!

Show Your Support

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

Comments
  #22  
Old 10-12-2005, 01:22 AM
Sadie Frost's Avatar
Sadie Frost Sadie Frost is offline
 
Join Date: Dec 2001
Location: Pittsburgh
Posts: 307
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you so much - this is the one hack I cannot live without!
Reply With Quote
  #23  
Old 10-12-2005, 06:10 AM
Alan @ CIT Alan @ CIT is offline
 
Join Date: Nov 2004
Location: South UK
Posts: 625
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

q8manar,

In the hooks inlinemod_domovethread and threadmanage_move_simple, find the following code:

PHP Code:
// Fill in the blanks
$pm->set('fromuserid'$vbulletin->userinfo['userid']);
$pm->set('fromusername'$vbulletin->userinfo['username']) 
This is the code you need to change. For example, if you wanted to send it from userid 10, and the username of ModBot, you would change it to:

PHP Code:
// Fill in the blanks
$pm->set('fromuserid'"10");
$pm->set('fromusername'"ModBot"
I'll make this an option in the next version.
Reply With Quote
  #24  
Old 10-13-2005, 08:45 PM
Startinfresh Startinfresh is offline
 
Join Date: Jan 2005
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, I am new to this. Where do I upload the file to?

TIA
Reply With Quote
  #25  
Old 10-13-2005, 09:28 PM
mtha's Avatar
mtha mtha is offline
 
Join Date: Jul 2002
Location: US
Posts: 775
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great hack

Did it check if $threadinfo['postuserid'] = 0 (post created by guests)?
Reply With Quote
  #26  
Old 10-13-2005, 09:52 PM
Mr Chad's Avatar
Mr Chad Mr Chad is offline
 
Join Date: Jul 2005
Posts: 911
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

very nice. This should be a standard option.
Reply With Quote
  #27  
Old 10-13-2005, 10:01 PM
mtha's Avatar
mtha mtha is offline
 
Join Date: Jul 2002
Location: US
Posts: 775
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Alan @ CIT
... and I've added the "reason" (ie, for deletions, etc) into the next release, so it tells them what it was. Also, the options have been added to the AdminCP for the next release, and it supports all of the other mod functions (including move with redirects) :-)
well, supposed that the option to PM on move is turn on (in AdminCP) (I guest), or like right now, it's always PM on move, if you have "reason to send to thread poster", you can also add an option above it, asking of the Mod want to send the PM or not. Sometime, when you need to move something, and you dont really need to PM first poster, especially when you re-organize your posts, or your group's work space that the group know where the new location should be.


extend this, Admin can disable this option for mod in admincp.
Reply With Quote
  #28  
Old 10-14-2005, 02:31 AM
The eyes lover The eyes lover is offline
 
Join Date: Apr 2003
Location: Vancouver
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great hack

I've 1 question..How can I change the the sender number, when I install the hack it sending by the member number 1 it's the administrator, I wanna change the sender please,

Thanks in advance
Reply With Quote
  #29  
Old 10-14-2005, 02:45 AM
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 The eyes lover
Great hack

I've 1 question..How can I change the the sender number, when I install the hack it sending by the member number 1 it's the administrator, I wanna change the sender please,

Thanks in advance
Try looking about six posts up ^^^^^
Reply With Quote
  #30  
Old 10-14-2005, 05:51 AM
Alan @ CIT Alan @ CIT is offline
 
Join Date: Nov 2004
Location: South UK
Posts: 625
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

Quote:
Originally Posted by Startinfresh
Ok, I am new to this. Where do I upload the file to?

TIA
In your vBulletin AdminCP, go to:

Plugin System -> Manage Products -> Add/Import Product

And follow the instructions from there.
Reply With Quote
  #31  
Old 10-14-2005, 10:13 AM
piXelatedEmpire piXelatedEmpire is offline
 
Join Date: Oct 2005
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

wow.. some of the new features you are speaking of sound fabulous! I can't wait to see the new release
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 09:25 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.07415 seconds
  • Memory Usage 2,312KB
  • 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_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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