![]() |
Redirect after Login
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 =>
|
What does this do?
|
Quote:
Thanks ragtek, for this and the other. :) |
This will come in handy next April fools, I will redirect them to something special :D
|
Thanks, great mod, please, support for the future releases :)
*Clicks INSTALL* |
Please keep the "Welcome Message"
|
yes this will come in the next version
for the login=> the login messege for logout the logout message i'm thinking about merging the 2 hacks to one with some options (de/activate message,...) so it would be more comfortable |
Sounds good, keeps things simple. :)
|
Quote:
|
Ok, so users can be redirected according to the forum of their preference?
Lets say I got a medical site, and I have my forum divided by subdomains to forums, by type of topic, so can they been redirected according from the subdomain from were they originally signed up? :rolleyes: |
will it work with 3.6.6? i hope so because this is exactly what i was looking for.
|
one suggestion. Make it so it only redirects 1 time for the first time the user logs in. That way I can build a "newbie" page with tutorials, and "What to do next info" etc....
|
Quote:
Quote:
|
Nice!
|
Thanks for this :up:
|
Quote:
anyhelp would be greatly appreciated. ***EDIT*** well all i had to do was click back on the 'admin' link and took me there, lol. that was a close one! |
edit:
thx very much for report now its working:) |
indeed, it was a bit funny, login to the acp 'n' being at forumhome.
But thx for a nice hack. :D |
Thank you for this hack,
but what if some user already logged in from last time he visit the site? is this hack can affect ? Regards, |
no
this hack just redirects after you filled out the login form |
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 |
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. |
Looks good - thanks :)
|
can this be modyfied for only zero posters to redirect them to certain place,thnx
|
thanks for this... ;)
|
errrrrrrrrrrm where do i set this cant find any option?
|
By the general options
|
awesome exactly what I've been looking for :)
Thanks |
than click install to show it;)
|
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 This further example would send registered users to a forum of your choice: Code:
Product: vBulletin |
hi
your idee with usergroups sounds realy good! i'll try to implement it also i wanna thank you for this snippet*g* PHP Code:
thx |
Well it's been less than 24 hours since i installed this mod and I got to say it's awesome. When ever anyone logs on I have them redirected to a page where it shows all the recent threads and posts (vBISpy - AJAX real-time feed of new posts/threads ). The few members I have think it's awsome too. :) Thanks for this
|
your welcome:)
|
One Bug: Only Works when ONE Usergroup is Specified, otherwise don't Work!! :confused: :(
I Think Your Should Use Other Code to user more than One Usergroup!! :confused: :rolleyes: My Best Regards!! ;) :) |
hi
are you using version 1.3??? There it is for me working.Have you made a comma separated list of all usergroupid's ?? |
Quote:
Quote:
You need to use the Code explode in the Following way to Extract and Use all the Usergroups Separated by ",": The New Correct Code for Plugin "redirect after login" should be: Code:
if (!($vbulletin->GPC['logintype'] === 'cplogin' OR $vbulletin->GPC['logintype'] === 'modcplogin')) Code:
$vbulletin->options['login_groups'] Code:
explode(',',$vbulletin->options['login_groups']) My Best Regards!! ;) :) |
hm
very strange i don't understand this the is_member_of is built this way: PHP Code:
when i now have in my option: 2,3,4 it should look like this: PHP Code:
very strange i think i have to check this part one more time thx for your help:) i opened a thread because i think its a important point^^ |
thx 4 your help
i've updated it |
Quote:
My Best Regards To You!! ;) :) |
This is one of the best mods out there. Thanks for continuing to support it!
Marcos |
All times are GMT. The time now is 04:54 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|