I haven't heard anything.
1 2009-03-20 23:55
Re: external database authentication plugin (10 replies, posted in PunBB 1.3 extensions)
2 2009-02-01 09:09
Re: external database authentication plugin (10 replies, posted in PunBB 1.3 extensions)
if anyone needs the code, i will gladly post the code too.
Yes, please!
3 2009-02-01 05:43
Re: Adding website template around PunBB (2 replies, posted in Discussions)
Thanks for that. I didn't think to look inside include for the template file.
4 2009-01-31 07:34
Topic: Adding website template around PunBB (2 replies, posted in Discussions)
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?
5 2009-01-30 20:20
Re: external database authentication plugin (10 replies, posted in PunBB 1.3 extensions)
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.
6 2009-01-29 07:20
Re: external database authentication plugin (10 replies, posted in PunBB 1.3 extensions)
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
7 2009-01-29 01:34
Re: external database authentication plugin (10 replies, posted in PunBB 1.3 extensions)
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