The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Automatically Start a Welcome Thread in the Forum of Your Choice Details »» | |||||||||||||||||||||||||||
Automatically Start a Welcome Thread in the Forum of Your Choice
Developer Last Online: Nov 2013
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
|
Comments |
#197
|
||||
|
||||
Quote:
|
#198
|
|||
|
|||
Quote:
Did you try the product I posted? |
#199
|
|||
|
|||
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?
|
#200
|
||||
|
||||
Quote:
My variables are set thusly: Code:
// Use $postusername if posting as a guest, use $postuserid if posting as a user //$postusername = 'admin'; $postuserid = $vbulletin->userinfo['userid']; When I tried using $postusername instead, upon registration, new members would get a screen that said: " No Users Matched Your Query" (instead of "Thank you for registering, blank. An email has been dispatched to blank@blank.com with details...") This happened even if I changed "admin" to the username of a real admin on the forum, like "tralala." Ideally I'd like for these new posts to be made by one of our admins, or maybe a "welcome bot" account, or perhaps even the member who referred their friend to our forum in the first place. Flexibility here would be ideal. Given the nature of our invite system, it seems awkward for the new member to "announce" their arrival in this way. I'd prefer it to be an existing member (or bot) making the welcome announcement. And of course, I'd very much appreciate the posting of these to be made AFTER the new accounts are approved by moderators. Looking forward to more details on that. |
#201
|
||||
|
||||
A side question, I see in the code the welcome_thread template that says:
Quote:
But I'm just curious about those that use this hack in it's original form though: Is that for a PM to the new user? Or do forums ("EA" in this case) actually start new threads for every new member with the same "introductory/tour" text? Seems a bit... much. Just curious, as I am new to forum moderation and I like to hear how other mods do things. |
#202
|
|||
|
|||
Quote:
PHP Code:
PHP Code:
If you want the post to be made by an unregistered guest, make sure to comment out the $postuserid section like this: PHP Code:
|
#203
|
|||
|
|||
Quote:
btw, as the hack stands now, when is the thread/post made? It isn't after admin approval? (sorry, its been a while since I played with this hack.) |
#204
|
||||
|
||||
Quote:
What I want it to say is this: Code:
<p>Welcome $username!</p> <p>Southerngazebo is a place where you can hang your hat and chat with friends. I'm glad you joined us. If this is your first visit, be sure to check out the <a href="http://www.southerngazebo.com/forum/faq.php">FAQ</a> on the forum. Please post an introduction <a href="http://www.southerngazebo.com/forum/forumdisplay.php?f=21">Welcome to SouthernGazebo</a> so others can get to know you. We're glad you joined. Liz aka Southernlady |
#205
|
||||
|
||||
Quote:
(And that's why I'm unable to use it on my forum for now.) |
#206
|
||||
|
||||
Quote:
That works a treat, great, thanks. 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: |
#207
|
||||
|
||||
Quote:
|
#208
|
||||
|
||||
That's not a bug. If you have it set up to make the post under your user name, that is going to happen because the post is being made while the new user is logged in. It's going to record their IP address under your username. I guess, in theory, you could zero out the ip address for these particular posts if you really cared to do so.
|
#209
|
||||
|
||||
thanx for your reply amykhar,yes i do have it set to post under my username,so how would i go about zeroing the IP for these posts
|
#210
|
|||
|
|||
Quote:
|
#211
|
||||
|
||||
He shouldn't have to. He should be able to set that with the datamanager.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|