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
Welcome Thread Created on Members first post Details »»
Welcome Thread Created on Members first post
Version: 0.92, by sinaluna sinaluna is offline
Developer Last Online: Jul 2011 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 03-13-2006 Last Update: 03-18-2006 Installs: 27
Uses Plugins Template Edits
 
No support by the author.

Product Name:
Welcome Thread Created on Members first post

Product Description:
This Hack/Product creates a new "welcome post" when a member posts for the first time. You can choose to either create a new thread in a welcome forum or create the post in an existing thread. The user's original first post can also be modified, allowing you to link to their "welcome post".

I have only tested this package install on 3.5.4. Please post if you successfully (or unsuccessfully) install this under any other 3.5 versions.

This Hack was created as a generic way to post "welcome threads" for all types of registration situations: wide open, authentication, approval, etc. It also keeps the number of welcome threads down somewhat by never posting one for users that register and never post. Lurkers can still register and lurk.

This Hack was inspired by amykhar, PaulM, Andreas, and others and leans heavily on their previous work. This is my first attempt at a packaged, released hack so I hope they will help me out if I screwed anything up

Contents:
This package includes:
1 Plugin:
"Welcome Post and First post modify": Code to create the "welcome thread" and modify the user's original post via templates.

3 Templates:
welcome_thread: The text of the "welcome thread" created.
welcome_title: The title of the "welcome thread" created.
welcome_addon: The text to be added on to the members original first post.

3 Option/Setting:
welcomeforum: (group "Welcome New Users Options"): The forumid of the forum where the welcome threads will be created. A "0" passes control to the welcomethread option.

welcomethread: (group "Welcome New Users Options"): The threadid of the thread where the welcome posts will be created. This option is ignored if the welcomeforum option is set. Setting both welcomethread and welcomeforum options to "0" disables the creation of welcome posts entirely (though modification of the original post may still occur)

welcomeposter: (group "Welcome New Users Options"): The userid of the user that will post the welcome message. If this setting is "0", the welcome post will be poster as the new user.

Installation Instructions:
Step 1: Import the product .xml file (attached here)

Step 2: Change the "welcomeforum" option or the "welcomethread" option to the correct welcomeid or threadid where you wish the welcome messages to be created. "welcomeforum" takes precedence over "welcomethread". Set both to zero if you wish to disable the creation of welcome posts.
TIP: An easy way to get the forumid or threadid number is to put your cursor over the forum or thread you want to use and read the link information in the bar at the bottom of your browser. Look at the "t=xxx" for threads or "f=xxx" for forums.
Step 3: Set "welcomeposter" to the userid of the user you wish to post the welcome message. If this setting is set to "0", the welcome post will be posted as the new user. The default for this setting is "0".

Step 4: Modify the 3 templates to your taste. The sample templates show how to make both the welcome thread and the modified first post point back to each other.

Step 5: Enjoy.

Version History:
version 0.9 - Initial release
  • Initial public release
version 0.91
  • added welcomethread option and functionality
  • code cleanup and template cleanup
version 0.92
  • added welcomeposter option and functionality
  • code cleanup and template cleanup

Supporters / CoAuthors

Show Your Support

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

Comments
  #2  
Old 03-14-2006, 02:05 AM
sinaluna sinaluna is offline
 
Join Date: Feb 2005
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here's hoping I posted this hack correctly :beard:

Ill try to support this as best I can, at least until we get all the bugs worked out of it. Please let me know if there are any bugs in the installation or in the code.
Reply With Quote
  #3  
Old 03-14-2006, 03:59 AM
Ziki's Avatar
Ziki Ziki is offline
 
Join Date: Nov 2005
Posts: 2,704
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cool hack
~Ziki clicks install~
Reply With Quote
  #4  
Old 03-14-2006, 12:11 PM
FleaBag's Avatar
FleaBag FleaBag is offline
 
Join Date: Dec 2001
Posts: 1,674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Looks good! I didn't want one that would post the thread when the user joins due to the number of no-returners. Cheers!
Reply With Quote
  #5  
Old 03-14-2006, 01:54 PM
XanTrax XanTrax is offline
 
Join Date: Aug 2005
Posts: 75
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm I understand what this does but do you have a link where I can demo this personally. Please PM if you can/like.
Reply With Quote
  #6  
Old 03-14-2006, 10:07 PM
sinaluna sinaluna is offline
 
Join Date: Feb 2005
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by XanTrax
Hmm I understand what this does but do you have a link where I can demo this personally. Please PM if you can/like.
Only have this installed on a private test forum right now. Will go live this weekend on customer sites this weekend. Ill PM you when its up and going there. And add screenshots then as well.

The templates for the welcome thread and the changes to the original post are VERY simple. I will try to add a better, more attractive template in the next version.
Reply With Quote
  #7  
Old 03-14-2006, 10:21 PM
dsotmoon dsotmoon is offline
 
Join Date: Jun 2003
Location: VA - USA
Posts: 194
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

does this post as an automatic reply to the persons first post? just want to make sure i understand what it does
Reply With Quote
  #8  
Old 03-14-2006, 10:33 PM
sinaluna sinaluna is offline
 
Join Date: Feb 2005
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dsotmoon
does this post as an automatic reply to the persons first post? just want to make sure i understand what it does
No, it creates a brand new thread in the forum you specify. I usually create a "Welcome Room" forum and have the welcome threads posted there. The title of that new thread created from template:"welcome_title" and the body of that new thread is created from template:"welcome_thread".

Also, the template:"welcome_addon" is added to the end of their original post. The sample template adds a link to the newly created welcome thread, but you can put whatever you want in there.

Hope this helps. Ill write up better install instructions tonight and modify the description above.
Reply With Quote
  #9  
Old 03-14-2006, 11:07 PM
Tralala's Avatar
Tralala Tralala is offline
 
Join Date: Jan 2006
Posts: 1,207
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What user is chosen to "post" this "welcome thread?"

And, can it be modified to create a post in one pre-existing thread? I'd rather have all the welcomes in one thread, rather than lots and lots of individual threads.
Reply With Quote
  #10  
Old 03-14-2006, 11:47 PM
sinaluna sinaluna is offline
 
Join Date: Feb 2005
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Tralala
What user is chosen to "post" this "welcome thread?"
The welcome thread is posted as the new member. This was a so that people can click to see their profile, send them PMs, give them reputation, etc. directly from the welcome thread.

As in the sample templates, you want to be sure that you clearly indicate that this is "Automatically Generated Message".

Quote:
And, can it be modified to create a post in one pre-existing thread? I'd rather have all the welcomes in one thread, rather than lots and lots of individual threads.
Yes, this can be done. We had problems with some new users being skipped over and not getting "acknowledged" with the single thread. But if there a need for an option to post to a single thread instead of making a new thread, Ill look into the cleanest way to add this to the product.
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 03:14 PM.


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.04473 seconds
  • Memory Usage 2,302KB
  • Queries Executed 24 (?)
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
  • (4)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
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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