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

145 Responses to “phpBB force login hack”

  1. bathroom remodeling Wilmington NC Says:
    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.

  2. Colorado Springs exterior painting Says:
    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.

  3. luxury bathroom remodel Scottsdale Says:
    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!

  4. exterior painting Colorado Springs CO Says:
    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.

  5. cabinet painters Colorado Springs Says:
    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.

  6. Bartholomew Remodeling North Carolina Says:
    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.

  7. luxury bathroom remodeling Scottsdale AZ Says:
    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.

  8. residential electrician Colorado Springs Says:
    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!

  9. Denver charter bus services Says:
    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?

  10. surf park Fellsmere Says:
    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.

  11. breckenridge to Denver shuttle Says:
    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.

  12. event management services Says:
    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.

  13. surf park Fellsmere FL Says:
    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!

  14. remodeling contractors Wilmington NC Says:
    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.

  15. Aspen to Denver shuttle Says:
    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!

  16. residential electrician Colorado Springs Says:
    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!

  17. cabinet painters Colorado Springs Says:
    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.

  18. iked2.s4.xrea.com Says:
    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.

  19. lawyers Says:
    November 13th, 2026 at 03:38

    Wonderful facts, With thanks!

  20. aranżacja Wnętrz Says:
    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

  21. rekonstrukce koupelny krok Za krokem Says:
    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

  22. Miriam Says:
    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

  23. Platzsparende MöBel Says:
    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

  24. http://Www.1Gmoli.com/ Says:
    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/

  25. emergency plumber Aurora CO Says:
    November 14th, 2026 at 18:03

    Info effectively taken.!

  26. Ryu-Ga-index.com Says:
    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

  27. Https://Ksngtuition.co.za/Members/Sebastianmueller23/activity/8437/ Says:
    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/

  28. Wohnkomfort verbessern Says:
    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

  29. https://Dailybeacon.Site/ Says:
    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/

  30. Remont łazienki Krok po kroku Says:
    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

  31. Valorie Says:
    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

  32. Https://Www.Bandsworksconcerts.info/ Says:
    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/

  33. Beleuchtung im Wohnzimmer Says:
    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

  34. Beleuchtung im Wohnzimmer Says:
    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

  35. Abbey Says:
    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

  36. rcfl.com.hk Says:
    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

  37. Rudy Says:
    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

  38. michael-muller.mdwrite.Net Says:
    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

  39. mieszkanie w bloku Says:
    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

  40. Shanel Says:
    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

  41. Nina Says:
    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

  42. Molchanovonews.ru Says:
    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

  43. Rodrick Says:
    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

  44. Https://androidonly.Com/user/andreasschneider92/ Says:
    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/

  45. Eusebia Says:
    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

Comments