View Full Version : Automatic Welcome PM
Andreas
07-05-2005, 10:00 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 Metro Man
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
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.
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.
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).
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
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?
Andreas
07-06-2005, 04:18 PM
Yes, for COPPA/Moderated Users the PM is being send when they are accepted (moved from 4 to 2).
Christine
07-06-2005, 04:51 PM
You just think of everything. Thanks again, Kirby. :)
Biker_GA
07-06-2005, 04:53 PM
At this rate, we'll soon be able to find out of there's such a thing as too many plugins for vb3.5. 22 and counting here. LOL
Bad Bunny
07-06-2005, 05:31 PM
Works perfectly! Thanks a lot!
hotrod1
07-06-2005, 05:50 PM
Thanks for the mod!
womensden
07-06-2005, 06:31 PM
works perfectly.
Which phrases were added? I would like to edit the message to better suit my boards... etc..
womensden
07-06-2005, 06:32 PM
oh, nevermind. I should have read closer. ;)
Andreas
07-06-2005, 06:32 PM
Quoting myself from the readme.txt:
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.
Beermonster
07-06-2005, 07:15 PM
I've been waiting for this, but for some reason it's just not working for me :(
Andreas
07-06-2005, 07:20 PM
How did you try it?
Did you configure the Sernder UserID?
Beermonster
07-06-2005, 07:29 PM
How did you try it?
Did you configure the Sernder UserID?
Yes I did and still nothing, I've even tried it on my test forum and still can't get it to work :(
Andreas
07-06-2005, 07:32 PM
So once again the Question: How did you test if it is working?
Beermonster
07-06-2005, 07:35 PM
So once again the Question: How did you test if it is working?
Sorry, I went through the normal registration process
Andreas
07-06-2005, 07:38 PM
And you did activate the Account if this is necessary and approved the Account if it is moderated?
MaTraX
07-06-2005, 07:45 PM
Installed it and it work`s great
Thank you and I`m waiting for more of your plug-in`s
Beermonster
07-06-2005, 08:07 PM
And you did activate the Account if this is necessary and approved the Account if it is moderated?
yep did all that
Andreas
07-06-2005, 08:16 PM
Then I don't know what's going wrong - should work.
If you want you can send me a PM with an Admin Account so I can take a look at it, or you can try to track down the problem yourself.
Christine
07-06-2005, 08:43 PM
Beermonster,
Just a thought (and untested), but does your default usergroup (2?) have PMs enabled by default?
As mentioned, this is not tested, so may not be an issue.
babolo
07-07-2005, 12:58 AM
Thank You
ThorstenA
07-07-2005, 08:06 AM
works for me :D
dreck
07-08-2005, 02:01 PM
Very nice!
*Install*
It looks great! Thanks for the plugin.
ThorstenA
07-12-2005, 05:28 PM
Suggestion for future versions:
As you can set different languages for welcome messages (it's based on phrases) it would be useful to set up different userids as sender.
Examples.
If I am sending a private message in french, I would like my french moderator sending this message.
If I am sending a private message in spanish, I would like my spanish moderator sending this message.
That would be great! :D
Sovereign
07-13-2005, 02:09 AM
Sovereign Installs!
Nevada
07-14-2005, 06:39 AM
Idiotic question (I don't get it!!!):
We have an XML file in this downloadable archive. So WHERE do I upload it (which folder) and WHAT do I do afterwards to make it all work?
THank you
P.Jackson
07-15-2005, 09:14 PM
In the admin cp goto
PLUGIN SYSTEM
Download/Upload plugin ;)
Brinnie
07-16-2005, 04:42 PM
When does this send the PM, on user registration, email validation or "x" minutes after registeration?
Andreas
07-16-2005, 04:46 PM
@Brinnie
https://vborg.vbsupport.ru/showpost.php?p=731552&postcount=9
PappaDoc
07-16-2005, 05:42 PM
Can this be used with version 3.0.7?
Thanks
Andreas
07-16-2005, 05:47 PM
No. But there is a smiliar Hack for vB 3.0.X
Brinnie
07-17-2005, 07:02 AM
@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.
a fairly awkward request, but would you consider puting on a timer after one of you listed criteria was met?
That way, it won't seem like so much of a bot if it send 3 mintes after registration. :)
Or maybe even after their first post. :)
That would also save on resources. ;)
ThorstenA
07-17-2005, 07:17 AM
a fairly awkward request, but would you consider puting on a timer after one of you listed criteria was met?
That way, it won't seem like so much of a bot if it send 3 mintes after registration. :)
Or maybe even after their first post. :)
That would also save on resources. ;)
Three minutes after registration would be nice. And of course before first post.
Brinnie
07-17-2005, 07:24 AM
Three minutes after registration would be nice. And of course before first post.
I just added that "after the first post" thing because it would be easier.
ThorstenA
07-17-2005, 07:27 AM
I just added that "after the first post" thing because it would be easier.
Most people on my boards do not post and my private mail is getting them to post, posting statistics from new members increased significantly after installing automatic welcome pm plugin.
Battle_Ring
07-19-2005, 01:53 AM
Works for me thanks
Boofo
07-22-2005, 04:35 AM
Currently it does not send a PM for Users added through ACP, but I can add support for this too.
Has this been added yet? ;)
Boofo
07-22-2005, 07:09 AM
@coffeefix
Have you set up the sender UserID (vBulletin Options / User Registration Options)?
By default this is 0, eg. don't send PMs.
I don't see a place in there to set the sender ID. I'm on beta 4.
Andreas
07-26-2005, 08:31 AM
Welcome PM for Users added through ACP is not yet a feature.
You can set the Sender ID in ACP / vBulletin Options / vBulletion Options / User Registration Options
Boofo
07-26-2005, 02:47 PM
Welcome PM for Users added through ACP is not yet a feature.
You can set the Sender ID in ACP / vBulletin Options / vBulletion Options / User Registration Options
I still don't see it anywhere in there, Sorry. :(
Andreas
07-26-2005, 06:17 PM
Updated for RC1
Mike Sullivan
07-26-2005, 07:37 PM
Updated for RC1
Kirby, your RC1 XML file seems to be missing somethings. Like the hooks. And the setting. :)
They're probably not tagged as for this product properly.
Also, in your install code...
$db->query("UPDATE " . TABLE_PREFIX . "phrase SET languageid=-1, product='profileviews' WHERE languageid=0 AND varname IN ('setting_welcomepmuserid_desc', 'setting_welcomepmuserid_title', 'welcomepm')");
Profileviews? :)
Andreas
07-26-2005, 08:16 PM
Guess I totally messed up the XML, lol :D
Should be OK now.
Boofo
07-26-2005, 08:20 PM
Ahhh, so it wasn't just me this time. Pheewww! I was starting to worry. ;)
And thank you, Mike. ;)
Boofo
07-26-2005, 08:46 PM
There's no description for the setting for the ID. That's the way it is supposed to be, right?
Any way to add a setting to be able to edit the message itself instead of editing the phrase? ;)
Andreas
07-26-2005, 08:58 PM
Description should have been there ... dunno why it wasn't but now it is.
Hmm, why do you want a setting for changing the Text?
Doesn't make sense IMHO.
Basically, this is the same as the Welcome eMail - which is also defined as a Phrase.
Boofo
07-26-2005, 09:19 PM
The setting to change the text would just make it easier to add links or whatever to the welcome email like maybe if a forum ID changes or something along that line.
How do I upgrade it to add the descition? Delete what is in the plug-ins now or just re-run the new file?
Andreas
07-26-2005, 09:24 PM
I don't see how a setting would make it easier then a Phrase?
Just Re-Import and tick Overwrite.
Boofo
07-26-2005, 09:44 PM
I don't see how a setting would make it easier then a Phrase?
Just Re-Import and tick Overwrite.
Np problem buddy, it was just a suggestion that I'm sure you will hear again. Not having to search through phases to find something makes it alot easier to get at is all. ;)
Thanks for the quick service. ;)
Andreas
07-26-2005, 10:04 PM
Not having to search through phases to find something makes it alot easier to get at is all. ;)
If that's all ... place the attached File in includes/xml and reload the ACP Navigation Frame.
Boofo
07-26-2005, 10:12 PM
If that's all ... place the attached File in includes/xml and reload the ACP Navigation Frame.
You see, now there you go. Exactly what I was talking about and wanting. ;)
I should have thought of that myself. Duh on me.
Thank you, sir! ;)
Andreas
07-26-2005, 10:14 PM
I think i'll change the Description Text and put the Links there.
Does make more sense IMHO, and doesn't add more stuff to the (already very bloated) CP Nav :)
Boofo
07-26-2005, 10:17 PM
That'll work just as well, maybe even better to have it all in one place. ;)
Andreas
07-26-2005, 10:22 PM
So here goes 1.0.2 :p
Boofo
07-26-2005, 10:32 PM
Perfect! I like this way even better. Thank you, again, sir! ;)
One last thing, if we want to add a forum link to the new member's forum, would it be like it was pre-3.5? And just use html code?
Andreas
07-26-2005, 10:35 PM
If HTML is allowed for PMs you can use HTML.
Otherwise you can only use BBCode.
Biker_GA
07-26-2005, 10:40 PM
That was painless. Thanks Kirby. :)
Boofo
07-26-2005, 10:42 PM
If HTML is allowed for PMs you can use HTML.
Otherwise you can only use BBCode.
I guess that was really a stupid and pointless question on my part, huh? Guess I've been away from it longer than I thought. ;)
Biker_GA
07-26-2005, 10:56 PM
LMAO! I wouldn't worry about it. Some of the questions I've asked over the past couple of days are, upon retrospect, well..... I blame it on the lack of sleep and late nights. :D
Boofo
07-26-2005, 10:59 PM
I can only blame mine on complete and utter ignorance and running out of Hot Pockets!
Biker_GA
07-26-2005, 11:32 PM
**grin** Me? It's when the blood content in my alcohol is too high. ;)
Boofo
07-27-2005, 12:22 AM
I've been there and I'm going again soon, I hope. ;)
Biker_GA
07-27-2005, 12:25 AM
Gonna sober up? WHY?!
(Read my previous statement again.. Carefully. ;) )
Boofo
07-27-2005, 12:31 AM
You were tseting me, huh? And I failed miserably. ;)
Biker_GA
07-27-2005, 12:48 AM
Heh...
Sorry Kirby... :D
FleaBag
07-27-2005, 10:31 PM
Hard to believe this was such a hefty hack for 3.0. Awesome plugin, I've missed this for a while since I got too lazy to reinstall a pile of hacks after upgrades. Thanks once more heh.
Bro_Joey_Gowdy
07-29-2005, 10:41 PM
I continue to recieve this error :
Invalid argument supplied for foreach() in /includes/functions.php on line 771
Parse error: parse error, unexpected '<' in /forum/register.php(409) : eval()'d code on line 22
Boofo
07-29-2005, 11:08 PM
When do you get that error?
Bro_Joey_Gowdy
07-29-2005, 11:14 PM
I recieve this error every time I attempt to import the xml file :
Invalid argument supplied for foreach() in /includes/functions.php on line 771
I recieved this error when I registered the test account a few moments ago :
Parse error: parse error, unexpected '<' in /forum/register.php(409) : eval()'d code on line 22
Boofo
07-29-2005, 11:16 PM
Make sure you are using the Product Manager and not uploading it as a plug-in. ;)
Bro_Joey_Gowdy
07-29-2005, 11:26 PM
Make sure you are using the Product Manager and not uploading it as a plug-in. ;)
:ermm:
Ehh... yeah it uploaded with any errors that time... whats the difference between the 'Product Manager' and the 'Plugin Manager'
:disappointed:
Boofo
07-29-2005, 11:29 PM
I'm still new at this but with the product manager, you can install phrases, templates, plug-ins and other things all in one file where as (if I get this right) the plug-in will install only the code needed for the mod. Don't quote me on that, though. ;)
BamaStangGuy
07-31-2005, 04:07 AM
It is just flat out not sending the pm.. I have signed up as a new user and they get no pm.... What am I missing?
I did this:
Imported the file using the Product Manager
Went to User Registrations Options and put my userid 2613 in there...
Signed up as a new user and nothing....
Using RC1
Andreas
07-31-2005, 04:46 AM
Did you create the new User through ACP?
BamaStangGuy
07-31-2005, 05:01 AM
Did you create the new User through ACP?
No I used IE (Firefox primary) signed up through the normal process and recieved no PM...
Metro Man
07-31-2005, 06:42 AM
nice plugin :) thx
Andreas
07-31-2005, 09:47 AM
@BrentWilson
Hmm ... do you have PM Reception ticked as defaulr registration option?
Does Usergroup Registered have PM permissions?
Did you activate the account?
Do you moderate new users and approved the account?
BamaStangGuy
07-31-2005, 05:36 PM
@BrentWilson
Hmm ... do you have PM Reception ticked as defaulr registration option?
Does Usergroup Registered have PM permissions?
Did you activate the account?
Do you moderate new users and approved the account?
1) Yes
2) Yes
3) Yes
4) No I dont moderate new users.
I have uninstalled and reinstalled many times and it just wont send it :(
Andreas
07-31-2005, 07:55 PM
Strange. Should definitly work.
Can you proviade me with an ACP and FTP account per PM?
Edit: I guess you did, but to be absolutely sure:
You did enter the Userid and not the Username, right?
BamaStangGuy
08-01-2005, 12:05 AM
Strange. Should definitly work.
Can you proviade me with an ACP and FTP account per PM?
Edit: I guess you did, but to be absolutely sure:
You did enter the Userid and not the Username, right?
Yes I put userid...
and I will pm you the info
Mimoun
08-01-2005, 10:10 AM
Looks like a good plugin , but I can't get it to work.
I imported the xml file and check active on the plugin list.
Is there anything else I have to do?
Do I have to edit the plugin with php code?
Andreas
08-01-2005, 04:37 PM
There was a slight Problem that caused PMs not being send in certain cases.
Everybody who was affected by this, please try if it does work with Version 1.0.3 now.
BamaStangGuy
08-01-2005, 05:05 PM
It now works for me. :)
Hello,
Where do we import the xml from? I am in the acp and don't see where to do that. (I am running 3.5 RC 1)
Andreas
08-01-2005, 06:09 PM
Plugin System / Manage Products
Hello,
Thanks, I had found it after downloading another mod. It had the instructions for finding it in there. lol
I didn't get this one to work, but it isn't an issue.
Andreas
08-01-2005, 10:07 PM
Did you enter the Userid?
Hello,
I did enter the userid. I even uninstalled it, and then reinstalled it. Not sure why, but this is the only mod I had trouble with.
I may give it a whirl later on again and see if there are any settings effecting it.
Hello,
I uninstalled this modification again, and then went through all of my vboptions to see what was enabled. All of my settings are as they will be on the live server. So I reinstalled this modification, and entered "1" as the user to send the pm from. I then left the acp, and logged out on my forums. Then I registered a new user. I actually added 3 new users. Not a single one of them recieved a PM. I don't know what else to try. lol I will just add my "Rules and Regulations" note to the welcome email that the site sends.
Andreas
08-02-2005, 12:42 PM
1) Which Version did you try?
2) Did you activate the new accounts?
Hello,
The problem, in my opinion, has something to do with the "verify email". It could be the verify email feature itself that has problems, I don't know.
What I do know is that when I disabled verifying emails, it worked as it should. lol
I had one of my admins join the test site and had the verify email feature on. It allowed him to verify it, etc. Then he logged out and came back. When he returned, it didn't recognize him as a member and gave him an incorrect username error. He was entering it exactly as he had, and it didn't work. So I turned off the verify emails, and had him re-register. He then had no problems and even recieved the PM!
Are there any bugs that people are experiencing with the verify email function?
Andreas
08-02-2005, 11:05 PM
Odd.
Does this also happen when this Hack is disabled?
And again: Which Version did you try?
Hello,
Honestly, I didn't think of disabling it and checking the email function! I downloaded and installed this before I typed my first post. I believe it is the most current version.(Downloaded yesterday!)
Andreas
08-02-2005, 11:35 PM
Depends on when you downloaded it yesterday.
Safest would be to redownload and test again (also test with Hack disabled)
when i upload the .xml file from my computer its give me this error :
Warning: Invalid argument supplied for foreach() in /includes/functions.php on line 772
I am on the RC2 version
what does it mean ???
Andreas
08-10-2005, 09:52 PM
It most likely means that you are trying to import this as a Plugin when it actually needs to be imported as a Product (common mistake).
Andreas
08-10-2005, 11:02 PM
Added a FAQ ;)
Also, as it seems to be working flawlessly, I don't class it Beta any longer.
Boofo
08-11-2005, 12:10 AM
If anyone is curious, I have a default pm that that links them to the FAQ, Rules and Introduction forum (if you have one set up) ;)
Zachariah
08-12-2005, 12:02 AM
KirbyDE !!!!! :banana: :bunny:
Thank You.
poolking
08-14-2005, 05:11 PM
<font color="#15a018">* poolking installed</font>
groberthall
08-16-2005, 04:43 PM
Would it be possible to adapt this so it sends a thankyou pm to people who join a premium members usergroup instead of when they first join ?
mikey86
08-17-2005, 05:24 AM
great job!!
Brandon Sheley
08-17-2005, 06:16 AM
worked great *installs*
once i figured out what to do,, my first mod/plugin/hook/blah whatever its called for a 3.5 board :) i figure its about time i messed with it.. looking foward to seeing what else is modded already :)
Michael2
08-17-2005, 10:25 AM
Installed, haven't had a chance to confirm that it's working properly yet. Thanks!
beebi
08-18-2005, 04:01 AM
thanks for all
Metro Man
08-18-2005, 08:56 PM
German language package and a small German guide
Andreas
08-18-2005, 09:09 PM
@7beebi
Thank you for your contribution.
But please remove the translated Product XML and just provide a Language XML/localized readme.
This makes it easier to support.
Thank you.
@Metro Man
Thank you for your Contribution.
I fixed the XML (it was a complete language XML) and added it to the first Post.
Metro Man
08-18-2005, 09:15 PM
sorry, thx for fix
Mr Chad
08-19-2005, 05:39 AM
Installed worked great, and took me about 5 seconds to install.
User2345
08-20-2005, 03:31 PM
Cool, thanks!
wilky49
08-22-2005, 10:12 PM
Installed.
dieselpowered
08-25-2005, 06:43 PM
Works like a champ!!
Thanks
*clicks install*
SlowRoasted
08-29-2005, 12:00 AM
is there any way to get this hack to work for 3.0 installs?
madkidz
08-29-2005, 02:50 PM
^ I would like to know that also.
Andreas
08-29-2005, 02:51 PM
No. This Hack works with 3.5 only. But there is at least 1 similar Hack for 3.0.
SlowRoasted
08-29-2005, 04:45 PM
alright ill look around.
anyone have a link?
T.E.N.
08-30-2005, 11:51 AM
Hey, how do I implement this thing? I have the XML file but not quite sure what I'm supposed to do with it. ( Completely new to VBulletin
Andreas
08-30-2005, 11:54 AM
Just import it, setup the Userid in ACP / vBulletin Options / vBulletin Options / User Registration Options and you're done.
john_robot
09-01-2005, 02:04 PM
Ok I have strange issue . When PM email comes to the Members inbox it says from edward99 But it should be from by forumadmin " all other things working fine - is this a bug?
Dear edward99,
You have received a new private message at HotWebhostingTalk.com - Hot Place for a web hosting discussions. from edward99. Please click here to log in and read it:
http://www.hotwebhostingtalk.com/private.php
All the best,
HotWebhostingTalk.com - Hot Place for a web hosting discussions.
john_robot
09-01-2005, 02:25 PM
My pmreceived Phrase is :
pmreceived Standard Phrase Dear $touserinfo[username], You have received a new private message at $vboptions[bbtitle] from $bbuserinfo[username]. Please click here to log in and read it: $vboptions[bburl]/private.php All the best, $vboptions[bbtitle]
Andreas
09-01-2005, 08:26 PM
Yes, I think this is a Bug (http://www.vbulletin.com/forum/bugs35.php?do=view&bugid=1181)
But as it is a Bug in vBulletin, I can't fix it :)
Andreas
09-01-2005, 10:25 PM
Both phrases use $fromusername from the DM now.
Which means that it will work properly in the next Version (RC3) :)
How can I link to /showthread.php in a PM?
I have 2 different URLs to my site and want the link to work from the URL the user is coming from. For example:
/showthread.php needs to be
uselessforums.com/showthread.php
or
uselessforum.com/showthread.php
Andreas
09-02-2005, 01:04 AM
That's somewhat tricky.
You must detect the Hostname and use this in the Phrase, wrappend in [url]
That's somewhat tricky.
You must detect the Hostname and use this in the Phrase, wrappend in [url]
Any idea how to do that? It seems easy, as when I put links in the navbar, it does that automatically. Obviously, I'm no coder. :)
@coffeefix
After a moderated/COPPA User is accepted.
[/list]
Is this in the hook: register_addmember_complete?
Andreas
09-03-2005, 01:18 PM
No, it's the Datamanger Hook.
Showing different Domains in Navbar works because the Navbar uses relative URLs - but that is not possible with BBCode [url]
beansbaxter
09-03-2005, 03:20 PM
How do I install this into 3.0.7?
Andreas
09-03-2005, 03:25 PM
Not at all :)
Showing different Domains in Navbar works because the Navbar uses relative URLs - but that is not possible with BBCode [url]
Would it be possible if I made the $message in the actual plugin code, instead of in a phrase?
No, it's the Datamanger Hook.
I only want to send a PM after a moderated user has been approved. How do I do that?
FASherman
09-03-2005, 06:43 PM
I only want to send a PM after a moderated user has been approved. How do I do that?
Wrap a conditional around it that checks usergroup.
Andreas
09-03-2005, 06:51 PM
Erm ... if you are moderating new Users it should behave this way by Default.
Erm ... if you are moderating new Users it should behave this way by Default.
Oh. Yup. Sometimes Im really dumb. LOL
Zelda-King
09-05-2005, 08:00 PM
Installed just fine on 3.5 RC2. :) Cheers!
b6gm6n
09-06-2005, 12:57 AM
Doesn't work for me (RC2) read the thread (about 5 pages anyways) done all thats been mentioned, registered as a new user, welcome email comes but no PM.
Email validation is on, maybe it's 'Private Message Permissions' for the validating usergroup, "Maximum Stored Messages" was set at zero, maybe thats why the PM was denied? i expected my PM upon a first login, i dunno... it's me and a pm setting i bet.
-b6
Andreas
09-06-2005, 03:39 AM
If eMail Validation is on, the PM should be sent after the Accoutn is activated.
But of course this will not work if Usergroup Registered does not have Permission to use Private Messages.
b6gm6n
09-06-2005, 06:03 PM
Well it works... did this time around, cheers, it's a very welcomeing hack! :) very nice addition.
-b6
Testing this, the welcome PM comes from the new user, rather than from me, than Admin.
This is despite setting the sending user's ID to 1, which is the Admin User ID.
I guess this is a bug with the script.
b6gm6n
09-08-2005, 12:38 PM
ahh yes your right!
-b6
Andreas
09-08-2005, 04:51 PM
@jbd
The PM comes from the User you specify.
But maybe you noticed a Bug in vBulletin?
http://www.vbulletin.com/forum/bugs35.php?do=view&bugid=1181
Installed, working fine here on RC3.
TrUz
bloodwrath
09-17-2005, 11:50 AM
Hi,
how do u find the user id?
ive looked all over the place?
Andreas
09-17-2005, 06:36 PM
Click the Members Profile, it's in the address bar of your Browser.
gethinoakes
09-18-2005, 09:45 PM
Join Date: Dec 1969
Posts: 0
Thats what's in the box left of the PM, and also appears to come from no user, I also set it to user ID 1, any idea how to fix?
Andreas
09-20-2005, 12:51 AM
Does User ID 1 exist?
If so, I don't know what could be going wrong.
Feel free to send me a PM with an ACP account and i'll take a look.
Wordplay
09-20-2005, 06:42 AM
this doesnt work on my rc3. my members dont get the welcome pm.
Andreas
09-20-2005, 07:32 AM
Tested, works fine for me on RC3.
Check your settings and permissions.
Wordplay
09-25-2005, 10:02 AM
doesn't work for me, my users dont get their pms.
Zelda-King
09-25-2005, 10:03 AM
It should work. Have you tested it with other plugins disabled?
Wordplay
09-25-2005, 10:17 AM
i'll try that out, thanks for the quick response. is it likely that plugins interfere with one another?
Andreas
09-25-2005, 08:57 PM
They can, yes.
Which other Plugins do you have installed?
DrHUS
09-27-2005, 12:50 AM
is it work with no email activation (ON)?
Andreas
09-27-2005, 07:03 AM
It works no matter if you are using eMail Verfification or not.
dieselpowered
09-30-2005, 11:56 PM
Kirby, is this going to work with 3.5 Gold?
Andreas
10-01-2005, 03:45 AM
Not tested on gold, but I don't see any reason why it should not work.
dieselpowered
10-01-2005, 07:17 AM
Not tested on gold, but I don't see any reason why it should not work.
Well my understanding is the code is a tag altered...some items that were designed with RC 3 do not work on Gold.
ukbill69
10-01-2005, 01:35 PM
Thanks, all working on vbulletin 3.5 gold
dutchbb
10-01-2005, 09:31 PM
not working in gold
Andreas
10-01-2005, 09:35 PM
That's interesting - for ukbill69 it does work, for you it does not ;)
I think you did smth. wrong if it does not work for you.
yalla
10-02-2005, 08:34 AM
not working in gold
poolking
10-02-2005, 08:41 AM
It does work in gold, yalla and Triple T you must be doing something wrong.
It does work in gold, yalla and Triple T you must be doing something wrong.
*sighs*
Add me to that list.
I tried registering a new member...activated the account from the email.. no PM.
So, I uninstalled the Product and reinstalled it. Registered a new member, confirmed it.. still no PM.
In my Registration Options, I have 2 fields for User Who Sends PM, one is most likely the 3.0.x version..
xtreme-mobile
10-02-2005, 09:41 AM
i cant get this is work on vb 3.5.0 :(
dutchbb
10-02-2005, 10:21 AM
That's interesting - for ukbill69 it does work, for you it does not ;)
I think you did smth. wrong if it does not work for you.
Tried it again: uploaded the product, changed the prases and specified user ID
When I register as a new member i receive no new welcome pm
Could it be conflicting with the old version of this hack for 3.0, we still have those options visible in the same place
Zelda-King
10-02-2005, 10:44 AM
It works fine for me on 3.5.0 and I've been using it since RC2.
Nullifi3d
10-02-2005, 12:13 PM
It works fine for me on 3.5.0 and I've been using it since RC2.Ditto. I didn't change anything. I just upgraded my vBulletin from 3.5.0 RC2 to 3.5.0 Gold and checked pms for newly registered members. Bling Blow, they have the welcome pm in their inbox.
One question though: To have links in private messages do I still need to use bbcode or should I use html tags?
Zelda-King
10-02-2005, 12:28 PM
It's been a while since I tested that back on the 3.0 version of this but I would imagine the BB code would work because that is the format used for links in PMs. Actually I'm quite sure I used BB code.
Nullifi3d
10-02-2005, 12:38 PM
When I viewed the pm for my newest member it showed the a tags, rather then a link. So I wasn't sure if it was displaying correctly in the user's usercp. I've changed to bbcode and I guess will check the pm for the next user who signs up.
Zelda-King
10-02-2005, 01:03 PM
Typically I test by registering under a test name myself.
Nullifi3d
10-02-2005, 01:52 PM
I don't like having fake members.
Zelda-King
10-02-2005, 03:07 PM
I delete them afterwards. Better still, have a test board. You're allowed to under the vB license agreement (under certain conditions).
Nullifi3d
10-02-2005, 04:41 PM
I never thought of that. I should install one in a subdirectory.
Anyways, I've gotten a few more signups since earilier when I changed the links in welcomepm phrase to bbcode. When I viewed them it still displays the a tags. I guess the only real way to know would be to test it out myself.
Andreas
10-02-2005, 07:46 PM
BBCode should work fine.
And for all those claming it does not work on Gold - i'll test that ASAP (although, as said, I don't see any reason why it should not work).
Edit: Tested and works fine on my Gold Testboard. Even gonna test BBCode now ...
Edit2: BBCode does work as well.
Nullifi3d
10-02-2005, 09:20 PM
Thanks for clarifying Kirby. I second that this works on Gold.
digitalhome
10-03-2005, 03:19 PM
Unfortunately, like several others, this fails to work on my system also.
I have only one other plugin installed (create a new thread for reporting bad post).
If anybody has any suggestions on what might be areas to troubleshoot, I would greatly appreciate it.
Thanks in advance!
Nullifi3d
10-03-2005, 04:46 PM
I don't understand why this would fail on some 3.5.0 gold versions and not others.
Andreas
10-03-2005, 05:54 PM
I don't know why it would fail, and I also can't tell how to fix it as I cannot reproduce the problem.
@digitalhome
Feel free to send me a PM witn an ACP account (access to Settings, Users, Usergroups and Plugins is required) and i'll take a look.
Duncan
10-03-2005, 09:03 PM
I'm new to plugins. I've got it imported already and everything. Where on admin CP is the controls for this, tahnks.
Andreas
10-03-2005, 09:12 PM
You can also specify which User should appear as Sender in vBulletin Options / User Registration Options).
There it is.
dsotmoon
10-03-2005, 09:29 PM
just installed this and it doesnt work on 3.5 gold for me, signed up 2 testusers, signed them in and out and nothing, i should have waited before i wrote a long welcome PM <insert banghead smiley here> Kirby would you sign into my account and check on it?
PennylessZ28
10-03-2005, 11:38 PM
Yup, doesn't work on 3.5 gold for me either. Could this be do to other plugin's already installed?
Andreas
10-03-2005, 11:47 PM
You are running a vBulletin installation that is not a 3.5 fresh install?
Then please check if it works with 1.0.4.
Valter
10-04-2005, 11:42 PM
Works fine for me on 3.5 Gold.
csidlernet
10-05-2005, 02:56 AM
thanks tonz!
/me installs
karrerax
10-05-2005, 01:34 PM
¡Perfect mod! :nervous:
Thanks
The Geek
10-06-2005, 04:46 PM
?Perfect mod! :nervous:
Thanks
saweet! Nice one Kirby.
* The Geek installs
somedevil
10-08-2005, 06:06 PM
works perfect!
clicks install
Feckie (Roger)
10-08-2005, 06:54 PM
Another plugin added to your list.............nice one
Bounce
10-09-2005, 02:17 AM
/me installs in under 5 mins
Top Job :squareeyed:
secret1980
10-09-2005, 04:22 AM
now it works :D installed :D
Dutchmang
10-09-2005, 05:45 AM
This should go into the base product as an option.
>installs<
bhxtyrant
10-09-2005, 06:21 AM
Hey kirby,I have a suggestion that i think would be nice for this mod.I think it would be nice to not only allow you to choose from a user as sender but also usergroups.Would this be possible?
very nice thank you very much.
Hello,
I too fall into the category of "doesn't work on my gold version". My site is heavily modified, so that may be part of the reason. I also have several different usergroups than the stock that came with the site. (registered users are still 2 and awaiting email confirmation is 4.)
Some of the mods I have installed are: vbspell, left column, category spacing, pp donations, custom messages in the header depending upon post count, vba cmps, vba gallery, and custom WAOL locations to name a few. (There are many more.)
I also made modifications of my own, so I can't really say what could be causing the PM's not to be sent. (The only modifications I have made that involve the PM section would be the left column setup I have in the USERCP SHELL template, and the vbspell addition for new pm's.)
Hopefully you can find a conflict with one of those listed. Good luck.
Forumi Shqiptar
10-09-2005, 05:28 PM
where exactly can i find this mode in admincp as i cant locate it sorry for my stupid question guys.
Many thanks in advance
dutchbb
10-09-2005, 05:50 PM
Hm try to install again and this time it works :) strange, but still a great hack! Ty
Andreas
10-09-2005, 06:24 PM
@iganairs
I don't know and I can't fix it - sorry.
But feel free to send me a PM with an ACP login and i'll take a look.
hotrod1
10-10-2005, 01:25 AM
Vb products are so awesome, just one upload and you are done but anyway thanks for a great hack!
Jacuma
10-10-2005, 01:01 PM
awesome installed!!!
Hello,
Kirby got mine working good as pie. (Thanks again Kirby!) I like this feature. Its a good way to express some policies to the members. lol
Julie
10-10-2005, 07:34 PM
Excellent, works perfectly! :) Thanks!
Quillz
10-10-2005, 07:47 PM
This is a very useful hack, made even better by the fact it's a plug-in! Just installed, and I'll be installing it on my live board as soon as I upgrade from 3.0.9.
bigmonay2k
10-16-2005, 02:16 AM
thanks, how can I edit it, put my own Messages??
akanevsky
10-16-2005, 09:17 PM
Why does everyone post screens as PNG lately (sorry for offtopic, but I wanna know)? :)
Andreas
10-16-2005, 09:34 PM
PNG = better format :)
akanevsky
10-16-2005, 09:37 PM
Yes, I know, but everyone started doing it at once... Unless it is enforced, I don't see how that'd happen :P
Andreas
10-16-2005, 09:51 PM
I can only speak for myself:
I've "always" used PNG.
akanevsky
10-16-2005, 10:05 PM
I didn't notice that before..
Maybe it's just that vbulletin.org stopped displaying them as thumbnails?
Boofo
10-17-2005, 09:59 AM
PNG = better format :)
Why is it better than JPG or GIF?
Why is it better than JPG or GIF?
Better than .jpg cause it isn't licensed crap.
Better than .gif cause it does transparencies better.
However, it will still suck until M$ releases transparent support for IE. :P
Salazar
10-19-2005, 09:48 AM
Thanks for sharing, Kirby.
ryanchua
10-24-2005, 01:20 AM
I've installed it and it is a great plugin :)
I'm just wondering whether it would raise even higher conversions if we sent a PM instead of immediately, two days later to welcome the newcomer?
Something which goes like..
"Hi there! We've noticed that you joined us about 2 days ago..and we would like to know how your experience has been. If you haven't introduced yourself already, please do so at XXXX forum."
What do you guys think? Or is there some kind of conditional that i can write in myself...? I'm not that great with codes. :\
hmm, i recently aware that this hack somehow give me error when moderating user.
(I have users waiting for moderation, and when I click accept on some user, it give me the error)
Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in /home/....../forums/public_html/includes/class_dm_user.php(1488) : eval()'d code(6) : eval()'d code on line 17
do you have any idea where I should look for problem?
....
there must be something wrong or conflict in the plugin at userdata_postsave.
Andreas
10-24-2005, 02:28 AM
Check all Plugins you got on Hook userdata_postsave.
I just have Add Usergroup as Moderator and Automatic Welcome PM there. Turning Add Usergroup as Moderator off (Automatic WelcomePM) on, it still give me same error.
Turn Automatic Welcome PM plugin at that location off, the error is gone ...
.............
well, it might be conflict with one of my hack, when activating a user, I insert some data into userfield table for the user ... using
$userfieldextradata = array(
'field8' => "$ActivateionNote\n $user[field8]",
'field34' => 2,
'field39' => 2
);
$userdata->set_userfields($userfieldextradata,false,'admin');
checking...
BTW. By looking at your 3 plugins, is that true that the Welcome PM will be sent 3 times?
- After Registration
- After Email activation
- After Moderated in AdminCP
If so, and If I just want the PM to send once, can I disable two other plugins?
Andreas
10-24-2005, 03:07 AM
The PM is only sent once, but there are three Plugins required as there could be different situations where the PM must be sent:
- After Reistration if you don't moderate new memebers and don't verify emails
- After eMail activation if you don't moderate members
- After approval if you moderate members.
:( it turns out that my PM Content give trouble. I had something like $email and $username in the content, that your PM doesnt like.
anyway, I remove those variables, and it's working now.
The PM is only sent once, but there are three Plugins required as there could be different situations where the PM must be sent:
- After Reistration if you don't moderate new memebers and don't verify emails
- After eMail activation if you don't moderate members
- After approval if you moderate members.
... for this, if I just want to send PM when new member just register (even if he need to verify email and moderate), can I disable other two plugin and change the plugin at register_addmember_complete, using the following code?
if $vbulletin->options['welcomepmuserid'])
{
// $vbulletin->userinfo['usergroupid'] = 2;
$vbulletin->userinfo['permissions'] = cache_permissions($vbulletin->userinfo, false);
$fromuser = fetch_userinfo($vbulletin->options['welcomepmuserid']);
$registry =& $vbulletin;
eval(fetch_email_phrases('welcomepm'));
// create the DM to do error checking and insert the new PM
$pmdm =& datamanager_init('PM', $vbulletin, ERRTYPE_SILENT);
$pmdm->set('fromuserid', $fromuser['userid']);
$pmdm->set('fromusername', $fromuser['username']);
$pmdm->set_info('recept', false);
$pmdm->set_info('savecopy', false);
$pmdm->set('title', $subject);
$pmdm->set('message', $message);
$pmdm->set_recipients($vbulletin->GPC['username'], $fromuser['permissions']);
$pmdm->set('dateline', TIMENOW);
$pmdm->save();
}
or ... options to turn ON/OFF PM at each step (if user need to go through), and use different PMs for each step could be even better :) )
Andreas
10-24-2005, 03:40 AM
Only one PM is being sent, so you don't have to modify anything.
The default phrase does work just fine, so if yours doesn't you must have edited it incorrectly :)
Only one PM is being sent, so you don't have to modify anything.
I know that there's one PM is sent, but I set so that member have to verify email and waiting for moderation, and in my case, I want to send the PM right when he is registered (not wait until the account is moderated).
That's why I want to modify the conditions, so that the PM is sent right after registration (given that the system will ask for email verification and moderation)
The default phrase does work just fine, so if yours doesn't you must have edited it incorrectly :)
yeah, that's what I said, I had $email and $username in the text ... (copy from what I used for the same purpose on vB3.0.x) that give the error :)
Andreas
10-24-2005, 03:56 AM
Doesn't make much sense - moderated/unactivated members can't use PM :)
Doesn't make much sense - moderated/unactivated members can't use PM :)
shouldnt they still be able to read, should they?
my point is,
- sometime when they register, even with a notice that they need to check their email, they may still not be aware of that
- many time, activation email went to BULK MAIL, esp. with yahoo email, so that a PM remind them that they should also check the bulk mail could help.
- Despire that we have TnC before registration, and instruction on how the account activation and process go, people still ignore it, and ask why their account is not activated. A general FAQ doesnt really help much, so a PM to them specifically, would work better. In the PM, I would include what they need to know, or where to look for, if they have questions, trouble activating account ....
so, it's not really an welcome PM, it's some kind of instruction PM :P
Andreas
10-24-2005, 05:02 AM
Well, you can either activate their PM (then they can also send) - or you deactive their PM (then they can't read).
As I don't enable PM for unactivated members for security reasons, it wouldn't work for me :)
Kirby,
:) if I want to do it my way, should it works if I do the above changes?
Thanks man
Andreas
10-24-2005, 12:20 PM
Yes, should work.
The Chief
10-24-2005, 02:00 PM
installed and works great!!
Flow Fusion
10-28-2005, 02:31 PM
Gret hack thanks!
Hanif
11-01-2005, 07:14 PM
Works like your first night of marriage hit with mountains of passion with your ideal dream woman !!!
U Rock Kirby !
Installed !
Jon@Refresh
11-01-2005, 08:58 PM
Hi everyone.
we're using the latest version of the product and have it all working. Except that the PM received email says the PM has come from the user that just registered. I know this was a problem before, but I thought it had been fixed in a new version of vB (we're using Gold)? If it isn't fixed, can the PM received email be disabled for this PM (it's not really needed)?
Thanks :)
Andreas
11-01-2005, 09:10 PM
Check your email phrases, you might be using an old one.
Jon@Refresh
11-01-2005, 09:16 PM
Check your email phrases, you might be using an old one.ah, excellent, thank you! We were using a customised 'pmreceived' template.
Snake
11-02-2005, 06:28 AM
Wow truly a great hack! Thanks. :)
PsiNyde
11-02-2005, 09:23 PM
*installs*
great job. i likes it.
*edit*
btw, i just upped to 3.5.1 and then ran this. zero problemas.
biggjoe
11-03-2005, 06:21 AM
Great Hack! Just installed it on vB 3.5.0 (w/ security patch) and works awesome!
It's so cool how you can edit the 'welcomepm' Varname from within the vB options, instead of having to go screwing around in the Phrase Manager.
Thanks a million!
Joe
mikehawk
11-09-2005, 06:22 AM
Works excellent.
/me installs. :squareeyed:
funinthesun
11-09-2005, 10:34 PM
Great mod, thanks :)
RetroDreams
11-11-2005, 03:33 PM
This may sound like a stupid question, but how do you enter line breaks in the message? I tried <br /> but that doesn't translate.
Much appreciated.
kadafi_alive
11-11-2005, 06:18 PM
Hi,
I installed the welcomepm a few weeks ago and it used to work perfectly 'till the last couple of days. When a new user signs up, it doesn't send anything. I have removed the hack and reinstalled, yet the same results.
Regards
Andreas
11-11-2005, 06:47 PM
@RetroDreams
Simply hit return
@kadafi_alive
I got no idea. Most likely you are doing smth. wrong.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.