CDB] Login Redirect

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Scam Warning
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
User avatar
david63
Registered User
Posts: 16677
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

CDB] Login Redirect

Post by david63 » Sat Aug 16, 2014 8:23 am

phpbb3-extension-loginredirect

Description:
Redirects a user to a chosen topic/announcement when they log in

Features:
  • Select topic for redirection
  • Able to automatically redirect to the latest announcement posted
  • Able to redirect new users to a topic
  • Able to redirect a selected group (or all groups) to a specified topic
  • Option to show a redirect message
Status:
Beta

Requirements:
Needs this commit

Installation:
  • Download the latest release and unzip it.
  • Copy the entire contents from the unzipped folder to root/ext
  • Navigate in the ACP to Customise -> Manage extensions.
  • Find User login redirect under "Disabled Extensions" and click Enable.
Repository:
https://github.com/david63/david63-loginredirect

Author notes:
This is a combined port of two phpBB 3.0 mods by MarkTheDaemon:
Announcement Redirect on Login
New User Welcome Topic Redirect
Last edited by david63 on Fri Feb 20, 2015 9:09 pm, edited 3 times in total.
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

User avatar
david63
Registered User
Posts: 16677
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: [BETA] Login Redirect

Post by david63 » Sat Aug 16, 2014 8:23 am

Manual install not necessary since RC5 now has the event
Last edited by david63 on Wed Oct 08, 2014 8:13 am, edited 2 times in total.
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

User avatar
Meis2M
Translator
Posts: 883
Joined: Wed Mar 03, 2010 11:32 am
Location: IR.Damghan
Name: میثم نوبری
Contact:

Re: [BETA] Login Redirect

Post by Meis2M » Sat Aug 16, 2014 9:03 am

So lovely... thanks.

tell the develop team to add your event in the phpbb core.
phpBB persian international support
Ultimate SEO Friendly URL - Extension
Follow us in Instagram
Free upgrade and install extensions on your forum - drop me PM

User avatar
Volksdevil
Registered User
Posts: 2414
Joined: Sun Oct 03, 2010 2:03 pm
Location: Lancashire, UK
Name: Neil
Contact:

Re: [BETA] Login Redirect

Post by Volksdevil » Sat Aug 16, 2014 1:31 pm

Installed with the edit to functions.php. Works flawlessly so far! :D Thanks David.
My phpBB Extensions
Finally found great Website Hosting from Image KUALO!
Do NOT use 123-reg.co.uk - Incapable of running phpBB!
:ugeek: TekNeil - Streamer on Mixer | My Volkswagen Corrado G60

User avatar
keith10456
Registered User
Posts: 2315
Joined: Thu Feb 24, 2005 6:55 pm
Contact:

Re: [BETA] Login Redirect

Post by keith10456 » Thu Aug 21, 2014 5:24 pm

How about ability to redirect to the page (topic, etc) that they were previously on?

User avatar
david63
Registered User
Posts: 16677
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: [BETA] Login Redirect

Post by david63 » Thu Aug 21, 2014 5:40 pm

keith10456 wrote:How about ability to redirect to the page (topic, etc) that they were previously on?
Doesn't that happen now by default?
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

User avatar
Meis2M
Translator
Posts: 883
Joined: Wed Mar 03, 2010 11:32 am
Location: IR.Damghan
Name: میثم نوبری
Contact:

Re: [BETA] Login Redirect

Post by Meis2M » Thu Aug 21, 2014 6:44 pm

Hello
Persian Translation for this extension:

[The extension zip has been deactivated and can no longer be displayed.]

phpBB persian international support
Ultimate SEO Friendly URL - Extension
Follow us in Instagram
Free upgrade and install extensions on your forum - drop me PM

User avatar
david63
Registered User
Posts: 16677
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: [BETA] Login Redirect

Post by david63 » Thu Aug 21, 2014 7:45 pm

Meis2M wrote:Hello
Persian Translation for this extension:
fa.zip
Thanks
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

leschek
Registered User
Posts: 789
Joined: Tue Jul 18, 2006 12:49 pm
Contact:

Re: [BETA] Login Redirect

Post by leschek » Thu Aug 21, 2014 8:09 pm

david63 wrote:
keith10456 wrote:How about ability to redirect to the page (topic, etc) that they were previously on?
Doesn't that happen now by default?
I just tried it and it (phpBB 3.1.0 RC3) doesn't redirect back to topic, but to main index page.

User avatar
Raul [ThE KuKa]
Style Customisations
Style Customisations
Posts: 6651
Joined: Mon Dec 08, 2003 9:24 pm
Location: Spain
Name: Raul Arroyo
Contact:

Re: [BETA] Login Redirect

Post by Raul [ThE KuKa] » Thu Aug 21, 2014 8:19 pm

"PR" added to spanish translation. ;)
All unsolicited PMs will be ignored.
:warning: Knowledge Base | Documentation | Board rules | phpBB Styles Rules & Policies :warning:


If you like my styles, translations, etc. and want to show some appreciation, then feel free to Donate with Image
:flag_es: phpBB Spain - Online Since 2003 :heart:



User avatar
keith10456
Registered User
Posts: 2315
Joined: Thu Feb 24, 2005 6:55 pm
Contact:

Re: [BETA] Login Redirect

Post by keith10456 » Thu Aug 21, 2014 8:25 pm

leschek wrote:
david63 wrote:
keith10456 wrote:How about ability to redirect to the page (topic, etc) that they were previously on?
Doesn't that happen now by default?
I just tried it and it (phpBB 3.1.0 RC3) doesn't redirect back to topic, but to main index page.
Did you look at how it's done with this mod?

leschek
Registered User
Posts: 789
Joined: Tue Jul 18, 2006 12:49 pm
Contact:

Re: [BETA] Login Redirect

Post by leschek » Thu Aug 21, 2014 8:44 pm

No. On 3.0 I'm using Index tabbed, so I have login fields on every page and I stay on page where I log in.

User avatar
david63
Registered User
Posts: 16677
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: [BETA] Login Redirect

Post by david63 » Fri Aug 22, 2014 5:38 am

keith10456 wrote:
leschek wrote:
david63 wrote:
keith10456 wrote:How about ability to redirect to the page (topic, etc) that they were previously on?
Doesn't that happen now by default?
I just tried it and it (phpBB 3.1.0 RC3) doesn't redirect back to topic, but to main index page.
Did you look at how it's done with this mod?
When I said that it was the default action I was referring to phpbb - if you have "auto login" option selected when you log in then, in my experience, you will go back to where you were next time you access the board.

As far as I can see the mod that you are referring to is not required in phpbb 3.1 as it is taken care of in the core code.
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

User avatar
david63
Registered User
Posts: 16677
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: [BETA] Login Redirect

Post by david63 » Fri Aug 22, 2014 6:27 am

Raul [ThE KuKa] wrote:"PR" added to spanish translation. ;)
Thanks
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

User avatar
keith10456
Registered User
Posts: 2315
Joined: Thu Feb 24, 2005 6:55 pm
Contact:

Re: [BETA] Login Redirect

Post by keith10456 » Fri Aug 22, 2014 4:59 pm

david63 wrote:
keith10456 wrote:
leschek wrote:
david63 wrote:
keith10456 wrote:How about ability to redirect to the page (topic, etc) that they were previously on?
Doesn't that happen now by default?
I just tried it and it (phpBB 3.1.0 RC3) doesn't redirect back to topic, but to main index page.
Did you look at how it's done with this mod?
When I said that it was the default action I was referring to phpbb - if you have "auto login" option selected when you log in then, in my experience, you will go back to where you were next time you access the board.

As far as I can see the mod that you are referring to is not required in phpbb 3.1 as it is taken care of in the core code.
Correct...

Great mod ;)

Locked

Return to “Extensions in Development”

cron