Use of existing member system [solved]
Posted by Terradon
Re: Use of existing member system [solved] November 08, 2010 04:25AM |
Registered: 14 years ago Posts: 6 |
ok so when i grab that php file do i just put that into mod folder?
Ok so i put that into the mod folder , when i goto admin global settings mods.....it shows it in there and i turned it on , but theres no settings link under it , anywayz , do i just half to edit that file for my needs?
Edited 1 time(s). Last edit at 11/08/2010 04:35AM by xpok3rkingx.
Ok so i put that into the mod folder , when i goto admin global settings mods.....it shows it in there and i turned it on , but theres no settings link under it , anywayz , do i just half to edit that file for my needs?
Edited 1 time(s). Last edit at 11/08/2010 04:35AM by xpok3rkingx.
November 08, 2010 04:37AM |
Admin Registered: 20 years ago Posts: 8,532 |
Yes, as I told you above. This is not going to work, without some programming, unless somebody already created a fully working module for your case.
Maurice Makaay
Phorum Development Team
my blog
linkedin profile
secret sauce
Maurice Makaay
Phorum Development Team



Re: Use of existing member system [solved] November 08, 2010 06:29AM |
Registered: 15 years ago Posts: 160 |
November 08, 2010 06:43AM |
Admin Registered: 20 years ago Posts: 8,532 |
The whole external authentication module should not be needed with your version of the script hook_user_session_restore.php. If you store that message as mod_whateveryoulike.php inside the mods folder directly, then it should work too. The file implements a single file module, by including the hook and module information in the file header.
Most of the features of the external authentication module are not used here, only the user_session_restore hook is used. When things would be more complicated (e.g. when an extra mapping table would be needed to map between users on both systems), then the External Authentication module would become more interesting for the use case.
Maurice Makaay
Phorum Development Team
my blog
linkedin profile
secret sauce
Most of the features of the external authentication module are not used here, only the user_session_restore hook is used. When things would be more complicated (e.g. when an extra mapping table would be needed to map between users on both systems), then the External Authentication module would become more interesting for the use case.
Maurice Makaay
Phorum Development Team



Re: Use of existing member system [solved] November 08, 2010 07:09AM |
Registered: 15 years ago Posts: 160 |
Then i have probably totally misunderstood your comments on my problem.
but for now, it works correctly, wihout any (performance) problems.
(already almost 2000 messages, and messages seen many many thousants times right now, with usually about 60-100 visitors simultaniously on the whole site)
So i hardly dare to change it now:)
we are really very satisfied about Phorum!
but for now, it works correctly, wihout any (performance) problems.
(already almost 2000 messages, and messages seen many many thousants times right now, with usually about 60-100 visitors simultaniously on the whole site)
So i hardly dare to change it now:)
we are really very satisfied about Phorum!
November 08, 2010 07:16AM |
Admin Registered: 20 years ago Posts: 8,532 |
Yeah, it will work for sure, since in both setups, Phorum will trigger the PHP function coming from the user_session_restore hook. It doesn't really matter how you get there, as long as you get there. If you're happy with the setup as-is, then there is no need to change things.
Maurice Makaay
Phorum Development Team
my blog
linkedin profile
secret sauce
Maurice Makaay
Phorum Development Team



Re: Use of existing member system [solved] March 27, 2011 05:34PM |
Registered: 14 years ago Posts: 7 |
March 27, 2011 05:48PM |
Admin Registered: 20 years ago Posts: 8,532 |
Kyildiz1, this message of yours looks quite a lot like a spam message. Integration is not something one could create a generic YouTube video about really. If you are serious about an integration project, then explain what your system looks like and what problem(s) you run into.
Maurice Makaay
Phorum Development Team
my blog
linkedin profile
secret sauce
Maurice Makaay
Phorum Development Team



Re: Use of existing member system [solved] March 27, 2011 06:07PM |
Registered: 14 years ago Posts: 7 |
I have webpage that i want to add a phorum
I want to integrate both with one login.But so far i couldn't manage to get it work.
The problem is i dont know how to connect two sessions so that logged-in users can go to forum without have to log-in again.
I installed external authentication mode.And i did some modifications on mod_inherit_authentication_from_session.php file
but it is not working so far.
I can provide you the link if that helps
BTW:I have average knowledge about php.
I want to integrate both with one login.But so far i couldn't manage to get it work.
The problem is i dont know how to connect two sessions so that logged-in users can go to forum without have to log-in again.
I installed external authentication mode.And i did some modifications on mod_inherit_authentication_from_session.php file
but it is not working so far.
I can provide you the link if that helps
BTW:I have average knowledge about php.
March 27, 2011 06:45PM |
Admin Registered: 20 years ago Posts: 8,532 |
A link wouldn't help here. Integration as a back-end thing, which does not show up in the browser.
mod_inherit_authentication_from_session.php could be a good start, but without specific information, it's impossible to help. What exactly did you do and how does the main system session management work?
Maurice Makaay
Phorum Development Team
my blog
linkedin profile
secret sauce
mod_inherit_authentication_from_session.php could be a good start, but without specific information, it's impossible to help. What exactly did you do and how does the main system session management work?
Maurice Makaay
Phorum Development Team



Sorry, only registered users may post in this forum.