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

Reply
 
Thread Tools
Welcome Thread Redirect (on registration) by BOP5 Details »»
Welcome Thread Redirect (on registration) by BOP5
Version: 0.9, by BirdOPrey5 (Senior Member) BirdOPrey5 is offline
Developer Last Online: Aug 2023 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.8.x Rating:
Released: 01-29-2011 Last Update: Never Installs: 25
Supported Uses Plugins
Translations Is in Beta Stage  

Welcome Thread Redirect by BOP5

This is the VB 3.8 thread. The VB 4.x thread is here although the code is identical:
https://vborg.vbsupport.ru/misc.php?...edirctonregvb4

Tested With vBulletin 3.8.6 and 4.0.8 and should work with all 3.8/4.0/4.1 versions released to date.

Version 0.9 - BETA. THIS IS BETA SOFTWARE. I have tested it on my test forums and 1 live forum. I do not know of any specific bugs but until I can confirm it works on more forums I will keep it marked as Beta.

Demo: http://www.juot.net/forums/showthread.php?t=19281 (You will have to register to be redirected, obviously.)

The purpose of this mod is to redirect users to a welcome thread after they have registered instead of the normal message vBulletin usually displays. The idea is to make them feel more welcome and a "welcome thread" seems more natural than a cold vBulletin generated message.

This mod can be used two ways. Stand alone this mod will simply redirect users to a specific thread you specify by threadid in the mod options.

The second and more intersting way is to use it as an add-on for another mod, BBR - Welcome Thread Upon Registration which can be found on vBulletin.org at: https://vborg.vbsupport.ru/showthread.php?t=229473. (Yes it is compatible with VB 3.8) This mod has been designed and tested around version 2.02 of the "Welcome Thread" mod. I do not know if it will work with any other version.

Using it as an add-on this mod will redirect users to their own personal thread upon registration.

If your forum uses Email Verification the redirect will happen after they verify their email address. If you don't use Email Verification they will be forwarded immediately after registration. The mod with auto detect your verification settings.

This mod is NOT intended to be used if "moderating" new members, I haven't tested what would happen if you have moderation enabled.

Be aware the BBR - Welcome Thread Upon Registration mod has at this time has several known bugs mostly relating to Email Activation. This mod does not cause, nor can it fix any of those bugs.

If You intend to use this mod and the "Welcome Thread" mod together you must set your "Welcome Thread" mod to always create the new thread AFTER Email Activation IF you use Email Activation on your forum.

I've done my best to make this mod fail gracefully if a setting is wrong, the user generally won't see an error message but if the settings are wrong they may redirect to a different thread or get a message that a thread is not found, but registration will still complete correctly.

This mod adds 1 phrase to the "Front End - Redirect Messages group which can be customized or translated. This is the message displayed to the user for the few seconds before they are redirected.

Full instructions are in the zip file.

Always do a backup or make sure you have a recent backup handy before installing any new mods. Use at your own risk.

The Fine Print - If any day should come that I haven't logged into vbulletin.org for over 120 days I hereby authorize this mod and any other mods I have posted on vBulletin.org to be designated "re-usable code" status so long as any mods created from them remain free and available on vbulletin.org.

If you come across any problems with this mod please post the exact version of vBulletin you are using, if you are using the "Welcome Thread" mod, If you require Email Activation, and if you're willing, the URL of your forum. This will save me from having to ask you later and prove to me you read this post in full showing me you are worthy of help.

Download Now

File Type: zip Welcome Thread Redirect by BOP5.zip (5.1 KB, 175 views)

Screenshots

File Type: jpg vb3_welcomethread.jpg (181.8 KB, 0 views)
File Type: jpg welcometheadred_settings.jpg (354.9 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
Insta-Gator

Comments
  #2  
Old 01-30-2011, 12:43 AM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Reserved.
Reply With Quote
  #3  
Old 01-30-2011, 12:39 PM
MagicThemeParks's Avatar
MagicThemeParks MagicThemeParks is offline
 
Join Date: Sep 2009
Posts: 850
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Joe, if I use this mod https://vborg.vbsupport.ru/showthread.php?t=91887 would I simply leave the option at "no" and add my thread ID?

Just asking because that mod was the predecessor of that new mod you mentioned and wasn't sure if it was compatible.
Reply With Quote
  #4  
Old 01-30-2011, 01:28 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The BBR Mod was the evolution of this mod.

Looking at the mod you posted- it looks like it makes a new thread for every user? If so then the threadid will be different for each one so no, that won't work.

I would consider upgrading your welcome thread mod to the BBR version if you want to redirect users to their personal welcome thread.

Alternatively you could make 1 welcome thread not specific to a particular user and put the threadid into this mod as you described.

If you're happy with your current welcome mod (no bugs) I would really suggest you wait until either the BBR mod is updated or I do my next significant update of this which will let you use both mods without any known bugs.
Reply With Quote
  #5  
Old 01-30-2011, 01:36 PM
MagicThemeParks's Avatar
MagicThemeParks MagicThemeParks is offline
 
Join Date: Sep 2009
Posts: 850
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Joe. I'm going to go with the "if it ain't broke, don't fix it" mentality for now and stay patient.

But, can't you simply make this be redirected to the 'welcome forum' (or in my case the "new member meet & greet" forum) and not an actual thread?

You could add some text stating, please wait as we redirect you to the "introduction forum" or something like that.
Reply With Quote
  #6  
Old 01-30-2011, 01:46 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MagicThemeParks View Post
Thanks Joe. I'm going to go with the "if it ain't broke, don't fix it" mentality for now and stay patient.

But, can't you simply make this be redirected to the 'welcome forum' (or in my case the "new member meet & greet" forum) and not an actual thread?

You could add some text stating, please wait as we redirect you to the "introduction forum" or something like that.
Yeah, that's an excellent idea I will add it to the next version, redirect to a forum instead of a thread.

If you want you can install this mod as is and edit the two plugins... in each plugin there are two instances of:
PHP Code:
$vbulletin->url $vbulletin->options['bburl'] . '/showthread.php?t=' $bop5tid
In both plugins you can edit the second instance of the line to:

PHP Code:
$vbulletin->url $vbulletin->options['bburl'] . '/forumdisplay.php?f=99'
Where you change 99 to your forumid of your welcome forum.

I would also suggest you edit the phrase "bop5_ welcome_ thread" to reflect they are being forwarded to a forum not a thread.
Reply With Quote
  #7  
Old 01-30-2011, 02:06 PM
MagicThemeParks's Avatar
MagicThemeParks MagicThemeParks is offline
 
Join Date: Sep 2009
Posts: 850
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Joe, will you be making a new add-on/mod soon (like this week)? If not, then I will use your suggested change here. Thanks :up:
Reply With Quote
  #8  
Old 01-30-2011, 03:35 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't want to promise but probably yes, sooner than later.
Reply With Quote
  #9  
Old 02-01-2011, 02:17 AM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MagicThemeParks View Post
Joe, will you be making a new add-on/mod soon (like this week)? If not, then I will use your suggested change here. Thanks :up:
I just saw this mod is already out by another coder: https://vborg.vbsupport.ru/showthread.php?t=242351

You can use it to redirect to your welcome forum.
Reply With Quote
  #10  
Old 02-03-2011, 02:03 AM
MagicThemeParks's Avatar
MagicThemeParks MagicThemeParks is offline
 
Join Date: Sep 2009
Posts: 850
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BirdOPrey5 View Post
I just saw this mod is already out by another coder: https://vborg.vbsupport.ru/showthread.php?t=242351

You can use it to redirect to your welcome forum.
Looks like that one causes a bug with the moving of members from 'awaiting confirmation' to 'registered'. So, it looks like I may just go with yours and do that edit you mentioned.

Thanks :up:
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 02:17 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.08843 seconds
  • Memory Usage 2,341KB
  • 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
  • (2)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (1)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (3)postbit_attachment
  • (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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete