View Full Version : Add-On Releases - Welcome Thread with VB Options
lil7rocket
04-07-2007, 10:00 PM
FROM AmyKhar
"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."
You can set the ForumID, UserID and Username in VBoptions
on register it sends the Thread to moderations so you can customize it.
I'll be adding a second release soon with that functionality removed.
Thanks to AmyKhar for the original hack and Nick for his excellent debugging skills and intuitive coding.
Co-Author Nick of VBnova
COBRAws
04-08-2007, 07:45 PM
A more acurate description please?
Shazz
04-08-2007, 07:47 PM
A more acurate description please?
https://vborg.vbsupport.ru/showthread.php?t=91887
EnIgMa1234
04-08-2007, 08:26 PM
screenshots?
Tralala
04-08-2007, 08:44 PM
Thanks for sharing.
Can this be set to create the Welcome Thread *after* email activation and after the user has been moderated (on forums that have user moderation turned on?) In other words, when their user group is finally changed to "Registered."
If not, the thread is created prematurely and will introduce more awkwardness than anything. Why would any admin want threads created for every new signup... when some of them don't end up becoming registered users after all?
on register it sends the Thread to moderations so you can customize it.
I'll be adding a second release soon with that functionality removed.
Why remove that functionality?
lil7rocket
04-09-2007, 06:48 AM
Thanks for sharing.
Can this be set to create the Welcome Thread *after* email activation and after the user has been moderated (on forums that have user moderation turned on?) In other words, when their user group is finally changed to "Registered."
If not, the thread is created prematurely and will introduce more awkwardness than anything. Why would any admin want threads created for every new signup... when some of them don't end up becoming registered users after all?
Why remove that functionality?
because some people will not want that functionality so I will have two Releases.
this in effect does post after user moderation/email activation because it sends the thread to moderation. So you dont have to let it be posted until after you moderate the appropriate user or let it be posted until activation is complete.
later I will post directions on adding the email activation functionality.
dizzy100
04-09-2007, 06:54 AM
I agree i would prefer to see it after email validation and not sent to moderation.
Also could we have a global variable that could be inserted in the welcome PM, directing them to the new thread ? We could then include in the welcome PM something like
We have started a new topic for you at XXXXXXX to welcome you to our website, please, if you can find the time, drop in and tell us a little about yourself.
Where XXXXXXX is the link to the new thread of course.
lil7rocket
04-09-2007, 11:57 AM
I agree i would prefer to see it after email validation and not sent to moderation.
Also could we have a global variable that could be inserted in the welcome PM, directing them to the new thread ? We could then include in the welcome PM something like
We have started a new topic for you at XXXXXXX to welcome you to our website, please, if you can find the time, drop in and tell us a little about yourself.
Where XXXXXXX is the link to the new thread of course.
this would entail an entirely new hook
A more acurate description please?
The title of the thread was enough to explain what it does for me.
Looks like a good idea, installinatored!
AuroraStorm
04-09-2007, 02:25 PM
Oh I wondered about this - I saw something similar on vbCoderz...I'll try it when I get home...
please learn me on how to make it NOT go into the moderation thing, not like the mod is gona go corrupt and start spamming viagra pills or nothing...
adwade
04-13-2007, 04:53 AM
Can this be set to create the Welcome Thread *after* email activation
Where the xml product reads:
<hookname>register_addmember_complete</hookname>
couldn't it be revised to...
<hookname>register_activate_process</hookname>
instead, and accompolish that feature?
lil7rocket
04-13-2007, 08:00 PM
Where the xml product reads:
<hookname>register_addmember_complete</hookname>
couldn't it be revised to...
<hookname>register_activate_process</hookname>
instead, and accompolish that feature?
that is possible try it and letmeknow
adwade
04-13-2007, 08:23 PM
Haven't installed the Product yet, but I am just fixing to so will let others know how it goes when I try the revision I mentioned directly above.
lil7rocket
04-13-2007, 09:23 PM
if it works post it and I will add it to the main post
adwade
04-13-2007, 09:42 PM
Well no, the Product didn't work for me. I imported it via Advanced Product Management's [Add/Import Product], but I ended up w/o any welcome_thread template. :confused:
In looking thru your xml file, I no longer see the section that contained the original text for the welcome_thread template as AmyKhar's did. :( So I just figured it was being created by some other fancy method. Is that the case, or does your MOD require one to first install AmyKhar's version 'then' install yours allowing an overwrite via the xml file?
The 2 sections of the xml file I revised are as follows:
starting on line 20, where you have...
{
$dataman->setr('userid', $post['userid']);
}]]></phpcode>
</plugin>
<plugin active="1" executionorder="5">
<title>welcome thread upon registration</title>
<hookname>register_addmember_complete</hookname>
I revised to...
{
$dataman->setr('userid', $post['userid']);
}]]></phpcode>
</plugin>
// NOTICE: Revised hookname from register_addmember_complete to register_activate_process
// Done in an attempt to delay the thread creation until after a user is verified by email
<plugin active="1" executionorder="5">
<title>welcome thread upon registration</title>
<hookname>register_activate_process</hookname>
Then under the setup variables section, on line 64 where you have...
$title = "Welcome: " . $username; // The thread titleI changed it to...
$title = "Welcome: " . $userinfo[username]. " from ". $userinfo[field5]; // The thread titleNote field5 is a user profile field that contains the user's State or CountrySorry, you're dealing with a non-coder here so I have little clue as to what may be wrong.
lil7rocket
04-15-2007, 07:48 AM
Hold on I will PM the welcome_thread template to you
breamy1990
04-18-2007, 04:49 PM
How do i make it so it doesnt require moderation and instead just posts it anyway ?
Jeordie015
05-01-2007, 11:20 PM
How can you change the thread title?
TeddyKGB
05-02-2007, 01:11 PM
Very much looking forward to the version that only posts the thread after the new user has confirmed his/her email address.
mlbvb
05-09-2007, 03:34 AM
TeddyKGB--if you revise line 20 of the code as adwade posted, it will do post after email confirmation.
For those that have done so, what do I change to make it so the posts aren't moderated? This would be the perfect mod if it edited line 20 and took out the moderation of the posts!
adwade
05-09-2007, 09:23 AM
Hold on I will PM the welcome_thread template to you
...still holding :o
mlbvb
05-09-2007, 08:13 PM
I think this is what you need:
<template name="welcome_thread" templatetype="template" date="1129555561" username="amykhar" version="3.5.0">
- <![CDATA[
<p>Welcome $userinfo[username]!</p>
Welcome to "change to your forum name". We are happy to have you here.
Please, take the time to introduce yourself. We're a small, caring community.
If you have a problem figuring out how to use a forum feature, ask and we will be glad to help.
We are a support group, first and foremost. But, we also offer an arcade and a photo gallery.
We are pretty open on what we can talk about, so relax, enjoy and make some new friends.
Please be sure to read the forum rules.
Thank you for regestering we all hope to talk with you soon.
]]>
</template>
Just put that between the < templates > < /templates > tags.
lil7rocket
05-28-2007, 06:21 AM
yeah sorry had a lot of stuff going on hehehe I'll try rewritin this sometime this week
drdeathuk69
05-30-2007, 09:12 PM
Anyone got this working 100% ? and could they please pm me the full working text and xml file please
Thanks in advance
lil7rocket
06-28-2007, 06:39 AM
what do ya mean by 100%?
Charlie98902
06-28-2007, 12:14 PM
I noticed that you need a user ID, I assume this is the usergroup meaning the usergroup number like registered users? It is far to much trouble to manually enter the new users ID for every sign up. I also assume that this is the ID of the one you want to greet. I bit confused on this mod sorry.
Charlie98902
06-29-2007, 12:15 PM
I noticed that you need a user ID, I assume this is the usergroup meaning the usergroup number like registered users? It is far to much trouble to manually enter the new users ID for every sign up. I also assume that this is the ID of the one you want to greet. I bit confused on this mod sorry.
Could use some help on this please. Thanks.
Charlie98902
06-30-2007, 04:16 PM
2 days even after a bump and no one knows wiat I need to put into the user ID section?
Clicks uninstall now.
EnIgMa1234
06-30-2007, 07:59 PM
lol^^
why did you presume that userid means usergroup id
userid can be found in the url
e.g your userid here is 178671
the admin on a forum is usually 1 because when he signed up number one is given, then the next user to register get 2 and so on
to get this in a template you would usuall use $userinfo[userid]
AntiThesis
09-06-2007, 10:21 AM
Yes, the mod works by adding in the userID of the person you wan the post to have been done by.
Still looking for a way to make it not go into the moderation queue though.
SBlueman
09-12-2007, 08:16 AM
the option to edit the default post via vbulletin options would rock.
brvheart
09-20-2007, 02:00 PM
so do we need amys original, then run this and overwrite?
brvheart
09-23-2007, 03:09 AM
anyone??
SBlueman
09-23-2007, 03:17 AM
I would love to figure out how to get this to work as well.....
PhenomLeader
09-29-2007, 01:22 PM
Is there a version of this plugin that WORKS?
I have the 3.5 version, which stopped working after the upgrade to 3.6.8. When a new member joined, I got some funky version of the welcome thread, that I did not write. It appears to be a default version of it that is to be edited, but I cannot locate it anywhere in my system so I had to disable the plugin.
This version does not work because the register_addmember_complete phrase cannot be found and there is no welcome_thread template.
Anyone?
SBlueman
09-29-2007, 05:56 PM
I think this modification is dead.....
PhenomLeader
09-30-2007, 04:46 PM
Ok thanks. Somehow I got the old one to work..I thought it was in phrases not templates. Tested and it's working on 3.6.8.
SBlueman
09-30-2007, 05:55 PM
Can you share how you got it working? I can't seem to get either version going on 3.6.8....
intricatic
10-05-2007, 02:02 AM
I'd like to know where to go about looking to get this hack to work as well. I'm experimenting with it, but have had no luck so far.
Ohiosweetheart
10-28-2007, 01:52 PM
ha, I don't even have a welcome_thread template. :rolleyes: oh well...
It looks like lil7rocket gave up on this one.
Another potentially good mod dropped...
SBlueman
10-28-2007, 02:47 PM
Yep, looks like another one bites the dust.
Giray
10-28-2007, 03:49 PM
I'm desperately looking for a mod to start a thread using, as the title, the user name and as the message body, one of the profile fields. If anyone knows of a mod, point me :o
Loxias
10-30-2007, 03:50 PM
Ditto.
BellaMama
11-08-2007, 09:11 PM
I have tried installing this, and have, but the thing is I don't see it in control panel or anywhere else, I need to edit the welcome messege for them, and where it's being posted. I have even tried to edit the xml file and re upload and overwrite it. and it gives me an error. :(
Mrdby
11-29-2007, 10:30 AM
so anybody?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.