Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Automatic Welcome PM Details »»
Automatic Welcome PM
Version: 1.0.4, by Andreas Andreas is offline
Developer Last Online: Jan 2023 Show Printable Version Email this Page

Version: 3.5.0 Rating:
Released: 07-05-2005 Last Update: 10-03-2005 Installs: 960
Uses Plugins
 
No support by the author.

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

Show Your Support

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

Comments
  #442  
Old 05-05-2006, 02:50 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ElForro
The problem with HTML is this:

I have this phrase:

Code:
Hola <a href="http://www.elforro.com.ar">$username</a>
<br />
Gracias por registrarte en ElForro!
And of course, I DON'T want to allow HTML in Private Messages...

So, what is my option if I can't use BBCode in Phrases, and I can use HTML in phrases but I can't use it in Private Messages?

I ask this because i want to use bold, italic and colors in my Welcom PM, but i can't... So? Anny suggestion?


Isn't the "message itself" in the "welcomepm" phrase?
Yes. And you can use the URL= code for the url in the phrase. That's how I do it. Or am I missing your whole point here?
Reply With Quote
  #443  
Old 05-05-2006, 07:57 AM
ElForro ElForro is offline
 
Join Date: Mar 2006
Posts: 123
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think I'm missing the point! :P

Boofo, or someone... Could you show me your PHRASE with BB Code or whatever in order to display the WelcomePM with italics, links, etc?

I mean... If i put this (in the "welcomepm" phrase):

Code:
[b*]Hello $username![/b*]
I get an error...

If I put this:

Code:
<b>Hello $username</b>
the private message doesn't display properly because I don't allow HTML in PM...

So? What should I do if I want to use "bold" in my message?
Reply With Quote
  #444  
Old 05-05-2006, 08:28 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ElForro
I think I'm missing the point! :P

Boofo, or someone... Could you show me your PHRASE with BB Code or whatever in order to display the WelcomePM with italics, links, etc?

I mean... If i put this (in the "welcomepm" phrase):

Code:
[b*]Hello $username![/b*]
I get an error...

If I put this:

Code:
<b>Hello $username</b>
the private message doesn't display properly because I don't allow HTML in PM...

So? What should I do if I want to use "bold" in my message?
Here's what I use for my welcome pm phrase:

Quote:
[disable]Hello, $username, and welcome to the {$registry->options['bbtitle']}!

We appreciate you taking the time to register on our site and we hope you enjoy your stay. To start you off right, the Staff requests that you introduce yourself to the community by clicking here.

A list of frequently asked questions about our little community can be found here. Please read the FAQ as it contains the rules and guidelines for posting on the site.

We would appreciate it if you would fill out as much of your personal information as possible and set your timezone. We like to get to know our members here a little better and see how far out we are reaching them.

Also, you might want to check out our many avatars available to you. We have quite a selection and are always adding more. If there are some you would like to see added, please let one of our Staff know and we'll see about getting them added for you.

We have some settings in the User CP > Edit Options we think you might be interested in.

If you have any questions or comments, please feel free to contact any of the Staff here for assistance.

Thanks again for registering and we hope to see you around here often.

Sincerely,
The {$registry->options['bbtitle']} Staff[/disable]
Reply With Quote
  #445  
Old 05-12-2006, 08:21 PM
Dr.Viggy Dr.Viggy is offline
 
Join Date: Apr 2006
Posts: 172
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

saves the trouble of manually welcoming each member when you've got 20 per day signing up. thanks.

*installed
Reply With Quote
  #446  
Old 05-13-2006, 04:28 AM
mano1.com mano1.com is offline
 
Join Date: May 2002
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does this work on 3.5.4 too?
Reply With Quote
  #447  
Old 05-13-2006, 05:27 PM
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Posts: 3,832
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yep it does.
Reply With Quote
  #448  
Old 05-14-2006, 07:16 PM
Jdm Ej1 Coupe Jdm Ej1 Coupe is offline
 
Join Date: Apr 2006
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed this Great Hack!!! Thanks
Reply With Quote
  #449  
Old 05-16-2006, 10:52 AM
contactsonia contactsonia is offline
 
Join Date: Feb 2005
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just installed this on my forum.
Thanks for the nice mod
Reply With Quote
  #450  
Old 05-28-2006, 03:32 PM
hgb hgb is offline
 
Join Date: Nov 2005
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed and works perfect

thx
Reply With Quote
  #451  
Old 05-28-2006, 04:26 PM
WNxWakko's Avatar
WNxWakko WNxWakko is offline
 
Join Date: Apr 2003
Location: Paradise, Texas
Posts: 309
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

EDIT--

Ok, it was not working for some reason. I then found we dont approve our members from the AdminCP, we use the ModCP so I had to edit AdminCP in your plugin to ModCP for it to work.

Now the only problem I am having is that when the AutoPM is sent to the new member, for some reason I am also getting a Welcome PM as if I was also a new member. My id is set in permission to be the sender of the AutoPM, so that that mean I am supposed to get the welcome pm for every member that gets one??? I dont understand why I also get the welcome PM.
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 01:11 PM.


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.08452 seconds
  • Memory Usage 2,319KB
  • 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
  • (5)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)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