776

(6 replies, posted in PunBB 1.2 troubleshooting)

Permissions on a windows server should always be fine... well, it is for me. But then again, I'm not using IIS tongue
You might need to change the owner of the directory to the user running the webserver.

777

(6 replies, posted in PunBB 1.2 discussion)

$fid for forum ID, $cur_post['uid'] for user ID and $cur_post['g_id'] for group ID.

778

(6 replies, posted in PunBB 1.2 discussion)

You'd need to put a check around the pun_htmlspecialchars() function call. I suggest you pass on these variables in viewtopic.php. It should be possible smile

779

(6 replies, posted in PunBB 1.2 discussion)

Where would you like to use this?

780

(4 replies, posted in PunBB 1.2 discussion)

I'm sure. Unverified is 32000.

781

(4 replies, posted in PunBB 1.2 discussion)

define('PUN_ADMIN', 1);
define('PUN_MOD', 2);
define('PUN_GUEST', 3);
define('PUN_MEMBER', 4);

That should tell you enough wink

Oh right, it uses the lang/*/common.php file for it's (rarely used) language stuff. But that should only be used when you explicitly define a language index to be used when creating the field. Shouldn't give this kind of error =/

Make sure the language files of the mod are there.

Any chance such a thing would be in PunXS?

I'm interested, but I'm away for a week =/
So I'm afraid I can't help you.

786

(8 replies, posted in PunBB 1.2 discussion)

I'd fall back to english when the specified language isn't included in the extension.

787

(8 replies, posted in PunBB 1.2 discussion)

Language files are just arrays, so you can define them in a hook on the page you want and merge them with the array?

Before the code given in instruction 7, add the code in instruction 8.

789

(9 replies, posted in Programming)

Rickard's query seems a fair bit slower (both are on the same DB):

mysql> SELECT sw.word, COUNT(sm.post_id) AS hits
    -> FROM search_words AS sw
    -> INNER JOIN search_matches AS sm ON sw.id = sm.word_id
    -> GROUP BY sw.id
    -> ORDER BY hits DESC LIMIT 50;
+----------+------+
| word     | hits |
+----------+------+
| moved    |    2 |
| enjoy    |    1 |
| posting  |    1 |
| and      |    1 |
| imported |    1 |
| maybe    |    1 |
| guests   |    1 |
| new      |    1 |
| forum    |    1 |
| put      |    1 |
| spam     |    1 |
| removed  |    1 |
| portal   |    1 |
| bots     |    1 |
| fairly   |    1 |
| brand    |    1 |
| again    |    1 |
| flooding |    1 |
| hosting  |    1 |
| section  |    1 |
| doubt    |    1 |
| us       |    1 |
| links    |    1 |
| strategy |    1 |
| data     |    1 |
| needed   |    1 |
| anyway   |    1 |
| page     |    1 |
| improved |    1 |
| old      |    1 |
+----------+------+
30 rows in set (0.10 sec)

790

(18 replies, posted in PunBB 1.2 discussion)

Image verification isn't standard on PunBB; it's a mod.

Not really Jeckyl, it needs you to fill in amounts of posts per forum.

It'll get a huge overhaul in the 1.3 extension tho.

http://www.punres.org/desc.php?pid=242

Is that in the lines of what you were looking for? It's not perfect, but can be adapted to work perfectly wink

793

(9 replies, posted in Programming)

Worked for me:

mysql> SELECT COUNT( m.post_id ) , w.word
    -> FROM search_matches AS m
    -> INNER JOIN search_words AS w ON m.word_id = w.id
    -> GROUP BY m.word_id
    -> ORDER BY COUNT( m.post_id ) DESC
    -> LIMIT 100;
+--------------------+----------+
| COUNT( m.post_id ) | word     |
+--------------------+----------+
|                  2 | moved    |
|                  1 | needed   |
|                  1 | data     |
|                  1 | section  |
|                  1 | fairly   |
|                  1 | spam     |
|                  1 | maybe    |
|                  1 | old      |
|                  1 | strategy |
|                  1 | hosting  |
|                  1 | bots     |
|                  1 | put      |
|                  1 | imported |
|                  1 | improved |
|                  1 | links    |
|                  1 | flooding |
|                  1 | portal   |
|                  1 | forum    |
|                  1 | and      |
|                  1 | page     |
|                  1 | us       |
|                  1 | again    |
|                  1 | removed  |
|                  1 | new      |
|                  1 | posting  |
|                  1 | anyway   |
|                  1 | doubt    |
|                  1 | brand    |
|                  1 | guests   |
|                  1 | enjoy    |
+--------------------+----------+
30 rows in set (0.06 sec)

I don't see what's wrong with it =/ What's so hard about changing your clock?

If your logo's name is '*banner*' and you have Adblock installed, iot might be blocked wink

796

(38 replies, posted in PunBB 1.2 discussion)

They've started with oxygen, but will provide the other standard styles still... they'll just be modified to the new markup and look.

And I like the new look really, it gives a more modern feel to PunBB.

797

(9 replies, posted in Programming)

It should hide stopwords, as they're not included in the table?

798

(4 replies, posted in PunBB 1.2 troubleshooting)

I think you've placed the JavaScript in the wrong position wink Try going over the readme again...

799

(4 replies, posted in PunBB 1.2 troubleshooting)

Did you make any changes to post.php?

800

(14 replies, posted in PunBB 1.2 discussion)

You can pretty much change everything with CSS. So that's not an argument IMO.