476

(7 replies, posted in PunBB 1.2 bug reports)

MattF wrote:

And your database type is?

And.....?

477

(7 replies, posted in PunBB 1.2 troubleshooting)

I'd personally suggest having a word with your host. Sounds like you have multiple issues there.

478

(7 replies, posted in PunBB 1.2 troubleshooting)

What alterations had you made just before the problem appeared? What is being logged, (with regards to PHP), in your httpd logs when you try to post?

479

(22 replies, posted in PunBB 1.2 troubleshooting)

The whole file, not just an excerpt of it.

480

(9 replies, posted in PunBB 1.2 bug reports)

Use the patches or hdiffs.

481

(7 replies, posted in PunBB 1.2 bug reports)

And your database type is?

482

(22 replies, posted in PunBB 1.2 troubleshooting)

That code alone could not create the symptoms you describe. Post your viewforum.php.

483

(22 replies, posted in PunBB 1.2 troubleshooting)

What else have you changed?

It is better to cater for various possibilities rather than fixing the width.

485

(7 replies, posted in PunBB 1.2 bug reports)

What version of punbb are you using? That sounds like the duplicate users online issue, but that was sorted a good while ago. You would have to be running quite an outdated version of PunBB, (or possibly using postgresql), for that to happen.

Why not just set it at 75% or suchlike?

487

(7 replies, posted in PunBB 1.2 troubleshooting)

As one would assume it only happens when you're uploading or attaching files? the answer would appear to be to make sure that the httpd user has correct permissions on the directory where the attachments/files are stored.

488

(62 replies, posted in News)

hcgtv wrote:
Anatoly wrote:

Who is ignoring you?

This forum is lacking official answers to user's questions, if it wasn't for a handful of us, you'd hear crickets.

Although upto just I have tried to stay fairly neutral on the whole takeover and progression from there on in, I must admit, I have to agree wholeheartedly with hcgtv on this point. I popped in yesterday after a break of a week or two away from visiting this forum, and I do have to say that in my personal opinion, your idea of community support and participation is abhorrently bad.

Commercial aspects would obviously appear to be your primary concern, whilst the community aspect comes a very distant, (I was going to say second, but doubt it is even rated that high upon your list), way thereafter. Even your new board moderator only had a grand total of two posts when last I checked yesterday. That sucks big style.

Edit: I'll update that last sentence as I've just noted you've added several more moderators since yesterday, of which you are the highest ranking Anatoly, and you have accumulated a grand total of 24 posts in 6 months. Seriously, if this is your idea of nurturing and supporting the community, you are on a completely different planet to I.

489

(22 replies, posted in PunBB 1.2 troubleshooting)

Also, you can condense this:

                if (intval($_GET["id"]) == "5")
                {
                        if ($pun_user['g_id'] < PUN_GUEST || $cur_topic['poster'] == $pun_user['username'])
                        {

into a single if statement:

                        if (intval($_GET["id"]) == "5" && ($pun_user['g_id'] < PUN_GUEST || $cur_topic['poster'] == $pun_user['username']))
                        {

490

(22 replies, posted in PunBB 1.2 troubleshooting)

Your code above has a typo. This:

if (intval($_GET["id"]  == "5"))

should be:


if (intval($_GET["id"])  == "5")

Btw, you also need to add viewtopic.php to your list of files to modify.

491

(22 replies, posted in PunBB 1.2 troubleshooting)

$pun_user['username']

Also, change this:

if ($_GET["id"]  == "7")

to this:

if (intval($_GET["id"])  == "7")

You're not doing anything notable with it, but it's good form to be secure in methodology throughout.

492

(22 replies, posted in PunBB 1.2 troubleshooting)

kikloo wrote:

What is code for ?

Admin and Mods ? PUN_ADMIN and PUN_MOD ?

Thanks.

Did you actually read my post above, i.e:

That code above will allow mods and admins to view/post too.

493

(22 replies, posted in PunBB 1.2 troubleshooting)

if ($pun_user['g_id'] < PUN_GUEST || [add the poster == topic poster check here])
{
    [whatever code here]
}

That code above will allow mods and admins to view/post too. Just replace your poster == topic poster check with that code above.

However, remember that you also have to account for post.php, search.php and possibly some other scripts to make the topics truly invisible.

494

(3 replies, posted in PunBB 1.2 troubleshooting)

There is a mod for that over on punres, if I remember correctly. Can't remember what it is called, however.

495

(62 replies, posted in News)

Must say though that the total lack of interest the new devs seem to have in this board is pathetic.

Klappspaten wrote:

But I have another question: Is it possible to ignore sticky-threads?

Belated reply, but change this:

WHERE forum_id='.$news_forum_id.'

to this:

WHERE forum_id='.$news_forum_id.' AND sticky=0
ORDER BY -posted

Change that to either:

ORDER BY posted DESC

or:

ORDER BY posted ASC

One of those will flip the order.

498

(3 replies, posted in PunBB 1.2 troubleshooting)

In what regard? To post code in a message? If so, use the [code ][/code ] tags, (without spaces before the ]).

499

(62 replies, posted in News)

It isn't dead yet. I just think the commercial entity which is now behind PunBB has bugger all idea of what Open Source actually means and entails. Hopefully, they may get a good slap with the clue stick. If not, then PunBB is indeed most likely screwed.

500

(1 replies, posted in PunBB 1.2 troubleshooting)

Post the rest of the code from that function.