vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Notify user about his moved thread (https://vborg.vbsupport.ru/showthread.php?t=100148)

MrNase 11-04-2005 10:00 PM

Notify user about his moved thread
 
++ fully translatable, no file edits, no new queries, no template edits, no problems ++

Hello!

Here's another one I made for my community which I want to share with you. :o

We have to deal with many users who don't have experience with vBulletin or bulletin boards in general so they often get confused when we move a thread to a better location.

This plugin notifies the user with a PM when we moved one of his threads. This plugin is rather simple but can be extended with ease. However, I won't do it because I don't need it ;)

Known limitations:
This one doesn't affect the inline moderation. I couldn't find a hook for it so I decided to leave that to an expert ;)


Installation:
Just upload the product-file. It will install the plugin and the 2 new phrases for you.
Now you have to edit the freshly installed plugin. It's called Plugin - Notify user about thread move.

Edit those two lines according to your information.
PHP Code:

$pmdm->set('fromuserid'X); // replace X with your USERID
$pmdm->set('fromusername''Y'); // replace Y with your USERNAME 

Both information must be correct, they tell the user who sent this PM.

In my case, I would have to use:
PHP Code:

$pmdm->set('fromuserid'1); // 1 is my ID
$pmdm->set('fromusername''MrNase'); // MrNase is my nickname 

which sends a message from the user 'MrNase' whose ID is '2' :)

Save the plugin and you are done :)


Have fun with it and feel free to release additions to this product! :)


Please click install or you'll get the flu!!! :mad:

Boofo 11-05-2005 11:52 AM

Wasn't this already done for 3.5.0? ;)

MrNase 11-05-2005 11:53 AM

Erm.. I really don't know. I needed it, made it ready for release in 30 minutes and then I released it :D

Boofo 11-05-2005 12:01 PM

Here it is. ;)

https://vborg.vbsupport.ru/showthrea...ht=thread+move

MrNase 11-05-2005 12:07 PM

Damned. :(

nexialys 11-05-2005 01:26 PM

hum, Mr Nase played the Nase and did not use the search engine.. lol

(ok, this was good though!)

Snake 11-05-2005 02:42 PM

All installed.

TheFocusElf 11-05-2005 02:54 PM

I like this one better than the other one.

-installed to avoid the flu-

ekopapers 11-05-2005 03:56 PM

clicks install I too like this one better thanks :)

MrNase 11-05-2005 05:12 PM

Thanks guys!

Can you confirm it's working for you? I've tested it 20 times but I have so much bad luck that everytime something goes wrong :D


All times are GMT. The time now is 09:29 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.02075 seconds
  • Memory Usage 1,737KB
  • 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_php_printable
  • (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