vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Automatically Start a Welcome Thread in the Forum of Your Choice (https://vborg.vbsupport.ru/showthread.php?t=91887)

kenfuzed 12-22-2006 04:12 AM

Just added this to my 3.6.4 installation and so far it works perfectly. I'll keep an eye on it.

Ken

Shazz 12-22-2006 04:17 AM

[high]* Shazz forgot to click install :)[/high]

dknelson 01-16-2007 08:47 PM

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?

Renae 01-17-2007 07:34 PM

Quote:

Originally Posted by dknelson (Post 1160920)
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?

I also would like this. As we want to use this hack a little differently. Only the staff will see these threads, and it would help them if they knew more about the members. I was playing around with some stuff...but the most important thing would be determining the members usergroups. I tried a couple things, but was unable to figure it out.

rjmjr69 01-24-2007 07:48 AM

Quote:

Originally Posted by Renae (Post 1161637)
I also would like this. As we want to use this hack a little differently. Only the staff will see these threads, and it would help them if they knew more about the members. I was playing around with some stuff...but the most important thing would be determining the members usergroups. I tried a couple things, but was unable to figure it out.

I would imagine that you could just set it to your staff safe house if you have one setup. Or start a forum that is only viewable to your staff and have it set the email there.

Renae 01-24-2007 01:37 PM

Quote:

Originally Posted by rjmjr69 (Post 1166283)
I would imagine that you could just set it to your staff safe house if you have one setup. Or start a forum that is only viewable to your staff and have it set the email there.

Unfortuantely that's not what I'm talking about. I already have that all done and such. I was wanting more help on using variables in the templates to display more information about the user that just registered in the thread that is posted for my staff to see.

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.

dknelson 01-30-2007 10:41 AM

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

fly 01-30-2007 11:30 AM

Quote:

Originally Posted by dknelson (Post 1170466)
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

iirc, you'll also need to check that the user has no posts, otherwise you'll get a thread generated when your users change their email address.

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'.

Renae 01-30-2007 03:42 PM

Quote:

Originally Posted by flypaper (Post 1170490)
iirc, you'll also need to check that the user has no posts, otherwise you'll get a thread generated when your users change their email address.

Are you sure? I changed it to the suggested hook location, and changed my email address, but a new thread did not show up.

fly 01-30-2007 03:56 PM

Quote:

Originally Posted by Renae (Post 1170625)
Are you sure? I changed it to the suggested hook location, and changed my email address, but a new thread did not show up.

Then, no, I'm not sure. ;) I thought that was the problem I ran into, but I must have used a different hook.


All times are GMT. The time now is 05:46 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01458 seconds
  • Memory Usage 1,746KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete