This wordpress plugin integrates punBB user system. punBB user operations like login or register are handled by wordpress. Get the plugin:
and proceed with installation.
- Unpack the ZIP and move jl-punbb to wordpress wp-content/plugins/
- Edit file jl-punbb.php, set the path to punBB folder and punBB tables prefix
define('PUNPATH', '../punbb'); // path
define('PUNPREFIX', 'pun_'); // table prefix
- Activate the plugin in WP Admin Panel
- Now we edit few punBB files, starting with register.php. Add at the beginning:
header('Location: http://www.url/do/wordpress/wp-login.php?action=register');
- Edit login.php and add at the beginning:
header('Location: http://www.url/do/wordpress/wp-login.php');
if ($action == 'change_pass')
{
header('Location: http://www.url/do/wordpress/wp-admin/profile.php');
Plugin is installed and ready.
Sometimes they may be some problems with autologin to punBB when you login to Wordpress. If forum and WP are in differend subdomains etc. then edit punBB
config.php and set
$cookie_domain and, or
$cookie_path to your domain name.
- Added: 18.07.2008 by riklaunim
- Update: Plugin updated to punBB 1.3/1.2 and WP 2.6