Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Automatically Start a Welcome Thread in the Forum of Your Choice Details »»
Automatically Start a Welcome Thread in the Forum of Your Choice
Version: 1.5, by amykhar amykhar is offline
Developer Last Online: Nov 2013 Show Printable Version Email this Page

Version: 3.5.0 Rating:
Released: 07-08-2005 Last Update: 10-16-2005 Installs: 272
Uses Plugins Template Edits
 
No support by the author.

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

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #407  
Old 06-21-2008, 07:04 AM
RedeemedWarrior RedeemedWarrior is offline
 
Join Date: Apr 2008
Posts: 415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ian! ^ *highfives*I'm installing too for CFF
Reply With Quote
  #408  
Old 07-08-2008, 04:50 PM
slabuda slabuda is offline
 
Join Date: Oct 2001
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Lets say i have a few custom profile fields in my Registration and I want to repeat some of fields in the welcome message.

For instance.

If my welcome letter stated..

Welcome Joe User,

Its great to see you are a fithful rider of SUZUKI motorcycles and this is perfect forum for you.

lalalalalalala

Lets assume that i added in my registration a custom field called Motorcycle Type and it was field13.

How would i integrate that into this welcome letter?

Thanks
Reply With Quote
  #409  
Old 07-15-2008, 10:18 PM
GraNdMaStEr-B GraNdMaStEr-B is offline
 
Join Date: Jun 2008
Location: JeRzEy Boi
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

does anyone know when someone joins how to get the welcome thread into the section of the forum you want?
Reply With Quote
  #410  
Old 08-26-2008, 06:57 PM
Mr. INTENSE Mr. INTENSE is offline
 
Join Date: Oct 2007
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Reading through this thread, there seems to be a ton of confusion over whether or not this mod works, and how to set it up. I installed this Mod and everything about it works perfectly in vBulletin version 3.6.8 Patch Level 2. Thanks to Amy for writing it, and those who helped get it fully debugged.

Here is what my Plugin PHP code currently looks like:

PHP Code:
// Backend Files
    
require_once('./global.php');
    require_once(
'./includes/class_dm.php');
    require_once(
'./includes/class_dm_threadpost.php');

// Setup Variables
    
$forumid 3// The forum id that you want the thread posted in
    
$postuserid 62// The Userid of the poster
    
$postusername SNutizzle// The username of the poster
    
$title "BadBeatsPoker.net welcomes $username!"// The thread title

// Don't change below this line

// Start thread create
    
$threaddm = new vB_DataManager_Thread_FirstPost($vbulletinERRTYPE_STANDARD);

    
$username htmlspecialchars_uni($username); 
    
$allowsmilie '1';
    
$visible '1';
    eval(
'$pagetext .= "' fetch_template('welcome_thread') . '";'); 

// Insert thread
    
$threaddm->do_set('forumid'$forumid);
    
$threaddm->do_set('postuserid'$postuserid);
    
$threaddm->do_set('userid'$postuserid);
    
$threaddm->do_set('username'$postusername);
    
$threaddm->do_set('pagetext'$pagetext);
    
$threaddm->do_set('title'$title);
    
$threaddm->do_set('allowsmilie'$allowsmilie);
    
$threaddm->do_set('visible'$visible);
    
$tid $threaddm->save();

// Update last post stuff on forumdisplay
    
require_once('./includes/functions_databuild.php'); 
    
build_forum_counters($forumid); 
Here is what my welcome_thread template currently looks like:

HTML Code:
Welcome to [url]www.BadBeatsPoker.net[/url], a new and fast growing online poker community. We proudly welcome anyone and everyone who wants to improve his or her game, loves poker talk and/or is willing to positively contribute to our discussions. 

We?re still pretty small, but our community is growing rapidly. I?m sure you?ve already noticed that the forum is first class, so I?d like to take a minute and point out a few of our features that you may not yet be aware of?

We?re hosting weekly private online tournaments, and we?d love to have you join us. It won?t take long to see that we?re a very fun group:

[url]http://www.badbeatspoker.net/forum/online-tournaments/1134-wednesday-evening-private-online-tournaments.html[/url]

We have our own Chat Room, which is very active in the evenings:

[url=http://www.badbeatspoker.net/forum/chat/flashchat.php]FlashChat v4.8.3[/url]

We have our own area for personal/poker blogging:

[url=http://www.badbeatspoker.net/forum/blog.php]Bad Beats Poker Forum - Poker Discussion - Hand Plays - Poker Strategy - Blogs[/url]

We hold some very good hand play discussions:

[url=http://www.badbeatspoker.net/forum/hand-plays]Hand Plays - Bad Beats Poker Forum - Poker Discussion - Hand Plays - Poker Strategy[/url]

We?ve compiled lists of our members? biggest tournaments scores in the Bad Beats Live Hall of Fame:

[url]http://www.badbeatspoker.net/forum/brick-mortar-tournaments/917-badbeatspoker-live-tournament-hall-fame.html[/url]

And our Bad Beats Online Hall of Fame:

[url]http://www.badbeatspoker.net/forum/online-tournaments/983-badbeatspoker-online-tournament-hall-fame.html[/url]

Please be sure to tell all your poker friends about the website, and have them join if they're interested. 

See you at the tables!
And here's what the automatically generated welcome thread looks like:

http://www.badbeatspoker.net/forum/n...-new-post.html

Of course it wouldn't be right to post in this thread without asking for some help, so here goes.

I'd like to tweak this just a little bit to do two additional things:

First, I'd like to check to see if the New Member listed a referrer. And if so, I'd like the automatic welcome thread to be posted by the referrer instead of the specific moderator we have in place currently.

And second, if the New Member did not list a referrer, I'd like to have the new thread posted by a random selection within one of three user groups (Administrators, Super Moderators and Moderators).

I'm thinking both of these things can be done with a few lines of code, but I don't really know anything about coding.

Thanks again for the great Mod, and thanks in advance if anyone is able to help with the tweaks I'm looking to do.
Reply With Quote
  #411  
Old 08-26-2008, 06:58 PM
Mr. INTENSE Mr. INTENSE is offline
 
Join Date: Oct 2007
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
does anyone know when someone joins how to get the welcome thread into the section of the forum you want?
This is the very first setup variable:

Code:
// Setup Variables 
    $forumid = 3; // The forum id that you want the thread posted in

See post #409 above for an example.
Reply With Quote
  #412  
Old 08-28-2008, 04:55 PM
Mr. INTENSE Mr. INTENSE is offline
 
Join Date: Oct 2007
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone?
Reply With Quote
  #413  
Old 08-29-2008, 02:28 AM
RvG2 RvG2 is offline
 
Join Date: Jan 2007
Posts: 457
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this mods works with 3.7.3

thanks
Reply With Quote
  #414  
Old 09-12-2008, 05:24 PM
CtrlAltDel CtrlAltDel is offline
 
Join Date: Feb 2002
Location: Ohio
Posts: 107
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks for this amy

im going to utilize some of the code of this plugin for something i was working that involved automatically creating threads on demand

marked installed for ya
Reply With Quote
  #415  
Old 10-10-2008, 06:57 PM
TitanJeff's Avatar
TitanJeff TitanJeff is offline
 
Join Date: Jul 2002
Posts: 208
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice product.

Does anyone know if there is a way to set this to work only after a manual approval? Thanks.
Reply With Quote
  #416  
Old 10-24-2008, 07:30 PM
Mr. INTENSE Mr. INTENSE is offline
 
Join Date: Oct 2007
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

One other tidbit I learned today. If you set this add-on to have the welcome thread originated by a user with a space in his name this add-on will no longer function.

So for example:

$postusername = Galactus X; will NOT work,

$postusername = "Galactus X"; works fine.

Hope this is hepful to someone.
Reply With Quote
  #417  
Old 01-06-2009, 09:47 AM
KatieG's Avatar
KatieG KatieG is offline
 
Join Date: Apr 2008
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is a welcome new user and post in thread by amykhar

I changed it so it work on 3.8

Change the The Red Parts to suit

// Setup Variables change to match your forum
$forumid = 30; // The forum id that you want the thread posted in
$postuserid = 1; // The Userid of the poster
$postusername = "Username"; // Enter the username of the poster
$title = "We Welcome $userinfo[username] "; // The thread title

Make Template called " welcome_thread "

Code:
Welcome $username



First, introduce yourself. We're a friendly bunch and we welcome newcomers to the Forum.
If you have a problem figuring out how to use a forum feature, check out the FAQ. Your question may already be answered.
If you still need help ask any member
We talk about pop culture, hobbies, raising kids, getting ahead at work, and just about anything else friends talk about around the water cooler.
So just enjoy your stay
Note: it is a plugin not product
Reply With Quote
  #418  
Old 01-21-2009, 10:45 AM
Gleedo Gleedo is offline
 
Join Date: Oct 2008
Posts: 157
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by KatieG View Post
This is a welcome new user and post in thread by amykhar

I changed it so it work on 3.8

Change the The Red Parts to suit

// Setup Variables change to match your forum
$forumid = 30; // The forum id that you want the thread posted in
$postuserid = 1; // The Userid of the poster
$postusername = "Username"; // Enter the username of the poster
$title = "We Welcome $userinfo[username] "; // The thread title

Make Template called " welcome_thread "

Code:
Welcome $username



First, introduce yourself. We're a friendly bunch and we welcome newcomers to the Forum.
If you have a problem figuring out how to use a forum feature, check out the FAQ. Your question may already be answered.
If you still need help ask any member
We talk about pop culture, hobbies, raising kids, getting ahead at work, and just about anything else friends talk about around the water cooler.
So just enjoy your stay
Note: it is a plugin not product
Hi Katie - ive never installed a plugin before (only products...). Im looking at the 'add new plugin' form and its asking for a 'hook location'. Any idea what I should select? Or am i in completely the wrong place

Thanks in advance
Reply With Quote
  #419  
Old 01-23-2009, 04:22 PM
raugusto raugusto is offline
 
Join Date: Dec 2006
Location: Portugal
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You should go to upload/download plugins instead.
Reply With Quote
  #420  
Old 01-23-2009, 05:56 PM
Gleedo Gleedo is offline
 
Join Date: Oct 2008
Posts: 157
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by raugusto View Post
You should go to upload/download plugins instead.
Thanks, now got it going
Reply With Quote
  #421  
Old 01-31-2009, 09:02 AM
Vaupell's Avatar
Vaupell Vaupell is offline
 
Join Date: Apr 2008
Location: Esbjerg, Denmark
Posts: 1,036
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ty

installed on a 3.8.1 board. lovely.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:33 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.10609 seconds
  • Memory Usage 2,384KB
  • Queries Executed 30 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_code
  • (1)bbcode_html
  • (1)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (16)post_thanks_box
  • (16)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (16)post_thanks_postbit_info
  • (15)postbit
  • (16)postbit_onlinestatus
  • (16)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete