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)

amykhar 07-08-2005 10:00 PM

Automatically Start a Welcome Thread in the Forum of Your Choice
 
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 07-09-2005 07:30 PM

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

bigcurt 07-09-2005 07:32 PM

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

amykhar 07-09-2005 07:47 PM

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 07-09-2005 07:59 PM

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 07-09-2005 08:03 PM

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 07-11-2005 12:53 PM

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 07-11-2005 02:02 PM

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 07-11-2005 02:08 PM

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 07-11-2005 02:11 PM

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


All times are GMT. The time now is 02:03 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.01702 seconds
  • Memory Usage 1,739KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)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