Version: 1.5, by amykhar
Developer Last Online: Nov 2013
Version: 3.5.0
Rating:
Released: 07-08-2005
Last Update: 10-16-2005
Installs: 272
Uses Plugins Template Edits
No support by the author.
This little mod will start a new thread in the forum of your choice when somebody registers.
The thread message is contained in a template, and easily customizeable on your part.
This version posts the thread when the user registers - but before he activates his email address.
Thanks to flypaper for providing a bugfix.
Installation Instructions: Import the product. Change the welcome_thread template to suit your needs. Change the setup variables in the welcome thread plugin to suit your needs.
Amy
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
I searched but couldn't find this info - is there a way to make it so that in the new thread that is automatically started, the new member's name is a link to their profile?
maybe I didnt phrase this right - what I am wanting to know, is in the message posted to the specified forum by the welcome bot, is there a way to make the new member's name a link to their profile?
So it will say:
"Let's welcome (membername) to our community!"
And (membername) will be a link that goes to the member's profile. So if someone wants to PM the new member, or whatever, they can click right on their name in the post, and go to their info.
Jilly, I don't remember what the new user's userid variable is in that section of the code and don't have time to look for it. All you need is the userid and you should be able to format your link, which should be clickable.
Given that you're a coder, I'll leave that little exercise to you.
Jilly, I don't remember what the new user's userid variable is in that section of the code and don't have time to look for it. All you need is the userid and you should be able to format your link, which should be clickable.
Thanks! I will try it out..
Quote:
Originally Posted by amykhar
Given that you're a coder, I'll leave that little exercise to you
LOL - I am only a 'coder' because that's the default vb.org usertitle for the amount of posts I've made. Large amout of posts doesn't necessarily equal coding brains
I do know enough to be dangerous, though. So off into dangerous waters I go!
If I can figure it out, I'll add it here to the thread..
The new user registration now prompts our "WelcomeBot" account to make a post in our WelcomeThread.
However... $username doesn't work in the post body (or I can't seem to get it to work.)
The actual post reads "This is an automated message announcing the arrival of $username to our forums. Say hi!"
Anyway to get that $username variable to actually work, and insert the name of the new registrant?
I'm so close, I can taste it! :nervous:
I'm using flypaper's edit to have a "WelcomeBot" user create a post inside a pre-established Welcoming thread. Alas, I still can't get the final piece of the puzzle in place: to insert the name of the new member in the post's text.
Code:
$postpagetext = 'This is an automated message announcing the arrival of $username!';
Obviously, it leaves $username as $username. I know I am missing something basic. Any assistance on how to edit the text properly would be appreciated.
And if all of these edits have morphed this hack into a totally seperate and annoying concoction, that's cool. Just let me know and I'll scurry along. :nervous:
$postpagetext = 'This is an automated message announcing the arrival of '. $username . '!';
Try that.
That one worked! Thanks so much, flypaper.
As soon as there's a way to delay the posting of this until after the new user has been moderated in (as opposed to "as soon as they register") I'll be enjoying the heck out of this hack.
As soon as there's a way to delay the posting of this until after the new user has been moderated in (as opposed to "as soon as they register") I'll be enjoying the heck out of this hack.
Is this in the works? This is a great hack, but I need to wait for moderation also.
As soon as there's a way to delay the posting of this until after the new user has been moderated in (as opposed to "as soon as they register") I'll be enjoying the heck out of this hack.
Can you try this for me? I can't say that I totally understand the conditional used, but its what Andreas uses for his Welcome PM hack. This should create the post AFTER admin approval. I think.
Can you try this for me? I can't say that I totally understand the conditional used, but its what Andreas uses for his Welcome PM hack. This should create the post AFTER admin approval. I think.
Close, but no cigar. When I went to approve in a new member, I got this error:
Fatal error: Call to a member function on a non-object in /home/.odell/mydirname/myforumname.com/forums/global.php on line 22
Uninstalled the hack... and moderation went through fine.