No problem
It sounded like it was a cache issue to me, so I wanted to check it out myself
2,976 2007-05-31 18:44
Re: icon problems (3 replies, posted in PunBB 1.2 troubleshooting)
2,977 2007-05-31 18:20
Re: icon problems (3 replies, posted in PunBB 1.2 troubleshooting)
Could I see a link to your forum?
2,978 2007-05-31 17:42
Re: PHP-Script to post on the forums (16 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Strofanto: keep in mind you took out a lot of the sanitizing code (but kept in the $pun_user['is_guest'] check).
2,979 2007-05-31 15:00
Re: PHP-Script to post on the forums (16 replies, posted in PunBB 1.2 modifications, plugins and integrations)
It makes sense in general for integration. You would have a function that takes the necessary parameters (eg: forum ID, topic title, poster, etc) and inserts the information into the database
2,980 2007-05-31 12:26
Re: when we could got PunBB1.3? (13 replies, posted in PunBB 1.2 discussion)
I'm confused, what are you talking about?
2,981 2007-05-31 12:01
Re: [Release] Author Update (18 replies, posted in PunBB 1.2 modifications, plugins and integrations)
$db->query('UPDATE '.$db->prefix.'users SET num_posts=new_num FROM '.$db->prefix.'post_counts WHERE id=poster_id') or error('Could not update post counts', __FILE__, __LINE__, $db->error());
Try that
2,982 2007-05-31 11:13
Re: [Release] Author Update (18 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Aha
$db->query('CREATE TEMPORARY TABLE '.$db->prefix.'post_counts AS SELECT poster_id, count(*) as new_num FROM '.$db->prefix.'posts GROUP BY poster_id') or error('Creating temporary table failed', __FILE__, __LINE__, $db->error());
2,983 2007-05-31 11:05
Re: when we could got PunBB1.3? (13 replies, posted in PunBB 1.2 discussion)
Yes, 1.3 will have a set of official tools (most likely in the form of extensions) for fighting spam
2,984 2007-05-31 00:51
Re: PHP-Script to post on the forums (16 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Oh, well, you would have to convince someone to write it for you then
2,985 2007-05-31 00:20
Re: PHP-Script to post on the forums (16 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Take a look at how post.php handles new topics
2,986 2007-05-31 00:14
Re: [Release] Author Update (18 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Try removing the if not exists, then paste any error you get
2,987 2007-05-30 19:24
Re: Maximum # of replies (4 replies, posted in PunBB 1.2 troubleshooting)
Yeah, I was just suggesting how to do it
2,988 2007-05-30 19:19
Re: Maximum # of replies (4 replies, posted in PunBB 1.2 troubleshooting)
Modify post.php to automatically close a topic when the x post is made?
2,989 2007-05-30 10:36
Re: Moderators permissions (4 replies, posted in PunBB 1.2 troubleshooting)
Not without modifying the code or making them administrators, the whole point of giving moderator permissions in certain forums is to control where individual moderators can edit/delete.
2,990 2007-05-30 02:06
Re: Can I borrow some of your code? :D (6 replies, posted in PunBB 1.2 discussion)
Ok then I guess the system will have to be GPL
But who wrote those functions? - because I can't give credit.
split_words looks to be based off of some of phpBB's code, parse_message I would assume is Rickard's doing.
2,991 2007-05-30 02:04
Re: TimeZone (5 replies, posted in PunBB 1.2 troubleshooting)
Not without editing the code I'm afraid
2,992 2007-05-29 21:29
Re: Can I borrow some of your code? :D (6 replies, posted in PunBB 1.2 discussion)
Great!
So what about the http://creativecommons.org/licenses/by-sa/3.0/ ?
PunBB is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published
by the Free Software Foundation; either version 2 of the License,
or (at your option) any later version.
2,993 2007-05-29 20:50
Re: Can I borrow some of your code? :D (6 replies, posted in PunBB 1.2 discussion)
It's fine as long as you release your system under the GPL
2,994 2007-05-29 19:19
Re: maintenance mode issue (5 replies, posted in PunBB 1.2 troubleshooting)
aye, but could someone have found a loophole to do this?
if it happens to no-one else, then it could just be a one off error, which is obviously what I hope it is!
Nope, there should be no exploit which allows this
My guess? One of your admins did it and is too embarassed to tell
2,995 2007-05-29 19:18
Re: All the Free Forum Hosting pages? (5 replies, posted in PunBB 1.2 discussion)
Moved to PunBB Discussion
2,996 2007-05-29 10:42
Re: maintenance mode issue (5 replies, posted in PunBB 1.2 troubleshooting)
Nothing, it doesn't do it by itself
2,997 2007-05-29 10:28
Re: register.php and require/include (29 replies, posted in Programming)
Yes, because you're making two calls to the script, one when you view the form and one when you submit. That's why I suggested using sessions. It would go something like this:
session_start();
if (isset($_SESSION['hint']))
{
$hint = $_SESSION['hint'];
$answer = $_SESSION['answer'];
$question = $_SESSION['question'];
}
else
{
$number = rand(1, 2);
$hint = $hints[$number];
$answer = $answers[$number];
$question = $questions[$number];
$_SESSION['hint'] = $hint;
$_SESSION['answer'] = $answer;
$_SESSION['question'] = $question;
}
2,998 2007-05-29 10:18
Re: arcadge plugin not working... (1 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Moved to Modifications
2,999 2007-05-29 02:02
Re: Sql Database Help (4 replies, posted in PunBB 1.2 troubleshooting)
A MySQL database isn't a file. Just run those queries I gave you in phpMyAdmin, replacing prefix with your database prefix for PunBB
And as for not displaying the information, you can just look in the files (eg: profile.php, viewtopic.php) where the information is shown and remove the showing part
3,000 2007-05-29 01:48
Re: Sql Database Help (4 replies, posted in PunBB 1.2 troubleshooting)
Yeah, you can't just randomly remove columns from the database tables
alter table prefixusers add column url varchar(100) after realname
alter table prefixusers add column jabber varchar(75) after url
alter table prefixusers add column msn varchar(50) after icq
alter table prefixusers add column yahoo varchar(30) after aim
alter table prefixusers add column location varchar(30) after yahoo
Replace prefix with your database prefix