![]() |
Just added this to my 3.6.4 installation and so far it works perfectly. I'll keep an eye on it.
Ken |
[high]* Shazz forgot to click install :)[/high]
|
This is a good hack and I thank Amy for releasing it. It appears though and she doesn't have any desire to update it though and I don't know how. Two features that I would really like to see and have asked about but have received no responses are:
1. An option so that it does not create the welcome thread until after the new registrant had replied to the confirmation email. 2. The thread title could include the users location. State, Province, etc. Does anybody know how to do this or know of a similar hack that will do this? |
Quote:
|
Quote:
|
Quote:
https://vborg.vbsupport.ru/showthrea...e+in+templates Were the examples that I was using to try to come up with the logic to do this. Using the different fields in the user table. There is a field called "[membergroupids]" in the User table, but I guess I am still a little unsure on how to access this field in a template. Why do I want this? I throw users into secondary usergroups based on a field they pick at registration, and we want to know what member group they are in. So does anyone have any experience with this? I'm a little slow I suppose. |
For those of you who want this heck to create the welcome thread AFTER a new member responds to the confirmation email. I finally figured out how to do that. Very simple.
Go to your CP and then "Plugin Manager". Beside the "Start Welcome Thread...." plugin click on "Edit". In the second field from the top "Hook Location"...click the arrow and choose: register_activate_process That's all there is to it. Now if somebody could help me figure out how to add the users "Location" to the title, that would be nice. Something like Welcome: Name from Location I've tried but no luck yet. Don |
Quote:
To echo the location, you can probably use $userinfo['location']. You'd have to look in the DB for the exact field name, but I'd guess its just 'location'. |
Quote:
|
Quote:
|
Flypaper,
I'm having a hard time getting the location to work. Where all do I put the location tag? Here is what I am running now, without anything added for the "location". Any help would be appreciated. Sorry...I am NOT a coder. :( Quote:
|
In that case, try editing the 'welcome_thread' template and use $post[field2] for location. I'd think that would work. Lemme know.
|
Thanks...but I am looking to add it to the TITLE...Like...
Welcome: New user from wherever |
Quote:
And so I want this hack to create the welcome thread AFTER the new member has been moderated/accepted . If it happens before (ie: after they confirm their email) and for whatever reason they are NOT moderated/accepted, it could cause an awkward and sticky situation. Any clues on how to make THAT happen? I'd be forever in your debt, this has stumped many great men and women who tried before you. |
You would have to try it but I would think that the hook: register_addmember_complete would do what you want it to. That one has been suggested before though. Have you tried it? It didn't work on my board but I think it was because I don't use moderator approval for new registrations so the approval was instant. I would think it would work in your case though.
|
Quote:
This change is awesome. It should be included as an option in any future updates...or at the very least mentioned in the description since it seems many of us wanted this feature. giz |
Quote:
PHP Code:
|
Yes...I've tried that but am not getting the location to show up. I'm sure I'm adding it wrong but not sure what I'm actually doing wrong.
|
Quote:
Quote:
|
Here is what I tried:
$title = "Welcome: " . $userinfo[username]; "From:" $post[field2]; // The thread title When I added the $post[field2], it stops working completely. Please tell me what I' doing wrong. |
Quote:
|
No problem...thanks for your efforts.
|
Is it possible to make the welcome thread's creation add to the postuserid's post count?
|
Quote:
|
Quote:
Code:
$postuserid = 3; // The Userid of the poster |
Is there any way to add a link to the new members profile?
|
Okay...little help here please. I have been going through the thread and I am not sure so can anyone direct me to the working version of this for when a user has activated his/her account only. There has been so many modifications to this to suit one person or another that I am not sure which one to use in the many threads. I love the mod!
Very much appreciated :) Thanks |
I have it installed but I do not like the fact that it posts this for users who are not even activated. I tried the setup to fix that and then it dosen't include the username when it makes the post for the activated user. Ideas?
|
Oops...I didn't see this thread:
Quote:
Thanks :) |
Nope..that didn't work...It makes it do what I said and show no username at all and it still makes the post even though it isn't activated.
|
Quote:
And yet, the new thread is created as soon as the new member registers. Not after they validate their email, nor after a moderator approves the new user... right after they sign up. Which obviously makes this hack unusable for me. :( Thanks for the help, anyway. |
Quote:
use this in your plugin $title = "Welcome to the forum: " . $userinfo[username]. " from " . $userinfo[field2]; // The thread title |
FANTASTIC...that works perfectly. Thank you VERY much.
|
I've had this installed for quite a while now - works great and I love it!! Thanks so much! *Installed* and *Nominated*
Always Bree PS Using vB 3.6.5 =0) |
Quote:
|
Quote:
Parse error: syntax error, unexpected ':' in /home/babble/public_html/forum/register.php(1002) : eval()'d code on line 10 |
I am rewriting this slightly to work better with 3.6 and have control in the AdminCP
|
Quote:
-after registration, or -after email confirmation, or -after user moderation (which is what I would choose, since my forum is user-moderated) No one has been able to crack that nut yet, and if you do, I personally will be happy to send you a $ token of my appreciation!! |
Quote:
|
Quote:
|
All times are GMT. The time now is 12:41 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|