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 | 178 Comments »

178 Responses to “phpBB force login hack”

  1. rady pro rekonstrukci Says:
    November 17th, 2026 at 19:12

    Zdravím, přišel jsem sem hledat rady ohledně domácnosti a chci říct, že je to tu zpracované pořádně. Taky stojím před stejným rozhodnutím a tyhle rady se mi hodily. Kdyby měl někdo zkušenosti s tímhle tématem, rád si počtu..

    Also visit my site … https://wiki.internzone.net/index.php?title=Benutzer:TabathaPflaum6

  2. jonfun.Me Says:
    November 17th, 2026 at 20:00

    Konkretny tekst, rzadko trafia się coś napisanego z praktyki.
    Sam właśnie kończę remont i kilka rzeczy wezmę
    do siebie. Dzięki.

    My website … jonfun.Me

  3. http://zipperquick.com/ Says:
    November 17th, 2026 at 21:45

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

    Here is my page; http://zipperquick.com/

  4. Margarita Says:
    November 17th, 2026 at 22:49

    Podpisuję się pod tym – większość błędów bierze się z pośpiechu.

    Z mojego doświadczenia to działa. Przydatne.

    Feel free to visit my web blog … Margarita

  5. Alejandro Says:
    November 17th, 2026 at 22:59

    Srozumitelný návod, málokdy se vidí něco
    napsaného z praxe. Sama zařizuji byt v paneláku a hodně
    z toho využiji. Zdravím.

    Also visit my blog; Alejandro

  6. Jaimie Says:
    November 17th, 2026 at 23:37

    Praktischer Ratgeber, man findet selten etwas aus der Praxis.
    Ich bin gerade mitten in der Renovierung und nehme
    mir ein paar Dinge zu Herzen. Viele Grüße.

    Visit my blog Jaimie

  7. Barvy StěN Do ObýVáKu Says:
    November 18th, 2026 at 00:41

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

    Super práce.

    Feel free to visit my web blog :: Barvy StěN Do ObýVáKu

  8. gitlab.Oc3.Ru Says:
    November 18th, 2026 at 00:53

    Srozumitelný návod, zřídka se najde obsah bez zbytečné omáčky.
    Sám sbírám nápady na vylepšení interiéru a pár věcí si vezmu
    k srdci. Díky.

    Feel free to surf to my web page – gitlab.Oc3.Ru

  9. Https://Bbs.mofang.com.Tw Says:
    November 18th, 2026 at 01:02

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

    Liebe Grüße.

    Feel free to visit my website; https://Bbs.mofang.com.Tw

  10. https://Gravesales.Com/ Says:
    November 18th, 2026 at 01:41

    Servus, ich bin auf dieses Thema gestoßen und möchte erwähnen, dass das Thema ist ordentlich durchgekaut. Ich stehe auch vor dieser Entscheidung und ich suche nach bewährten Lösungen. Falls jemand Erfahrung damit hat, lese ich gerne mit.

    Here is my web-site – https://gravesales.com/author/garyspielvo/

  11. gitlab.Oc3.ru Says:
    November 18th, 2026 at 02:37

    Ich bin zufällig hier gelandet, weil ich Infos zur nachhaltigen Renovierung suchte und fühle mich jetzt besser informiert.
    Macht weiter so.

    my blog: gitlab.Oc3.ru

  12. osvětlení V obýváku Says:
    November 18th, 2026 at 03:04

    Konečně normální rada, bez zbytečných řečí.
    Oceňuji konkrétní postupy, které jdou
    rovnou použít. Moc díky.

    my webpage … osvětlení V obýváku

  13. seafishzone.com Says:
    November 18th, 2026 at 03:46

    Parádní kousek, málokdy se vidí něco napsaného
    z praxe. Sama sbírám nápady na vylepšení interiéru
    a pár věcí si vezmu k srdci. Díky.

    Feel free to visit my blog post: seafishzone.com

  14. Vito Says:
    November 18th, 2026 at 04:45

    Witajcie, przeglądałem wątki o urządzaniu mieszkań i widzę, że jest o czym poczytać. Sam właśnie kończę remont w bloku i przydały mi się te wskazówki. Jakby ktoś miał doświadczenie w tym temacie, chętnie poczytam.

    Also visit my web page – https://jak.mazovia.edu.pl/index.php/U%C5%BCytkownik:Alton51678864612

  15. wiki.Novaverseonline.com Says:
    November 18th, 2026 at 05:48

    Moin, ich bin auf dieses Thema gestoßen und möchte erwähnen, dass es gibt einiges zu lesen. Ich stehe auch vor dieser Entscheidung und ich sammle alles, was ich kriegen kann. Ich schließe mich der Diskussion an.

    Feel free to surf to my web page: https://wiki.novaverseonline.com/index.php/User:GwendolynSharp

  16. https://wiki.novaverseonline.com/index.php/User:connielight Says:
    November 18th, 2026 at 07:41

    Hej, natknąłem się na ten temat i chcę powiedzieć, że jest o czym poczytać. Sam właśnie kończę remont w bloku i szukam sprawdzonych rozwiązań. Dorzucam się do dyskusji.

    Here is my blog … https://wiki.novaverseonline.com/index.php/User:ConnieLight

  17. Https://telegra.ph Says:
    November 18th, 2026 at 08:13

    Přesně tohle jsem hledal, bez reklamních keců.

    Oceňuji jasná doporučení, které zvládne i začátečník.
    Moc díky.

    Visit my web site: https://telegra.ph

  18. Kenneth Says:
    November 18th, 2026 at 11:12

    Dobry wpis, nieczęsto widuje się coś napisanego z praktyki.
    Sama zbieram pomysły na odświeżenie wnętrza i sporo z
    tego wykorzystam. Pozdrawiam.

    Also visit my blog post – Kenneth

  19. Platzsparende Möbel Says:
    November 18th, 2026 at 12:38

    Hallo, ich habe hier nach Infos zur Renovierung gesucht und möchte erwähnen, dass hier viel Konkretes steht. Bei mir ähnlich – kleine Wohnung, große Ansprüche und ich suche nach bewährten Lösungen. Danke für all die nützlichen Hinweise.

    My website :: http://terradunia.earth/index.php?title=Benutzer:LashayG21471323

  20. úLožNé Prostory V MaléM Bytě Says:
    November 18th, 2026 at 13:56

    Dobrý den, přišel jsem sem hledat rady ohledně domácnosti a vidím, že je o čem číst. Sám právě řeším podobnou situaci a sbírám všechno, co se dá. Díky za všechny příspěvky.

    My webpage … http://warblog.hys.cz/user/MableGarran57/

  21. Arletha Says:
    November 18th, 2026 at 14:57

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

    Cením si praktické ukázky, které zvládne i začátečník.
    Moc díky.

    My website :: Arletha

  22. http://philwiki.travelflo.net/index.php?title=Benutzer:NorineEhm6530 Says:
    November 18th, 2026 at 16:10

    Čau, přišel jsem sem hledat rady ohledně domácnosti a musím uznat, že je to tu zpracované pořádně. Sám právě řeším podobnou situaci a hledám osvědčená řešení. Kdyby měl někdo zkušenosti s tímhle tématem, rád si počtu..

    Have a look at my homepage http://philwiki.travelflo.net/index.php?title=Benutzer:NorineEhm6530

  23. Rekonstrukce Koupelny Krok Za Krokem Says:
    November 18th, 2026 at 20:37

    Ahoj, procházel jsem diskuze o bydlení a musím uznat, že je o čem číst. U nás je to podobné – malý byt a velké nároky 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..

    Here is my website – https://www.adpost4u.com/user/profile/4985264

  24. Raumteiler Ohne Sichtschutz Says:
    November 19th, 2026 at 07:41

    Gut umgesetztes Thema, man findet selten etwas aus der Praxis.
    Ich selbst gestalte gerade meine kleine Wohnung und werde einiges davon umsetzen. Danke fürs
    Teilen.

    Stop by my site – Raumteiler Ohne Sichtschutz

  25. http://ingeekswetrust.de/ Says:
    November 19th, 2026 at 14:48

    Dobrý den, přišel jsem sem hledat rady ohledně domácnosti a musím uznat, ž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.

    my webpage :: http://ingeekswetrust.de/index.php?title=Benutzer:MaxwellG30

  26. The UK Shopping Network Says:
    November 19th, 2026 at 18:55

    You said it nicely..

  27. Marisa Says:
    November 20th, 2026 at 13:34

    Gut umgesetztes Thema, es gibt nicht oft Inhalt ohne unnötiges Geschwafel.
    Ich sammle Ideen für eine frische Einrichtung und nehme
    mir ein paar Dinge zu Herzen. Viele Grüße.

    Here is my site: Marisa

  28. Milagros Says:
    November 20th, 2026 at 18:04

    Przydatny artykuł, rzadko trafia się coś napisanego z praktyki.
    Sam właśnie kończę remont i na pewno wrócę tu jeszcze raz.
    Dzięki.

    My web site … Milagros

Comments