kleinmannetje
|
Posted: 07/14/2004, 7:56 AM |
|
Hi,
For an intranet I am developing I want to use phpBB as a forum. I have the forum working and the CCS files as well but I want to integrate these two so that users only have to login once.
I tried the following article but I can't get it to work: http://ccs.ath.cx/~ccs/kb.php?s_keyword=<b><fo...3&language_id=7
I don't think the articel is very clear on how to integrate these two. I hope someone can help me with this or point me to another article that describes this.
Will be very greatfull,
Regards
Jesse
|
|
|
kleinmannetje
|
Posted: 07/15/2004, 11:35 PM |
|
Can nobody help me with this problem. I really need your help because I can't get it to work.
Regards
Jesse
|
|
|
headhunter
Posts: 130
|
Posted: 07/16/2004, 11:26 PM |
|
kleinmannetje,
you can download a sample project here:
http://ccs.ath.cx/~ccs/userimages/daverexel/phpbb_ccs.zip
I have succesfully integrated phpbb with my app:
http://www.djansa.be
Greetz
|
|
|
kleinmannetje
|
Posted: 07/19/2004, 1:53 AM |
|
Thanks headhunter,
I have tried your example on my project and it gives the same error I got with the other example. When I try to open Login.php it gives the following error:
Quote :Notice: Undefined variable: is_authorised in c:\inetpub\wwwroot\farnest\Login_events.php on line 33
Quote :Cannot modify header information - headers already sent by (output started at c:\inetpub\wwwroot\farnest\Login_events.php:33) in c:\inetpub\wwwroot\farnest\Login_events.php on line 79
I then defined "is_authorised" in login.php to "0" and then it tries to open testaccess.php but it takes ages and it doesn't open the page at all.
Have you had the same problem? Do you know how I can solve this problem?
Regards
Jesse
|
|
|
klwillis
Posts: 428
|
Posted: 07/19/2004, 8:08 AM |
|
::: Did you define 'is_authorized' as global prior to using it?
_________________
Kevin Willis, VP/CIO
HealthCare Information Technology Specialist
http://www.nexushealthcare.com
"Fast - Convenient - Quality-Care"
Medical Software Consulting Services
Email : klwillis@nexushealthcare.com
Skype : klwillis2006 |
|
|
DaveRexel
Posts: 50
|
Posted: 07/19/2004, 3:21 PM |
|
::
Hello Jesse
I am the author of the tutorial and am quite sad to hear that you could not follow the tutorial as great effort has been made to include as much detail as possible with screenshots, full code-snippets (even code for old CodeCharge) and a sample project.
The variable "is_authorised" is the key to allowing the authorisation process to login the user to the CCS app once said user has logged in to phpbb and has obtained a cookie set by phpbb login. Setting this variable manually is not the way to make it work.
Using a host application such as phpbb with CCS is not a simple or trivial task and involves setting up your CCS application and the phpbb database as described in the tutorial.
Also the code has not been tested on local server wiith MS IIS server (which we do not support in any form due to its security issues). The integration code was developed on a remote server using the LAMP technology (Linux, Apache, MySQL, PHP).
You are most welcome to discuss this further in our forum at http://ccs.ath.cx/bb/viewforum.php?f=1 but please confirm that your phpbb application is working, the correct cookies are being set and the steps in the tutorial have been completed.
_________________
/Dave
RexDesign CodeCharge Studio Tutorials
http://rexdesign.com/ccs/ |
|
|
kleinmannetje
|
Posted: 07/20/2004, 12:39 AM |
|
Ok, I will try it again with the tutorial on your site, but it seems I can't see the screenshots. In all the steps you point to a screenshot but I don't see any. Are they in another place or something or is this my fault?
Thanks for your help.
Regards
Jesse
|
|
|
DaveRexel
Posts: 50
|
Posted: 07/20/2004, 5:41 AM |
|
::
Hi Jesse
I've answered you here
http://ccs.ath.cx/bb/viewtopic.php?p=650#650
Regards
_________________
/Dave
RexDesign CodeCharge Studio Tutorials
http://rexdesign.com/ccs/ |
|
|