51

(12 replies, posted in PunBB 1.2 discussion)

well, i made a test page now, so it's no longer on my site:
http://www.dutcholsentwins.com/test.php
as you see it realy does not work correctly.. the linebreaks work though.. :s

52

(12 replies, posted in PunBB 1.2 discussion)

the message goes through parse_message before i do the output, see my code:

<?

$sql = "SELECT *
        FROM ".$db_prefix."posts as a, ".$db_prefix."topics as b
        WHERE b.forum_id = ".$news_id."
          AND a.topic_id = b.id";
$result = mysql_query($sql) or die ("Error2_main: ".mysql_error()."<p>".$sql);
$smilies = 1;

while ($row = mysql_fetch_array($result)) {
 $message = $row['message'];
 $message = parse_message($message, $smilies);
 print "<p>bericht: ".$message;
}

?>

mmmmmm....

53

(12 replies, posted in PunBB 1.2 discussion)

www.dutcholsentwins.com (scroll down)
the quotes and urls and the B, U etc codes are still not parsed sad

54

(12 replies, posted in PunBB 1.2 discussion)

mmm, i get this error:

Fatal error: Call to undefined function: parse_message() in /home/dolsentw/public_html/index.php on line 193

i have this code right now:

<?

$sql = "SELECT *
        FROM ".$db_prefix."posts as a, ".$db_prefix."topics as b
        WHERE b.forum_id = ".$news_id."
          AND a.topic_id = b.id";
$result = mysql_query($sql) or die ("Error2_main: ".mysql_error()."<p>".$sql);

while ($row = mysql_fetch_array($result)) {
 $message = $row['message'];
 $smilies = 1;
 $message = parse_message($message, $smilies);
}

?>

edit:
changed the include from
include ("http://www.dutcholsentwins.com/forum/nl … parser.php");
to
include ("forum/nl/include/parser.php")';

now i get this error:
Fatal error: Call to undefined function: pun_htmlspecialchars() in /home/dolsentw/public_html/forum/nl/include/parser.php on line 274

55

(12 replies, posted in PunBB 1.2 discussion)

i didn't realy know where to post this, so decided to post it in the PunBB discussions.

What i would like to do is, having a board on the forums for administratos and moderators where they can post messages that will show up on the mainpage of the site as "news". That way it would be very easy to update the news section of the site.

I already have it so that the topics in a certain board are shown on the mainpage. But all those B, U, I, QUOTE etc codes are not yet changed to the html codes etc..
I believe the forums use the parser.php file, am i correct? Is there an easy way to use that same file on the mainpage to change those B, U etc codes to html?

You can take a look here: http://www.dutcholsentwins.com
scroll down to all the messages, it's below the actual layout, so it's kind of messed up now wink
But you'll see what i mean. One of the messages has the

[quote]

code in it.

Thank you,
Jochem.

that's an effective way too smile

57

(4 replies, posted in PunBB 1.2 show off)

no that takes another 4 months wink

58

(4 replies, posted in PunBB 1.2 show off)

noooooooooooo.... why do you think i like them? wink
yeah i do, but not as much as i used to smile

59

(3 replies, posted in PunBB 1.2 troubleshooting)

it's fixed.
i was stupid wink
the problem was, both dutch and english forums uses the same user table. BUT when you logged in on the english forum it searched for the user in the wrong user table. roll

sorry for this topic wink

thanks for the email smile

61

(20 replies, posted in PunBB 1.2 discussion)

and i just installed 1.1.1 roll

62

(3 replies, posted in PunBB 1.2 troubleshooting)

above post edited ^^

i just came here through hotscripts, and didn't even bother looking any further when i found punbb smile

64

(3 replies, posted in PunBB 1.2 troubleshooting)

I have a huge problem.

I have installed punbb twice.
one at http://forum.dutcholsentwins.com/en
and one at http://forum.dutcholsentwins.com/nl

People who register are registered on both forums since they both use the same userdata.
Though people can only login on the 'nl' forum. Not on the 'en' forum.
After they've logged in, they will be redirected, but than they are logged off again.

I can't seem to find the thing that is causing this.

Anyone who might know what could cause this? help would be MUCH appreciated!
Thank you.
Jochem.

65

(4 replies, posted in PunBB 1.2 show off)

Started running PunBB today.
I have installed it twice to keep Dutch and English completely seperate from each other. Both installations use the same user data though. So those who registered on the Dutch forums can also login on the English forums and vice versa.
http://forum.dutcholsentwins.com
Oh and my mainsite is in development, to give it kinda the same looks as the forums: http://www.dutcholsentwins.com

The plan is to make the entire site "members only". Also the mainsite has to use the same user data as the forums. And the image gallery (with almost 8000 images of the Olsen Twins wink) has to use the same user data (will be hard to realize it i think).

MarcB: my email is jochem@dutcholsentwins.com , thank you smile

[offtopic]
oh and who those girls are? they are the Olsen Twins. Started acting when they were 9 months old in the sit-com Full House, and their new feature movie will soon be in theaters in the US smile it's called New York Minute.
poster:
http://www.dutcholsentwins.com/public_images/poster.jpg
[/offtopic]

67

(8 replies, posted in PunBB 1.2 troubleshooting)

thanks, i'll tell them smile

68

(8 replies, posted in PunBB 1.2 troubleshooting)

yeah thank you big_smile

unfortunately...
my forums will open tomorrow, would have been nice if i could implement that mod before i open the forums.
oh well.

70

(8 replies, posted in PunBB 1.2 troubleshooting)

shoot......that's the problem if you are working on it with two people.. the other moved it to another directory! stupid wink

now i use this:
include('http://www.dutcholsentwins.com/punbb/nl/extern.php?action=online');

but get this:

Warning: main(): stream does not support seeking in /home/dolsentw/public_html/heh.php on line 3
Users online: 1
Guests online: 0

see:
http://www.dutcholsentwins.com/heh.php

71

(8 replies, posted in PunBB 1.2 troubleshooting)

yes, i tried that too, doesn't work either..

this:

include('/punbb/extern.php?action=online');

gives:

Warning: main(): open_basedir restriction in effect. File(/punbb/extern.php?action=online) is not within the allowed path(s): (/home:/usr/home:/tmp:/home2/big) in /home/dolsentw/public_html/heh.php on 
line 3

Warning: main(/punbb/extern.php?action=online): failed to open stream: 
Operation not permitted in /home/dolsentw/public_html/heh.php on line 3

Warning: main(): Failed opening '/punbb/extern.php?action=online' for inclusion 
(include_path='.') in /home/dolsentw/public_html/heh.php on line 3

sad

i can't download it sad
the link http://punres.cactuz.nu/download.php?id=35 is not working for me sad

73

(8 replies, posted in PunBB 1.2 troubleshooting)

if i create an empty php page with only this code in it:

include('http://www.dutcholsentwins.com/punbb/extern.php?action=online');

i get these error:

Warning: main(http://www.dutcholsentwins.com/punbb/extern.php?action=online): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /home/dolsentw/public_html/heh.php on line 3

Warning: main(): Failed opening 'http://www.dutcholsentwins.com/punbb/extern.php' for inclusion (include_path='.') in /home/dolsentw/public_html/heh.php on line 3

Does anybody know why i get these errors? I think it has something to do with restrictions on my host? Because on my home pc it works just fine.

thank you.

might have something to do with:

Allow banned e-mail addresses
Allow users to register with or change to a banned e-mail address/domain. If left at it's default setting (yes) this action will be allowed, but an alert e-mail will be sent to the mailing list (an effective way of detecting multiple registrations).

it's under "permissions"
i'm not sure though wink

thank you. found the script in the "script" folder.