Porting FUDforum [message #25339] |
Tue, 07 June 2005 13:07 |
Marticus
Messages: 272 Registered: June 2002
Karma: 1
|
Senior Member |
|
|
What kind of things would one need to consider when porting FUDforum to another system, e.g., a CMS?
I assume the most vital thing would be having fud look at the session information of the cms rather than of fud. I become confused when I think of how a user would modify their forum information. I am sure there are other concerns.
Any thoughts on this?
|
|
|
Re: Porting FUDforum [message #25342 is a reply to message #25339] |
Tue, 07 June 2005 13:31 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Well, single-signon is they key part of the integration, you also must choose one app to be the "primary", let's say the CMS. Then disable any forum functionality that may end up modifying data supplied from the primary data source.
FUDforum Core Developer
|
|
|
Re: Porting FUDforum [message #25343 is a reply to message #25342] |
Tue, 07 June 2005 13:32 |
Marticus
Messages: 272 Registered: June 2002
Karma: 1
|
Senior Member |
|
|
Thanks. I am looking at index.php to start and I seems like a larger project than I was expecting. Can you drop a few hints as to how this might be done? Perhaps there are some tutorials or other such documention on this that isn't showing up in google for me?
|
|
|
|
|
|
Re: Porting FUDforum [message #25349 is a reply to message #25347] |
Tue, 07 June 2005 13:45 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Well, CSS and header all are contained without header.tmpl, so you can simply strip those out. But bare in mind that FUDforum layout depends on CSS, so you'll probably need to port @ least some parts of the forum.css.tmpl back in.
FUDforum Core Developer
|
|
|
|
|
Re: Porting FUDforum [message #25355 is a reply to message #25352] |
Tue, 07 June 2005 14:29 |
Marticus
Messages: 272 Registered: June 2002
Karma: 1
|
Senior Member |
|
|
This is a pain in the arse... I did find a few things that I might use as a temporary work-around. forum_login.php and fudapi.inc.php. However, fudapi doesn't have methods for creating accounts. I would much rather have fud check the session of the cms for a valid logon or something. Then the next issue would be to create accounts within fud database for new cms users, or to change fud to look at the user table of the cms and simply add all the extra stuff that is missing from the cms by default, e.g., IM, URL, et cetera.
|
|
|
Re: Porting FUDforum [message #25362 is a reply to message #25355] |
Tue, 07 June 2005 16:22 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
There is method for creating user accounts inside scripts_common.inc, found inside the include directory.
FUDforum Core Developer
|
|
|
|
Re: Porting FUDforum [message #26124 is a reply to message #26122] |
Tue, 05 July 2005 17:43 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
At the present time fudapi script fudapi.inc.php does not offer user delete/update function. These are available from scripts_common.inc (update) or usersinc.t (which gets compiled into include/theme/default/users.inc) via add_user() and sync_user() methods.
I will probably add functions to FUDAPI to implement those two in the near future.
FUDforum Core Developer
|
|
|