7,551

(277 replies, posted in PunBB 1.2 discussion)

Changed my mind, upgraded instead tongue
4.1.7 now
After an issue with the "Client does not support authentication protocol" message, I've got it up and running
Script testing time tongue

Edit: Script worked fine, but now when going to the forum:
Notice: Undefined index: o_default_lang in c:\apache\apache\htdocs\forum\include\functions.php on line 112
There is no valid language pack '' installed. Please reinstall a language of that name.

And in config.php you need to add a cookie seed and delete $language (at least those are the differences I see in config.php)

Oh, and trying to visit a forum I'm not supposed to be able to gives this on the bottom:
Notice: Undefined variable: is_admmod in c:\apache\apache\htdocs\punbb\footer.php on line 80

7,552

(277 replies, posted in PunBB 1.2 discussion)

Downgrade it is, as soon as I get home tongue

7,553

(277 replies, posted in PunBB 1.2 discussion)

Rickard wrote:

There's not a lot I can do about that, I'm afraid. What version of MySQL are you using?

MySQL 4.1.2-alpha-nt, to copy from PunBB wink

Rickard wrote:

Did you link to the right bug? That bug has to do with user-defined functions in MySQL 5.

Replace UDF with ALTER TABLE and MySQL 5 with MySQL 4.1.2-alpha-nt and you have exactly what I've got: that was the closest I could find, since the site kept crashing my browser tongue

7,554

(277 replies, posted in PunBB 1.2 discussion)

Oh, and the problem I have with the current user group method: no way to belong to multiple groups.
And, there's no way to create a new group with moderation powers

7,555

(277 replies, posted in PunBB 1.2 discussion)

File: c:\apache\apache\htdocs\forum\11_to_12_update.php
Line: 117

PunBB reported: Unable to alter DB structure.

Database reported: MySQL server has gone away (Errno: 2006)

The script basically crashes my SQL server tongue

And the query which causes it:
$db->query('ALTER TABLE '.$db->prefix.'posts DROP INDEX '.$db_prefix.'posts_posterid_idx');
But it seems the issue is with putting those 2 DROP INDEX in a row: when I run it outside of the script my SQL service dies too
Edit: I found the bug, although I use an earlier version of mySQL then what they list:
http://bugs.mysql.com/bug.php?id=3535

---

Userlist search  Notice: Undefined index: o_search_users in c:\apache\apache\htdocs\punbb\admin_options.php on line 525
/> Yes    Notice: Undefined index: o_search_users in c:\apache\apache\htdocs\punbb\admin_options.php on line 525
/> No
Allow searching in user list.

7,556

(277 replies, posted in PunBB 1.2 discussion)

Time to test user groups big_smile
And the script

Script:

Warning: Missing argument 2 for error() in c:\apache\apache\htdocs\forums\include\functions.php on line 868

Warning: Missing argument 3 for error() in c:\apache\apache\htdocs\forums\include\functions.php on line 868
An error was encountered
File:
Line:

PunBB reported: Unable to create table forum_perms. Please check MySQL permissions and try again. 

The not creating isn't important (my fault there).
The missing arguments would be the important part tongue
Oh, and it should be noted that people with the User Group mod installed can't upgrade, since it uses a groups table too

7,557

(53 replies, posted in PunBB 1.2 troubleshooting)

Damn it, I was positive I clicked on the link to the second page tongue

7,558

(53 replies, posted in PunBB 1.2 troubleshooting)

Try uploading install.php again?
But yes, that does look as if they don't support PHP

7,559

(29 replies, posted in PunBB 1.2 troubleshooting)

Oh, and don't use a trailing / (ie: if the web address is http://www.test.com/punbb/index.php use http://www.test.com/punbb as your base URL

7,560

(6 replies, posted in PunBB 1.2 bug reports)

Yes, point is that they can't logout wink
That way, they can't register a new account and evade without having to go and delete the cookie

7,561

(12 replies, posted in Feature requests)

Nah, it's clear, I just have no clue how it would be done tongue

7,562

(8 replies, posted in Feature requests)

zaher wrote:

that "change your way", why not make it as MOD.

Because I wouldn't know how to change it tongue

7,563

(8 replies, posted in Feature requests)

sanjay: I suggested a similar idea to Rickard a month or so back

It looked something like yours, except it worked like this:
New table, viewed_thread. 2 columns, thread id and user id
When a user views a thread, their user id and the thread id is added
If someone makes a new post in the thread, all people who had viewed the thread there get their entry deleted from the table
When the user's last logged in time is updated, all of their entries in that table are deleted.
When viewing, PunBB checks against last_login and the user id's views as recorded by the table

Rickard said at the time he would take a look at it, dunno what he decided to do tongue
Of course, using this table could be enabled/disabled if someone felt it was adding too much load (at least you should be able to)

7,564

(12 replies, posted in Feature requests)

lol
Which is why you set the max size in the forums to 100 x 100 tongue

7,565

(12 replies, posted in Feature requests)

3. Simply add to whereever the <img> tag for the avtar is displayed height=100 width=100

This will make bigger (or smaller) any image that isn't already 100x100.

So I think viewtopic.php and profile.php is where you need to check

hcgtv wrote:
Smartys wrote:

Anyone have something free that would let me resize an NTFS partition? parted looks like it only detects NTFS, nothing else, and I want to try Linux as a dual boot too tongue

Google is your friend: http://www.hut.fi/~tkarvine/linux-windo … -ntfs.html

EXACTLY what I wanted, thanks big_smile

Anyone have something free that would let me resize an NTFS partition? parted looks like it only detects NTFS, nothing else, and I want to try Linux as a dual boot too tongue

7,568

(5 replies, posted in PunBB 1.2 troubleshooting)

Gizzmo wrote:

look around line 180 in include/function.php and just delete this link

 | <a href="userlist.php">'.$lang_common['User list'].'</a>

That only stops people from clicking a link to it tongue
You would need to delete the file or limit access to admins/mods

It could work something like PunBB has right now with MD5 and SHA1 (or w/e it uses, don't remember if that's right)
If the password is stored as an MD5 hash but the server can use SHA1, then when you login it converts your password (based on the password you enter, as long as it matches of course)

http://www.parmaja.com/forum/viewtopic.php?pid=5454665

Obviously a fake id, but there IS a problem

You have this there:

<link rel="stylesheet" type="text/css" href="/style/Parmaja.css">

Compared to this everwhere else:

<link rel="stylesheet" type="text/css" href="http://www.parmaja.com/forum/style/Parmaja.css">

http://www.parmaja.com/forum/viewtopic.php?pid=3#3

Something wrong with your stylesheet?

7,572

(2 replies, posted in PunBB 1.2 discussion)

http://punbb.org/forums/viewtopic.php?id=4652

7,573

(3 replies, posted in Feature requests)

jeffpolachek wrote:

My suggestion is to make this icon be lit on ALL messages or threads where there are any messages I have not yet read, UNTIL I have read them.

And how do we note when you've read one thread and not another? wink

I gave Rickard an idea I had though that might help with this...

7,574

(14 replies, posted in Feature requests)

No problem.
But thank Rickard, without him you would have had a non working chunk of code tongue

7,575

(14 replies, posted in Feature requests)

LMAO, silly me tongue
/me makes the change