vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Mini Mods - Register Redirect. Now updated with the requested extra feature. (https://vborg.vbsupport.ru/showthread.php?t=235509)

borbole 05-12-2010 12:32 PM

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

OPsNaStYM0FO 08-02-2010 03:57 AM

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 .

TheSupportForum 08-02-2010 11:11 AM

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

OPsNaStYM0FO 08-03-2010 11:10 PM

anyone going to reply to my bug find ? I mean I even sent the developer a pm and no reply .

manofphat 12-05-2010 07:22 PM

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!

Alibass 01-27-2011 09:12 PM

Quote:

Originally Posted by manofphat (Post 2129740)
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

omegaweapontmod 04-09-2011 02:59 AM

vBulleting 3.x :(

Pweeeease

espaciored 04-21-2011 04:15 PM

Many thanks. Keep it up! :)

Alan_SP 04-22-2011 02:36 AM

Quote:

Originally Posted by manofphat (Post 2129740)
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.

Alan_SP 04-22-2011 03:02 AM

1 Attachment(s)
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...

MGP_Tech 05-13-2011 02:52 PM

Alan does your version work with the latest version of VB? 4.1.3

CK 05-13-2011 03:13 PM

This looks like a handy mod indeed. Going to tag it for now.

CK 05-13-2011 09:50 PM

Installed, just tested.

I'm running 4.1.3 and don't verify emails. Tried registering a test account and it worked. :)

Marked installed and rated.

Alan_SP 05-14-2011 11:27 PM

Quote:

Originally Posted by MGP_Tech (Post 2195125)
Alan does your version work with the latest version of VB? 4.1.3

Should work, but I didn't install 4.1.3 to test it, I'm waiting for 4.1.4 and some other mods to become compatible with it.

In case it doesn't work, just check code after hook register_activate_process (this is hook used for plugin after confirming mail, as you can see in code) in register.php and replace it.

kether1 06-12-2011 03:51 PM

does this mod increase server load? Queries?
Thanks,
Kether

Alan_SP 06-12-2011 08:15 PM

No, this mod is active only when your users register. And pretty simple code at that. The biggest forums wouldn't feel anything server load wise.

kether1 06-12-2011 08:51 PM

Thanks for the information. :)

lbhosting 07-26-2011 03:58 PM

Where exactly I would upload this file to be able to use it.

Mr President 08-05-2011 12:39 AM

I used this with my 3.8 version and didn't have a problem.. Now with 4.1.5 I keep getting the following error

Invalid Redirect URL(mywebpage.com)

I have tried it with the http, without it and several other ways and nothing seems to work. Any suggestions?

Hippy 08-10-2011 01:54 AM

Quote:

Originally Posted by Mr President (Post 2229476)
I used this with my 3.8 version and didn't have a problem.. Now with 4.1.5 I keep getting the following error

Invalid Redirect URL(mywebpage.com)

I have tried it with the http, without it and several other ways and nothing seems to work. Any suggestions?

settings /options/Site Name / URL / Contact Details
Disable Redirect Domain Checking
Disable Redirection Checking. I understand the risks associated with disabling this security feature.

set to no

if not

Always use Forum URL as Base Path
set to no

hope this helps

DaffyDuck 08-14-2011 05:06 AM

Quote:

Originally Posted by Alan_SP (Post 2187254)
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...

THANK YOU - the modified version works fine on 4.1.5pl1 - thank you for fixing this.

It would be great if clicking the activation link would also automatically log the new user in upon registration (I think to recall it does that without the modification), but aside from that, it appears to work like a charm.

Thanks, again!

dale09 11-23-2011 02:16 AM

I just downloaded this, and can't seem to get it to work. :(

Using 4.1.2 (patched version).. It installs and everything, I setup the redirect and it's still redirecting to the main site page. Any ideas?

dale09 11-23-2011 02:20 AM

Never mind. I figured it out...

Alan_SP 11-26-2011 02:33 AM

Quote:

Originally Posted by DaffyDuck (Post 2233281)
It would be great if clicking the activation link would also automatically log the new user in upon registration (I think to recall it does that without the modification), but aside from that, it appears to work like a charm.

It does that with vB4.1.2 from where I used code.

Probably you just need to get code from your vB version and replace it where appropriate. Then it would also log user in...

If you could attach here register.php (from your version) here, I could look and see how mod should look now, if there are any changes to registration code.

MGP_Tech 03-29-2012 01:29 PM

1 Attachment(s)
Hey Alan,

This is the register.php from the latest vbulletin 4.1.11 patch 2. Could you look over it for changes to add in the redirect? I looked but I couldn't tell exactly what I needed to copy over from the redirect mod.

I appreciate it!

Alan_SP 03-29-2012 05:30 PM

I inspected both files (mine from 4.1.2 and yours from 4.1.11) and from what I see, key code that I added in register redirect mod is still the same. There are numerous changes, but not in code I added.

This means that my versions still should work as intended, AFAIK. But, I'm not that good at it that I could claim that for sure. :(

Alan_SP 04-20-2012 08:52 AM

I just upgraded to vB4.1.12 and code still works as intended. Tested registration and everything is fine. I get redirected and user's get registered.

nexxzus 05-12-2012 02:32 PM

Does not work on 4.1.12 does not work confirmation e-mail and users are waiting.


EDIT: I downloaded a modification of the author a few pages back and this whether it works perfect. Thank you.


Works great on 4.1.12
https://vborg.vbsupport.ru/showthrea...=235509&page=4

borbole 05-12-2012 03:01 PM

The mod has been updated to work with the latest version of vb.

nexxzus 05-12-2012 03:40 PM

Quote:

Originally Posted by borbole (Post 2328734)
The mod has been updated to work with the latest version of vb.

thank you very much the mod is great :up::up:

borbole 05-12-2012 05:24 PM

Quote:

Originally Posted by nexxzus (Post 2328742)
thank you very much the mod is great :up::up:

You are welcome :)


All times are GMT. The time now is 12:59 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.01353 seconds
  • Memory Usage 1,815KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (31)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete