Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard

Reply
 
Thread Tools
Redirect after Login Details »»
Redirect after Login
Version: 1.31, by ragtek ragtek is offline
Developer Last Online: Feb 2014 Show Printable Version Email this Page

Category: Mini Mods - Version: 3.6.8 Rating:
Released: 09-03-2007 Last Update: 01-19-2008 Installs: 64
Re-useable Code Translations  
No support by the author.

This is Part II of this Add-ON.

Its the same, just after the Login Process.

That means it redirects you to a site you entered in the acp after the login
Changehistory
1.1 => a little bug after login in acp was repaired
1.2 =>
  • added adminhelp
  • little bugfix (modcontrolpanel redirect)
1.3 =>
  • Usergroupcheck built in => this means, you can select now usergroups which should be redirected
  • redirectpage/redirectmessage is now optional
    you can enable or disable it
1.31 =>
  • Bugfix , thx to inciarco
German translation can be found here: http://www.vbulletin-germany.org/showthread.php?t=1454

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 09-13-2007, 10:11 PM
marcossalazar marcossalazar is offline
 
Join Date: Feb 2007
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great Hack. The only thing I would suggest is that you modify is so that the "Thank you for logging in" redirect page still displays. Right now it disappears with the hack installed (even if you don't have anything in the box that tells the forum where to redirect the user to). I had to take off the hack in order to get that back. It would be a nice transition onto a new page instead of a quick and abrupt redirect. Think that would be a possibility?

Thanks,

Marcos
Reply With Quote
  #23  
Old 09-26-2007, 07:45 PM
ragtek ragtek is offline
 
Join Date: Mar 2006
Location: austria, croatia
Posts: 1,630
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi
just wanted to say, that i'm sorry, that it takes so long to update this...
got many pm's where people asked when i'm going to make this

at moment there are so many things on my to-do list that i sorted by priority
and because this add-on is working, the priority is not so high.
Reply With Quote
  #24  
Old 01-03-2008, 02:19 PM
darkman's Avatar
darkman darkman is offline
 
Join Date: Mar 2002
Location: USA
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Looks good - thanks
Reply With Quote
  #25  
Old 01-03-2008, 03:35 PM
apiasto's Avatar
apiasto apiasto is offline
 
Join Date: Oct 2006
Posts: 348
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can this be modyfied for only zero posters to redirect them to certain place,thnx
Reply With Quote
  #26  
Old 01-19-2008, 03:59 PM
princeedward's Avatar
princeedward princeedward is offline
 
Join Date: Jan 2007
Location: Deutschland
Posts: 901
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks for this...
Reply With Quote
  #27  
Old 01-19-2008, 04:40 PM
chatzworld chatzworld is offline
 
Join Date: Apr 2007
Posts: 253
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

errrrrrrrrrrm where do i set this cant find any option?
Reply With Quote
  #28  
Old 01-19-2008, 06:16 PM
ragtek ragtek is offline
 
Join Date: Mar 2006
Location: austria, croatia
Posts: 1,630
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

By the general options
Reply With Quote
  #29  
Old 01-19-2008, 09:38 PM
Tomo123 Tomo123 is offline
 
Join Date: Jan 2008
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

awesome exactly what I've been looking for

Thanks
Reply With Quote
  #30  
Old 01-19-2008, 11:10 PM
ragtek ragtek is offline
 
Join Date: Mar 2006
Location: austria, croatia
Posts: 1,630
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

than click install to show it
Reply With Quote
  #31  
Old 01-20-2008, 11:31 AM
Pete C's Avatar
Pete C Pete C is offline
 
Join Date: Aug 2005
Location: South coast, England
Posts: 161
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Whilst I appreciate the convenience of importing this as a product, it appears to redirect all members (even admins) when they log in.

Since it is a relatively simple matter to write a plugin that only affects specific usergroups - or indeed a series of plugins that can redirect different usergroups to different places, I'm wondering how this hack offers further benefit?

For example, I use the following to redirect banned users to a page telling them they're banned:

Code:
Product: vBulletin

Hook Location: login_redirect

Title: Banned user redirect

Plugin PHP Code:

if (!($vbulletin->GPC['logintype'] === 'cplogin' OR $vbulletin->GPC['logintype'] === 'modcplogin'))
{
   if (is_member_of($vbulletin->userinfo, 8))
   {
        $vbulletin->url = "http://www.my site/banned/banned.htm";
   }
}
The text in red can be varied according to the usergroup / usergroup ID# / desired destination. Should it be required to redirect multiple usergroups to the same place, simply enter the usergroup ID's seperated by a comma.

This further example would send registered users to a forum of your choice:

Code:
Product: vBulletin

Hook Location: login_redirect

Title: Registered user redirect

Plugin PHP Code:

if (!($vbulletin->GPC['logintype'] === 'cplogin' OR $vbulletin->GPC['logintype'] === 'modcplogin'))
{
   if (is_member_of($vbulletin->userinfo, 2))
   {
        $vbulletin->url = "http://www.my site/forumdisplay.php?f=6";
   }
}
I don't wish to sound rude, but as yet I do not see the benefit of a product that simply redirects everyone, irrespective of their usergroup. If I'm missing some additional benefits here, I'd be grateful if someone would explain what they may be?
Reply With Quote
Reply

Thread Tools

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 10:29 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.10678 seconds
  • Memory Usage 2,294KB
  • Queries Executed 25 (?)
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_code
  • (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
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (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
  • 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