yes
thank you!
though i have to remove this line:
$pun_config['o_censoring'] = '1';
otherwise i get this error:
Fatal error: Call to a member function on a non-object in /home/dolsentw/public_html/forum/nl/include/functions.php on line 274
You are not logged in. Please login or register.
PunBB Forums → Posts by jochem
yes
thank you!
though i have to remove this line:
$pun_config['o_censoring'] = '1';
otherwise i get this error:
Fatal error: Call to a member function on a non-object in /home/dolsentw/public_html/forum/nl/include/functions.php on line 274
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
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....
www.dutcholsentwins.com (scroll down)
the quotes and urls and the B, U etc codes are still not parsed
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
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.
that's an effective way too
no that takes another 4 months
noooooooooooo.... why do you think i like them?
yeah i do, but not as much as i used to
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
thanks for the email
and i just installed 1.1.1
above post edited ^^
i just came here through hotscripts, and didn't even bother looking any further when i found punbb
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.
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).
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]
thanks, i'll tell them
unfortunately...
my forums will open tomorrow, would have been nice if i could implement that mod before i open the forums.
oh well.
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
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
i can't download it
the link http://punres.cactuz.nu/download.php?id=35 is not working for me
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
PunBB Forums → Posts by jochem
Powered by PunBB, supported by Informer Technologies, Inc.