I haven't studied the PunBB source but in theory it should be fairly straightforward. Instead of saving and reading code from a dynamically generated PHP array it would be written to file with a unique path name.
2 2009-04-07 09:56
Topic: From eval to include (2 replies, posted in PunBB 1.3 discussion)
I noticed that PunBB uses eval() for extension hooks. Would it be better for performance to save code to file and include them. This would be better for PHP cachers and optimisers as they don't work on dynamic code.
3 2009-01-04 17:38
Re: How to turn off brd crumbs EITHER at top or bottom (12 replies, posted in PunBB 1.3 discussion)
Here's a better way: ... It'll leave a small gap.
For no gap use:
#brd-crumbs-top { display: none; }
4 2008-12-13 14:24
Re: [encouragement] 3 cheers for Garciat (12 replies, posted in PunBB 1.3 extensions)
I use two of his extensions, many thanks
5 2008-12-05 10:54
Re: [Release] Oxygen_WS Style (9 replies, posted in PunBB 1.3 additions)
Your version does look good in its own way, in particular I like the blue block in the end of the page which compliments the header. I'm glad you've released it because the current selection for v1.3 as you said is very small. I just posted those instructions for people who wanted to modify Oxygen
6 2008-12-04 22:49
Re: [Release] Oxygen_WS Style (9 replies, posted in PunBB 1.3 additions)
Looks good, but you can easily modify the default Oxygen theme to support wide screen and retain the original border colours etc.:
Open Oxygen.css
Look for class .brd { ... }
In this definition remove the rules max-width and padding including their values (from : to ;)
Also change the width value from 90% to 100%
Add #brd-main{width:90%;margin:auto;} to the end of the file
7 2008-12-04 16:30
Re: [Extension Request] Hide links or links permissions (3 replies, posted in PunBB 1.3 extensions)
Sorry for bumping an old topic but I think this is an excellent idea. It will deter spammers from linking to bad sites which could ruin your search engine rankings (Google penalizes you for linking to warez or porn sites) or from competitors who want to steal your traffic.
8 2008-12-04 16:13
Re: [Release] Easy Google Analytics (14 replies, posted in PunBB 1.3 extensions)
I deleted the folder and tried again, this time both worked! I must have unzipped them wrongly, anyway thanks
9 2008-12-04 13:45
Re: Default 1.3 theme (52 replies, posted in PunBB 1.3 additions)
I actually prefer the current Oxygen theme, but whatever, as long as they're XHTML and CSS valid
10 2008-12-04 13:05
Re: [Release] Easy Google Analytics (14 replies, posted in PunBB 1.3 extensions)
I get the same problem with your Akismet extension which is a shame because they're both very useful. Please advise.
11 2008-11-29 01:43
Re: [Release] Akismet Spam Protection (31 replies, posted in PunBB 1.3 extensions)
I put this on a clean PunBB 1.3.1 install and get this:
Warning: include(../extensions/akismet/lang/English/akismet.php) [function.include]: failed to open stream: No such file or directory in /var/www/vhosts/---.net/httpdocs/discuss/admin/extensions.php(664) : eval()'d code on line 246
Warning: include(../extensions/akismet/lang/English/akismet.php) [function.include]: failed to open stream: No such file or directory in /var/www/vhosts/---.net/httpdocs/discuss/admin/extensions.php(664) : eval()'d code on line 246
Warning: include() [function.include]: Failed opening '../extensions/akismet/lang/English/akismet.php' for inclusion (include_path='.:') in /var/www/vhosts/---.net/httpdocs/discuss/admin/extensions.php(664) : eval()'d code on line 246
Edit: now fixed