How to build an external function login to phpBB forums

Today, I will show you how to build a function to log in a user from outside of the phpBB forums. Your forums has to be version phpBB3. First of all, empty all files in the cache directory of your forums. Build a single file and name it something like login_from_outside.php and place it in the root of your forums directory. Define a line to protect your file from hackers: define(‘IN_PHPBB’, true); Then include the following functions and common files from forums libraries. Remember to define the proper root path according…

Continue reading »

How to block spam posts in your online forum

Most of you who own an online forum have already known much about spammers are trying to add bad posts, posts of links to porn websites, links to drugs, etc. I’m so tired of those who don’t respect my forum. So today, I’m gonna give you an instruction who to restrict those posts from entering to your professional forums. Since I added this logic in my online forum, I never see any bad post in the database any more. Go to your forum root directory,…

Continue reading »