(3 replies, posted in General discussion)

Happy birthday.


(5 replies, posted in PunBB 1.2 discussion)

damaxxed wrote:

Read this: http://fluxbb.org/about/

Most of the PunBB devs decided to fork, because THEY want to control which features are going to be implemented and which not.


(5 replies, posted in PunBB 1.2 discussion)

Read this: http://fluxbb.org/about/


(5 replies, posted in News)

fantasma wrote:

nice work

Work *cough* *cough*
The tribute shall be addressed to Stefan Esser and Smartys.


(3 replies, posted in General discussion)

SPAM by forum mailer.

Truly funny.. of course I will provid you my bank account, Anatoly wink


(9 replies, posted in PunBB 1.2 discussion)

Actually i switched to FluxBB, but I want to let you know that SPAM is sent via the forum mailer:

from    PunBB Forums Mailer <anatoly@punbb.org>
reply-to    eken <***@yahoo.co.uk>
to    ***@gmx.de
date    Sat, Jul 5, 2008 at 10:55 AM
subject    DEAR
hide details 10:55 AM (4 hours ago)
eken from PunBB Forums has sent you a message. You can reply to eken by replying to this e-mail.

The message reads as follows:


From: ***

City: Cocody, Abidjan

Country: Cote D'Ivoire

My private e-mail: ***@yahoo.co.uk

Dear Respectful One,

Permit me to inform you of my desire of going into business relationship with you. My name is ***, the only child/son of late Mr. and Mrs.***, my father was a  Wealth Cocoa Merchant, the Director General of the Cocoa Exporter Corporation (C.E.C.) here in Abidjan the Economic Capital of Ivory Coast.  Before the sudden death of my father on 30th Nov 2007. He told me that he has the sum of $9.2 million US dollars (Nine Million Two Hundred Thousand US Dollars) deposited with my name as the next of kin in a bank here in Abidjan City. I have the deposit documents with me here in the Guest House were I am presently residing for safety of my life, I can send the documents to you upon your demand hence we build more trust to each other.

Dear, I am humble seeking for your assistance in these following ways:

1. To provide a bank account where the money can be transfer oversea

for investment.

2. To serve as my legal guidian because I am a girl of 19 years old.

3. To look for me a good school in your country where I can continue my

educational career in medicine.

I am willing to offer you 20% of the total sum as compensation for your effort input and mapped out 5% for any expense you might make during the transfer, like telephone calls, transportations and etc.. Please send me your direct telephone and more information about yourself, so that I can submit it to the bank and introduce you to the bank as my legal guardian and family trustee.

Thanks for everything in advance.

Yours Sincerely,


My private e-mail:***@yahoo.co.uk



PunBB Forums Mailer


(13 replies, posted in General discussion)

Battlefield Heroes is such an absurd Team Fortress 2 fake..


(70 replies, posted in News)

I'm not going to edit my "offensive" post. Anatoly, be careful, if you really "clean up all offensive messages", your information handling policy may be compared by some users to the one of the Peoples Republic of China

//edit: corrected a small typo.


(70 replies, posted in News)

Fredrikk, feel free to take a look at the FluxBB timeline. You can be sure that SoftDeluxe doesn't need more than 2 days to "maximize portability" again wink


(61 replies, posted in News)

It amuses me very much, how PunBB falls deeper and deeper.

Instead of going the PunBB-way, Anatoly announced, PunBB still sticks 100% to the code of FluxBB and still does not give credit to FluxBB.
Instead of following the original idea ("fast and lightweight") the official PunBB forum is bulked up with extensions nobody uses which quadruple the generation time and need as many queries as FluxBB/PunBB itself.

It seems to me that PunBB goes the Microsoft-way: Release unstable software(here: extensions) to have more features than the rival and accept that users may make their installation insecure, because they don't see the small "beta" or "insecure" note.


(70 replies, posted in News)

I don't think that FluxBB will unfork/join PunBB until PunBB is independent of Informer again. I am very interested in the future of PunBB and the changes Anatoly announced - up to now PunBB 1.3 RC is simply the code of FluxBB with some copyright infringements.

Well... I took the original RegExp from the PunBB source code, and it doesn't work wink I'd be happy if a PunBB dev would take a look at it smile


(8 replies, posted in PunBB 1.3 troubleshooting)

Yes, I thought the same.. So I created a simple extension.

I chose to remove [ img] and [ url]..

It simply removes BBCodes like

[b] [i] [u] [email][img] [url][ code][ quote]

but leaves the content as it is.. So an image is displayed as url...

I only have one problem with [ url ].... there's a strange bug in the code =/

This extension strips BBCode from search results, displayed "as post".

Due to a strange bug (take a look at source), it doesn't remove [url=http://example.net]-like BBCode. Feedback is desired.

Download here: http://www.punres.org/files.php?pid=497

Sourcecode: (Changed [/ code] and [/ quote ])

include_once PUN_ROOT.'include/parser.php';
$pun_page['message'] = preparse_bbcode($pun_page['message'], $parse_errors);
$pun_page['message'] = str_replace(
        array('[b]', '[/b]', '[i]', '[/i]', '[u]', '[/u]', '[url]', '[/url]', '[email]', '[/email]', '[quote]', '[ /quote ]', '[img]', '[/img]', '[/color]', '[ code ]', '[ /code ]'),
        array('', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),

//why doesn't this work? feedback desired
//$pun_page['message'] = preg_replace( '#\[url=([^\[]*?)\]#e', '$1 ', $pun_page['message']);

$pun_page['message'] = preg_replace( '#\[email=([^\[]*?)\]#', '$1 ', $pun_page['message']);
$pun_page['message'] = preg_replace( '#\[color=([a-zA-Z]*|\#?[0-9a-fA-F]{6})]#s', '', $pun_page['message']);
$pun_page['message'] = preg_replace('#\[quote=("|"|\'|)(.*)\\1\]#seU', 'str_replace(array(\'[\', \'\\"\'), array(\'[\', \'"\'), \'$2\')." ".$lang_common[\'wrote\'] ', $pun_page['message']);


(8 replies, posted in PunBB 1.3 troubleshooting)

intedinmamma wrote:

Wouldn't it be prettier if the BBcode were stripped out?

Yes, that's a pretty good idea.. Hopefully it will be implemented


(8 replies, posted in PunBB 1.3 troubleshooting)

Oh really? Sorry I didn't know, it's kind of a strange behavior to me.. Could you tell me the thought behind it?

Quick bug report:

When displaying the search results as posts, you can see the unparsed content (bb-code).


(151 replies, posted in PunBB 1.3 extensions)

A hook like in_forum_loop_start(index.php) in search.php. If you want to add virtual categories or alter the output of forums/categories, you want them to be displayed/altered on index.php and search.php (Forums to search <select>).

Take a look at l. 1176 of search.php and l. 105 of index.php as reference..


A hook in search.php on l. 693 (just before the query is executed) to enable a general modification of $query


(8 replies, posted in PunBB 1.3 extensions)

Do you really think your planned, overloaded, PunBB will be much faster than IPB? ;-)

Ok, I think I fixed the bug.. Thanks for your cooperation, please try v0.5


Hmm.. strange, SuperMAG. I would like to help you and fix the problem. The only thing you have to do is tell me your $base_url (you find it in config.php):

$base_url = 'http://***';

Yes, you're right. I created an extension for it smile

Big thanks to Neal, who implemented my idea, but there's a tiny mistake of beauty:

It's like that in the code

<meta name="ROBOTS" content="NOINDEX, FOLLOW" />

but afaik it's standard to write it in lowercase, like the following:

<meta name="robots" content="noindex, follow" />

Redirects the user if he/she doesn't access over the standard host, e.g.
Forum installed at: http://example.net/punbb
User requested: http://www.example.net/punbb

As a nice side effect, this extension removes a lot of duplicate content, if search engines crawl your domain twice (with www. and without)

Download: http://www.punres.org/files.php?pid=496

Yeah, you're right.. Strangely, there is no kind of specification for the META-tag out there and each search engine seems to interpret the <meta name="robots"-tag different.. Your idea is better, it's safer to include it, even if some search engine won't understand it - it still should understand the rest of the meta-tag

//edit: could it be possible, that you integrate a redirection (HTTP status code 301 Moved Permanently), when PunBB detects, that it is called from a wrong URL, e.g.

$base_url = 'http://example.net/punbb';

but the requested URL is the following: http://www.example.net/punbb


(7 replies, posted in PunBB 1.3 troubleshooting)

I think it's important that this function is included in the query builder, but it's even more important that the core queries are all provided with a cache-flag to optimize PunBB for systems with an enabled query cache and speed it up on those systems.