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
1 2008-04-12 02:08
Re: feeds to all forum content (56 replies, posted in PunBB 1.3 troubleshooting)
2 2008-03-31 20:28
Re: OLD TOPIC TO DELETE (4 replies, posted in PunBB 1.3 extensions)
Anybody has try my extension ? work? don't work? comments?
3 2008-03-31 02:55
Re: OLD TOPIC TO DELETE (4 replies, posted in PunBB 1.3 extensions)
4 2008-03-06 15:42
Re: newsbot - post RSS news (28 replies, posted in PunBB 1.2 modifications, plugins and integrations)
5 2008-03-01 21:57
Topic: Bug?: viewtopic.php using array_reverse() (1 replies, posted in PunBB 1.3 troubleshooting)
I add a link to array $pun_page['page_post'], but "viewtopic.php" change order with array_reverse() [compare lines 256 vs 504]
6 2008-03-01 01:49
Re: [extension release] reCaptcha v0.1 (11 replies, posted in PunBB 1.3 troubleshooting)
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
7 2008-02-07 16:11
Re: Usability: cursor: pointer; for buttons and inputs (8 replies, posted in PunBB 1.3 troubleshooting)
Change for in buttons(?), labels and clickeable inputs
8 2008-02-05 22:29
Re: moderate forum (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
9 2008-02-05 13:09
Re: why is pundemo.org not updated with the latest dev changes (9 replies, posted in PunBB 1.3 troubleshooting)
% crontab -e
*/5 * * * * svn up public_html/ > /dev/null
10 2008-02-05 12:52
Topic: Extensions and new files (1 replies, posted in PunBB 1.3 troubleshooting)
Where is the best place to put languages files for extensions ?
Candidates:
- 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 ?
11 2008-02-04 01:42
Topic: Error with get_current_url() and https (1 replies, posted in PunBB 1.3 troubleshooting)
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'] : '';
to...
$port = (isset($_SERVER['SERVER_PORT']) && $_SERVER['SERVER_PORT'] != '443' && $_SERVER['SERVER_PORT'] != '80' && strpos($_SERVER['HTTP_HOST'], ':') === false) ? ':'.$_SERVER['SERVER_PORT'] : '';
12 2008-02-03 21:00
Topic: [extension release] reCaptcha v0.1 (11 replies, posted in PunBB 1.3 troubleshooting)
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
13 2008-02-01 20:30
Re: Extension Development Mini Primer (12 replies, posted in PunBB 1.3 troubleshooting)
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
Work with install/uninstall extension, but don't width enable/disable.
14 2008-01-19 16:07
Re: [1.3] Simple configuration for extensions (6 replies, posted in Feature requests)
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 ?
15 2008-01-19 15:41
Topic: [1.3] Simple configuration for extensions (6 replies, posted in Feature requests)
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.
<configuration>
<description><![CDATA[
echo 'This extension blah blah blah'
]]></description>
<input name="name1" text="Name 1" require="require" />
<input name="name2" text="Name 2" />
</configuration>
Sorry for my english
16 2007-05-01 20:04
Re: Feed Aggregator Plugin 1.0 (30 replies, posted in PunBB 1.2 modifications, plugins and integrations)
now my question is can u design a prune function for these forums say after 40 they are deleted? or something like that.
Q
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
17 2007-04-18 21:46
Re: Feed Aggregator Plugin 1.0 (30 replies, posted in PunBB 1.2 modifications, plugins and integrations)
what do i have to do if im upgrading? replace the files?
Q
yes, just replace fa_cron.php, others files are intact.
18 2007-04-18 08:01
Re: Feed Aggregator Plugin 1.0 (30 replies, posted in PunBB 1.2 modifications, plugins and integrations)
maximun, you are absolutely right. I published a new version with several fixes. Sorry for problems
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
19 2007-04-13 17:42
Topic: Feed Aggregator Plugin 1.0 (30 replies, posted in PunBB 1.2 modifications, plugins and integrations)
##
##
## 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
20 2007-04-11 17:58
Re: PunBB 1.2.15 (98 replies, posted in News)
you forgot to update http://punbb.org/latest_version
21 2007-03-24 20:31
Re: HTML mod - safe ? (23 replies, posted in PunBB 1.2 discussion)
...
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.
22 2007-02-25 01:28
Re: Is there a way...? (4 replies, posted in PunBB 1.2 discussion)
change header.php, line 185
if ($pun_config['o_announcement'] == '1')
for
if ($pun_config['o_announcement'] == '1' && $pun_user['is_guest'] )
23 2005-12-29 13:13
Re: The CSS method Resize : great (3 replies, posted in General discussion)
I don't get it, too...
With Opera all images look fine