PunBB forum

Related tags

Documentation punbb
Overview

PunBB

PunBB is a fast and lightweight PHP-powered discussion board. It is released under the GNU General Public License. Its primary goals are to be faster, smaller and less graphically intensive as compared to other discussion boards. PunBB has fewer features than many other discussion boards, but is generally faster and outputs smaller, semantically correct XHTML-compliant pages.

Quick install

  1. Download the latest revision of PunBB. Decompress the PunBB archive to a directory.
  2. Copy (or upload) all the files contained in this archive into the directory where you want to run your forums. (e.g. /home/user/www/punbb/)
  3. Run install.php from the forum admin directory (e.g. open http://example.com/punbb/admin/install.php in your browser). Follow the instructions.

Requirements

  • A webserver
  • PHP 5
  • A database where forum data is to be stored, created in one of: MySQL 4.1.2 or later, PostgreSQL 7.0 or later or SQLite 2

Extension installation

  1. Download an extension's archive from the PunBB extensions repository or any other place. Extract it into your forum’s extensions directory. (e.g. /home/user/example.com/punbb/extensions)
  2. Log into the forum and go to "Administration" console, "Extensions" section, choose "Install extensions" tab (e.g. http://example.com/punbb/admin/extensions.php?section=install). The downloaded extension will be listed there.
  3. Click the "Install extension" link to install the extension.

NOTE: You may use the pun_repository official PunBB extension to download and install extensions from PunBB repository with one click.

Contributing

Please report issues on the Github issue tracker. Personal email addresses are not appropriate for bug reports.

Links

Copyright and disclaimer

This package and its contents are (C) 2002-2012 PunBB, all rights reserved. Partially based on code (C) 2008-2009 FluxBB.org.

PunBB is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

PunBB is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.

Good luck.

Comments
  • update_users_online bug

    update_users_online bug

    There is a major bug in the function update_users_online.

    On the big message board with 300+ users online/idle the function update_users_online updates status to idle=1 even if current user has status idle=1

    I have solved this problem with adding condition if ($cur_user['idle'] != 1) else { if ($cur_user['idle'] != 1) { $query = array( 'UPDATE' => 'online', 'SET' => 'idle=1', 'WHERE' => 'user_id=' . $cur_user['user_id'] );

                    ($hook = get_hook('fn_update_users_online_qr_update_user_idle')) ? eval($hook) : null;
                    $forum_db->query_build($query) or error(__FILE__, __LINE__);
                }
            }
    
    opened by zoransa 5
  • Bug with FORUM_SUPPORT_PCRE_UNICODE detection

    Bug with FORUM_SUPPORT_PCRE_UNICODE detection

    My forum on localhost passes the unicode detection (essentials.php, line 76) , but it fails on unicode regexps (parser.php, line 793 and 794).

    It now causes that when you are posting a message with [code] it deletes everything except the [code] tag.

    Here's my phpinfo() if it helps http://dl.dropbox.com/u/6232434/PunBB/Bug_code/phpinfo.html

    opened by Grez 5
  • CSS and URL scheme

    CSS and URL scheme

    When you change the URL scheme (eg: Folder based (fancy) ), and that one goes to => eg: http://_.am/forum/1/test-forum/ OR http://_.am/users/ , the style is no longer available.

    opened by ghost 5
  • hd_visit_elements

    hd_visit_elements

    http://pic.lg.ua/l/CvCVW/xtem3W/2

    may revise the hook is hd_visit_elements to add items? or add a new hook.

    может стоит пересмотреть хук hd_visit_elements для добавления элементов в меню? или добавить новый хук.

    opened by KANekT 4
  • Correction of regular expressions

    Correction of regular expressions

    1. Добавлены модификаторы D для однозначного определения конца текста http://php.net/manual/ru/reference.pcre.pattern.modifiers.php ;
    2. Убраны модификаторы m в парсере, так как они не имеют смысла в этих регулярных выражениях;
    3. Изменена регулярка обрабытывающая бб-код quote с параметром. Более строго проверяется параметр.
    4. В юзерах (админка) убран недочет регулярки.
    opened by MioVisman 3
  • Installing punbb on multiple web servers that are on the same website and database

    Installing punbb on multiple web servers that are on the same website and database

    Today whole logic of punbb is single server installation. If you have multiple web servers that work behind some kind of load balancer whole thing is broken. I have that situation and those are major issues I have to deal with:

    1. cache/* folder and 'temporary files' that are created there has to be cleaned from all web servers manually once you do something that changes configuration (add new ban, change options, switch maintenance on/off, add announcement...)
    2. extensions/ unfortunately when you install an extension, it is installed only on one web instance where 'admin' randomly hit at that moment and it has to be copied to all other web sites... all other websites 'see in the database' they they nave installed extension but when try to include files start to throw errors.
    3. it is extremely hard to keep svn up to date all extensions has to be added to the svn if you want to deploy it to new website installation.
    4. sessions once user is switched to different physical instance his session is gone, there should be option to store sessions in the database.

    My current work-around with extensions is to 'install' them on the test server, add files to svn, deploy new code and then on the live website 'install' and configure it again... and run command to delete all cache/* files on whole web cluster.

    opened by zoransa 3
  • add last visited for all forum members

    add last visited for all forum members

    A request for extra information in profiles stating when the member last visited or logged in the forum.

    This will help forum administrators to check who is actually visiting the forum.

    We use this feature (probably a mod) in forum.textpattern.com/ to move threads from "plugin author support" to "orphan plugins" and/or take away moderator rights.

    opened by colak 3
  • Nesting some BBCode throws HTTP ERROR 500 | PHP Fatal error

    Nesting some BBCode throws HTTP ERROR 500 | PHP Fatal error

    My setup:

    • lighttpd/1.4.53
    • PHP: 7.3.29-1~deb10u1
    • SQLite3 3.27.2
    • PunBB 1.4.6

    My Setup 2:

    • PHP 7.2.24-0ubuntu0.18.04.8 with the build in PHP server

    Reproduce: Just use the BBCode example in any post, than hit submit or preview.

    [list][*]Example list item 1.[/*][*]Example list item 2.[/*][*]Example list item 3.[/*][/list]
    

    Or this:

    [list]
    [*]Test[/*]
    [/list]
    

    This works as expected:

    [b][url]http://github.com[/url][/b]
    

    So the problem is not for all nesting. It looks like is related to the LIST tag.

    Thrown Error in error log:

    2021-08-26 16:52:31: (mod_fastcgi.c.421) FastCGI-stderr: PHP message: PHP Fatal error:  Uncaught ArgumentCountError: Too few arguments to function {closure}(), 1 passed and exactly 2 expected in /var/www/punbb/include/parser.php:58
    2021-08-26 16:52:31: (mod_fastcgi.c.421) FastCGI-stderr: Stack trace:
    2021-08-26 16:52:31: (mod_fastcgi.c.421) FastCGI-stderr: #0 [internal function]: {closure}(Array)
    2021-08-26 16:52:31: (mod_fastcgi.c.421) FastCGI-stderr: #1 /var/www/punbb/include/parser.php(60): preg_replace_callback('%\\[list(?:=([1a...', Object(Closure), '[list]\n[*]Test[...')
    2021-08-26 16:52:31: (mod_fastcgi.c.421) FastCGI-stderr: #2 /var/www/punbb/post.php(179): preparse_bbcode('[list]\n[*]Test[...', Array)
    2021-08-26 16:52:31: (mod_fastcgi.c.421) FastCGI-stderr: #3 {main}
    2021-08-26 16:52:31: (mod_fastcgi.c.421) FastCGI-stderr:   thrown in /var/www/punbb/include/parser.php on line 58
    
    opened by donvercety 2
  • Рефакторинг глобальных переменных

    Рефакторинг глобальных переменных

    • [ ] явное указание глобальных переменных
    $forum_user -> $GLOBALS['forum_user']
    $forum_hooks -> $GLOBALS['forum_hooks']
    и т.д.
    
    • в коде будет более понятно какие глобальные переменные используются
    opened by xukku 2
  • создать страницу списка хуков в Wiki

    создать страницу списка хуков в Wiki

    по аналогии с http://dev.1c-bitrix.ru/api_help/main/events/

    по группам

    • Хуки вызывающиеся в процессе выполнения страницы
    • Хуки при работе с пользователями и авторизация
    • Хуки при работе с группами пользователей и т.п.
    opened by xukku 2
  • идея по единому

    идея по единому "хранилищу" (списку) для расширений тем и прочего

    • [x] что то типа https://packagist.org/ но упрощеное и заточеное для punbb (типа "маркетплейс")

    • [x] представляет собой сайт - репозитарий на github pages например punbb-extensions.io

    • [x] папка extensions - содержит список файлов - каждый - файл описание 1 расширениия, там же контакты разработчика и ссылку на репозитарий расширения, файл в формате стандартного генератора сайтов github pages

    • [x] разработчик расширения форкает репо и делает пулреквест с добавлением или редактированием файлов со своими расширениями

    • [x] владельцы репо проверяют и принимают - сайт перегенерится

    • [x] в итоге пользователь получает сайт на котором есть все доступные расширения для punbb - ему не придется лазить по форумам и искать по интернету

    • [ ] найти нормальный шаблон для представления списка расширений - пример https://ru.wordpress.org/plugins/ или https://wordpress.org/plugins-wp/ (может взять оттуда верстку)

    • [ ] на следующем этапе - можно организовать какойто фильтр по расширениям на js

    • [ ] сдедующий этап встраивание данного списка в форум punbb (подгружать через ajax функционал списка и фильтра расширений) - может какое то расширение для установки/обновления расширений, может в ядро

    opened by xukku 2
  • MB_OVERLOAD_STRING is deprecated

    MB_OVERLOAD_STRING is deprecated

    Line 41 in include/utf8/utf8.php if ( ini_get('mbstring.func_overload') & MB_OVERLOAD_STRING ) throws error in new php version >8.0 Uncaught Error: Undefined constant "MB_OVERLOAD_STRING" as per documentation https://www.php.net/manual/en/migration80.incompatible.php The mbstring.func_overload directive has been removed. The related MB_OVERLOAD_MAIL, MB_OVERLOAD_STRING, and MB_OVERLOAD_REGEX constants have also been removed. Finally, the "func_overload" and "func_overload_list" entries in mb_get_info() have been removed.

    opened by foxbg 1
  • The source code is not up-to-date

    The source code is not up-to-date

    On the official website, there are several news:

    News
    PunBB 1.4.6
    PunBB 1.4.6 has been released
    Version 1.4.6 offers: fixed possible XSS vulnerability in the [email] BBcode tag (thanks to Igor Sak-Sakovskiy from ptsecurity.com); added restrictions to use BBcode inside the [email] tag.
    Dowloads: get PunBB 1.4.6 on Downloads page.
    Posted on 2021-03-09
    
    PunBB 1.4.5
    PunBB 1.4.5 has been released
    Version 1.4.5 offers: support for php 7+
    Dowloads: get PunBB 1.4.5 on Downloads page.
    Posted on 2020-01-31
    
    PunBB 1.4.4
    PunBB 1.4.4 has been released
    Version 1.4.4 offers: support for php 5.5, 5.6 and bug fixes.
    Dowloads: get PunBB 1.4.4 on Downloads page.
    Posted on 2015-10-14 | Comments
    
    
    • https://punbb.informer.com

    This organization/repo has not up-to-date.

    Can you solve it?

    opened by Neustradamus 8
  • Offical forum problem

    Offical forum problem

    Hello team,

    I have a problem, I can not connect on the official forum.

    • https://punbb.informer.com/forums/

    Can you help me?

    I have created my account a long time ago.

    Thanks in advance.

    opened by Neustradamus 7
  • Adding a logo

    Adding a logo

    Edit the include/template/main.tpl and locate the lines:

    	<div id="brd-head" class="gen-content">
    		<!-- forum_skip -->
    		<!-- forum_title -->
    		<!-- forum_desc -->
    	</div>
    

    and insert after the second one above as:

    	<div id="brd-head" class="gen-content">
    		<!-- forum_skip -->
    		<div style="float:left;"><a href="#"><img src="/img/logo.png" alt="logo"/></a> </div>
    		<!-- forum_title -->
    		<!-- forum_desc -->
    	</div>
    

    Depending on the size and positioning of the logo desired, a float:right may be in order instead. A small logo of 40x40px may be enough and place it as <webroot>/img/logo.png, though any valid image format can be used by editing the code above.

    The same can be done possibly with a different logo for the admin section in the include/template/admin.tpl file as well.

    opened by apmuthu 0
  • PunBB v1.4.5 not really updated

    PunBB v1.4.5 not really updated

    The PunBB v1.4.5 released on 2020-01-31 has the array subscript fixes for PHP 7+ (replacing curly braces with square braces).

    It does not contain any fixes (commits here) since the release of PunBB v1.4.4 since it's release on 2015-10-14. Hence it needs to be released all over again with all the commits here.

    My repo is at: https://github.com/apmuthu/PunBB

    The MioVisman fork seems to have a load of fixes at: https://github.com/MioVisman/punbb

    It also has the variable typo fix.

    opened by apmuthu 1
FluxBB is a fast, light, user-friendly forum application for your website.

FluxBB 1.5 Readme About FluxBB is an open source forum application released under the GNU General Public Licence. It is free to download and use and w

FluxBB 477 Dec 27, 2022
Application de forum des questions IT

About Laravel Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experie

null 3 Oct 11, 2021
The forum is a base for our Youtube tutorial series on "how to build a forum"

About Laravel Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experie

AngelJay 15 Oct 11, 2022
Simple forum software for building great communities.

About Flarum Flarum is a delightfully simple discussion platform for your website. It's fast and easy to use, with all the features you need to run a

Flarum 5.8k Jan 3, 2023
FluxBB is a fast, light, user-friendly forum application for your website.

FluxBB 1.5 Readme About FluxBB is an open source forum application released under the GNU General Public Licence. It is free to download and use and w

FluxBB 477 Dec 27, 2022
Simple forum software for building great communities.

About Flarum Flarum is a delightfully simple discussion platform for your website. It's fast and easy to use, with all the features you need to run a

Flarum 13.6k Jan 1, 2023
PHPDish is a powerful forum system written in PHP. It is based on the Symfony PHP Framework.

PHPDish 是一个基于Symfony框架开发的内容社区系统;得益于大量的前端以及后端的第三方类库的使用使得PHPDish有着高质量的代码,敏捷实现; 你可以使用composer或者直接下载本仓库进行程序的安装,注意切换到tag。 PHPDish 开发手册以及详细安装文档 Requirements

PHPDISH 227 Dec 8, 2022
A simple PHP and MySQL based internet forum that displays the messages in classical threaded view (tree structure)

my little forum my little forum is a simple PHP and MySQL based internet forum that displays the messages in classical threaded view (tree structure).

Mark Hoschek 97 Dec 29, 2022
PHPDish is a powerful forum system written in PHP. It is based on the Symfony PHP Framework.

PHPDish 是一个基于Symfony框架开发的内容社区系统;得益于大量的前端以及后端的第三方类库的使用使得PHPDish有着高质量的代码,敏捷实现; 你可以使用composer或者直接下载本仓库进行程序的安装,注意切换到tag。

PHPDISH 227 Dec 8, 2022
Application de forum des questions IT

About Laravel Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experie

null 3 Oct 11, 2021
A slim, lean forum package designed for quick and easy integration in Laravel projects

Complete documentation is available on teamteatime.net. Installation Requires Laravel 6+ and PHP 7.4+. Step 1: Install the package Install the package

TeamTeaTime 486 Dec 31, 2022
Sign into your Flarum forum with your Amazon account

Log In With Amazon A Flarum extension. Log in to your Flarum forum with Amazon. An addon for FoF OAuth Installation Install with composer: composer re

Ian Morland 0 May 4, 2022
A simple Reddit-like forum made where people can talk about anything that has to do with outer space.

SpaceTalk SpaceTalk is a forum where people can talk about our vast universe. It contains all functionalities that a major forum does. Functionalities

Henrique Ferreira 1 Oct 18, 2021
Laravel Forum

No taking care of this package anymore. Socieboy Forum Package for Laravel 5.2 Features Create conversations. Reply existing conversations. Support fo

Frank Sepulveda 71 Oct 2, 2020
A slim, lean forum package designed for quick and easy integration in Laravel projects

Complete documentation is available on teamteatime.net. Installation Requires Laravel 6+ and PHP 7.4+. Step 1: Install the package Install the package

TeamTeaTime 486 Dec 31, 2022
A discussion forum for coders

CodeQuery CodeQuery CODE WANTS TO BE SIMPLE is the place to find help with your coding and programming queries. Steps To Configurate Project Clone thi

Aman Sharma 1 Nov 3, 2021
A forum created with Laravel, Socket.io, and Tailwind CSS.

A forum created with Laravel, Socket.io, and Tailwind CSS.

Steven Lei 164 Nov 21, 2022
Simple forum software for building great communities.

About Flarum Flarum is a delightfully simple discussion platform for your website. It's fast and easy to use, with all the features you need to run a

Flarum 13.6k Jan 7, 2023
Simple forum software for building great communities.

About Flarum Flarum is a delightfully simple discussion platform for your website. It's fast and easy to use, with all the features you need to run a

Flarum 5.8k Jan 3, 2023
PHPHub is a Forum project written in Laravel

PHPHub is a Forum project written in Laravel

Summer 1.8k Dec 26, 2022