Theres actually no problem with users having lots of PMs really, if i were you i'd change the limit to 50 or 100 smile

177

(19 replies, posted in PunBB 1.2 discussion)

vnpenguin wrote:

Anyone here could confirm me : MD5 hash is hackable ? Admin password in this case is 10 char length with letter + number + special char,... sad
If you tell me that MD5 hash is not hackable, so where is the cause of our accident ?

I think that it is pretty much impossible for them to crack that password.

178

(27 replies, posted in Feature requests)

Adding in a time out in the function would of course solve that issue.

One problem is that is say you make the timeout 1 second, thats a long long time in the scale of page generation times with punbb, but if you make it say 10 milliseconds it probably wouldn't have time to work.

If you wanted you could make a mod or a plugin, or even a plugin for PunBB that creates a .htaccess file which would be much more efficient

Change the setting in your profile under privacy

Ok lots of things

Email notification will be added on the next version (as will the preview hack)
There are new messages does appear if you follow all the instructions
Sent items counts as saved messages along with the inbox, which might be why people get a full inbox so quickly, just increase the limit in the admin plugin (i will increase this by default in the next version i think)

It would certainly look nicer than lots of files with a prefix imo (i mean what are directorys for? wink)

182

(6 replies, posted in General discussion)

Plus he didn't set the record did he? As he didn't allow any judges to verify it (according to the paper i read today anyway)

183

(4 replies, posted in PunBB 1.2 troubleshooting)

i'm guessing when you save you are saving a <b> or <strong> in the announcement that is not closed therefore making the forum bold? but i'm not sure

About the poll, i'll do it if i'm not too busy, i mean you have quite a list of stuff to be getting on with wink

Sure not sure how good it is but your welcome to use the code however you like http://connorhd.net/RatingMod_1.0.zip

186

(8 replies, posted in Programming)

thanks, fixed (damn typos).

187

(8 replies, posted in Programming)

Thanks fixed, FORUMSID should have been FORUMID lol

188

(8 replies, posted in Programming)

Hi,

Ok, I'm redesigning the way mypunbb works, basically it now uses a single set of tables (innodb this time) which will hopefully improve it, but anyway it means i had to edit alot of queries, so I need some people to try and break what i've done.
The forums are at
http://www1.connorhd.com
and
http://www2.connorhd.com
both have an admin account with user admin and password admin
what i need testing is basically can anything on one of the forums affect the other forum and does anything not work
e.g.
Can you register users with the same name on both forums? (yes you can i they both have the admin user)
Can you read the topics on one forum on the other forum? (using the topic id in the url, and no you can't you get bad request as you should)
Does being logged in on one forum make you logged in on the other?
etc
I would be extremely grateful if anyone can spare the time to try and break them. (please try to leave them in a usable state though)

Oh and debug mode and query output is turned on, and if any smart people think theres anything wrong with the queries feel free to comment.

189

(15 replies, posted in PunBB 1.2 troubleshooting)

BC wrote:

I am patient, but it seems nobody has really read what my question is about.... I do not want to customize the forum, I want to make it appear in a cell AS IS

You are not going to achieve it by simply including the forum in your own php (at least not easily) it is much easier to add your header and footer (yes i know you want it to be in the cell of the table but as pogenwurst demonstrated that can be split up into a header and a footer) which is customising your forum. I did read what your question was about.

Anyway pogenwurst has given more detailed instructions of what i meant.

190

(7 replies, posted in Programming)

http://uk2.php.net/manual/en/function.a … values.php that should help, i'll write an example if you need more help

191

(15 replies, posted in PunBB 1.2 troubleshooting)

Ok, be a bit more patient, if you wait chances are someone will answer you.

First of all read the documentation. Particularly - http://punbb.org/docs/faq.html#faq3_3

192

(12 replies, posted in PunBB 1.2 troubleshooting)

use $_GET['varname'] it is a better way to do it anyway.

193

(12 replies, posted in PunBB 1.2 troubleshooting)

What i was thinking of was

//Path from current location to forum folder
define('PUN_ROOT', './path/to/forum');
//This stops posts getting marked as read when people only view this page
define('PUN_QUIET_VISIT', 1);
//Save the directory we are currently in
$currentdir = getcwd();
//Change directory to the one the main file is in
chdir('/path/to/included/file/');
//Load PunBBs functions and variables
require PUN_ROOT.'include/common.php';
//Change directory back
chdir($currentdir);

They can also use the forgotten password feature to resend a password can't they?

195

(12 replies, posted in PunBB 1.2 troubleshooting)

yes

196

(4 replies, posted in Programming)

Hmm, sorry i don't really have any ideas

Looking at the php.net page again though, other people have

function safestrtotime ($s) {
       $basetime = 0;
       if (preg_match ("/19(\d\d)/", $s, $m) && ($m[1] < 70)) {
               $s = preg_replace ("/19\d\d/", 1900 + $m[1]+68, $s);
               $basetime = 0x80000000 + 1570448;
       }
       return $basetime + strtotime ($s);
}

theres some other alternatives on there too http://uk2.php.net/strtotime (just search the page for negative)

197

(12 replies, posted in PunBB 1.2 troubleshooting)

well you'll need to put define('PUN_ROOT', './path/to/forum'); in each individual file rather than in your main include

alternatively you could change the current directory before and after including punbb, but i'm not sure what the excat code is for that / if it would work at all.

198

(4 replies, posted in Programming)

php.net wrote:

Note:  The valid range of a timestamp is typically from Fri, 13 Dec 1901 20:45:54 GMT to Tue, 19 Jan 2038 03:14:07 GMT. (These are the dates that correspond to the minimum and maximum values for a 32-bit signed integer.) Additionally, not all platforms support negative timestamps, therefore your date range may be limited to no earlier than the Unix epoch. This means that e.g. dates prior to Jan 1, 1970 will not work on Windows, some Linux distributions, and a few other operating systems. PHP 5.1.0 and newer versions overcome this limitation though.

199

(4 replies, posted in Programming)

Huh?
Well you can use cookies or put data in the url on every link, but thats all sessions do, use cookies or put a session id in the url.

200

(12 replies, posted in PunBB 1.2 troubleshooting)

Just use this code to include PunBBs cookie data and allow access to punbb's functions

//Path from current location to forum folder
define('PUN_ROOT', './path/to/forum');
//This stops posts getting marked as read when people only view this page
define('PUN_QUIET_VISIT', 1);
//Load PunBBs functions and variables
require PUN_ROOT.'include/common.php';

you can then use $pun_user['is_guest'] to find out if i user is a guest or not