I got two a couple of weeks ago, my first ones :)
252 2004-08-17 10:03
Topic: "SHA-0 Broken, MD5 Rumored Broken" (7 replies, posted in General discussion)
I read this article on slashdot that SHA-0 is broken, and MD5 is rumored to be broken. This article show's more data about it. It took them 80'000 PCU hours to find it.
Some info:
Freedom to Tinker[/url]]A cryptographic hashfunction (CHF) is a mathematical operation which, roughly speaking, takes a pile of data and computes a fixed size "digest" of that data. To be cryptographically sound, a CHF should have two main properties. (1) Given a digest, it must be essentially impossible to figure out what data generated that digest. (2) It must be essentially impossible to find find a "collision", that is, to find two different data values that have the same digest.
Isn't it quite obvious that there are alot of text that share the same hash, and that it just is a matter of time to find two text's that have the same one? All hashes has colitions, it's unavoidable...
253 2004-08-17 09:27
Re: GMail (200 replies, posted in General discussion)
I know.... I'm sad and pathetic.
No you're not. Everybody should have a Gmail, it owns all other webmails I've ever tested! :)
254 2004-08-17 09:23
Re: Ip banned (18 replies, posted in PunBB 1.2 troubleshooting)
You should really upgrade your forum from 1.0 RC 2. There's some serious security bugs found lately...
Btw, your forum are the new #1 on PunBBig now :)
255 2004-08-17 09:18
Re: Last 24 hours (1 replies, posted in PunBB 1.2 discussion)
This query selects how many users who have been logged in within 24 hours. The same principle should works fine for your purpose.
SELECT count(*) FROM '.$db->prefix.'users WHERE id>1 AND FROM_UNIXTIME(last_action) > DATE_SUB(NOW(), INTERVAL 1 DAY)
256 2004-08-16 20:13
Re: How Do I Disable GUESTs From Posting? (3 replies, posted in PunBB 1.2 discussion)
Have you even looked in the admin-interface?
It's the first thing you see in Admin -> Permissions.
257 2004-08-16 17:39
Re: Regarding the Mod-ReadMe standard (7 replies, posted in PunBB 1.2 discussion)
True... My example does not work that well when having ALOT of information to give. Back to the drawing board!
Do we want to have all the information on one page or can there be several ones? Is the show/hide"-part a good idea or not? (Maybe have different 'boxes' for different databases and so on...)
258 2004-08-16 17:07
Re: Regarding the Mod-ReadMe standard (7 replies, posted in PunBB 1.2 discussion)
Maybe like this?
(Not working, I've just made the html-file)
259 2004-08-15 17:45
Re: Converter: PhpBB2 -> PunBB1.1 v2.0b3 (86 replies, posted in PunBB 1.2 modifications, plugins and integrations)
No, they are in two different DBs. It works and now it is converted except for _end.php. I just left it alone and it is ready to go now.
What happened in _end.php then?
I'm glad if you help me, don't want other people to have the same problem (as they might give up instead of solving it like you did). By the way, is it a large forum? Can I see it? :)
260 2004-08-15 14:20
Re: Checking for login. (7 replies, posted in PunBB 1.2 discussion)
Change it to:
$pun_root = './forum/';
and it'll probably work
261 2004-08-15 14:00
Re: Checking for login. (7 replies, posted in PunBB 1.2 discussion)
The problem is that you must set $pun_root to make it work. $pun_root defines where the forum is installed, so add a line like this before the require-line:
$pun_root = './';
Of cource, if your php-file is located somewhere else you have to change the path.
262 2004-08-15 13:12
Re: Regarding the Mod-ReadMe standard (7 replies, posted in PunBB 1.2 discussion)
I'm discussing here instead :)
I think hdiff is much better than the readme, mostly beqause it's MUCH easier to make them. Second, I don't think it's that hard to understand.
- Holds very little information about the mod
This can easily be changed. It's not hard to rewrite hdiff to include an information-header att the top (I've already changed my version so it includes a list with installation steps).
? Is there anyway to include database changes?
Well, we could make this as a part of the header as I mentioned above.
Should we consider making the hdiff standard? Or maybe a modified version of it?
Sounds like a good idea. I could make some changes to hdiff and show some examples here. Is there more things than the info from the current header we want included?
How does other forums solves this problem?
Edit1: I looked at the file-attachement-mod in phpbb, and it's basically using the same sort of readme as we does.
Edit2: The only problem with hdiff that I've encountered is that when you copy many rows from the html-file, you also get all the line numbers...
263 2004-08-15 12:56
Re: PunPoll v1.2.3 (188 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Question : what line to change ... only mods and admin can create a poll ? (in the actual case, all people can do it)
It's easy, just change the option "Allow polls in topics" in Admin -> Options -> Polls to "No".
264 2004-08-15 12:44
Re: PunPoll v1.2.3 (188 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Is it rally necessary? I think the hdiff is easier than the readme-files. On the other hand, what's the problem with the hdiff-files? As we have the "source code" (it's perl), we can change whatever we want :)
Edit: Create a new topic instead, this is not a poll-specific querstion...
265 2004-08-15 09:31
Re: Converter: PhpBB2 -> PunBB1.1 v2.0b3 (86 replies, posted in PunBB 1.2 modifications, plugins and integrations)
$_SESSION['pun_prefix'] is only the prefix (example: "pun_"), and $_SESSION['pun'] is the database and the prefix (example: "forum.pun_"). This is done beqause I don't have to use two variables everywhere in the code.
Do you have both forums in one database? That's probably why it works...
266 2004-08-15 09:25
Re: Password Incryption (1 replies, posted in PunBB 1.2 troubleshooting)
PunBB is using sha1 if it's availible (PHP 4 >= 4.3.0, PHP 5), and md5 otherwice.
Edit: Mhash can also be used... here is the code:
function pun_hash($str)
{
if (function_exists('sha1')) // Only in PHP 4.3.0+
return sha1($str);
else if (function_exists('mhash')) // Only if Mhash library is loaded
return bin2hex(mhash(MHASH_SHA1, $str));
else
return md5($str);
}
267 2004-08-14 18:48
Re: PunPostPreview (37 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Finally I restart with the punpost.html and all seems good, I have the button
Thanks very much to the help :)
Ahh, great! Problem magically solved :D
268 2004-08-14 14:33
Re: PunPostPreview (37 replies, posted in PunBB 1.2 modifications, plugins and integrations)
your file "post.php" seems to be for the the 1.1.4 version not for the 1.1.5 : is there another change to do in the post.php to the new version ?
No, that should be no problem.
I can't find any errors, don't know what might be wrong. You could mail me your post.php and I'll look at it.
269 2004-08-14 08:49
Re: pm system wont display new messages (5 replies, posted in PunBB 1.2 troubleshooting)
Great :)
Can I change the install someway to make it easier to install?
270 2004-08-13 21:56
Re: pm system wont display new messages (5 replies, posted in PunBB 1.2 troubleshooting)
It sounds like you've missed to include some file. Try to add some echo-lines and see what happens.
271 2004-08-13 17:57
Re: Richard - punbb 1.2... (4 replies, posted in PunBB 1.2 discussion)
Though, I don't think there will be any difff's for 1.1.x to 1.2, beqause there will be too much changes between them.
272 2004-08-13 16:01
Re: Richard - punbb 1.2... (4 replies, posted in PunBB 1.2 discussion)
There will be diff's and hdiff's released so people can change the code themselves. Look at the download-section, and you'll se what I'm talking about.
273 2004-08-13 13:24
Re: how to perform mysql join in php?? (5 replies, posted in Programming)
From PunBB index.php, where the forums and categories are fetched from the database:
$result = $db->query('SELECT c.id AS cid, c.cat_name, f.id AS fid, f.forum_name, f.forum_desc, f.moderators, f.num_topics, f.num_posts, f.last_post, f.last_post_id, f.last_poster, f.closed FROM categories AS c INNER JOIN forums AS f ON c.id=f.cat_id ORDER BY c.disp_position, c.id, f.disp_position') or error('Unable to fetch category/forum list', __FILE__, __LINE__, $db->error());
274 2004-08-13 12:23
Re: PunPostPreview (37 replies, posted in PunBB 1.2 modifications, plugins and integrations)
I'll look at it sometime today. Seems to be something wrong yes...
275 2004-08-13 11:11
Re: PHP 5.0.0 Released (14 replies, posted in Programming)
Hi,
Kindly let me know the exact URL to get PHP installer.
Thanks,
You can download if from www.php.net.