376

(5 replies, posted in PunBB 1.2 show off)

Your site seems to have an issue on Fx 2.0 on Ubuntu Linux:

http://img364.imageshack.us/img364/6590/fxproblemos7.th.png

Oooh, looking good!

It's SELECT DISTINCTing the id(s) of all user(s) that have reported post(s) in the current topic, where the reports have not been zapped. Thus if a topic contains the posts with IDs 1, 2, and 3 and the reports are as follows:
reported_by | whatever_the_pid_column_is_called
23              | 1
23              | 2
24              | 2
23              | 3
the resultset will be 23 & 24 and thus the number of results will be 2.

More simply, the query fetches distinct user IDs that have reported post(s) within a topic; it doesn't actually fetch any number of reports.

Smartys wrote:

Only problem with it: one user can make 3 reports and the post will be hidden (I actually think that was a bug in the original code as well, but I've never tested it)

Nah, the code I wrote wasn't very good, but it didn't have that bug. tongue

380

(3 replies, posted in PunBB 1.2 troubleshooting)

frodolad_ wrote:

Just out of curiosity, are there guidelines for creating and/or submitting themes for PunBB?

No, but the comments (especially in the default styles) are a great resource.

381

(4 replies, posted in PunBB 1.2 discussion)

Smartys wrote:

pogenwurst, your post is showing up multiple times: try logging out/in smile

Lol, I noticed. tongue

382

(4 replies, posted in PunBB 1.2 discussion)

Dan_y2k wrote:

Is there any more files that outputs the code?

Any more files? No, parser.php is the only one that handles BBCode.

383

(4 replies, posted in PunBB 1.2 troubleshooting)

The top navigation menu? Just remove <pun_navlinks> from main.tpl.

384

(2 replies, posted in PunBB 1.2 modifications, plugins and integrations)

Moved to modifications.

385

(4 replies, posted in PunBB 1.2 troubleshooting)

1. Edit include/template/main.tpl to include your banner.

2. You should be able to use code slightly modified from that provided by the miniportal tutorial. The following CSS may be adequate in the place of the miniportal's original CSS (I've done this before but I'm not sure if I still have the code I used - the following is untested):

    #left {
        width: 120px;
        float: right;
    }
    #main {
        margin-right: 130px;
    }
    #container {
        width: 100%;
        float: left;
        margin-right: -120px;
    }

386

(4 replies, posted in PunBB 1.2 discussion)

jlangrock wrote:

if you have the choices you can use both

That's probably unwise from an SEO perspective. Generally you ought to pick one URL and stick to it.

Take a look at http://stats.punres.org/ as well.

Dan_y2k wrote:
Connorhd wrote:

2. Admin does have language files in 1.3 so no point in adding this feature.

So, How will I be able to make the ACP of the current version (1.2.14) LTR'ed? I really think that it'll be difficult to Hebrew users that the ACP will be RTL'ed in English...

Please offer me a solution... Thanks!

Try editing include/template/admin.tpl, replacing <pun_head> with what would normally be put in its place, except with the stylesheet of your choice and a static title. The style I made for my forum totally gimped my admin section so I had to force a different stylesheet as well.

389

(3 replies, posted in PunBB 1.2 show off)

Looking good, but IMO you really ought to clean up those folder icons.

390

(2 replies, posted in PunBB 1.2 troubleshooting)

Does the sidebar portion of the miniportal tutorial help?

quaker wrote:

does anyone got a punbb mod for snews?????????????????


Q

You continue to ask that, yet you still refrain from explaining what an "sNews mod" ought to do. Please elaborate on specifically what you want, and maybe you'll get some help.

392

(1 replies, posted in PunBB 1.2 troubleshooting)

There's some discussion of that issue at the following URL: http://punbb.org/forums/viewtopic.php?id=7474

393

(4 replies, posted in PunBB 1.2 show off)

Yes, very nice indeed!

394

(7 replies, posted in PunBB 1.2 discussion)

What you've gotten done so far looks great! Be sure to mention the complete version in the "Show off" forum.

395

(9 replies, posted in Feature requests)

Smartys wrote:

That's certainly a possible extension for 1.3 wink

So Smartys, are you and hcgtv going to volunteer to make all these extensions?

(I jest, I jest tongue )

That's odd... http://www.singersconnect.net/punbb/ and http://www.singersconnect.net/punbb/index.php should be the same page, but they aren't. It seems to me that your host might not be properly configured (or maybe you've used a bad .htaccess rule?).

If you use rawurlencode() on the file names I think that should change the spaces to %20 (or whatever it is) properly.

Also, the way you have your code now with the image set being called "roadtrip" for all images may cause problems. If there are multiple posts within the same page of a topic containing images, all images will be treated as one set rather than each topic having its own individual set, if that's an issue for you. A possible solution would be to use the post ID as the set name.

Are either of the following mods helpful?

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

virgildizon wrote:

All ideas are GREAT... but speaking of punbb.org, why don't we have google ads in here? I would love to click those for the sake of the good men of punbb so they can buy more beers. I hope to see some in the future.

There used to be Google ads here, but they were removed. My understanding is that their annoyance did not warrant the meager profits they yielded.

400

(26 replies, posted in General discussion)

hcgtv wrote:
virgildizon wrote:

I love swedish girl....

Like the Swedish Bikini Team?

What?! They're not wearing bikinis! How dare you mislead me like that! tongue