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
Puchahawa
Registered User
Posts: 768
Joined: Sat Jan 01, 2011 10:33 pm
Name: Randy

Re: [BETA] Login Redirect

Post by Puchahawa » Sun Jan 11, 2015 4:10 am

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.
Hi David. I like the idea of this extension but have a question regarding the quoted info above. I have two test boards local on my pc and checked them both. When I logged in while reading a topic w/o the remember me checked, I was directed to the main index page. I then checked logging in with remember me checked and ended up on the index page again. Am I missing something? Both boards are running 3.1.2
Avatar courtesy of artist Faith Coyotë

User avatar
FuGu
Registered User
Posts: 21
Joined: Fri Nov 05, 2010 10:11 am

Re: [BETA] Login Redirect

Post by FuGu » Fri Jan 16, 2015 7:35 pm

Hi David,

something in this line (loginredirect_module.php, line 83)

Code: Select all

$phpbb_log->add('admin', $this->user->data['user_id'], $this->user->ip, 'LOG_LOGIN_REDIRECT');
causes an error...

Would you please take a look!
Thanks

User avatar
advocatus
Registered User
Posts: 290
Joined: Tue Aug 12, 2014 11:58 am
Location: Ontario, Canada.
Contact:

Re: [BETA] Login Redirect

Post by advocatus » Tue Jan 20, 2015 3:18 pm

The 'latest release' download link and the repository link are 404'ing for me.
Hi, I'm advocatus and I own www.forumgames.in.

User avatar
Niknovel
Registered User
Posts: 23
Joined: Mon Dec 08, 2014 8:16 am
Location: Moscow
Name: Николай
Contact:

Re: [BETA] Login Redirect

Post by Niknovel » Tue Jan 20, 2015 4:50 pm

• Prime Logout Return (1.0.1)
Returns a user to the page they were at prior to logging out, unless they were in the Admin Control Panel, Moderator Control Panel, or User Control Panel.
http://www.absoluteanime.com/admin/mods ... gin_return

phpBB 3.1.x version
Installed Expansion PhpBB3 version: 3.1.3
Installed Mods PhpBB3 version: 3.0.13-PL1

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

Re: [BETA] Login Redirect

Post by david63 » Wed Jan 21, 2015 10:45 am

advocatus wrote:The 'latest release' download link and the repository link are 404'ing for me.
Links updated
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: 16669
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: [BETA] Login Redirect

Post by david63 » Wed Jan 21, 2015 10:48 am

Niknovel wrote:• Prime Logout Return (1.0.1)
Returns a user to the page they were at prior to logging out, unless they were in the Admin Control Panel, Moderator Control Panel, or User Control Panel.
http://www.absoluteanime.com/admin/mods ... gin_return

phpBB 3.1.x version
Not sure what relevance that has to this extension as they are totally different
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
Webwatcher_eu
Registered User
Posts: 102
Joined: Tue Nov 25, 2014 10:59 am
Contact:

Re: [BETA] Login Redirect

Post by Webwatcher_eu » Wed Jan 21, 2015 12:17 pm

hm i got a error after update
Fatal error: Call to a member function add() on a non-object in /home/webwax5n/public_html/forum/ext/david63/loginredirect/acp/loginredirect_module.php on line 83
Image

any incorrct setup?

sorry for dublicate posting - is already listed by FuGu

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

Re: [BETA] Login Redirect

Post by david63 » Wed Jan 21, 2015 2:23 pm

Webwatcher_eu wrote:hm i got a error after update
Fixed
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

dagomez08
Registered User
Posts: 9
Joined: Wed Dec 24, 2014 5:14 am

Re: [BETA] Login Redirect

Post by dagomez08 » Fri Jan 23, 2015 10:20 pm

Hi Allí
Anybody know if this extensión is compatible with 3.1.2 version.

Thanks in advance
David

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

Re: [BETA] Login Redirect

Post by david63 » Fri Jan 23, 2015 10:21 pm

dagomez08 wrote:Hi Allí
Anybody know if this extensión is compatible with 3.1.2 version.

Thanks in advance
David
Yes it is
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

dagomez08
Registered User
Posts: 9
Joined: Wed Dec 24, 2014 5:14 am

Re: [BETA] Login Redirect

Post by dagomez08 » Fri Jan 23, 2015 10:34 pm

OK, I installed the extension based on installation steps..and everything went fine, but I don't know how to edit functions.php (requirement), I mean which text must include and where. Could you please provide the instructions including the words "Find xxxxx " and "Add or Replace with"..

Please...

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

Re: [BETA] Login Redirect

Post by david63 » Fri Jan 23, 2015 10:42 pm

Where does it say edit functions.php?

There bare no edits of core files with extensions
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
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 » Fri Jan 23, 2015 10:44 pm

This David?
david63 wrote: Requirements:
Needs this commit
Edit: I know it says it's not needed in second post, but others obviously not. ;)
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

dagomez08
Registered User
Posts: 9
Joined: Wed Dec 24, 2014 5:14 am

Re: [BETA] Login Redirect

Post by dagomez08 » Fri Jan 23, 2015 10:45 pm

Yep. ;)

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 » Fri Jan 23, 2015 10:46 pm

Yep, but second post says... :)
david63 wrote:Manual install not necessary since RC5 now has the event
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

Locked

Return to “Extensions in Development”