Author |
Topic  |
|
Testa
Expert
  
Italy
74 Posts |
|
s.dav
Site Admin
    
Italy
3364 Posts |
Posted - 02 Oct 2011 : 19:02:46
|
I'm not an expert of PHPBB but I suppose it is possible to include a piece of page into every page of the forum. If this is possible you can. |
Regards, Davide |
 |
|
joneq
Super User
    
433 Posts |
|
Testa
Expert
  
Italy
74 Posts |
Posted - 02 Oct 2011 : 23:43:09
|
Thanks Joneq. Phpbb has a lot of groups managment and identity, but i need of something less complicated. I need a page for protect the access to phpbb forum with a password, so in phpbb i don't need to register user and manage login. It's a request of a friend for his site...
Dav, please help me to understand: wich piece of page i need? Phpbb is based on an index.php page that is totally accessible.
I've tried to put a string at the top of index.php page for include the "SecureIndex_Extension1inc_security.php", but this don't works. Let me tell about my experiment: - I have create a page containing the extension "php-login" named "login.php". - I have create a SecureIndex.php page. - I have copied at the top of index.php page of the forum (note that the phpbb forum is in another directory of site), the code "<?php include("./SecureIndex_Extension1inc_security.php"); ?>" . - i have copied into the same directory of the forum the file named "SecureIndex_Extension1inc_security.php". All this don't works... Sure i have make a mistake, but i don't understand where. 
Thanks. |
My Google+ profile: https://plus.google.com/i/zw25-_gKvTY:jRss3zGURdE
Web sites made in DHTML:
http://terapiabrevestrategica-emilia.it/ http://papaveriepapere-ravenna.com/ http://mp-impianti.net/ http://assistudioperboni.it/ |
 |
|
joneq
Super User
    
433 Posts |
|
s.dav
Site Admin
    
Italy
3364 Posts |
Posted - 04 Oct 2011 : 10:11:03
|
Testa,
you forgot a file: 1- write a login page (with the login extension) 2- write the secureindex page (with the SecurePage extension and setup users) 3- copy the code contained in the "secureindex" page on the very-top code of the index.php page of the forum 4- copy 2 files (php-login_Extension1checkLogin.php and php-secure-index_Extension1inc_security.php, names can be different)
the login page will call the "checkLogin" page and if correct this will call the "secureIndex" so both are important 5- eventually copy all the generated files into the same folder of the index.php file |
Regards, Davide |
 |
|
Testa
Expert
  
Italy
74 Posts |
|
s.dav
Site Admin
    
Italy
3364 Posts |
Posted - 05 Oct 2011 : 10:31:16
|
Good! |
Regards, Davide |
 |
|
|
Topic  |
|