vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   User action is lost after registration (https://vborg.vbsupport.ru/showthread.php?t=186967)

satorius99 08-01-2008 05:46 PM

User action is lost after registration
 
I’ve noticed that when I click on a New Thread button as an unregistered user, then go through the registration process, it doesn’t take me back to the place I originally clicked on. Is this the default behavior? I need the user to be taken to wherever they wanted to go prior to registering.

nexialys 08-01-2008 05:52 PM

you can install the Quick Registration addon to make it happen, as it's the only active way to eliminate the long process of registration...

the system is safe if you are not redirected to your former location for some reasons... basically because most of the spam occurs on registration moment... unsafe connection and returning page would lead to more spam if everybody can just register new accounts and go back and spam again...

satorius99 08-01-2008 06:45 PM

Thanks Nexialys - that's interesting that the behavior is an intentional spam blocking measure. I would think that the human verification tool would be security enough. Is this the add on you're referring to? If so, will this direct users to return to their last requested link upon registering

https://vborg.vbsupport.ru/showthrea...t=registration

Thanks again!

nexialys 08-01-2008 07:24 PM

<a href="https://vborg.vbsupport.ru/showthread.php?t=181731" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=181731</a> this one is up to date and i suppose it redirect...

satorius99 08-01-2008 11:48 PM

Unfortunately the Quick Register mod doesn't redirect the user either after registration. It just drops you to this page:
Thank you, newuser. Your registration is now complete.

You may now proceed to edit your Profile in order to fill in additional personal details about yourself, or you could modify your Options to customize your browsing experience of this site. If you would rather do these things later, you can do so by following the links around the site to your User Control Panel.

Alternatively, you can simply go back to the Forums and start posting in threads.
Any ideas on how to get it so that the user is redirected to where they wanted to go?

satorius99 08-03-2008 06:10 AM

It appears this is not a straightforward thing to set up with out writing your own custom solution? I guess my plan is to just write a custom registration page which will then auto-login the user and post the thread to the forum. Seems like a lot of work but if there's no other way to do this then I'll start writing code...

Dismounted 08-03-2008 07:45 AM

You can create a plugin at register_addmember_complete to run your own redirect, etc.

satorius99 08-04-2008 02:12 PM

Thanks--that's what I was hoping to find out--what the "vb approach" would be to something like this. This will be a good way for me to ramp up with the whole vb coding model. The only thing left to determine will be if the initial user 'action' will be readily available via some variable after registering... I suppose there is a cookie that stores this?

Dismounted 08-05-2008 12:14 PM

You will need to store the action yourself, vBulletin doesn't keep a history of user actions.

satorius99 08-06-2008 12:56 PM

I think that's incorrect. When I clilck on 'New Thread' in a given forum as a guest, it takes me to a login page. Then when I login, it directs me to a "Thank you for logging in" page, and finally drops me back off at the "Post Thread" page that I originally requested.

Is this "original action" kept in a cookie or passed through form variables?


All times are GMT. The time now is 05:05 AM.

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.01033 seconds
  • Memory Usage 1,728KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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