1

(2 replies, posted in PunBB 1.3 discussion)

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

(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.

Garciat wrote:

Here's a better way: ... It'll leave a small gap.

For no gap use:

#brd-crumbs-top { display: none; }

I use two of his extensions, many thanks smile

5

(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 smile

6

(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

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.

I deleted the folder and tried again, this time both worked! I must have unzipped them wrongly, anyway thanks big_smile

9

(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 smile

I get the same problem with your Akismet extension which is a shame because they're both very useful. Please advise.

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