Compdigitec Labs

« | Home | »

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:

  1. Open up index.php from your phpBB installation.
  2. 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 {
  3. After the line “page_header($user->lang[‘INDEX’]);“, add the following code:
    // end hack to disable anonymous viewing
    };
  4. 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 | 384 Comments »

384 Responses to “phpBB force login hack”

  1. discuss Says:
    December 1st, 2026 at 12:12

    Konečně normální rada, bez reklamních keců. Cením si konkrétní postupy, které zvládne i začátečník.
    Super práce.

    Also visit my blog :: discuss

  2. Oscar Says:
    December 1st, 2026 at 20:12

    Dostala jsem se sem úplně náhodou a přiznávám, že jste mi ušetřil spoustu času.
    Budu sledovat další příspěvky.

    my web-site Oscar

  3. rdcvw.com Says:
    December 1st, 2026 at 20:45

    Ich bin hier gelandet, weil ich Infos zur nachhaltigen Renovierung suchte und fühle mich jetzt besser
    informiert. Weiter so.

    Also visit my homepage; rdcvw.com

  4. Http://bbs.51pinzhi.cn/ Says:
    December 1st, 2026 at 20:48

    Konečně normální rada, bez reklamních keců. Cením si konkrétní
    postupy, které jdou rovnou použít. Díky za to.

    Also visit my blog post; http://bbs.51pinzhi.cn/

  5. Kara Says:
    December 1st, 2026 at 23:38

    Ich bin hier gelandet, ganz ohne Absicht und werde den Blog auf jeden Fall weiterempfehlen. Weiter so.

    My site; Kara

  6. http://klidne-prostor.borec.cz Says:
    December 2nd, 2026 at 00:31

    Dostal jsem se sem úplně náhodou a přiznávám, že jste mi
    ušetřila spoustu času. Moc pomohlo, díky.

    my page :: http://klidne-prostor.borec.cz

  7. easyreadinglist.Com Says:
    December 2nd, 2026 at 02:05

    Dostala jsem se sem při hledání informací o rekonstrukci a přiznávám,
    že jste mi ušetřil spoustu času. Moc pomohlo,
    díky.

    Visit my webpage :: easyreadinglist.Com

  8. rekonstrukce koupelny krok za krokem Says:
    December 2nd, 2026 at 02:40

    Přesně tohle jsem hledal, bez povrchních tipů.
    Cením si konkrétní postupy, které mají hlavu a patu.
    Super práce.

    Feel free to visit my web page :: rekonstrukce koupelny krok za krokem

  9. Wohnkomfort Verbessern Says:
    December 2nd, 2026 at 03:32

    Wirklich nützlicher Text, man findet selten so eine konkrete Herangehensweise.
    Ich selbst sammle Ideen für eine frische Einrichtung und komme sicher noch
    einmal hierher. Danke.

    my web site – Wohnkomfort Verbessern

  10. Gonzalo Says:
    December 2nd, 2026 at 07:44

    Podpisuję się pod tym – większość błędów
    bierze się z pośpiechu. Z mojego doświadczenia to działa.

    Fajnie, że temat wraca.

    my web blog; Gonzalo

  11. http://bbs.51Pinzhi.cn/home.php?mod=space&uid=8488646 Says:
    December 2nd, 2026 at 08:14

    Konečně praktický text, zřídka se najde něco napsaného z
    praxe. Sám sbírám nápady na vylepšení interiéru a určitě se sem ještě vrátím.
    Zdravím.

    Here is my site – http://bbs.51Pinzhi.cn/home.php?mod=space&uid=8488646

  12. referral provider Says:
    December 2nd, 2026 at 12:51

    Thanks a lot. I value this!

  13. Walker Says:
    December 2nd, 2026 at 21:06

    Čau, narazil jsem na tohle téma a musím uznat, že je to tu zpracované pořádně. Sám právě řeším podobnou situaci a sbírám všechno, co se dá. Kdyby měl někdo zkušenosti s tímhle tématem, rád si počtu..

    My blog post :: https://audiokniga-online.ru/user/StefanIkl32435/

  14. Rodolfo Says:
    December 2nd, 2026 at 21:57

    Spannender Ansatz in die praktische Umsetzung im Alltag.
    Ich habe schon lange nach solchen Tipps gesucht und finde hier genau das Richtige.

    Bis zum nächsten Mal.

    Feel free to surf to my web site Rodolfo

  15. rekonstrukce Koupelny krok za krokem Says:
    December 2nd, 2026 at 23:23

    Přihrnul jsem se sem úplně náhodou a musím uznat jste mi ušetřil spoustu
    času. Těším se na další články.

    My web blog: rekonstrukce Koupelny krok za krokem

  16. Https://xbymw.com Says:
    December 2nd, 2026 at 23:27

    Dostala jsem se sem u příležitosti hledání nápadů na malý byt a
    musím uznat jste mi ušetřil spoustu času.
    Moc pomohlo, díky.

    Check out my web site :: https://xbymw.com

  17. http://caraudiocentre.ir/index.php?subaction=userinfo&user=felixschmidt73 Says:
    December 3rd, 2026 at 00:11

    Ich bin hier gelandet, als ich nach Ideen für kleine Räume suchte und werde den Blog auf
    jeden Fall weiterempfehlen. Weiter so.

    Here is my web blog … http://caraudiocentre.ir/index.php?subaction=userinfo&user=felixschmidt73

  18. Flur gestalten Says:
    December 3rd, 2026 at 00:34

    Sehr guter Einblick in die Verbindung von Design und Nachhaltigkeit.
    Ich habe ähnliche Gedanken gehabt und freue mich auf weitere Beiträge.
    Liebe Grüße.

    Feel free to visit my blog post – Flur gestalten

  19. Energiesparendes Wohnen Says:
    December 3rd, 2026 at 01:43

    Gut umgesetztes Thema, man findet selten Inhalt ohne
    unnötiges Geschwafel. Ich bin gerade mitten in der Renovierung und nehme mir ein paar Dinge zu Herzen. Viele
    Grüße.

    my site; Energiesparendes Wohnen

  20. Http://Nove-Koutek.Xf.Cz/Proc-Je-4-3-3-Idealni-Pro-Pressing-A-Jak-Nastavit-Stredovou.Html Says:
    December 3rd, 2026 at 02:31

    Dostala jsem se sem při hledání informací o rekonstrukci a přiznávám,
    že jste mi ušetřila spoustu času. Moc pomohlo, díky.

    Here is my webpage :: http://Nove-Koutek.Xf.Cz/Proc-Je-4-3-3-Idealni-Pro-Pressing-A-Jak-Nastavit-Stredovou.Html

  21. Stephan Says:
    December 3rd, 2026 at 05:57

    Čau, narazil jsem na tohle téma a vidím, že je tu dost konkrétních tipů. Sám právě řeším podobnou situaci a hledám osvědčená řešení. Díky za všechny příspěvky.

    Feel free to visit my web blog; http://cbsver.bget.ru/user/CorinneLaughlin/

  22. Byt V PaneláKu Says:
    December 3rd, 2026 at 06:32

    Přesně tohle jsem hledal, bez povrchních tipů.

    Cením si praktické ukázky, které mají hlavu a patu. Moc díky.

    Feel free to visit my blog post – Byt V PaneláKu

  23. umweltfreundliche Wandgestaltung Says:
    December 3rd, 2026 at 07:53

    Toller Beitrag, es gibt nicht oft etwas aus der Praxis.
    Ich bin gerade mitten in der Renovierung und komme sicher noch einmal
    hierher. Viele Grüße.

    Here is my web page :: umweltfreundliche Wandgestaltung

  24. Platzsparende Möbel Says:
    December 3rd, 2026 at 09:32

    Praktischer Ratgeber, es gibt nicht oft etwas aus der Praxis.
    Ich bin gerade mitten in der Renovierung und werde einiges davon umsetzen. Danke.

    My site :: Platzsparende Möbel

  25. https://justbookmark.win/story.Php?title=welche-raumaufteilung-passt-zu-einem-ecksofa-mit-schlaffunktion Says:
    December 3rd, 2026 at 14:32

    Ich bin hierher gekommen, als ich nach Ideen für kleine Räume suchte und werde den Blog auf jeden Fall weiterempfehlen. Weiter so.

    Also visit my page: https://justbookmark.win/story.Php?title=welche-raumaufteilung-passt-zu-einem-ecksofa-mit-schlaffunktion

  26. helpful tree service planning advice Says:
    December 3rd, 2026 at 17:41

    A useful way to begin for tree work is to name the tree and
    the concern. The following check is to note access, gates and anything that needs protection. A
    simple scope sheet can show which questions are still open. For a made-up property, compare a pruning proposal with a
    removal proposal and mark anything unanswered as
    unknown. That record should keep observations apart from a diagnosis.

    Public-tree and utility responsibilities can differ, so
    confirm who needs to authorize the work. TreeWorkGuide notes
    can be read alongside this checklist. When the proposal arrives, reread the original problem
    and record one question to resolve. Report urgent hazards through the proper route whatever the schedule says.

  27. www.Supergame.One Says:
    December 3rd, 2026 at 17:43

    Klasse zusammengefasst in die praktische Umsetzung im Alltag.
    Ich persönlich habe ähnliche Gedanken gehabt und finde hier genau das Richtige.
    Liebe Grüße.

    My homepage – http://www.Supergame.One

  28. Rocky Says:
    December 3rd, 2026 at 18:58

    Přesně tohle jsem hledal, bez reklamních keců. Oceňuji praktické
    ukázky, které zvládne i začátečník.
    Moc díky.

    my web-site; Rocky

  29. Bookmarkfeeds.stream Says:
    December 3rd, 2026 at 19:55

    Přihrnul jsem se sem u příležitosti hledání nápadů na
    malý byt a musím uznat jste mi ušetřila spoustu času.
    Moc pomohlo, díky.

    Also visit my blog post :: Bookmarkfeeds.stream

  30. http://caraudiocentre.Ir/ Says:
    December 3rd, 2026 at 23:07

    Užitečný příspěvek, zřídka se najde obsah bez zbytečné omáčky.
    Sám zrovna řeším rekonstrukci a pár věcí si vezmu k srdci.

    Díky za sdílení.

    Feel free to visit my web blog :: http://caraudiocentre.Ir/

  31. Rhonda Says:
    December 3rd, 2026 at 23:38

    Přihrnul jsem se sem u příležitosti hledání nápadů na malý byt a musím uznat to je přesně to, co jsem
    potřeboval. Těším se na další články.

    Feel free to surf to my page – Rhonda

  32. Site Index Says:
    December 4th, 2026 at 07:07

    Helpful technical summary covering browser performance and caching headers.

  33. Danforth Roofing Contractor Says:
    December 4th, 2026 at 18:31

    Seriously many of superb data.

  34. water damage restoration Plano TX Says:
    December 4th, 2026 at 18:32

    Wow all kinds of valuable information.

Comments