1,526

(27 replies, posted in PunBB 1.2 discussion)

Figured that file dump bit. big_smile 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

(5 replies, posted in PunBB 1.2 discussion)

http://punbb.org/docs/dev.html#dbtables

1,528

(27 replies, posted in PunBB 1.2 discussion)

Paul wrote:

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). big_smile. 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. smile

1,529

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

http://forums.bauchan.org/testforum/forums.php

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

It works fine with both php4/5, so that shouldn't be a problem. (Host induced problems not included). big_smile

No probs. If you're stuck, just post up a copy of each file you've altered.

Your problem isn't with that file you posted. It throws no such error here.

The Wicked Flea wrote:

I didn't know that difference comparison varied between OSes. big_smile  (I have and use both Linux and Windows XP, really.)

It doesn't. I just have an extremely modified PunBB install. big_smile

The Wicked Flea wrote:

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?

The Wicked Flea wrote:

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. big_smile Besides, Windoze tools are fairly useless on a *nix system. big_smile

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.

It works perfectly well with 1.2.15. What do your logs say?

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

(2 replies, posted in Programming)

Cheers. Thought that was the case. smile

Thanks again,

Matt

1,540

(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, big_smile have I missed something blindingly obvious, or would I need to incorporate an additional db query to achieve that?


Cheers,

Matt

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

(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

StevenBullen wrote:

Erm... boxes in boxes? looks kinda weird

Aye. big_smile I know that's one of my weird quirks, and I'm almost sure I had a good reason for it at the time. big_smile 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. big_smile

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

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). big_smile

1,546

(4 replies, posted in Feature requests)

Search over on punres. There's a mod for it.

1,547

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

1,548

(38 replies, posted in PunBB 1.2 bug reports)

Smartys wrote:

However, as you might have guessed, we're looking for a bit more robust solution than that tongue

Aye. That's why I made sure I mentioned the hackish temporary put on bit with the hack question. big_smile

I'll focus my attention back on the definitions bit then. smile

Cheers again,

Matt

1,549

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

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

quaker wrote:

mattf, i download it and running it localhost.. seem to very simple.. but it is not punbb..haha

It's not intended to be. big_smile 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.