51

(8 replies, posted in Feature requests)

Slavok wrote:

$sql = str_replace($this->prefix.'users', <your forum user table> , $sql);

Is there any way to use last_visit field contents for each forum independently?

MattF, I don't understand what you're talking about.

This thread is about a style for small screen mobile devices, which (style) does not exist at the moment. A developer asked a question re: that styling or extension. I offered my opinion on how it might look.

Now, you're trying to say that I can't offer my opinion on this, which basically means that you either think that personal opinions are not allowed on this forum, or you believe that I am not allowed to express mine.

So what is it -- the former or the latter?

Parpalak wrote:

What exactly do you expect from a style or extension for mobile devices?

General idea is that forum (all views of it -- index, forum, topic, etc.) should fit into 320pixel-wide screen (at most) without horizontal scrolling.

Something like this one would be great: http://skins.invisionize.com/db/index.php/f/6402

Discussion board is about personal opinions, is it not? Or you're implying that I'm not entitled to have one?

1) try OperaMini -- forum looks really weird on that one;

2) on "regular" browsers: left column takes up too much space -- should be either narrower, or that info should be put above message text. Some unnecessary info should probably be removed.

I guess it's a feature. Had to that (demote an admin) via phpMyAdmin myself.

IMHO that's about a light-weight theme to be used when viewing on devices with small screen. Mentioned in here: http://punbb.informer.com/forums/post/123010/#p123010

In some other forums click on message author's name inserts that name (in bold) into quick reply form. In PunBB that's taken for profile, however a link like that somewhere at the bottom of the message, say before "Report" link, would be useful to have.

59

(7 replies, posted in PunBB 1.3 troubleshooting)

Slavok wrote:

To hide IP from moderators you can use this code in hook "vt_row_pre_display":

if (isset($forum_page['author_info']['ip']) && $forum_user['g_id'] != FORUM_ADMIN)
    unset($forum_page['author_info']['ip']);

You mean that FORUM_ADMIN is the Moderators group id?

esupergood wrote:

I manually change the offending user to the new user group and then bring them back after a few days or whatever

Important thing is to remember to bring them back though cool

This may come as an even bigger surprise to you, but there is no need to test a langpack (be it Russian or any other non-English one) after "each minor forum update". All you need to do is compare new English language files with the old ones (or just read the list of changes), and insert new phrases into your non-English files.

PunBB does not "stop working correctly" because of untranslated entries, it just gives an error message when a phrase to be used is missing.

Two things:
a) why don't you translate those phrases yourself?
b) proper place to discuss Russian langpack would be http://punbb.ru/

Seems to work now, thanks.

There is an error when both "today" and "this week" options are set to off:

Database reported: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY username' at line 1 (Errno: 1064).

Hm... now it's the same error on both forums. Looks like I made a mistake when testing.

P.S. PHP version is 4.3.11.

P.P.S. Apparently the fourth parameter was added in 5.2.3, so the fix doesn't work in PHP 4.x

Hm... that's odd: I have two forums running punbb1.3.2, one works fine with suggested correction, while the other one gives the following error at the top of topic view page:

Warning: htmlentities() expects at most 3 parameters, 4 given in d:\hst\saabnet-ru_d2d222f5\http\classif\header.php(133) : eval()'d code on line 76

Thanks much!

You need to enable scripts for that site.

Looks Ok to me after I http-ed the new css-file.

"Last post" column seems to be too wide though. I mean, it would be fine if "by..." sentence was on the same line as last post time (as well as topic subject and its author), but for a two-line layout it's too wide.

Here is what I see:

http://clip2net.com/clip/m11893/1239293410-clip-19kb.png

If First Post Meta Description Tag is checked and non-latin characters are used in the post, then the Description tag looks like this:

&amp;ETH;�&amp;Ntilde;�&amp;ETH;&amp;micro;

72

(60 replies, posted in Supported extensions)

rajuru wrote:

it would be more helpful and would saved my time if u could give this hint earlier.

I gave it to you as soon as I had it. Sorry for not being fast enough. cool

73

(60 replies, posted in Supported extensions)

You may want to check out this modified manifest.xml. Works for me. It also does not allow to edit a post that is not the last one in the topic.

74

(60 replies, posted in Supported extensions)

Yes, in you manifest.xml file parameter $cur_post['posted'] gives posted time for the first message of current topic rather than current message.

Why don't you take a look at YonasH's post_edit_grace_period extension and handle the posted time in the same way?

75

(60 replies, posted in Supported extensions)

Kind of weird: at 2:12 I created a message, and at 2:18 it would allow me to edit it if period is set to 1888, while at 2:23 -- if period is 1895.