[advanced search]
 

Go Back   NamePros.com > Discussion > Web Design & Development > Programming

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.


Closed Thread
 
LinkBack Thread Tools
Old 04-03-2006, 10:59 AM   #1 (permalink)
NwS
NamePros Regular
 
NwS's Avatar
 
Join Date: Aug 2005
Location: Greece
Posts: 378
2,162.60 NP$ (Donate)

NwS is on a distinguished road


Remove/Disable Registration+Login in phpBB?..

Heya,

Im trying to figure out how i can remove/disable registration page and login page and form from phpBB.. I'm trying to connect phpBB with the rest site so the registration should become together with the rest of the site same with the login/logout..
Anyone got any idea how i can manage to do this? Which files i need to change or anything like that?

Thanks,
NwS
__________________
NwS - Attack is the only Defence!
Google Adsense and Sedo are NOT recommended!!!

:$: I'm Buying NP$! PM Me! :$:
NwS is offline  
Old 04-04-2006, 02:09 AM   #2 (permalink)
NamePros Regular
 
Join Date: Mar 2006
Posts: 394
211.38 NP$ (Donate)

sacx13 is on a distinguished road


Lightbulb

Find where "Register" and "LogIn" buuton are defined ( probably is something like: <input type="submit" name="Register" value="Register">) and add "disbaled" propertys to this input fields. Ex <input type="submit" name="Register" value="Register" disabled>

Regards
sacx13 is offline  
Old 04-04-2006, 03:36 AM   #3 (permalink)
NamePros Regular
 
Jim_'s Avatar
 
Join Date: Aug 2005
Posts: 585
285.40 NP$ (Donate)

Jim_ is a name known to allJim_ is a name known to allJim_ is a name known to allJim_ is a name known to allJim_ is a name known to allJim_ is a name known to all

Save The Children
Remove the register and login pages. Then, remove the login form from any templates that contain it.
__________________
ask me about the internet
Jim_ is offline  
Old 04-04-2006, 04:07 AM   #4 (permalink)
 
BillyConnite's Avatar
 
Join Date: Jul 2005
Location: Coffs H, Australia
Posts: 3,107
47.00 NP$ (Donate)

BillyConnite has a brilliant futureBillyConnite has a brilliant futureBillyConnite has a brilliant futureBillyConnite has a brilliant futureBillyConnite has a brilliant futureBillyConnite has a brilliant futureBillyConnite has a brilliant futureBillyConnite has a brilliant futureBillyConnite has a brilliant futureBillyConnite has a brilliant futureBillyConnite has a brilliant future

Wildlife Parkinson's Disease Parkinson's Disease
Yes just delete the login.php file. Then you will need to edit some of the php code located in the profile.php file, which is used to register a member (profile.php?mode=register).

Then just edit your header.tpl to remove the links from the header, and then there's a few other .tpl files that will need editing to remove the small login forms from the phpBB.

All the best, Rhett.
__________________
<?php if(1===1){ $computer="fine."; }else{ $computer="broken."; } echo "Your computer is ".$computer; ?>
BillyConnite is offline  
Old 04-05-2006, 02:26 PM   #5 (permalink)
NwS
NamePros Regular
 
NwS's Avatar
 
Join Date: Aug 2005
Location: Greece
Posts: 378
2,162.60 NP$ (Donate)

NwS is on a distinguished road


Heya all,

Thanks for your replies! I managed to do this before i see the answers here and it was kinda difficult.. Not so easy since it has no certain files for registration like register.php but its an inside code :P
But anyways i managed to do it and thats the point

Thanks again,
NwS

PS: I still got some questions about phpBB.. Anyone got any free time and feel like helping me out with my questions? PM me plz.. Thanks a lot!
__________________
NwS - Attack is the only Defence!
Google Adsense and Sedo are NOT recommended!!!

:$: I'm Buying NP$! PM Me! :$:
NwS is offline  
Old 04-05-2006, 07:13 PM   #6 (permalink)
Senior Member
 
Join Date: Apr 2005
Location: Joliet, Illinois
Posts: 1,194
345.00 NP$ (Donate)

RageD is a splendid one to beholdRageD is a splendid one to beholdRageD is a splendid one to beholdRageD is a splendid one to beholdRageD is a splendid one to beholdRageD is a splendid one to beholdRageD is a splendid one to behold

Child Abuse
Don't delete the login page! Just do this "/*" (without quotes) in the beginning of it then "*/" at the end of it! Again, do not just delete it, otherwise you have to go through the work of retrieving the files again if you ever wish to enable again!

-RageD
__________________
New Programming Blog! (Both Web [PHP] and Platform [C/C++]!)
RageD is offline  
Old 04-05-2006, 07:45 PM   #7 (permalink)
 
BillyConnite's Avatar
 
Join Date: Jul 2005
Location: Coffs H, Australia
Posts: 3,107
47.00 NP$ (Donate)

BillyConnite has a brilliant futureBillyConnite has a brilliant futureBillyConnite has a brilliant futureBillyConnite has a brilliant futureBillyConnite has a brilliant futureBillyConnite has a brilliant futureBillyConnite has a brilliant futureBillyConnite has a brilliant futureBillyConnite has a brilliant futureBillyConnite has a brilliant futureBillyConnite has a brilliant future

Wildlife Parkinson's Disease Parkinson's Disease
Quote:
Originally Posted by RageD
Don't delete the login page! Just do this "/*" (without quotes) in the beginning of it then "*/" at the end of it! Again, do not just delete it, otherwise you have to go through the work of retrieving the files again if you ever wish to enable again!

-RageD
No, he will be creating his own registration and login system, so he wont need it. But if he ever does, he can just download the one file from phpbb.com and upload it... Simple
__________________
<?php if(1===1){ $computer="fine."; }else{ $computer="broken."; } echo "Your computer is ".$computer; ?>
BillyConnite is offline  
Old 04-06-2006, 05:46 PM   #8 (permalink)
NwS
NamePros Regular
 
NwS's Avatar
 
Join Date: Aug 2005
Location: Greece
Posts: 378
2,162.60 NP$ (Donate)

NwS is on a distinguished road


Quote:
Originally Posted by BillyConnite
No, he will be creating his own registration and login system, so he wont need it. But if he ever does, he can just download the one file from phpbb.com and upload it... Simple
Exactly ^^
__________________
NwS - Attack is the only Defence!
Google Adsense and Sedo are NOT recommended!!!

:$: I'm Buying NP$! PM Me! :$:
NwS is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Site Sponsors
Advertise your business at NamePros

All times are GMT -7. The time now is 05:21 AM.


Powered by: vBulletin® Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0
Template-Modifications by TMS
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85