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
51 2004-02-15 19:34
Re: show post on mainsite (12 replies, posted in PunBB 1.2 discussion)
52 2004-02-15 14:18
Re: show post on mainsite (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 2004-02-15 13:13
Re: show post on mainsite (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
54 2004-02-15 12:54
Re: show post on mainsite (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 2004-02-15 11:06
Topic: show post on mainsite (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
But you'll see what i mean. One of the messages has the
[quote]
code in it.
Thank you,
Jochem.
56 2004-02-15 10:58
Re: Where did all the people come from? (14 replies, posted in General discussion)
that's an effective way too
57 2004-02-15 10:55
Re: DOT's forums (4 replies, posted in PunBB 1.2 show off)
no that takes another 4 months
58 2004-02-14 13:11
Re: DOT's forums (4 replies, posted in PunBB 1.2 show off)
noooooooooooo.... why do you think i like them?
yeah i do, but not as much as i used to
59 2004-02-14 13:10
Re: people can not login (3 replies, posted in PunBB 1.2 troubleshooting)
it's fixed.
i was stupid
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.
sorry for this topic
60 2004-02-14 12:24
Re: Extended Forum Access Mod 1.1 by Cactuz (33 replies, posted in PunBB 1.2 modifications, plugins and integrations)
thanks for the email
61 2004-02-14 11:00
Re: 1.1.2 or not? (20 replies, posted in PunBB 1.2 discussion)
and i just installed 1.1.1
62 2004-02-14 10:51
Re: people can not login (3 replies, posted in PunBB 1.2 troubleshooting)
above post edited ^^
63 2004-02-14 10:35
Re: Where did all the people come from? (14 replies, posted in General discussion)
i just came here through hotscripts, and didn't even bother looking any further when i found punbb
64 2004-02-14 09:40
Topic: people can not login (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 2004-02-14 09:22
Topic: DOT's forums (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 ) has to use the same user data (will be hard to realize it i think).
66 2004-02-14 09:15
Re: Extended Forum Access Mod 1.1 by Cactuz (33 replies, posted in PunBB 1.2 modifications, plugins and integrations)
MarcB: my email is jochem@dutcholsentwins.com , thank you
[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 it's called New York Minute.
poster:
[/offtopic]
67 2004-02-13 19:20
Re: extern.php (8 replies, posted in PunBB 1.2 troubleshooting)
thanks, i'll tell them
69 2004-02-13 19:02
Re: Extended Forum Access Mod 1.1 by Cactuz (33 replies, posted in PunBB 1.2 modifications, plugins and integrations)
unfortunately...
my forums will open tomorrow, would have been nice if i could implement that mod before i open the forums.
oh well.
70 2004-02-13 18:59
Re: extern.php (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
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
71 2004-02-13 18:54
Re: extern.php (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
72 2004-02-13 17:46
Re: Extended Forum Access Mod 1.1 by Cactuz (33 replies, posted in PunBB 1.2 modifications, plugins and integrations)
i can't download it
the link http://punres.cactuz.nu/download.php?id=35 is not working for me
73 2004-02-13 17:03
Topic: extern.php (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.
74 2004-02-11 14:34
Re: Ban by email doesn't seem to work (1 replies, posted in PunBB 1.2 bug reports)
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
75 2004-02-11 14:10
Re: 2 different installations using the same user table. (12 replies, posted in PunBB 1.2 discussion)
thank you. found the script in the "script" folder.