« How to fix GCC 4.3’s removal of old headers | Home | Disable the jump box of the FAQ in phpBB 3 »
phpBB force login hack
By admin | December 16, 2008
To set up a private forum in phpBB, you could simply make all the forums “No Access” to guests and bots. But if they can still view your member list and profiles, that is a security leak. Here is a patch to remedy that by forcing the guest or bot to login before they can see the forum:
- Open up index.php from your phpBB installation.
- After line 25 (“$auth->acl($user->data);“), add the following code:
// Hack to disable anonymous viewing
if ($user->data[‘user_id’] == ANONYMOUS || $user->data[‘is_bot’])
{
login_box();
} else { - After the line “page_header($user->lang[‘INDEX’]);“, add the following code:
// end hack to disable anonymous viewing
}; - Re-upload index.php to your web server. Don’t forget to clear your cache and log out to see the effect.
If you found this article helpful or interesting, please help Compdigitec spread the word. Don’t forget to subscribe to Compdigitec Labs for more useful and interesting articles!
Topics: PHP | 145 Comments »

November 10th, 2026 at 07:49
Valuable info. Fortunate me I discovered your site by chance,
and I am shocked why this twist of fate didn’t came about
earlier! I bookmarked it.
November 10th, 2026 at 08:54
I do trust all the ideas you have offered for your post.
They’re very convincing and will certainly work. Still, the posts are very short for starters.
Could you please extend them a little from subsequent time?
Thanks for the post.
November 10th, 2026 at 09:05
Hey, I think your website might be having browser compatibility issues.
When I look at your blog site in Ie, it looks fine but when opening in Internet
Explorer, it has some overlapping. I just wanted to give you a quick heads up!
Other then that, awesome blog!
November 10th, 2026 at 09:23
What’s Taking place i am new to this, I stumbled upon this I’ve discovered It
positively useful and it has helped me out loads. I am hoping to give a contribution & aid different customers like its aided me.
Great job.
November 10th, 2026 at 09:25
I for all time emailed this website post page
to all my associates, because if like to read it afterward my contacts will too.
November 10th, 2026 at 09:29
What’s up everybody, here every person is sharing these knowledge, so it’s good to read this weblog, and
I used to visit this web site all the time.
November 10th, 2026 at 10:00
You’ve made some good points there. I checked on the internet for additional information about the issue and found
most people will go along with your views on this site.
November 10th, 2026 at 10:07
I truly love your site.. Great colors & theme. Did you build this amazing site yourself?
Please reply back as I’m trying to create my own personal
site and would like to learn where you got this from or
just what the theme is named. Cheers!
November 10th, 2026 at 10:14
Thanks for the auspicious writeup. It in fact was once a leisure account it.
Glance complicated to far brought agreeable from you! By the way,
how can we keep in touch?
November 10th, 2026 at 10:18
Because the admin of this web page is working, no hesitation very rapidly it will be famous,
due to its quality contents.
November 10th, 2026 at 10:18
It is not my first time to go to see this web site,
i am visiting this site dailly and take fastidious facts from
here every day.
November 10th, 2026 at 10:37
Quality articles or reviews is the key to interest the visitors to pay
a visit the website, that’s what this website is providing.
November 10th, 2026 at 11:29
Very good site you have here but I was wanting to
know if you knew of any message boards that cover the same topics talked about in this article?
I’d really like to be a part of online community where I can get opinions from
other experienced individuals that share the same interest.
If you have any recommendations, please let me know. Bless you!
November 10th, 2026 at 12:46
My spouse and I stumbled over here coming from a different web page and
thought I may as well check things out. I like what I see so now i’m following you.
Look forward to exploring your web page for a second time.
November 10th, 2026 at 13:16
Everything is very open with a precise description of the
issues. It was definitely informative. Your site is extremely
helpful. Many thanks for sharing!
November 10th, 2026 at 13:39
Hi there! I know this is kinda off topic but I was wondering if you knew
where I could locate a captcha plugin for my comment form?
I’m using the same blog platform as yours and I’m having problems finding one?
Thanks a lot!
November 10th, 2026 at 13:52
This is my first time pay a visit at here and i am actually impressed
to read all at alone place.
November 11th, 2026 at 17:46
An outstanding share! I have just forwarded this onto a coworker who has been doing a
little homework on this. And he actually ordered me lunch because I discovered it for him…
lol. So let me reword this…. Thank YOU for the meal!! But yeah,
thanx for spending the time to talk about this issue here on your web site.
November 13th, 2026 at 03:38
Wonderful facts, With thanks!
November 13th, 2026 at 20:03
Trafiłam tu szukając informacji o remoncie i przeczytałem
całość. Zwłaszcza część praktyczna. Będę wracać.
Check out my web blog; aranżacja Wnętrz
November 13th, 2026 at 21:52
Dostal jsem se sem úplně náhodou a musím uznat
to je přesně to, co jsem potřeboval. Těším se na další články.
My blog post – rekonstrukce koupelny krok Za krokem
November 14th, 2026 at 11:10
Ich bin hierher gekommen, ganz ohne Absicht und fühle mich jetzt besser informiert.
Macht weiter so.
My web site – Miriam
November 14th, 2026 at 12:11
Klasse zusammengefasst in das Thema Wohnen mit Verantwortung.
Ich persönlich habe schon lange nach solchen Tipps gesucht und finde hier genau
das Richtige. Bis zum nächsten Mal.
Here is my page Platzsparende MöBel
November 14th, 2026 at 14:27
Trafiłam tu szukając informacji o remoncie i zostałem na dłużej.
Szczególnie przydatny był fragment o planowaniu. Zapisuję sobie.
Also visit my webpage … http://Www.1Gmoli.com/
November 14th, 2026 at 18:03
Info effectively taken.!
November 14th, 2026 at 22:33
Sehr guter Einblick in das Thema Wohnen mit Verantwortung.
Ich persönlich habe schon lange nach solchen Tipps gesucht und freue mich auf weitere Beiträge.
Liebe Grüße.
Here is my web blog – Ryu-Ga-index.com
November 15th, 2026 at 00:49
Ich bin zufällig hier gelandet, als ich nach Ideen für kleine
Räume suchte und habe direkt ein paar Anregungen mitgenommen. Weiter so.
Feel free to visit my web site: https://Ksngtuition.co.za/Members/Sebastianmueller23/activity/8437/
November 15th, 2026 at 05:24
Praktischer Ratgeber, man findet selten etwas aus der Praxis.
Ich selbst gestalte gerade meine kleine Wohnung und nehme
mir ein paar Dinge zu Herzen. Danke.
Look at my web page: Wohnkomfort verbessern
November 15th, 2026 at 06:30
Gut umgesetztes Thema, man findet selten Inhalt ohne unnötiges Geschwafel.
Ich selbst gestalte gerade meine kleine Wohnung und nehme mir ein paar Dinge zu Herzen. Danke.
my web page; https://Dailybeacon.Site/
November 15th, 2026 at 11:01
Konkretny tekst, nieczęsto widuje się tak konkretne podejście do tematu.
Sama właśnie kończę remont i sporo z tego wykorzystam.
Dzięki za podzielenie się.
My blog post – Remont łazienki Krok po kroku
November 15th, 2026 at 12:19
Trafiłem tu zupełnie przypadkiem i przeczytałem całość.
Najbardziej przydał mi się kawałek o kosztach.
Zapisuję sobie.
Stop by my page … Valorie
November 15th, 2026 at 13:14
Ich bin hierher gekommen, als ich nach Ideen für kleine Räume suchte und habe direkt ein paar Anregungen mitgenommen. Danke für die Mühe.
Feel free to surf to my site … https://Www.Bandsworksconcerts.info/
November 15th, 2026 at 17:40
Wirklich nützlicher Text, man findet selten Inhalt ohne unnötiges Geschwafel.
Ich selbst sammle Ideen für eine frische Einrichtung und komme sicher noch einmal hierher.
Danke.
Here is my page – Beleuchtung im Wohnzimmer
November 16th, 2026 at 01:54
Spannender Ansatz in die Verbindung von Design und Nachhaltigkeit.
Ich habe mir genau solche Fragen gestellt und finde hier genau das Richtige.
Bis zum nächsten Mal.
Feel free to surf to my web page … Beleuchtung im Wohnzimmer
November 16th, 2026 at 17:15
Přihrnul jsem se sem při hledání informací o rekonstrukci a musím uznat jste mi ušetřila spoustu času.
Těším se na další články.
My webpage … Abbey
November 16th, 2026 at 18:52
Przydatny artykuł, nieczęsto widuje się treść
bez lania wody. Sam urządzam mieszkanie w bloku i na pewno wrócę tu jeszcze raz.
Dzięki za podzielenie się.
Stop by my page; rcfl.com.hk
November 16th, 2026 at 19:44
Podpisuję się pod tym – ludzie często zapominają o kolejności prac.
Z mojego doświadczenia to działa. Dobrze, że ktoś o tym pisze.
Also visit my web site – Rudy
November 16th, 2026 at 22:26
Ich bin hier gelandet, weil ich Infos zur nachhaltigen Renovierung suchte und habe
direkt ein paar Anregungen mitgenommen. Macht weiter
so.
Check out my webpage :: michael-muller.mdwrite.Net
November 17th, 2026 at 01:53
Zgadzam się – większość błędów bierze się z pośpiechu.
U mnie sprawdziło się podobne rozwiązanie. Dobrze, że ktoś o tym pisze.
Also visit my page … mieszkanie w bloku
November 17th, 2026 at 04:51
Wpadłem tu szukając informacji o remoncie i nie żałuję.
Najbardziej przydał mi się kawałek o kosztach.
Zapisuję sobie.
Have a look at my web-site: Shanel
November 17th, 2026 at 06:00
Toller Beitrag, man findet selten etwas aus der Praxis.
Ich sammle Ideen für eine frische Einrichtung und werde einiges davon umsetzen. Danke.
Look at my web blog; Nina
November 17th, 2026 at 06:47
Užitečný příspěvek, zřídka se najde obsah bez zbytečné
omáčky. Sama zrovna řeším rekonstrukci a určitě se sem ještě vrátím.
Zdravím.
Here is my page :: Molchanovonews.ru
November 17th, 2026 at 07:59
Zgadzam się – większość błędów bierze się z pośpiechu.
Z mojego doświadczenia to działa. Dobrze, że ktoś o tym pisze.
Also visit my page: Rodrick
November 17th, 2026 at 11:32
Ich bin hier gelandet, ganz ohne Absicht und habe direkt
ein paar Anregungen mitgenommen. Macht weiter so.
my web-site – https://androidonly.Com/user/andreasschneider92/
November 17th, 2026 at 13:50
Dokładnie tak – ludzie często zapominają o kolejności prac.
Z mojego doświadczenia to działa. Przydatne.
Feel free to visit my webpage – Eusebia