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
  #12  
Old 03-15-2006, 02:04 AM
Tralala's Avatar
Tralala Tralala is offline
 
Join Date: Jan 2006
Posts: 1,207
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sinaluna
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".
I see. Well, allow me to make a request, that we be able to choose for the post to be made by a moderator, or the new user's referrer, or perhaps a WelcomeBot. I've always felt it strange to see an automatically generated message posted by a new member. Seems counter-intuitive and somewhat unfriendly to me.


Quote:
Originally Posted by sinaluna
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.
Thanks, that'd be great. On some small-ish forums, this is a cleaner way to handle things, and new members are infrequent enough that no one would get lost in the shuffle.

In case you hadn't seen this, flypaper modified amykhar's similar hack, and it posts to into a thread (instead of starting a whole new thread: )
https://vborg.vbsupport.ru/showpost....&postcount=195

Hope this helps.
Reply With Quote
  #13  
Old 03-15-2006, 04:57 AM
sinaluna sinaluna is offline
 
Join Date: Feb 2005
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
I see. Well, allow me to make a request, that we be able to choose for the post to be made by a moderator, or the new user's referrer, or perhaps a WelcomeBot. I've always felt it strange to see an automatically generated message posted by a new member. Seems counter-intuitive and somewhat unfriendly to me.
Hmm...OK, if this is a simple change, Ill add the option in the next day or two. Thinking outloud, Ill prolly just create an option that is defaulted to "0", meaning "post as the new member", or can be set to a userid to have the welcome posted as that userid.

I may have to go change the method for posting the note to make this work, but Ill look at it tonight.

Quote:
In case you hadn't seen this, flypaper modified amykhar's similar hack, and it posts to into a thread (instead of starting a whole new thread)
Yeah, this is a simple coding change, but not sure how to do the configuration side. Also will look at this tonight.
Reply With Quote
  #14  
Old 03-15-2006, 08:19 AM
sinaluna sinaluna is offline
 
Join Date: Feb 2005
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just uploaded v0.91 of this modification.

Per request, this change adds the ability to post the welcome message to a thread by setting the Welcome Forum to "0" and setting the Welcome Thread to the correct threadid. The Welcome Forum takes precedence over the Welcome Thread settings.

Cleaned up some minor coding issues and mis-spellings while I was in there.
Reply With Quote
  #15  
Old 03-15-2006, 01:16 PM
Tralala's Avatar
Tralala Tralala is offline
 
Join Date: Jan 2006
Posts: 1,207
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sweet, thanks!
Reply With Quote
  #16  
Old 03-15-2006, 08:49 PM
XanTrax XanTrax is offline
 
Join Date: Aug 2005
Posts: 75
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sinaluna has anyone else installed this yet or any way for me to see a demo yet?
Reply With Quote
  #17  
Old 03-15-2006, 10:05 PM
sinaluna sinaluna is offline
 
Join Date: Feb 2005
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I will have it installed on a public forum this weekend. Ill post the link then. If someone else has it installed where others can see it, please feel free to post that here.

Also, I would love to see some template examples people end up using. If I see something cool in them, Ill add it to the product!
Reply With Quote
  #18  
Old 03-19-2006, 08:54 AM
sinaluna sinaluna is offline
 
Join Date: Feb 2005
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just uploaded v0.92 of this modification.

Per request, this change adds the ability to have the welcome message posted as any existing user. By default, the userid is set to "0", which posts the welcome message as the new user.

Thanks to Tralala for the suggestions...
Reply With Quote
  #19  
Old 03-19-2006, 09:31 AM
Tralala's Avatar
Tralala Tralala is offline
 
Join Date: Jan 2006
Posts: 1,207
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Awesome, sinaluna, thanks so much for the update.

The other "Welcome Thread" hack posted too early (pre-authorization, pre-mod approval...) so this one should fit the bill nicely.
Reply With Quote
  #20  
Old 03-19-2006, 09:42 AM
sinaluna sinaluna is offline
 
Join Date: Feb 2005
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No problem Tralala...Let me know how it works for you.

Id be interested in seeing the templates you end up using. I really didnt work too hard on making presentable templates. They basically just were built to demonstrate how to link the welcome message and the add on message to each other.
Reply With Quote
  #21  
Old 03-19-2006, 09:52 AM
Tralala's Avatar
Tralala Tralala is offline
 
Join Date: Jan 2006
Posts: 1,207
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sinaluna
No problem Tralala...Let me know how it works for you.

Id be interested in seeing the templates you end up using. I really didnt work too hard on making presentable templates. They basically just were built to demonstrate how to link the welcome message and the add on message to each other.

Okay, yeah, I'm working on the wording and workflow to see what makes most sense.

Question: if we don't want any "add on text" to the new user's first post, should we just delete the text in the "welcome_addon" template? It would be nice, I think, if this was another option that could be turned off in AdminCP.

Also, we should be editing the text in the templates of all of our styles? Why not make these as phrases instead?
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 12:02 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.04639 seconds
  • Memory Usage 2,314KB
  • Queries Executed 26 (?)
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
  • (5)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
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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