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
  #422  
Old 04-13-2006, 04:03 AM
paulfletcher paulfletcher is offline
 
Join Date: Jan 2006
Location: USA
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works Great!
Reply With Quote
  #423  
Old 04-15-2006, 02:44 AM
michaelsilvia michaelsilvia is offline
 
Join Date: Jul 2005
Location: South Korea
Posts: 208
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When I installed the plug in I got an error when trying to PM one of my members.

Quote:
Database error in vBulletin 3.5.4:

Invalid SQL:
INSERT INTO pm (pmtextid, userid) VALUES (19, );

MySQL Error : You have an error in your SQL syntax near ')' at line 1
Error Number : 1064
Date : Friday, April 14th 2006 @ 08:35:48 PM
Script : http://www.newenglandforum.com/private.php
Referrer : http://www.newenglandforum.com/priva...=newpm&pmid=26
IP Address : 204.210.124.118
Username : mike
Classname : vb_database
Reply With Quote
  #424  
Old 04-15-2006, 02:45 PM
paulfletcher paulfletcher is offline
 
Join Date: Jan 2006
Location: USA
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm not sure if this would fix the problem, but you could try

AdminCP > Maintenance > Repair / Optimize Tables > (Check All)

And keep Optimize Tables to yes, and Repair Tables to yes... This might fix the problem, usually does the trick when I have an error.

Thanks,
Paul
Reply With Quote
  #425  
Old 04-15-2006, 10:54 PM
NR Fatal NR Fatal is offline
 
Join Date: Mar 2006
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

works perfect! thanks
Reply With Quote
  #426  
Old 04-16-2006, 01:36 AM
Martin64's Avatar
Martin64 Martin64 is offline
 
Join Date: Nov 2001
Posts: 390
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice one Andreas, installed
Reply With Quote
  #427  
Old 04-18-2006, 07:43 PM
Dermo-MIO Dermo-MIO is offline
 
Join Date: Jan 2006
Posts: 122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks should help
Reply With Quote
  #428  
Old 04-19-2006, 06:27 PM
|oR|Greg |oR|Greg is offline
 
Join Date: May 2003
Location: AMACNY.COM
Posts: 418
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've been wanting to setup something similar to your Welcome PM hack, but base it on a user joining a usergroup. Do you know if this is possible, or if it exists as a hack already? How hard would it be to re-code your hack to do this, or extend it?
Reply With Quote
  #429  
Old 04-23-2006, 04:46 AM
ElForro ElForro is offline
 
Join Date: Mar 2006
Posts: 123
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've trying to install this for an hour but i can't..

Quote:
Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /www/elforro.com.ar/htdocs/register.php(431) : eval()'d code(7) : eval()'d code on line 1

How do I have to use BBCode in the Phrase in order to get this working??????

I've just put "Hi [*b]$username[/b*]" (without *) and it doesn?t works!

I'm using VBulletin 3.5.4
Reply With Quote
  #430  
Old 04-26-2006, 11:06 AM
jruerph jruerph is offline
 
Join Date: Apr 2006
Location: Chicagoland
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

I tried to change from "0" to user "admin" but will not accept change. It says saved setting successfully but when I come back it's "0" again. Any recommendations
Reply With Quote
  #431  
Old 04-26-2006, 11:37 AM
bplinson bplinson is offline
 
Join Date: Jul 2004
Location: Ohio
Posts: 111
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I recommend that you use a user id number like 1 or if you want the message to come from you then use your user id number
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 04:08 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.08283 seconds
  • Memory Usage 2,314KB
  • 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_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
  • (2)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