1

(3 replies, posted in PunBB 1.3 troubleshooting)

Smartys wrote:

And search flood? That's funny, because the option exists for 1.2 too and it doesn't look like anybody ever noticed it wasn't implemented!

I did, and found it extremely irritating. big_smile

You will be able to preserve your data (posts, users, etc), but not your modifications to PunBB - they will all be lost.

To update by manually editing files, check out the link labeled "hdiff" on the downloads page.

styles/style.css

/****************************************************************/
/* 2. TEXT SETTINGS */
/****************************************************************/

/* 2.1 This sets the default Font Group */

.pun, .pun INPUT, .pun SELECT, .pun TEXTAREA, .pun OPTGROUP {
    FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif
}
Dav wrote:

I'm a bit lost here. Please, tell me where that piece of code goes.

That appears to go (modified to suit your needs) into the registration form for your site (only if you have one other than PunBB's, of course).

5

(2 replies, posted in PunBB 1.2 troubleshooting)

http://wiki.punres.org/Last_post%27s_su … orum_index

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

pumahalen wrote:

Thanks.

I suppose there are no changes for the database, then, from 1.2.12 to 1.2.16?

There have been. You'll need to run the update script after making the code changes.

Firstly, they don't indicate unanswered posts; they indicate topics to which you have contributed.

Secondly, they can be toggled on/off in admin options.

9

(20 replies, posted in PunBB 1.3 troubleshooting)

Jérémie wrote:
Smartys wrote:

Some people aren't familiar with GMT, especially in the US.

Especially since GMT isn't used anymore, it's UTC tongue

And even fewer of us are familiar with UTC. tongue

Currently the easiest approach would be to modify PunBB's template files (include/template/main.tpl) and stylesheets so that your forum matches the aesthetics of your site.

11

(25 replies, posted in PunBB 1.3 troubleshooting)

Ok, can we please stop arguing about word/acronym choice? Whether or not something is "really" Ajax is not the point.

The general philosophy of PunBB is that it contains the minimum features to run a pleasant, usable forum.

Yes, Ajax-based features might seem nice for some. But then again, without Ajax-based features PunBB works great for thousands of forum users around the world. Only a minority of users "need" Ajax-based features.

From what I can tell, only a minority of users would feel the need for PunBB to use Ajax. As such, I agree with others that Ajax is best used in extensions, not PunBB core.

12

(20 replies, posted in PunBB 1.3 troubleshooting)

Rickard wrote:
pogenwurst wrote:

That's very true -- walking around almost any public place I could easily find you many people who haven't the foggiest what "GMT" is. Moreover, those that do know of it stand a good chance of being ignorant as to what particular GMT zone they reside in.

But they know if they're in "mountain time" or whatever?

Yeah, that's how they know when TV shows come on in their part of the country. tongue

13

(7 replies, posted in PunBB 1.2 troubleshooting)

matt1298 wrote:

you will also need to change the 50 to 10 in the mysql select query below  line 130

Ah, that too. tongue

I personally think it'd be better as an extension; I'm not sure how many people would need such a feature.

15

(7 replies, posted in PunBB 1.2 troubleshooting)

123     // Determine the user offset (based on $_GET['p'])
124     $num_pages = ceil($num_users / 50);
125     
126     $p = (!isset($_GET['p']) || $_GET['p'] <= 1 || $_GET['p'] > $num_pages) ? 1 : $_GET['p'];
127     $start_from = 50 * ($p - 1);
128     
129     // Generate paging links
130     $paging_links = $lang_common['Pages'].': '.paginate($num_pages, $p, 'userlist.php?username='.urlencode($username).'&show_group='.$show_group.'&sort_by='.$sort_by.'&sort_dir='.strtoupper($sort_dir));

Just skimming the code (i.e. not really taking the time to understand it) it would appear that you'd want to change "50" to "10".

16

(48 replies, posted in News)

Dr.Jeckyl wrote:

LOL! I can't seem to find the thread but it's been discussed.

I can't find that/those topic(s) either, but the following is in the MDK:

Rickard wrote:

Version numbering: The first release of a mod should always be 1.0. 1.0.1
                     is a bug fix release based on 1.0. If the new version
                     offers added features or a large number of bugfixes it
                     could be called 1.1. Stepping up to version 2.0 would
                     more or less require a complete rewrite of the mod.

PunBB follows those same Unix-style naming conventions.

17

(20 replies, posted in PunBB 1.3 troubleshooting)

Smartys wrote:

Some people aren't familiar with GMT, especially in the US.

That's very true -- walking around almost any public place I could easily find you many people who haven't the foggiest what "GMT" is. Moreover, those that do know of it stand a good chance of being ignorant as to what particular GMT zone they reside in.

18

(1 replies, posted in PunBB 1.2 troubleshooting)

Please tell us where on your site you'd like said images, and then maybe we can help you.

Moved to feature requests

20

(3 replies, posted in PunBB 1.3 troubleshooting)

They certainly could be, but they need not be. Those are perfectly valid as HTML comments.

I hope this hasn't been reported previously, and I apologize if it has -- I've been a quite out of the loop lately (been spending way too much time working for my school's robotics club big_smile ).

Note: For detailed error information (necessary for troubleshooting), enable "DEBUG mode". To enable "DEBUG mode", open up the file include/common.php in a text editor and locate the line "//define('PUN_DEBUG', 1);". It it located at the very top of the file below the software license preamble. Then remove the two slashes in the beginning of the line and save/upload the script. Once you've solved the problem, it is recommended that "DEBUG mode" be turned off again (just add the two slashes back again).

Debug mode is no longer toggled in common.php; the message should mention essentials.php instead.

22

(51 replies, posted in PunBB 1.2 discussion)

My host is running MySQL 5.0.24.

SaucyPiaffe wrote:

Does anyone know the horizontal pixel dimension for a banner to take up the top of the page length wise?

It depends on the resolution of a user's monitor and the size of his or her browser window.

SaucyPiaffe wrote:

have links open up in a new window

The Punres wiki (wiki.punres.org) has instructions on how to do so.

SaucyPiaffe wrote:

I want to change the font size

You can use the CSS "font-size" property for that. Where you place it in your CSS depends on what specific text you'd like to be that size (i.e. navigation link text, post body text, signature text, etc.).

24

(12 replies, posted in PunBB 1.2 troubleshooting)

Have you modified profile.php?

quaker wrote:

simple way of doing it Pog.

Simple, yes, but also terribly insecure wink