1

(16 replies, posted in PunBB 1.2 show off)

is zoey based on that design from oswd.org called no5?

2

(5 replies, posted in PunBB 1.2 show off)

sehr schön gemacht. wink

i don't know in 1.2, but in 1.15 it was like this:

require 'config.php';
require 'include/common.php';
...
if ($cookie['is_guest']) message($lang_common['No permission']);

(as posted earlier)
this is assuming, that your upload.php is in your punbb-directory.

oh, sorry. didn't get that.

ahm, here's a little bug (?):
with mozilla firefox 1.0 (and firebird 0.61), try to open the help page using the radium theme.
the backgroud of the boxes is a light grey and the text is unreadable.

6

(13 replies, posted in Feature requests)

But when the installer does this all automatically you must delete him, so the config file isn't overwritten and therefore you must still use your ftp-programe.

well, this is a local ip.
are you behind a router, proxy or any other type of gateway?

Use my first code. It will (hopefully) work.

At the beginning add:

<?php
require "../forum/config.php";
require "../forum/include/functions.php";
require "../forum/include/parser.php";
ob_start(parse_message);
?>

finally add at the end:

<?php
print parse_message(ob_get_contents(), '1');
ob_end_clean();
?>

And remeber to fix the do_smilies() function like zaher said.


EDIT: hm. didn't do it. i'll have to look at it sometimes later.
EDIT: Found another. parse_message() requires 2 arguments!  (2nd says wether to use smilies ('1') or not ('0') )
EDIT: Found some other conflicts: parse_message() uses pun_htmlspecialchars(), which destroyes your markup [replaces "<" with "<" for example] also there are many references to "$pun_config" which is a value coming out of the database. Seems a bit tricky.

Whoops.
Try using ob_start("parse_message");

Don't know if that was the failure.
Didn't use PHP for some time. big_smile

I'll test it out locally too, to see if it works.

What version of PHP do you have btw.?
ob_start is available from 4 and up afaik.

Didn't test this out. Hope it works.

-----

BTW: You can also use something like this:

at the beginning:

<?php
require "../forum/config.php";
require "../forum/include/functions.php";
require "../forum/include/parser.php";
ob_start("parse_message");
?>

Then put your document in here and at at the bottom:

<?php
ob_end_flush();
?>

[ I think in this case you won't need the ob_end_flush() thingy, so including the code above in your config.inc would be enough]

(Didn't test this either...)

see this: http://de3.php.net/manual/en/ref.outcontrol.php big_smile

put in your php-scripts (at the beginning) something like:

<?php
require "../forum/config.php";
require "../forum/include/functions.php";
require "../forum/include/parser.php";
ob_start();
?>

Then put your document in here and at at the bottom:

<?php
print parse_message(ob_get_contents());
ob_end_clean();
?>

you can also write
DEFINE("PUN",TRUE);
at the beginning of your PHP-Script (where you include parser.php)

looks nice. wink

14

(277 replies, posted in PunBB 1.2 discussion)

hm. whats the value of $language in your config.php?
maybe it has no value or it is overwritten by a mod somewhere?

15

(82 replies, posted in General discussion)

Hey, there is Firefox version for an USB-Stick.
Found it very useful. (Having an own, customized browser at School)
http://johnhaller.com/jh/mozilla/portable_firefox/

maybe add something like

require 'config.php';
require 'include/common.php';
...
if ($cookie['is_guest']) message($lang_common['No permission']);

?

17

(27 replies, posted in General discussion)

punbb.com
is for sell on sedo.de, a platform for parking/selling domains.
sounds weird.
it was register only for one purpose: to sell it. big_smile


THAT'S STRANGE:
http://www.sedo.com/search/details.php4 … mmy2=14227

Offer comprises:     
Domain Name punbb.com without content.
Description: punbb a small fast bulleting board

I don't think they are allowed to do that. are they?

18

(4 replies, posted in PunBB 1.2 discussion)

punres.org is still in development, i think.
my suggestion is to look both here and on punres.org.

19

(200 replies, posted in General discussion)

Email is send.
Thanks!

(I send it to snapsolutions. But thanks anyway, connorhd wink )

20

(200 replies, posted in General discussion)

i don't know your emailadress. big_smile
btw: what information do you need?

but I'm interested. big_smile

21

(7 replies, posted in PunBB 1.2 discussion)

bobitt wrote:

Connorhd: yep thats what i mean

Johi: I want the links in categories and easy to find. I also want users t ohave a good overlook on the number of links posted, thats why i can´t really use the forum for it...

makes sense. big_smile sorry.

22

(7 replies, posted in PunBB 1.2 discussion)

why don't post the links in threads so users can anwer and so on.
I don't see the connection between a Forum and a link-page.
(Well, there _is_ a connection though. The answering.)

23

(36 replies, posted in PunBB 1.2 discussion)

cool. like it that way. there are only some bugs, but you already have them in your list. big_smile
[edit]
what css-class did you use?
[/edit]

BTW: When there's only one forum in a category and this forum is "hidden". Is the category still shown?

25

(0 replies, posted in Feature requests)

My feature request for 1.2: (It's not that important, but would be pretty useful)

Why don't highlight the term searched for as google does on it's cached pages?
Perhaps you could also have a look at this article at aLa: http://alistapart.com/articles/searchhighlight/ which describes some techniques to do it.

Oh sorry, i misstiped something when i searched for "highlight" so i didn't get that we had such a discussion already. sorry.
http://punbb.org/forums/viewtopic.php?id=3970

You can delete this topic if you would.