====== phpBB2 Forum software ====== Després de [[http://www.forummatrix.org/ | comparar diferents Forum Tools]], al final ens hem decidit pel programa [[http://www.phpbb.com/ | phpBB2]] per gestionar els fòrums del SeRMN (i els del [[http://www.mrui.uab.cat | MRUI]] també). El programa s'ha instal·lat al nou servidor del servei (encara en procés de posta en funcionament) i serà accessible a través del corresponent [[http://sermn.uab.cat/forum | hoste virtual del SeRMN.]] ===== Enllaços d'interès sobre phpBB2 ===== * [[http://www.phpbb.com/ | phpBB web site]] * [[http://www.phpbb.com/support/?sid=d9b09b3d05850b99effb09b210c11e73 | Support page]] * [[http://www.phpbb.com/support/documentation/2.0/ | Documentació per la versió 2.0]] * [[http://www.phpbb.com/support/tutorials/2.0/ | Tutorials en Flash de la versió 2.0]] * [[http://www.phpbbhacks.com/ | phpbbhacks.com ]] is the premier source for phpBB hacks, templates, related downloads and everything phpBB. We feature the largest database of phpBB related downloads, granted with author permission, online including phpBB 3 hacks, phpBB 2 hacks, phpBB 3 styles and phpBB 2 templates. **COMPTE!!** no forma part del lloc oficial, qualsevol codi procedent d'aquest lloc s'haurà de comprovar abans d'instal·lar-ho. ===== MOD[ifications] - Extensions i millores ===== * [[http://www.phpbb.com/mods/db/ | phpBB MODs data base.]] Val la pena fer un cop d'ull a les [[http://www.phpbb.com/mods/db/index.php?i=browse&mode=popular&sub=rating | MOD[ifications] (extensions) més populars]] en base a la seva puntuació, i a les [[http://www.phpbb.com/mods/db/index.php?i=browse&mode=popular&sub=downloads | més descarregades,]] i instal·lar-ne les més útils (millora en la seguretat, major privacitat, etcètera) abans de fer públic del fòrum. ==== Instal·lades i actives ==== * [[http://www.phpbb.com/mods/db/index.php?i=misc&mode=display&contrib_id=1249 | Memberlist Access.]] With this MOD admin can decide who gets to view the memberlist. Options include: All, registered users, moderators, admins. Options are settable from the ACP. * [[http://www.phpbb.com/mods/db/index.php?i=misc&mode=display&contrib_id=1637 | Expire Unactivated Users by Timeframe.]] Deletes unactivated users from the forum memberlist based on a timeframe since their unactivated registration. Designed to eliminate spammers. * [[http://www.phpbb.com/mods/db/index.php?i=misc&mode=display&contrib_id=1289 | Easy assign user to groups.]] This mod allows the admin to assign a user to any combination of groups from a single page by using the usual manage user page in the ACP. * [[http://www.phpbb.com/mods/db/index.php?i=misc&mode=display&contrib_id=1663 | Admin Userlist.]] This MOD lets you view all of your members and various information about them in the Admin Control Panel. From the list, you can perform various actions on multiple users. Delete, Ban, Unban, Add to Usergroup, etc... * [[http://www.phpbb.com/mods/db/index.php?i=misc&mode=display&contrib_id=1119 | View Topic Name While Posting.]] This will allow you to see what topic you are replying to when you are posting a reply. * [[http://www.phpbb.com/mods/db/index.php?i=misc&mode=display&contrib_id=1679 | Stop Spambot Registration.]] This MOD stops spambots that provide Profile Information during registration in spite of a message saying "leave the Profile Information blank". An e-mail notification will be send every time there was a spambot registration attempt. NOTE: the e-mail notification can easily be left out if you wish. * [[http://www.phpbb.com/mods/db/index.php?i=misc&mode=display&contrib_id=1773 | List watched Topics.]] This MOD will allow you to easily see all topics you are watching. It uses search.php for this. * [[http://www.phpbb.com/mods/db/index.php?i=misc&mode=display&contrib_id=713 | Send mail to user on admin (de-)activate.]] Normally when a user's status (active yes/no) has been changed through the ACP, the user isn't notified of this change. If the board requires admin/user activation and the user is activated by the admin he/she therefore has no way of knowing that the activation has taken place already. Similarly is the user has been deactivated he/she will not know this until they next try to login and then they often will not understand what's going on. This mod fixes that. If the board requires admin/user activation and the user is activated through the ACP the activation key (if exists and is not for password change) will be deleted and the user notified by email. If then at a later stage the user is de-activated and/or activated again through the ACP the user is notified of this by email as well. * [[http://www.phpbb.com/community/viewtopic.php?t=354718 | Forum membership benefits.]] This mod allows for members of admin-specified groups to have the ability to send/recive PMs, have an avatar, and have a signature. A member also have the words "Site Member" below their user name on each post. * [[http://www.phpbb.com/community/viewtopic.php?t=561677 | Security Question.]] Add a security question and hide profile fields during registration. * [[http://www.phpbb.com/mods/db/index.php?i=misc&mode=display&contrib_id=1671 | Attachment mod.]] This Mod adds the ability to attach files in phpBB2. * [[http://www.phpbb.com/mods/db/index.php?i=misc&mode=display&contrib_id=1313 | Clone posts.]] Allows a user to clone a post to a new topic that can be placed in any forum. This is especially useful for cloning non-standard posts like posts with polls in them (or even better, posts with surveys in them created using my tabulated survey at topic head mod), since those posts are not so easy to copy without a mod like this. ==== En procés d'instal·lació ==== * **Cap actualment** ==== Altres extensions d'interès ==== Incloure només aquells MOD[ifications] que es probable que s'acabin instal·lant. * [[http://www.phpbb.com/mods/db/index.php?i=misc&mode=display&contrib_id=1575 | AntiSpam Mod.]] Protects your forum from automatically dispatched spam. * ... ===== Seguretat i privacitat: SPAM, bots, ... ===== * [[http://www.phpbb.com/community/viewtopic.php?f=1&t=427852 | Preventing SPAM - Bots and Humans]] * [[http://www.net-security.org/article.php?id=1103 | phpBB hacks:]] password security, anti robot login and a full board security system * [[http://bbantispam.com/howto/ | bbAntispam: stop spam in forums, blogs, contact forms]] * [[http://www.webmasterworld.com/forum103/274.htm | phpBB Security Best Practices]] ===== Altres assumptes tècnics ===== * [[http://mail2forum.com/ | m2f,]] formally mail2forum, is a PHP application which links internet-based communities. The current release works as a bridge between email mailing lists and phpBB 2 forums. Links phpBB 2 forums with email mailing lists. Either use an existing mailing list or create a new one from within m2f. Posts to the forum are emailed to the list, emails to the list are posted to the forum. * Cóm [[http://www.phpbb.com/community/viewtopic.php?p=972105 | importar ''flat files'']] dins phpBB. ===== Exemples de fòrums ===== * El [[http://phpbbmodders.net/board/index.php | board del phpBB]] és un bon exemple de cóm organitzar els fòrums, i de [[http://www.phpbb.com/rules/ | regles de funcionament]] pels usuaris (en cas de tenir fòrums oberts). * També el fòrum de [[http://phpbbmodders.net/board/index.php | phpBBModders]] és un bon exemple (especialment pels fòrums del MRUI). ===== Llistes d'email al SeRMN ===== Aquestes són les llistes actualment en funcionament al SeRMN i que caldrà convertir en fòrums, ?? i-sermn :: hoste virtual ''sermn.uab.cat'' :: llista tancada - sense autosubscripció :: llista unidireccional - els subscriptors no poden enviar missatge a la llista :: arxiu de missatges privat - no visible sense login !! ?? u-sermn :: hoste virtual ''sermn.uab.cat'' :: llista oberta - amb autosubscripció :: llista unidireccional - els subscriptors no poden enviar missatge a la llista :: arxiu de missatges públic - visible sense login !! ===== Captura de pantalla ===== {{:sermn_wiki:userpages:marta:sermn-forums-20081024.png?300}} ===== Import mails from old mailing lists ===== Avanç de res s'ha de tindre en compte que: * Els mails han de ser en un fitxer amb format ''mailbox''. * Els usuaris que envien el mail han de estar registrats al fòrum i tenir permís d'escriptura (com a mínim al fòrum on s'importarà el mail). * La llista a d'estar activada però l'opció de notificació ne nous missatges ha de estar desactivada, sense configuració o am una configuració errònia; per tal que no s'enviïn mails a tots el usuaris. * Per encadenar mails d'un mateix fil de discussió cal que el ''Subject'' de les respostes comenci per **Re: ** i que el títol sigui exactament igual al original. * Permetre totes les extensions dels attachments que hi hagi als missatges. * L'id del missatge de correu no ha de ser a cap de les tres taules: ''m2f_message_hash'', ''m2f_message_hash_seq'', ''m2f_message_id''. Si es troba en alguna d'aquestes taules vol dir que el missatge ja s'habia importat avanç, o bé, que el id està repetit. Aquest error no ens el notifica l'opció ''Force import'' del modul m2f. Per a porder importar els mails de les antigues llistes de correu, s'ha de seguir els següents pasos: * Complir les condicions anterios. * Copiar els missatges al fitxer corresponent, /var/mail/''mailinglistname'' * Activar la llista corresponent al forum on s'introduiran els missatges. * Clicar l'opció ''Force import'' del panell d'administrador. ===== Configuració del forum ===== ==== Bases de dades ==== Amb la comanda ''dpkg-reconfigure phpbb2-conf-mysql'' generem la base de dades. Database configuration file for phpbb2. $dbms = "db"; $dbhost = "host"; $dbname = "dbname"; $dbuser = "dbuser"; $dbpasswd = "xxxxxxxxxxxxxxxx"; $table_prefix = "phpbb2_"; define('PHPBB2_INSTALLED', true); La base de dades ''dbname'' ha d'existir al servidor, pero sense contigut. Per cadascun dels virtual hosts, hi ha una base de dades i el seu corresponent ficher de configuració. \\ \\ ==== Virtual Hosts ==== La instalació del forum crea un fitxer de configuració ''apache.conf'' enllaçat desde ''/apache/conf.d'' Donat que volem una configuració per dominis, eliminem l'enllaç i possem les dades de configuració al virtualhost corresponent: #### PHPBB2 FORUM #### /phpbb2/site/> php_flag register_globals off Options -Indexes +FollowSymlinks DirectoryIndex index.php AllowOverride None Order allow,deny Allow from all ... /phpbb2/avatars2"> Options -Indexes Order allow,deny Allow from all ... php_value auto_prepend_file /config2.php Alias /forum/images/avatars /phpbb2/avatars2 Alias /forum /phpbb2/site El directorio /phpbb2/avatars2 ha de ser creat. Hi ha d'haver un per cada domini. Recordar també, modificar els permisos de tots el fitxers i carpetes implicats en la configuració per a que siguin el més restrictuis possible.