Follow posts tagged #phpbb in seconds.

Sign up

Are any of our followers good at php/mysql stuff? I'm trying to set up a phpbb on our web host and it's balls.

If you could help me out, message me and I’ll love you for always. -E

http://fattiesinlove.tumblr.com/ask

phpBB and Symfony: Combining Communities

leftontheweb.com

I haven’t used phpBB in years and never used Symphony but I am excited that more open source scripts are moving to traditional frameworks. This is a win win for both in my eyes. 

Cheapest phpBB Forum hosting $3.62 per mo.

hostasp.net

HostASP offers cheapest and reliable web hosting for phpBB. You can setup phpBB forum with in minutes at HostASP.

Creating forums and categories in phpBB

increaserss.com

Forums and categories are the heart of phpBB and because without any forums there would be no real reason for using phpBB. So it’s important to get it right and make it look good for your users and guests.

phpBB

Teh Übershit.

Stay away from it.

Limiting phpBB3 registrations by country

I have a community-oriented bulletin board running on phpBB3. I want to limit its users to local residents - or at least residents of my own country. I have nothing against people living elsewhere; it’s just that someone living in Chile probably won’t be interested in my little website in a small town in the USA unless they’re wanting to post spam to it. Here’s how I did it.

Note: I’m using Apache 2.2 on a FreeBSD server. The details for other combinations will be a little different but very similar.

Download a list of networks in my country

Country IP Blocks is a website that lists the network blocks associated with each country. While this isn’t guaranteed to be 100% accurate, it’ll be pretty close. After digging around on the site, I found that the list of all network blocks in the United States is at https://www.countryipblocks.net/e_country_data/US_allow.txt. I downloaded this to my Apache server’s Includes directory:

# cd /usr/local/etc/apache22/Includes
# curl -O https://www.countryipblocks.net/e_country_data/US_allow.txt      
Block access to the User Control Panel

The User Control Panel, or UCP, is the phpBB page that handles registration and profile editing and all that other good stuff. By limiting access to that page (located at /ucp.php on my site) to only the network blocks in the list I downloaded in the first step, I block anyone outside the US from registering an account. They can still read my public forums - they just can’t participate.

I edited the Apache configuration file for my domain to add this clause:

<Location /ucp.php>
    Order Deny,Allow
    Deny from All
    Include etc/apache22/Includes/US_allow.txt
    Allow from ::
</Location>

The <Location> tag says that the following settings will only apply to the /ucp.php page.

The Order Deny,Allow directive tells Apache to obey any “Deny” directives by default, and then override those results with any matching “Allow” directives it finds.

The next line, Deny from All means exactly that: block all users unless their IP address is listed in one of the blocks I downloaded in the first step.

The fourth line instructs Apache to slurp in all of the allow from ... lines from the network list file. I chose this approach over putting the instructions in a more common .htaccess file for two reasons:

  1. If I want to update my list of network blocks, I can just re-download that file and restart Apache to reload its contents. Since I’ve never added any other directives to that file, I don’t have to worry about merging any records or remembering to copy the “extra” statements.
  2. When you put directives in a .htaccess file, those directives are reloaded every time a visitor tries to view a page - any page. As of this moment, there are nearly 40,000 allow from directives in the network block list and that’s a lot of extra work for something that won’t change very often. By Includeing its contents directly into the Apache configuration, those directives are only loaded and interpreted once whenever the webserver starts. The downside is that I’ll have to remember to restart Apache when or if I ever update the network block list.

Next is a directive to allow all IPv6 visitors. If I ever start receiving spam from IPv6 clients, I’ll reconsider that option.

The trailing </Location> line says that we’re done with this snippet.

Relax and enjoy the show

Soon after restarting Apache, “deny” messages started filtering into my site’s error log:

[Wed Jun 29 14:10:16 2011] [error] [client 77.93.2.81] client denied by server configuration: /usr/local/www/phpBB3/ucp.php, referer: http://norfolkboard.com/ucp.php?mode=register

Interpretation: someone in Latvia tried unsuccessfully to register an account on my site. While it’s remotely possible that a local resident is visiting European relatives and suddenly wanted to check my site, the odds are much greater that I just blocked a would-be spammer from opening an account.

PHPBB How to Bulk Delete Users Spammers and Spam Without Mod - How To by Developer

We all know that one of the fastest ways to grow a community and google friendly high PR site is to install a phpbb forum. If you post clever and controversial topics, people just feel compelled to join, reply, and build your content for you.

Sadly, this includes spammers. And what they do is register, lay dormant, then spam you over time with dozens of accounts! This is how you bulk delete spammers without a mod or even customizations — just using existing phpbb functionality. 

I was personally looking for a user name check box type of phpbb mod but this method works just as well if not better depending on how many people you have to cull away. Enjoy! 

via: ELGG Developer and Iphone App Developer

Posted via email from Social Media Marketing Strategies for the Closet Revolutionary | Comment »

We won site of the month at phpBB Communities!

Ladies, gentlemen and mischievous dogs named after medieval wizards, we have won an award!

The staff over at phpBB Communities said about our lovely home:

Great content, the layout, ease of navigation the colors and draw of Artificial Sweetener did it for me. I simply enjoyed the surf experience of Artificial Sweetener. Balanced site regarding the style and colors all coherent with the theme. The staff team looks awesome, the first look is what could make people register to the site.



You have no idea how proud I am right now. It took me about ten minutes to write three sentences about the site because I didn’t know how to explain the site in just a few lines. Thank you guys SO MUCH for making this place such an awesome forum to be a part of.

Cookies all round!

phpBB, you've made my life hell.

The process of deleting spam accounts from a forum is ass-backwards. Right now there are over five thousand accounts which need to be deleted, and I’m expected to go through 25 at a time and manually perform a three-step sequence to delete them. That’s ridonkulous. After some exploration of my options, I’ve come to this final request:

  1. Create a “pre-deletion” section for accounts which are close to deletion (the current “deactivated” option isn’t helpful at all)
  2. Make it easy to move accounts there which fulfill certain requirements (e.g. accounts with zero posts or accounts which have been inactive for more than a year)
  3. Allow me to then scroll through and have a “one-click” button to remove individual accounts from the “pre-deletion” group
  4. Then finally, the ability to delete the group as a whole

Now, I posted on their help forums, but the reply I got wasn’t sufficient. If you can offer me any help or point me to the closest restroom, I would appreciate it very much. Otherwise it will take a month to do this. :/

phpBB vs SMF vs myBB

Oh no! I’ve reached a conundrum! I don’t expect anyone to understand any of this, but, oh well.

I’ve decided I want to open up a site, I know “ANOTHER ONE!?!” but this time it’ll be for the entire server of Wiki Op. The main domain (wikiop.in) is going to change to a portal of sorts where you can pick where you want to go by selecting through a list which will dynamically update the page with the information regarding the website. With this, the current PHP-Fusion installation will be removed and a new test site for infusions that I create will be moved either off the server, or to a new subdomain. And yes, there are a lot of them.

(Some are blotched out due to them being drop zones for screenshots which can be located across a variety of other websites or things of that nature, but that’s a different story that might be told another time)

But the question is, what forum software should be used? phpBB is easy to setup though the administration section is a pain in the behind. Though SMF is the same way, the portal add-on TinyPortal is very nice and offers a ton of things that could be needed. MyBB, the forum system I’ve used the most and have had the mos— Well, can’t say that as I’ve probably used phpBB and SMF more than it. Though, it quite honestly grew on me. Kind of like PHP-Fusion instead of PHP-Nuke (Both are awesome CMS’s don’t get me wrong, but PHP-Fusion has a good community and is easily extensible.)

The solution is simple. Use the forum system last used. MyBB. It was used on TutorialSite, a website used for providing tutorials for various coding languages and Photoshop. It never really took off, which is sad, but that’s the way the world turns. Some sites take off, others don’t.

And so, this concludes a train-wreck of a post.

Integrating dokuWiki with phpbb3

I needed to integrate the dokuWiki authentication against a phpbb3 database. The following code just authenticates against the user table, without considering groups and any admin roles. The code doesnt take into account and table prefixes used in the setup. It also expects the phpbb3 files to be available as a sibling to the wikidirectory(check the paths if unsure).

It also has some debug things left, and probably som holes in the concept, but it works for now. An idea might be to integrate the phpbb3 group memberships to mean something in dokuwiki. The inexistance of bugs can not be guaranteed. Comments appreciated.

I have configured dokuwiki.php to use the new auth type with

$conf['authtype']    = 'phpbb3';

I also set the acl.auth.php to

*               @ALL        8
/**
 * Simple auth mechanism for integrating DokuWiki with phpbb3.
 * Should be placed in dokuwiki/inc/auth/phpbb3.class.php
 *
 * @license   GPL 2 (http://www.gnu.org/licenses/gpl.html)
 * @author    Eric Persson <eric@persson.tm>
 */
 
class auth_phpbb3 extends auth_basic {
    var $cnf = null;
    var $con = null;
    var $bound = 0; // 0: anonymous, 1: user, 2: superuser
    var $mysql_connection;
 
 
    /**
     * Constructor
     */
    function auth_phpbb3(){
        global $conf;
        
        if (method_exists($this, 'auth_basic'))
            parent::auth_basic();
        //$this->cando['external'] = true;
        
        $this->defaultgroup = $conf['defaultgroup'];
 
        /* Hook it up to phpbbs config */
        require(dirname(__FILE__).'/../../../phpBB3/config.php');
        $this->mysql_connection = mysql_connect($dbhost, $dbuser, $dbpasswd);
        mysql_select_db($dbname, $this->mysql_connection);
 
    }
 
    function checkPass($user,$pass){
        $res = mysql_query('SELECT * FROM phpbb_users WHERE username_clean="'.mysql_escape_string(strtolower(utf8_decode($user))).'"');
        if( $user = mysql_fetch_array($res) ) {
            define('IN_PHPBB', true);
            require(dirname(__FILE__).'/../../../phpBB3/includes/functions.php');
            if( phpbb_check_hash($pass, $user['user_password']) ) {
                $this->username = $user['username'];
                $this->email = $user['user_email'];
                    return true;
            }
        }
        return false;
    }
 
    function getUserData($user,$inbind=false) {
        global $conf;
        if( $user==$this->username ) {
            $info = array();
            $info['name'] = $this->username;
            $info['mail'] = $this->email;
            $info['grps'] = array();
            return $info;
        }else{
            return false;
        }
    }
 
 
}

I was asked by a friend of mine to help him build a forum. #m I’ve been gone in the forum world for quite sometime now but I hope I can still be of help. I’d be helping him categorize topics and set user permissions. I hope this will end well for me and the forum in general.

The Morbid Rodz forum

After a couple month hiatus the Morbid Rodz forum is online again.  It’s been updated to the latest version of phpBB and skinned to look like the main Morbid Rodz website.  Stop by and check it out and feel free to register if you’re interested.  

Cloudflare & PHP sessions

mfosn.wordpress.com

I have been searching for a possible fix to my PHP session issues on Cloudflare for a while. This is great.

Session handling in phpBB3 requires a user to use one IP address per session, therefore if your IP address changed, you will be prompt to login again.

Cloudflare is a web caching service that cache static contents of a website by acting as the nameserver that manage the website domain name. Therefore, every request to the domain name will pass through Cloudflare system first and any cached contents will be served from Cloudflare servers instead of the web hosting server.

However, when using Cloudflare service, the REMOTE_ADDR value for PHP $_SERVER will follow Cloudflare servers IP address. Therefore, you might face problem when using phpBB (or any other web app that rely on session tied to the IP address) with this service.

[read more]

Steps for Setting Default User Notify option in phpBB Forum

qualitypoint.blogspot.in

Few years back, we had set-up a phpBB based Forum for allowing the users to discuss about various things including software testing and web development.

Create an Online Bulletin Board/Forum in Seconds

image

Millions of people use phpBB on a daily basis, making it the most widely used open source bulletin board system in the world. Whether you want to stay in touch with a small group of friends or are looking to set up a large multi-category board for a corporate website, phpBB has the features you need built-in.

Newer users will appreciate phpBB’s extensive administration panel, which allows the customisation of even the most intricate features without having to edit code directly while advanced users will value the ease with which phpBB can be integrated into existing systems.

Get PHPbb Today! Click Here.

Thanks for reading. Comment, Like, Engage.

Loading more posts...