vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=91887

Automatically Start a Welcome Thread in the Forum of Your Choice
by amykhar
09 Jul 2005 20:23

1 Attachment(s)
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

P.Jackson 09 Jul 2005 21:30

Got a link to any examples? otherwise great addition! :)

bigcurt 09 Jul 2005 21:32

Dang amy, on a roll aren't ya? Good Job!

amykhar 09 Jul 2005 21:47

Quote:

Originally Posted by P.Jackson
Got a link to any examples? otherwise great addition! :)

I'm just using a simple template for my welcome thread right now. It's not worth showing off yet. :D I'm too busy coding to be write something more fun and creative for a welcome.

http://www.eaforums.com/forums/showthread.php?t=40021

Cloudrunner 09 Jul 2005 21:59

Small annoyance--

If you have templates names added in the HTML through you AdminCP, you will get the following when using this unelss you have the template names in THML comments disabled:
Quote:

<!-- BEGIN TEMPLATE: welcome_thread -->...<SNIP>...<!-- END TEMPLATE: welcome_thread -->
Just an FYI, most people will not run with template names in HTML to cut down on bandwidth, but I turn them on sometimes when working on a new style...oh and before I forget,

Thank You!

I've been waiting for someone to pop this one in for awhile now ;)

amykhar 09 Jul 2005 22:03

Quote:

Originally Posted by Cloudrunner
Small annoyance--

If you have templates names added in the HTML through you AdminCP, you will get the following when using this unelss you have the template names in THML comments disabled:Just an FYI, most people will not run with template names in HTML to cut down on bandwidth, but I turn them on sometimes when working on a new style...oh and before I forget,

Thank You!

I've been waiting for someone to pop this one in for awhile now ;)

As a workaround, you don't HAVE to use the template. You could hard-code the message within the plugin.

And, you're welcome. :)

Amy

southernlady 11 Jul 2005 14:53

Amy, this one has me a tad confused. I got the plugin downloaded...but what is this part:
Quote:

Change the hook to:
register_activate_process

And, in the plugin code, change:
And on the welcome_thread template, I've never actually created one from scratch..is there a way you could help here, please? Liz

amykhar 11 Jul 2005 16:02

Quote:

Originally Posted by southernlady
Amy, this one has me a tad confused. I got the plugin downloaded...but what is this part:


And on the welcome_thread template, I've never actually created one from scratch..is there a way you could help here, please? Liz

The change the hook part is used only if you want to run this after the user activates their account. Give me a couple of secs, and I'll export that version and zip it up for people to download.

Amy

amykhar 11 Jul 2005 16:08

Liz,
I added the alternate plugin. If you decide to use this one instead, just delete the first one and install the second. The only difference is when the thread is created.

Amy

southernlady 11 Jul 2005 16:11

Thanks, Amy..I'll let you know in a few mins how the install went. Liz

southernlady 11 Jul 2005 17:05

Amy, I'm having trouble making it go to my intro forum. I know I should put in my version of this: <a href="http://www.eaforums.com/forums/forumdisplay.php?f=23"> which for me is: <a href="http://mysouthernlady.com/forum/forumdisplay.php?f=21"> and yet, I ended up with it in a PRIVATE board when I tested it. Liz

Biker_GA 11 Jul 2005 18:33

Amy, is it possible on the "welcome after activate" to actually wait until the user is approved by the administrator, and if disapproved/deleted, the post isn't posted? All requests must be manually approved by one of the admins on our site. Cuts down on the spammers like you wouldn't believe. :devious:

amykhar 11 Jul 2005 20:33

I'm confused Liz. Which code are you changing? The plugin code or the template?

southernlady 11 Jul 2005 20:41

That's in the welcome_thread template, Amy...it's sending them to the Private board for some screwy reason. Liz

amykhar 11 Jul 2005 20:43

Quote:

Originally Posted by Biker_GA
Amy, is it possible on the "welcome after activate" to actually wait until the user is approved by the administrator, and if disapproved/deleted, the post isn't posted? All requests must be manually approved by one of the admins on our site. Cuts down on the spammers like you wouldn't believe. :devious:

Unfortunately, it can't be a plugin and have it done there at this time. The moderate code is contained in the admincp, which doesn't have hooks.

Amy


All times are GMT. The time now is 07:04.

Powered by vBulletin® Version 3.8.13
Copyright © 2019, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.