That'd be using the same method as you suggested, ( and which I did implement, cheers again for that advice, ), for the download mod to cater for multiple download locations, would it not?
552 2008-04-27 19:48
Re: PHP Image retrieval efficient (10 replies, posted in Programming)
If it's any use, that'd probably be the way I'd do the same.
553 2008-04-27 19:44
Re: Using the login system of PunBB. (14 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Okay, i see. I've corrected the code:
<? if($_GET['section'] != board) { define('PUN_TURN_OFF_MAINT', 1); define('PUN_QUIET_VISIT', 1); define('PUN_ROOT', './board/'); require PUN_ROOT.'include/common.php'; } ?>
But now, when I try to open index.php?section=board, the following error appears:
Warning: require() [function.require]: Unable to access ./include/common.php in /srv/www/httpd/phost/d/de/pytalhost/dav/web/ema09/board/index.php on line 27
Warning: require(./include/common.php) [function.require]: failed to open stream: No such file or directory in /srv/www/httpd/phost/d/de/pytalhost/dav/web/ema09/board/index.php on line 27
That error message and the defined path in that code above would appear to be contradictory.
554 2008-04-27 11:17
Re: Using the login system of PunBB. (14 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Only include/require common.php once. Require it in the parent script alone, and not in the required/included script.
555 2008-04-27 11:01
Re: PostgreSQL warnings in log (17 replies, posted in PunBB 1.2 troubleshooting)
May be useful in regards to debugging:
556 2008-04-25 12:45
Re: PostgreSQL warnings in log (17 replies, posted in PunBB 1.2 troubleshooting)
If I remember correctly, it's due to some mod using addslashes instead of db->escape. PgSQL is very strict by default. Do you have the PM mod installed, perchance?
557 2008-04-21 19:26
Re: Adress change error (8 replies, posted in PunBB 1.2 troubleshooting)
Just modifying the value won't work, you have to move the files too.
That helps too.
558 2008-04-21 19:20
Re: Adress change error (8 replies, posted in PunBB 1.2 troubleshooting)
Delete the php files in the cache dir once you have updated the setting.
559 2008-04-20 23:37
Re: got an error (17 replies, posted in PunBB 1.3 troubleshooting)
I would guess its BBCode Bar
Don't guess. Disable them one by one until the problem disappears. You then know which one is causing the problem.
560 2008-04-19 15:24
Re: [Extension Release] Newsletter for 1.3 (24 replies, posted in PunBB 1.3 extensions)
This is something i've been very curios about for very long.
A lot of other software comes with a newsletter feature, i think that should be officiall supporteb by punbb, a suported extension maybe.
Does anybody has knowledge of how this is done in other software?
There's the broadcast e-mail plugin for 1.2*. Same as.
561 2008-04-19 15:22
Re: [Extension Release] Newsletter for 1.3 (24 replies, posted in PunBB 1.3 extensions)
If you're going to use sleep to pause it, it might be worthwhile chunking them then pausing, i.e: sending 25 then pausing, sending another 25 and pausing, etc. If not, it'll take a coons age on a large userbase, and most likely get timed out.
562 2008-04-19 13:14
Re: viewtopic.php - Cache avatar? (17 replies, posted in PunBB 1.3 troubleshooting)
Another of my muppet moments. The penny never dropped when looking at the code.
563 2008-04-19 12:56
Re: viewtopic.php - Cache avatar? (17 replies, posted in PunBB 1.3 troubleshooting)
Just out of curiosity, with regards to this in 1.2*, where is the sig caching done? Just grepped for it, and all I found were these three lines:
viewtopic.php:303: if (isset($signature_cache[$cur_post['poster_id']]))
viewtopic.php:304: $signature = $signature_cache[$cur_post['poster_id']];
viewtopic.php:308: $signature_cache[$cur_post['poster_id']] = $signature;
564 2008-04-19 10:15
Re: Wanting opinions, (again). :D (13 replies, posted in General discussion)
Okey dokey. Managed to appropriate an icon which didn't rescale too badly. What's the opinion on the first icon in that post above?
565 2008-04-18 13:06
Re: 101 mag pun +pe (3 replies, posted in PunBB 1.2 show off)
Work fine on K-Meleon too.
566 2008-04-18 13:04
Re: Using the login system of PunBB. (14 replies, posted in PunBB 1.2 modifications, plugins and integrations)
567 2008-04-18 13:01
Re: ForumPassat.fr (24 replies, posted in PunBB 1.2 show off)
Personally, not fussed on it. I'm not a fan of these minimalistic layouts. I like tables to look like tables, with each part perfectly sectioned from the next.
568 2008-04-18 12:58
Re: ForumPassat.fr (24 replies, posted in PunBB 1.2 show off)
People should update to IE7 or Firefox. IE6 is outdated. I'm not going to support IE6 anymore on my website.
Smart move. What happens to anyone using <XP?
569 2008-04-18 11:38
Re: PunBB 1.2.17 and plugins (8 replies, posted in PunBB 1.2 modifications, plugins and integrations)
570 2008-04-18 11:18
Re: online today mods problem (21 replies, posted in PunBB 1.2 troubleshooting)
For christs sake, how many times do you need to be told that it's perfect for everyone else? It's fine. There is no problem. It's displaying correctly. It's pointing in the direction it should. It's not wrong. Check from another machine.
571 2008-04-18 11:14
Re: Wanting opinions, (again). :D (13 replies, posted in General discussion)
Well, decided to call it a day with the html2pdf, and switched over to TCPDF. Output is nowhere near as pretty, (doesn't have the CSS support), but by christ, it's a damned sight less flaky than the previous software/parser. When it decided to work smoothly, it could easily ramp up stupid amounts of memory whilst parsing/processing. Set the PHP mem limit upto 256MB at one point, and it still ditched. So, thought sod that for a lark and switched. This one, (http://www.tecnick.com/public/code/cp_d … p_dp=tcpdf), is far less intensive, but still has a fairly straight forward API that doesn't require cartloads of cryptic pointers.
572 2008-04-17 23:24
Re: Tracking Users (6 replies, posted in PunBB 1.2 troubleshooting)
understand that... but it would help in the beginning.. and with some modding to the online.php it could show sometype of tracking for each user.
By the sounds of what the OP wants, it would need something more along the lines of proper db tracking entries.
573 2008-04-16 16:01
Re: Wanting opinions, (again). :D (13 replies, posted in General discussion)
Same topic, slightly different question. I've implemented caching on the pdf feed now. Any chance someone could double check it's feeding okay, not corrupting, etc? Working fine from this end, but ne'er hurts to double check. First click on the pdf icon now creates the cache and feeds from it, and the second click just feeds directly from the cached copy unless the thread/article has been updated.
574 2008-04-16 13:57
Re: About Sticky (3 replies, posted in PunBB 1.2 discussion)
You're either not logged in as admin, you're logged in as a mod with no mod rights on that forum or you've edited and mucked up the code.
575 2008-04-16 13:01
Re: Navigation Menu Problem *IE* (8 replies, posted in PunBB 1.2 troubleshooting)
What CSS do you have for the hover? Colouring/shading is the same as for button hover in I.E, (which almost isn't there in Moz), so I'd personally look there.