[campsite-dev] Re: Phorum/Campsite integration
  • Hi Holman -

    In the future, please post all development mail to campsite-dev mailing
    list.

    This looks like a good solution, my only question is: are you now able to
    run phorum side-by-side with Campsite? Are you able to register through
    Phorum normally?

    - Paul


    On 9/12/06, Holman Romero wrote:
    >
    > hi !!
    >
    > i has been working in the Users issue, so that i have got some notes
    > for you and it would be great to have some feedback.
    >
    > - Currently, a phorum user is created when a campsite subscriber post
    > first time.
    > - There is a potential conflict: a phorum user which is not a Campsite
    > subscriber could receive the same user identifier as a Campsite
    > subscriber.
    >
    > approach solution that i already implemented:
    >
    > - a phorum user is created at the same time (just after) a campsite
    > subscriber is created.
    > - phorum_users has a new field fk_campsite_user_id
    > - when phorum user is created from phorum itself, fk_campsite_user_id is
    > NULL.
    > - when creating a campsite subscriber, a phorum user is created with
    > the default user_id and fk_campsite_user_id. campsite checks if a
    > phorum user exists with the same campsite user id to set the
    > appropiate values for these fields.
    >
    > to do this i only modified Phorum_user class and some files in
    > priv/users/. i did nothing with phorum.
    >
    > this approach covers everything in the ticket. i know this is a
    > simple and, IMHO, weak solution, but i did so because i think we need
    > to implement a better user layer or something like that to integrate
    > campsite with third-party applications like, e.g., phorum.
    >
    > i looked at the embed phorum connector and i like that concept. we
    > could write something like that for a general purpose.
    >
    > right now we have other tasks to do regarding 3.0, but implementing
    > such user integration stuff in the future would be great.
    >
    > what do you think? let me know your thoughts before commit.
    >
    >
    > --
    > /holman
    >
  • 3 Comments sorted by
  • On 9/13/06, Paul Baranowski wrote:
    > Hi Holman -

    hi Paul !!

    > In the future, please post all development mail to campsite-dev mailing
    > list.

    ok, thanks.

    > This looks like a good solution, my only question is: are you now able to
    > run phorum side-by-side with Campsite? Are you able to register through
    > Phorum normally?

    yes. I have got both campsite and phorum installations. i am able to
    register through phorum and users doing so will be only phorum users.
    On the other hand, when creating a subscriber through Campsite admin
    interface campsite subscribers become phorum users with same
    username/password. This way campsite subscribers can post from
    article comments or directly through phorum.

    the only one thing that i have not implemented is the phorum user
    creation when somebody register as user through frontend, Mugur can
    help me with some tips about this because it has to do with the
    parser, i guess.


    > - Paul
    >
    >
    >
    > On 9/12/06, Holman Romero wrote:
    > > hi !!
    > >
    > > i has been working in the Users issue, so that i have got some notes
    > > for you and it would be great to have some feedback.
    > >
    > > - Currently, a phorum user is created when a campsite subscriber post
    > > first time.
    > > - There is a potential conflict: a phorum user which is not a Campsite
    > > subscriber could receive the same user identifier as a Campsite
    > > subscriber.
    > >
    > > approach solution that i already implemented:
    > >
    > > - a phorum user is created at the same time (just after) a campsite
    > > subscriber is created.
    > > - phorum_users has a new field fk_campsite_user_id
    > > - when phorum user is created from phorum itself, fk_campsite_user_id is
    > NULL.
    > > - when creating a campsite subscriber, a phorum user is created with
    > > the default user_id and fk_campsite_user_id. campsite checks if a
    > > phorum user exists with the same campsite user id to set the
    > > appropiate values for these fields.
    > >
    > > to do this i only modified Phorum_user class and some files in
    > > priv/users/. i did nothing with phorum.
    > >
    > > this approach covers everything in the ticket. i know this is a
    > > simple and, IMHO, weak solution, but i did so because i think we need
    > > to implement a better user layer or something like that to integrate
    > > campsite with third-party applications like, e.g., phorum.
    > >
    > > i looked at the embed phorum connector and i like that concept. we
    > > could write something like that for a general purpose.
    > >
    > > right now we have other tasks to do regarding 3.0, but implementing
    > > such user integration stuff in the future would be great.
    > >
    > > what do you think? let me know your thoughts before commit.
    > >
    > >
    > > --
    > > /holman
    > >
    >
    >


    --
    /holman
  • --- Holman Romero wrote:
    > the only one thing that i have not implemented is the phorum user
    > creation when somebody register as user through frontend, Mugur can
    > help me with some tips about this because it has to do with the
    > parser, i guess.
    I'll imlement the changes in the template engine, let me know when you commited
    your changes.

    Mugur


    > > - Paul
    > >
    > > On 9/12/06, Holman Romero wrote:
    > > > hi !!
    > > >
    > > > i has been working in the Users issue, so that i have got some notes
    > > > for you and it would be great to have some feedback.
    > > >
    > > > - Currently, a phorum user is created when a campsite subscriber post
    > > > first time.
    > > > - There is a potential conflict: a phorum user which is not a Campsite
    > > > subscriber could receive the same user identifier as a Campsite
    > > > subscriber.
    > > >
    > > > approach solution that i already implemented:
    > > >
    > > > - a phorum user is created at the same time (just after) a campsite
    > > > subscriber is created.
    > > > - phorum_users has a new field fk_campsite_user_id
    > > > - when phorum user is created from phorum itself, fk_campsite_user_id is
    > > NULL.
    > > > - when creating a campsite subscriber, a phorum user is created with
    > > > the default user_id and fk_campsite_user_id. campsite checks if a
    > > > phorum user exists with the same campsite user id to set the
    > > > appropiate values for these fields.
    > > >
    > > > to do this i only modified Phorum_user class and some files in
    > > > priv/users/. i did nothing with phorum.
    > > >
    > > > this approach covers everything in the ticket. i know this is a
    > > > simple and, IMHO, weak solution, but i did so because i think we need
    > > > to implement a better user layer or something like that to integrate
    > > > campsite with third-party applications like, e.g., phorum.
    > > >
    > > > i looked at the embed phorum connector and i like that concept. we
    > > > could write something like that for a general purpose.
    > > >
    > > > right now we have other tasks to do regarding 3.0, but implementing
    > > > such user integration stuff in the future would be great.
    > > >
    > > > what do you think? let me know your thoughts before commit.
    > > >
    > > >
    > > > --
    > > > /holman
    > > >
    > >
    > >
    >
    >
    > --
    > /holman
    >


    __________________________________________________
    Do You Yahoo!?
    Tired of spam? Yahoo! Mail has the best spam protection around
    http://mail.yahoo.com
  • Campsite works with passwords using SHA1, on the other side we have
    Phorum using MD5, so we need to change stuff in Phorum in order to be
    able to sync users in a right way.

    I had not take care about it, i will commit as soon as i do that.


    On 9/14/06, Mugur Rus wrote:
    > --- Holman Romero wrote:
    > > the only one thing that i have not implemented is the phorum user
    > > creation when somebody register as user through frontend, Mugur can
    > > help me with some tips about this because it has to do with the
    > > parser, i guess.
    > I'll imlement the changes in the template engine, let me know when you commited
    > your changes.
    >
    > Mugur
    >
    >
    > > > - Paul
    > > >
    > > > On 9/12/06, Holman Romero wrote:
    > > > > hi !!
    > > > >
    > > > > i has been working in the Users issue, so that i have got some notes
    > > > > for you and it would be great to have some feedback.
    > > > >
    > > > > - Currently, a phorum user is created when a campsite subscriber post
    > > > > first time.
    > > > > - There is a potential conflict: a phorum user which is not a Campsite
    > > > > subscriber could receive the same user identifier as a Campsite
    > > > > subscriber.
    > > > >
    > > > > approach solution that i already implemented:
    > > > >
    > > > > - a phorum user is created at the same time (just after) a campsite
    > > > > subscriber is created.
    > > > > - phorum_users has a new field fk_campsite_user_id
    > > > > - when phorum user is created from phorum itself, fk_campsite_user_id is
    > > > NULL.
    > > > > - when creating a campsite subscriber, a phorum user is created with
    > > > > the default user_id and fk_campsite_user_id. campsite checks if a
    > > > > phorum user exists with the same campsite user id to set the
    > > > > appropiate values for these fields.
    > > > >
    > > > > to do this i only modified Phorum_user class and some files in
    > > > > priv/users/. i did nothing with phorum.
    > > > >
    > > > > this approach covers everything in the ticket. i know this is a
    > > > > simple and, IMHO, weak solution, but i did so because i think we need
    > > > > to implement a better user layer or something like that to integrate
    > > > > campsite with third-party applications like, e.g., phorum.
    > > > >
    > > > > i looked at the embed phorum connector and i like that concept. we
    > > > > could write something like that for a general purpose.
    > > > >
    > > > > right now we have other tasks to do regarding 3.0, but implementing
    > > > > such user integration stuff in the future would be great.
    > > > >
    > > > > what do you think? let me know your thoughts before commit.
    > > > >
    > > > >
    > > > > --
    > > > > /holman
    > > > >
    > > >
    > > >
    > >
    > >
    > > --
    > > /holman
    > >
    >
    >
    > __________________________________________________
    > Do You Yahoo!?
    > Tired of spam? Yahoo! Mail has the best spam protection around
    > http://mail.yahoo.com
    >


    --
    /holman