I haven't heard anything.

himanshu wrote:

if anyone needs the code, i will gladly post the code too.

Yes, please!

Thanks for that.  I didn't think to look inside include for the template file.

http://www.glutenawareness.org.nz/forum/index.php

I am in the process of cusomising PunBB to match the website colours.  Once I have done this, I would like to add the header and footer of the rest of the website so the full website menu can be seen around PunBB.  Any ideas of how best to do this?  I have tried adding it to footer and header, but that caused some problems with the search and index.
Would I be best to put it in an iframe? 
Or do I customise the style to add the header and footer? 
The rest of the website puts the page content into the template page which is loaded on the web.  Code goes like this:

<?php
$base_dir = '.'; // base dir is the main directory for the website
include_once $base_dir."/config.php";

// connect to database

database_connect();
$content = 'text';
$title = 'Welcome';
$head = '';
$login = login_details();

make_page($content, $title, $head, null, $links);

?>

Can I put PunBB into this script?

I had that problem too until I changed the last line as above.  Have you tried that or adding your password encryption type in front of the return - in our case md5.

Okay, I have completed the changes to PunBB files so that all the Register, Change Password, Lost Password and Change E-mail point to the external member database access files.  I have replaced all these URLS in these files with http://yourURLhere.  Hopefully I have zipped and uploaded them correctly this time, and I've done it to our Computer website:
http://www.computercave.co.nz/punBBfiles4extauth.rar

Thanks for the extension.  I have got this working on a php mysql existing external database.

Had to change this:

// Modify this function if necessary. It should return true if $entered_pass (the password entered via POST) matches // the user's password and false otherwise.
function is_valid_password($entered_pass, $user_data) {
    global $ext_password_column;

    return $entered_pass === $user_data[$ext_password_column]; }

last line to:

return md5($entered_pass) === $user_data[$ext_password_column];

I'm working on changing the profile settings to keep it inline with the external database.  So far I have changed the change password and change email settings.  Here is the profile.php file (saved as txt) - just need to replace the fake urls with your own for anyone else interested in doing this.
http://www.glutenawareness.org.nz/pun13 … rofile.txt

//@Roz: use the [ code] BBCode