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)

Overgrow 03-02-2002 10:00 PM

Send author PM on thread move
 
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.

Jadelit 03-03-2002 07:16 AM

Thanks, it works great! You also seem to be on a roll on new hacks..

Overgrow 03-03-2002 07:20 AM

Welcome.. It's all stuff I've already written for my site and that I'm in the process of transferring to a client's site. So as I'm transferring I'm writing them up for release. I have about 3 dozen more like this :D

Jadelit 03-03-2002 07:33 AM

just keep posting dem!!! heheh

SWFans.net 03-03-2002 07:37 AM

Very cool hack. :D Thanks.

Would it be possible to modify this so that there is still an option to just move the thread with no action accompanying it?

Overgrow 03-03-2002 07:52 AM

Yes, I like that way much better. I've changed the text file up above so it provides a checkbox option, instead of changing the default action.

If you've already installed this: you'll have to revert your postings.php by deleting out the part you added and then following the instructions again. Same with the template.

SWFans.net 03-03-2002 07:57 AM

Great! :)

I think there may be some kind of issue here with replacing already included attachment files. The attachment appears to be the same.

Overgrow 03-03-2002 08:01 AM

OK, should be fixed, re-uploaded with a new name.

And here it is again in case your browser is caching the attachment file.

SWFans.net 03-03-2002 08:04 AM

I was thinking renaming the file would be a work around too, but I still get the same file as before, name and all. I wonder if this is an issue only native to this board or if it affects all 2.2.1 boards? :\

X-Fan 03-03-2002 10:47 AM

Very useful hack for a board with many forums, thanks Overgrow!!! :D


All times are GMT. The time now is 02:45 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.00974 seconds
  • Memory Usage 1,726KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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