Figured that file dump bit. I'd used the wrong content type header in the script. It's now dumping as text/xml when you click on the icon, the same as RSS does.
1,527 2007-09-20 19:01
Re: punbb db tables (5 replies, posted in PunBB 1.2 discussion)
1,528 2007-09-20 18:50
Re: Atom feed generator (27 replies, posted in PunBB 1.2 discussion)
In IE it just prompts me to download the file atom.php.
Every atom feed I've tried so far does that, (including this one). . You have to drag the icon, (or add the feed address manually), into the reader. Firefox does exactly the same. I'm still trying to figure out whether that is how it should behave, or whether there's another header type needs adding, or suchlike. That php file it prompts one to download is actually the output of the generator, and not the script itself.
1,529 2007-09-20 15:51
Re: Atom feed generator (27 replies, posted in PunBB 1.2 discussion)
Well, couldn't find naff all else in the way of Atom generators, so adapted that RSS generator off the A.K site. It's passed the output validation tests too. With it being based on that code, it has the same category/forum/topic specific abilites. Sorted the non guest forum problem that caused a parser error to come up in the reader whilst I was at it. It just outputs a standard no alterations feed page now instead of dumping out rather ungracefully, as in the original RSS script. So......, what's the opinion? (It's the green icon for Atom, btw).
1,530 2007-09-19 17:02
Re: Sub Forum Mod 1.0 (128 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Just out of curiosity, have I modded this to a degree where I've accidentally bypassed something, or does this sub forum mod not actually check forum read permissions on child/sub forums? Just downloaded the original code to have a check, and I can't see the read_forum perms check in that, either, (although I could just have missed it), with regards to the viewforum.php subforum listing.
Cheers,
Matt
1,531 2007-09-19 16:57
Re: Sub Forum Mod 1.0 (128 replies, posted in PunBB 1.2 modifications, plugins and integrations)
It works fine with both php4/5, so that shouldn't be a problem. (Host induced problems not included).
1,532 2007-09-19 15:42
Re: Sub Forum Mod 1.0 (128 replies, posted in PunBB 1.2 modifications, plugins and integrations)
No probs. If you're stuck, just post up a copy of each file you've altered.
1,533 2007-09-19 15:29
Re: Sub Forum Mod 1.0 (128 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Your problem isn't with that file you posted. It throws no such error here.
1,534 2007-09-19 15:26
Re: Sub Forum Mod 1.0 (128 replies, posted in PunBB 1.2 modifications, plugins and integrations)
I didn't know that difference comparison varied between OSes. (I have and use both Linux and Windows XP, really.)
It doesn't. I just have an extremely modified PunBB install.
1,535 2007-09-19 14:55
Re: Sub Forum Mod 1.0 (128 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Even on *nix you can diff something pretty readily though.
You can't nick parts from a Mini to repair a Jaguar. That's about as much use as me diff'ing against your file would be.
Again, have you modified footer.php? Have you tried putting a closing tag in the viewforum.php script?
1,536 2007-09-19 14:20
Re: Sub Forum Mod 1.0 (128 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Please use X-WinMerge (Freeware) and compare my file (above) against yours. Maybe I have it right and need to revert to PHP4.
Trust me, your viewforum.php file would be nothing like mine. Besides, Windoze tools are fairly useless on a *nix system.
That output is from footer.php. Have you made any alteration in there? If not, (and can't see why it would suddenly start causing problems), just try adding ?> on a new line at the end of your viewforum.php file.
1,537 2007-09-19 13:09
Re: Sub Forum Mod 1.0 (128 replies, posted in PunBB 1.2 modifications, plugins and integrations)
It works perfectly well with 1.2.15. What do your logs say?
1,538 2007-09-19 12:52
Re: Integrating a flash movie in main.tpl (10 replies, posted in PunBB 1.2 troubleshooting)
Have you plonked it in object tags?
You need something like the following, (minimum), for both FF and IE to be happy with Flash:
<object type="application/x-shockwave-flash" data="<?php echo $pun_config['o_base_url'] ?>/[path/to/file].swf" width="[your width]" height="[your height]">
<param name="movie" value="<?php echo $pun_config['o_base_url'] ?>/[path/to/file].swf" />
</object>
1,539 2007-09-19 12:47
Re: Checking guest perms (2 replies, posted in Programming)
Cheers. Thought that was the case.
Thanks again,
Matt
1,540 2007-09-19 03:22
Topic: Checking guest perms (2 replies, posted in Programming)
I know I'm probably missing the blatantly obvious somewhere, but is there an already existing lookup to check the guest read perms of a board/forum. I know there's the $pun_user['is_guest'], the $pun_user['g_read_board'] vars, but there doesn't seem to be a generic way, (already there), for checking guest read perms, without a user actually being classed as a guest to use the $pun_user reference point. If that makes sense, have I missed something blindingly obvious, or would I need to incorporate an additional db query to achieve that?
Cheers,
Matt
1,541 2007-09-18 16:13
Re: Error: Unable to fetch user group list. (21 replies, posted in PunBB 1.2 troubleshooting)
When you installed PunBB, you went to the page: [http://your.domain/]install.php, and did the install. Right. Well now go to: [http://your.domain/]install_mod.php with your browser and click the install button.
1,542 2007-09-18 15:52
Topic: Atom feed generator (27 replies, posted in PunBB 1.2 discussion)
Just another quickie. Have setup a RSS feed no probs, but tried the only Atom mod I could find, punatom, and the reader, Sage for FF, doesn't seem happy with it's output. So, is there a working Atom feed creator script knocking about for PunBB, or is it the FF Sage plugin just being tetchy?
Cheers,
Matt
1,543 2007-09-17 16:58
Re: Time to feed myself to the wolves again. :D (12 replies, posted in PunBB 1.2 show off)
Erm... boxes in boxes? looks kinda weird
Aye. I know that's one of my weird quirks, and I'm almost sure I had a good reason for it at the time. That one was just down to grouping. For some reason, it just seemed to look better with the boxes within a containing box, rather than separate. Either that or I do just have naff taste.
1,544 2007-09-17 15:53
Re: Time to feed myself to the wolves again. :D (12 replies, posted in PunBB 1.2 show off)
Just on the off chance, Paul and Jeremie. Any chance you two might cast an eye over the styling, with regards to the html/css side of things. Just asking because I know you two have the most critical eye of any mistakes or possible pitfalls. Main thing I want this theme to achieve is usability and clarity with lack of excess bumph. (I know the software link logos detract from that philosophy, but I want to leave those in place, as a courtesy).
Cheers hopefully in advance,
Matt
1,545 2007-09-17 15:44
Re: Design Faction - A place for moderately good graphic designers (9 replies, posted in PunBB 1.2 show off)
Minimal can be done with class. Contrasting visibility and cartloads of eye candy are two very different things. Speed should be foremost, with content built for speed. Merely using two colours that distinguish well against each other is far preferable to cartloads of imagery or snazzery. (And yup, I know that's not a real word).
1,546 2007-09-16 17:16
Re: Sub-forums (4 replies, posted in Feature requests)
Search over on punres. There's a mod for it.
1,547 2007-09-15 18:27
Re: Punbb And Arabic (3 replies, posted in PunBB 1.2 troubleshooting)
I may be completely wrong, but looking at that example, I'd say it's the:
pun_htmlspecialchars($pun_config['o_board_title'])
bit at work on that.
1,548 2007-09-15 17:01
Re: Double posts and online users (38 replies, posted in PunBB 1.2 bug reports)
However, as you might have guessed, we're looking for a bit more robust solution than that
Aye. That's why I made sure I mentioned the hackish temporary put on bit with the hack question.
I'll focus my attention back on the definitions bit then.
Cheers again,
Matt
1,549 2007-09-15 16:44
Re: Double posts and online users (38 replies, posted in PunBB 1.2 bug reports)
Cheers for that info on definitions. Been trying to get my head round the specifics but failing miserably upto just.
Did set me off wondering if something along the lines of the following may work as a temporary fix though, (albeit in a dirty hack type fashion). Encapsulating the default sql line(s) within functions.php with the following, or something like:
default:
$online = $db->query('SELECT '.$pun_user['id'].' FROM '.$db->prefix.'online');
if (!$db->fetch_assoc ($online))
{
[db query/insert line here]
break;
}
Would something along those lines work, as a put on?
Cheers all,
Matt
1,550 2007-09-14 22:26
Re: New frontpage index mod! (188 replies, posted in PunBB 1.2 modifications, plugins and integrations)
mattf, i download it and running it localhost.. seem to very simple.. but it is not punbb..haha
It's not intended to be. As I mentioned though, for some reason I've taken a good old shine to it, and it does what it's designed for extremely well.