Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions

Reply
 
Thread Tools Display Modes
  #1  
Old 08-01-2008, 05:46 PM
satorius99 satorius99 is offline
 
Join Date: Jun 2008
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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.
Reply With Quote
  #2  
Old 08-01-2008, 05:52 PM
nexialys
Guest
 
Posts: n/a
Default

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...
Reply With Quote
  #3  
Old 08-01-2008, 06:45 PM
satorius99 satorius99 is offline
 
Join Date: Jun 2008
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!
Reply With Quote
  #4  
Old 08-01-2008, 07:24 PM
nexialys
Guest
 
Posts: n/a
Default

<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...
Reply With Quote
  #5  
Old 08-01-2008, 11:48 PM
satorius99 satorius99 is offline
 
Join Date: Jun 2008
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #6  
Old 08-03-2008, 06:10 AM
satorius99 satorius99 is offline
 
Join Date: Jun 2008
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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...
Reply With Quote
  #7  
Old 08-03-2008, 07:45 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You can create a plugin at register_addmember_complete to run your own redirect, etc.
Reply With Quote
  #8  
Old 08-04-2008, 02:12 PM
satorius99 satorius99 is offline
 
Join Date: Jun 2008
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #9  
Old 08-05-2008, 12:14 PM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You will need to store the action yourself, vBulletin doesn't keep a history of user actions.
Reply With Quote
  #10  
Old 08-06-2008, 12:56 PM
satorius99 satorius99 is offline
 
Join Date: Jun 2008
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
Reply

Thread Tools
Display Modes

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 07:47 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.04100 seconds
  • Memory Usage 2,242KB
  • Queries Executed 13 (?)
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)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (8)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_postinfo_query
  • fetch_postinfo
  • 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