(56 replies, posted in PunBB 1.3 troubleshooting)

I made an experimental extension of user's feeds with in-url key for authentification, take a look...
https://adi.ing.uchile.cl/~mortega/punb … _feeds.zip


(4 replies, posted in PunBB 1.3 extensions)

Anybody has try my extension ? work? don't work? comments? tongue


(4 replies, posted in PunBB 1.3 extensions)

https://adi.ing.uchile.cl/~mortega/punb … on_dev.zip


I add a link to array $pun_page['page_post'], but "viewtopic.php" change order with array_reverse() [compare lines 256 vs 504]

Notice: Undefined index: recaptcha_private_key in /home/kierowni/public_html/pundemo/admin/options.php(214) : eval()'d code on line 6

Notice: Undefined index: recaptcha_public_key in /home/kierowni/public_html/pundemo/admin/options.php(214) : eval()'d code on line 7

Solved smile http://www.punres.org/files.php?pid=475

Change http://z.about.com/d/webdesign/1/0/7/I/1/cursor_default.gif for http://z.about.com/d/webdesign/1/0/5/I/1/cursor_pointer.gif in buttons(?), labels and clickeable inputs


(9 replies, posted in PunBB 1.3 troubleshooting)

mmm there is a problem in style/Oxygen/Oxygen.css, line 674

width: 50%;

Removing this line, column reapears neutral

% crontab -e
*/5 * * * * svn up public_html/ > /dev/null



(1 replies, posted in PunBB 1.3 troubleshooting)

Where is the best place to put languages files for extensions ?

- PUN_ROOT/lang/<language>/<extension id>.php <--- more adecuate to actual folder structure
- PUN_ROOT/extension/<extension id>/lang/<language>/<extension id>.php  <--- extension works out-of-the-box, clean uninstall
- other ?

Imagine the same question with CSS's, images, etc. What do you think ?

get_current_url() always append port number to URL ( Ex: https://server:443/page.php ) and make fail CSRF confirmation.

Changing include/functions.php, line 2025 should be solve the problem.

$port = (isset($_SERVER['SERVER_PORT']) && $_SERVER['SERVER_PORT'] != '80' && strpos($_SERVER['HTTP_HOST'], ':') === false) ? ':'.$_SERVER['SERVER_PORT'] : '';


$port = (isset($_SERVER['SERVER_PORT']) && $_SERVER['SERVER_PORT'] != '443' && $_SERVER['SERVER_PORT'] != '80' && strpos($_SERVER['HTTP_HOST'], ':') === false) ? ':'.$_SERVER['SERVER_PORT'] : '';

Just playing with amazing extension system, I made "reCaptcha extension" who adds a reCaptcha box to the registration form, for prevent robot's registrations.

Experimental version, i need HELP with english texts !!!
Unzip in extensions folder and install. http://www.punres.org/files.php?pid=475

I made a very-dirty-ugly-don't-use-it (tm) version of this extension for... fun?

https://adi.ing.uchile.cl/~mortega/punb … on_dev.zip tongue

Work with install/uninstall extension, but don't width enable/disable.

sad Ok, let me refrase the question...
I have an extension who needs 2 values setting by user (the default value is set by extension, with install/uninstall feature, of course).

Where is the best place to put such configuration page ?

There is any possibility of an automatic configuration page with pairs name/value to be written in "config" table ?

I'm thinking something like this (view code) in manifest.xml, for simple extensions. More complex extensions should be generate their own configuration page.

echo 'This extension blah blah blah'
   <input name="name1" text="Name 1" require="require" />
   <input name="name2" text="Name 2" />

Sorry for my english tongue

quaker wrote:

now my question is can u design a prune function for these forums say after 40 they are deleted? or something like that.

Hi! I made a "bypass" for admin_prune.php script. Save it as "ap_prune.php" in "plugins/" folder

// Config
$prune_days = 30;
$prune_sticky = 1;
$prune_from = 'all'; // use forum id or 'all'

// --------------------------------------
define('PUN_ROOT', '../');
@include_once PUN_ROOT.'cache/cache_config.php';
$_SERVER = array( 'HTTP_REFERER' => $pun_config['o_base_url'].'/admin_prune.php' );
$_POST = array(
    'prune_days' => $prune_days,
    'prune_sticky' => $prune_sticky,
    'prune_from' => $prune_from,
    'prune_comply' => 'Prune'
$_GET = array( 'action' => 'foo' );
require( '../admin_prune.php' );

And add a cronjob with

*/30 * * * * /usr/bin/wget -O - -q <<<base url>>>/plugins/ap_cron.php
quaker wrote:

what do i have to do if im upgrading? replace the files?


yes, just replace fa_cron.php, others files are intact.

maximun, you are absolutely right. I published a new version with several fixes. Sorry for problems sad

But, I still have a problem with entity encode/decode... SimplePie always convert entities like & #8217; into , but PunBB don't recognized them as valid sad

##        Mod title:  Feed Aggregator
##      Mod version:  1.0
##   Works on PunBB:  1.2.4
##     Release date:  2007-04-12
##           Author:  Manuel Ortega (manuel@ortega.cl)
##      Description:  Add post automatically via RSS /Atom
##   Affected files:  no
##       Affects DB:  yes
##            Notes:  Use SimplePie (http://simplepie.org) and crontab
##    Installation:
##                     - Copy all files to plugins/ folder
##                     - Go to Administration -> Plugins / Feed Aggregator
##                     - Click Install button
##       DISCLAIMER:  Please note that "mods" are not officially supported by
##                    PunBB. Installation of this modification is done at your
##                    own risk. Backup your forum database and any and all
##                    applicable files before proceeding.

Screenshot: http://www.punres.org/files/projects/pr … enshot.png
Demo: http://adi.ing.uchile.cl/~mortega/punbb … m.php?id=2
Download: http://www.punres.org/files.php?pid=373

sorry for my english tongue


(98 replies, posted in News)

you forgot to update http://punbb.org/latest_version  tongue


(23 replies, posted in PunBB 1.2 discussion)

play75010 wrote:

PS: [youtube]...[/youtube], [google, etc. are already in place but the users of my website just don't understand how to use them. So allowing copy/paste <embed> and <object> is the only solution I can think of.

I made a "mod"-javascript solution to this.
My users just write the link to the video and javascript transform to the <object>.
Works width YouTube, Metacafe, Google Video, iFilm, Revver and Bolt.



(4 replies, posted in PunBB 1.2 discussion)

change header.php, line 185

if ($pun_config['o_announcement'] == '1')


if ($pun_config['o_announcement'] == '1' && $pun_user['is_guest'] )


(3 replies, posted in General discussion)

I don't get it, too...

With Opera all images look fine tongue