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)
-   -   Automatic Welcome PM (https://vborg.vbsupport.ru/showthread.php?t=91729)

Andreas 07-05-2005 10:00 PM

Automatic Welcome PM
 
Automatic Welcome PM
This Hack will automatically send welcome PMs to new members.
Message Title and Body are Phrases (Varname welcomepm in Phrasegroups EMail Subject Text and eMail Body Text), so you can have Messages in different languages.
You can also specify which User should appear as Sender in vBulletin Options / User Registration Options).

Details
1 Product XML

Contributions
German Language Pack by [name]Metro Man[/name]

History
1.0.0
Initial Version

1.0.1
Updated for RC1

1.0.2
Added direct links to the Phrases in vBulletion Options / User Registration Options to make it easier to change the Text.

1.0.3
Fixed a slight Problem that caused PMs not being send under certain conditions

1.0.4
Fixed a Bug that caused PMs not being send on upgraded vBulletin installations.

FAQ
  1. Q: How to I set/change the sender?
    A: Go to ACP / vBulletin Options / vBulletin Options / User Registration Options.
    On the bottom, you will find an input box for the userid that should appear as the sender.
  2. Q: How to I change the message title/body?
    A: Go to ACP / vBulletin Options / vBulletin Options / User Registration Options.
    On the bottom, you will find an input box for the userid that should appear as the sender.
    In the description text for this input box, there are links for changing the text.
  3. Q: When I try to install this, I get "Warning: Invalid argument supplied for foreach() in /includes/functions.php on line xxx".
    What am I doing wrong?
    A: You are trying to import the XML as a Plugin which is wrong. It must be imported as a Product (ACP / Plugin System / Manage Products).
  4. Q: Why does this Hack not work?
    A: Although it is possible that you have discovered a new Bug that causes it not to work, it is more likely that you have made an installation/configuration/customization mistake.
    Before asking for support, please check:
    - Did you enter the Userid of the Sender?
    - Does the sender have permission to use PMs?
    - Does Usergroup registered have permission to use PMs?
    - Are you using the original Phrases?

Please only click Install if you actually have installed/are using this Hack, and click Uninstall whan you don't use it any longer!

Important Notice
This Hack is not designed nor necessary for vBulletin 3.6.
Do not install it on vBulletin 3.6 if you don't want to run into problems.
You should uninstall this Hack before upgrading to vBulletin 3.6

coffeefix 07-06-2005 03:44 PM

Don't think it works, new users have not recieved a welcome pm. I even registered a new account myself to see if I recieve one. no go.

Kirk Y 07-06-2005 03:46 PM

Worked for me, great idea Kirby! I remember a Mod like this on phpBB, great to have it on vB now. :)

Andreas 07-06-2005 03:47 PM

@coffeefix
Have you set up the sender UserID (vBulletin Options / User Registration Options)?
By default this is 0, eg. don't send PMs.

coffeefix 07-06-2005 03:52 PM

Yup, did that.

Andreas 07-06-2005 03:58 PM

Hmm, should work and does work for me.
Do you have eMail Verification turned on?
Do you moderate New Members?
Are the Plugins (except Uninstall) activated?

coffeefix 07-06-2005 03:58 PM

never mind. it works after email activation only. I added the user through the admin cp.

Bad Bunny 07-06-2005 04:00 PM

Man o man! Kirby is the 3.5 plugin king. Are you trying to win some sort of award, cause I'm gonna have to give you one if you don't slow down!

Andreas 07-06-2005 04:01 PM

@coffeefix
It sends the PM in the following situations:
  • If no eMail Verification is required after the Registration is Completed and user is not COPPA/Moderated
  • If eMail-Verification is required after the Acount has been activated and the User is not COPPA/Moderated
  • After a moderated/COPPA User is accepted.

Currently it does not send a PM for Users added through ACP, but I can add support for this too.

Christine 07-06-2005 04:15 PM

Quote:

Originally Posted by KirbyDE
  • After a moderated/COPPA User is accepted.

Does this mean that it can be triggered on the approval step (moving from group 4 to 2) for moderated users?


All times are GMT. The time now is 09:46 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.01591 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (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