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

Reply
 
Thread Tools
Register Redirect. Now updated with the requested extra feature. Details »»
Register Redirect. Now updated with the requested extra feature.
Version: 1.00, by borbole borbole is offline
Developer Last Online: Oct 2015 Show Printable Version Email this Page

Category: Mini Mods - Version: 4.0.1 Rating:
Released: 02-09-2010 Last Update: 05-11-2012 Installs: 110
Uses Plugins
Translations  
No support by the author.

This is a small hack that will allow you to redirect your members to an url of your choise after they register at your forum. It works on both registration methods. For the Instant registration when no emaila ctivisation is needed and for Activating Acount method as well, in which case the user will be redirected to the url of your choosing immediately after he/she activates his/her account from the email address that they have been registerd at your forum.

The url can be an internal one, i.e. to the rules section of your forum or at the Introduction area, or it can be an external url.

You can enable and disable this hack at the Acp of your forum. You can also enter there the url to where you want to redirect your users to after they register at your forum and/or after they activate their account.

Download Now

File Type: xml Register Redirect.xml (4.3 KB, 157 views)

Screenshots

File Type: png Admin Control Panel_1265901787365.png (42.3 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
3 благодарности(ей) от:
kushal, mohammadxxx, sodasusu

Comments
  #42  
Old 05-12-2010, 12:32 PM
borbole's Avatar
borbole borbole is offline
 
Join Date: Jan 2010
Posts: 2,559
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You are most welcome. I updated the mod here to work on a 3x as well. And I also submitted it for 3x version on its own here:

https://vborg.vbsupport.ru/showthread.php?t=242351
Reply With Quote
  #43  
Old 08-02-2010, 03:57 AM
OPsNaStYM0FO OPsNaStYM0FO is offline
 
Join Date: Apr 2008
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There is a bug in this . If you moderate your members it does not work .

It will not put them into users awaiting moderation after they have activated through email even if you have selected yes to moderating new users in registration options , You might want to look into fixing this . I'm also looking at fixing it .
Reply With Quote
  #44  
Old 08-02-2010, 11:11 AM
TheSupportForum TheSupportForum is offline
 
Join Date: Jan 2007
Posts: 1,158
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

please can you add redirect for banner users

i could do this myself using your mod but would be a great idea, if you add this yourself for the next release
Reply With Quote
  #45  
Old 08-03-2010, 11:10 PM
OPsNaStYM0FO OPsNaStYM0FO is offline
 
Join Date: Apr 2008
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

anyone going to reply to my bug find ? I mean I even sent the developer a pm and no reply .
Reply With Quote
  #46  
Old 12-05-2010, 07:22 PM
manofphat's Avatar
manofphat manofphat is offline
 
Join Date: Jan 2007
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I had the same issue with user activation on my board. When new users were clicking on their activation links it was just sending them to the custom page and not activating their accounts. I had to disable that portion of the modification. Other than that, working great!
Reply With Quote
  #47  
Old 01-27-2011, 09:12 PM
Alibass's Avatar
Alibass Alibass is offline
 
Join Date: Mar 2007
Posts: 615
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by manofphat View Post
I had the same issue with user activation on my board. When new users were clicking on their activation links it was just sending them to the custom page and not activating their accounts. I had to disable that portion of the modification. Other than that, working great!
I can confirm this, does not work on 4.1.1
Reply With Quote
  #48  
Old 04-09-2011, 02:59 AM
omegaweapontmod omegaweapontmod is offline
 
Join Date: Aug 2008
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

vBulleting 3.x

Pweeeease
Reply With Quote
  #49  
Old 04-21-2011, 04:15 PM
espaciored espaciored is offline
 
Join Date: Dec 2010
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Many thanks. Keep it up!
Reply With Quote
  #50  
Old 04-22-2011, 02:36 AM
Alan_SP's Avatar
Alan_SP Alan_SP is offline
 
Join Date: Nov 2009
Posts: 1,122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by manofphat View Post
I had the same issue with user activation on my board. When new users were clicking on their activation links it was just sending them to the custom page and not activating their accounts. I had to disable that portion of the modification. Other than that, working great!
Just to say, I too have this bug. I tested with more than one test user registration. All couldn't really activate their accounts, they stayed in users awaiting mail activation.

It's a shame, it's excellent idea and if this mod would work with redirecting after mail activation it would be great. Using just redirecting after registration works.
Reply With Quote
  #51  
Old 04-22-2011, 03:02 AM
Alan_SP's Avatar
Alan_SP Alan_SP is offline
 
Join Date: Nov 2009
Posts: 1,122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, I solved problem, there was missing quite a bit of code:

PHP Code:
if ($userinfo['coppauser'] OR ($vbulletin->options['moderatenewmembers'] AND !$userinfo['posts']))
        {
            
// put user in moderated group
            
$userdata->save();
            eval(
standard_error(fetch_error('moderateuser'$userinfo['username'], $vbulletin->options['forumhome'], $vbulletin->session->vars['sessionurl_q']), ''false));
        }
        else
        {
            
// activate account
            
$userdata->save();

            
// rebuild stats so new user displays on forum home
            
require_once(DIR '/includes/functions_databuild.php');
            
build_user_statistics();

            
$username unhtmlspecialchars($userinfo['username']);
            if (!
$user['emailchange'])
            {
                if (
$vbulletin->options['welcomemail'])
                {
                    eval(
fetch_email_phrases('welcomemail'));
                    
vbmail($userinfo['email'], $subject$message);
                }

                
$userdata->send_welcomepm();
            }

            if (
$user['emailchange'])
            {
                eval(
standard_error(fetch_error('emailchanged'htmlspecialchars_uni($userinfo['email'])), ''false));
            }
        } 
This is code that normally would be executed in register.php (in your forum root). I added it before redirecting link in mod.

You can use my modified version and it should work without problem. It solves if user is put in moderated group, changes mail address, you use mail or PM to greet new users, etc...
Attached Files
File Type: xml Register Redirect.xml (4.3 KB, 35 views)
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 11:53 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.13285 seconds
  • Memory Usage 2,359KB
  • 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
  • (1)bbcode_php
  • (2)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
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (3)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (3)postbit_attachment
  • (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
  • 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