Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2005-10-22 04:03:52

pandamonium
New Member
Registered: 2005-10-22
Posts: 2

Integrating textpattern

I have an existing table in my MySQL database that contains usernames and MD5 hash’s of passwords. I can add new fields to this existing table to match the ones required by textpattern, but I can’t find a centralized location for users. Has anyone done this in the past?

Offline

#2 2005-10-22 04:22:21

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: Integrating textpattern

Users are cunningly hidden in a table named txp_users.

Textpattern doesn’t use MD5 hashing for passwords though, so your existing password hashes won’t work.


Alex

Offline

#3 2005-10-22 22:51:44

pandamonium
New Member
Registered: 2005-10-22
Posts: 2

Re: Integrating textpattern

Oh I found the txp_users table and looked at the fields already. What I can’t figure out is where the php that pulls and verifies data from txp_users is located. I wanted to find that section of the code and rewrite it to use my existing passwords. It seems that there are more than a few different files that deal with the users table though. Do you know what needs to be edited for this to work?

Offline

#4 2005-10-23 00:34:36

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Integrating textpattern

txp_auth.php

Offline

Board footer

Powered by FluxBB