Odd, I had the notice.
But yes, it probably should be changed: however, Rickard needs to change that line in the MDK as well wink

Oh, and if a topic is already read before the current visit, why does the mod need to do an UPDATE on the user setting? Doesn't it only need to record topics that are newer then the last visit but have been read?

Only problem I had was something with install_mod.php that you couldn't POSSIBLY have done tongue

Line 57: require $pun_root.'include/common.php';

When it should be

require PUN_ROOT.'include/common.php';

Nah, since he wants 2 moderator usergroups, not 1. wink

Bug forum description?

No, there is no way to make another group of mods
(Well, that's not true, I modded the code so I have a group of "Forum Mods" in addition to the Moderators)
And the admin forum is simple enough: turn off all rights in the forum for everyone (since only admins will see it)

He's right: I haven't looked at the code, but if you search for posts (not a topic search) you get results that you shouldn't get

7,482

(3 replies, posted in Feature requests)

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

There was another thread where Rickard said it might be done for 1.3, but I can't find it smile

7,483

(15 replies, posted in Feature requests)

In 1.2.1 I believe you'll be able to add stuff to pun_navlinks in the database

Edit: Yup. http://dev.punbb.org/changeset/51

The mod I made happened to be changing the name of my index page, and simply changing the name in the file didn't work. For anyone who also has this, the fix is to add a / before the filename smile

Well, if the server has REGISTER_GLOBALS on, you can set db_type: dunno if that can be abused for anything

7,486

(9 replies, posted in PunBB 1.2 troubleshooting)

Bah, just some plain SQL in the homepage that gets the info you need works: that's what I do smile

7,487

(6 replies, posted in PunBB 1.2 bug reports)

It isn't: I modded the $is_admmod code to add another group as forum mods only, and instead of doing ==, I used =: it thought guests were forum mods smile
Good thing my forum is only local tongue

7,488

(6 replies, posted in PunBB 1.2 bug reports)

Oww, shoot, figured it out, one of my mods seems to have given some... un-necessary powers to guests :-/
nvm me then wink

7,489

(6 replies, posted in PunBB 1.2 bug reports)

No, oddly enough, I haven't... :-/

7,490

(6 replies, posted in PunBB 1.2 bug reports)

In my forum, guests have the ability to use Quick Post. All fine and good. However, the quick post doesn't have a space for name or email, only for the message. When I click on it to submit it, it takes me to post.php and tells me my username was too short and I need to enter an email address wink

OK then smile

The idea is to move the "Include post in subscription e-mails" checkbox in profile.php
Currently it's located under Privacy: it has NOTHING to do with privacy as far as I can see tongue
I think it would be better suited for Display then anyplace else

Mmm
For some reason, the thread updates but not the forum (there are no unread threads but the forum is still marked as unread)
Is that normal?

http://dev.mysql.com/doc/mysql/en/news-4-1-8.html

The server was interpreting CHAR BINARY and VARCHAR BINARY columns from 4.0 tables as having the BINARY and VARBINARY data types. Now they are interpreted as CHAR and VARCHAR columns that have the binary collation of the column's character set. (This is the same way that CHAR BINARY and VARCHAR BINARY are handled for new tables created in 4.1.)

You mean this?

Edited it just now tongue

Connorhd wrote:

its only for tables with the same prefix

Ah, that explains it

Connorhd wrote:

thats what i said, you need a ; at the end of each query except the last one which doen't matter (i'm talking about it after the changes i've made btw)

Ah, yes, it works after upgrading it smile

But here's a bug:

Additional tables None detected

I have several extra tables in my database wink


Another bug: Above the first query is a Go back link, below it and above the Queries Done is a Go back link and below the Queries Done is a Go back link.

And finally:

SELECT * FROM #__online where user_id="</div>"

Even though that's a fake example (user_id is numerical) the HTML in it messes up the view of the page slightly

Connorhd wrote:

as for the multiple queries as long as you put a ; at the end of each query (except the last one which you either can or cannot it doesn't matter) it will work wink

Untrue, you need a ; at the end of every query if you're running more then one or you get SQL Error

Some ideas for the SQL query thing:
- If you run a select and it returns no data, return a "No data found" message.
- Center the returned values


A bug:

SELECT * FROM #__online;
update #__online set user_id=user_id;

This returns the select and then, at the bottom, gives the queries that have been run (both).

update #__online set user_id=user_id;
SELECT * FROM #__online;

This only returns the select, it doesn't list the queries done.


And something that should be clarified:

SELECT * FROM #__online where user_id = 3

entered works fine

SELECT * FROM #__online where user_id = 3
SELECT * FROM #__online where user_id = 3

gives SQL Error

SELECT * FROM #__online where user_id = 3;SELECT * FROM #__online where user_id = 3;

Executes both queries.

You should mention that if you want to run multiple queries you need to add a ; to the end of each query

7,499

(11 replies, posted in PunBB 1.2 troubleshooting)

I meant if you actually had to use the key variable (if you choose Verify new registrations in Admin Options).

7,500

(11 replies, posted in PunBB 1.2 troubleshooting)

Erm, hopefully you don't have the verification thing enabled: that would mean you can't use verification wink