Topic: integration with coppermine....$define_user issue
Sorry in advance as this is not really punbb's problem but I think this forum may be more helpful than coppermines.
So I have bridged coppermine with punbb and it works fine they share a cookie etc....however I get trouble when:
to include php code in the header of coppermine you must put it in a file named theme.php (for those of you unfamiliar with coppermine). So I have put a loginbox in that file and it works fine without any parse errors but there is a 'if' and 'else' statement in the loginbox php code and it refers to $define_user. So what is happening is that it always comes back as guest no matter what....even if I am logged into coppermine and punbb.
By the way the same loginbox works fine as a standalone .php file in the same directory as theme.php its just when I try and merge them that it breaks and the cookie starts only returning guest.
I know this is probably not punbb's problem but I am just wondering if anyone has any idea what I am doing wrong.
Thanks
Nick
see my hack to integrate punbb with wordpress comment system.
Illustration Community