Fork me on GitHub

Postnuke user table modifications...Can this be done safely?  Bottom

  • Hello all.

    Im working on a new project in our office, which basically will have me coding in ASP.NET (long story short, by using asp.net, i have help to code for the project...and its a big project..)

    We are needing to wrap this new project in some secruity wrapper, and what I was thinking was to tie it into the MySQL database and table, and actually 'piggy-back' on the postnuke tables... WHen a user logs in, postnuke would create whatever sessions we need, so we know they are authenticated, which then asp would detect and work with. Now our question is, we will need to add 2-3 fields to the database... Will this affect postnuke in any way? Also, could this potentially break during a postnuke upgrade?

    Thanks... If anyone has any suggestions (besides not using asp.net) on how I can go about tieing this system in with postnuke, that would be appreciated. If we figure we cant do it this way, we will most likely have to code something from scratch, and we are trying to make it so our employees dont have too many usernames/passwords to remember...or places to log into..

    Thanks
  • just make sure you create a new table for these "2-3 fields"
    that uses the user id of the user table as its primary key ..

    this way you will not alter the Postnuke core tables ...
    and so have no trouble with Postnuke upgrades

    --
    Cytopia - Download Psytrance




    Athens Pub Crawl
  • there is a hack to add custom feilds for user registration.

    i actually think it is built into 760RC4

    you may want to check out htat option
  • I will check that out... Only thing now, would be for .760 to be released first... I cant use an RC in the office...

    Thanks.
  • under 0.75 user data have almost no
    support on the API or the User module ...

    not sure about 0.760 RC4 but I think
    the same goes there too ..

    making your own table seems the safest
    option at this point ..

    until the User Module is build with a proper API …

    --
    Cytopia - Download Psytrance




    Athens Pub Crawl

This list is based on users active over the last 60 minutes.