Well, sometimes, it does that. I don't know why. hmm

52

(1 replies, posted in PunBB 1.2 troubleshooting)

From http://punbb.org/docs/faq.html#faq2_8:

...

2.8 - Is it possible to have more than one "Base URL"?
No, it's not. However, there is extremely seldom a need to have more than one. The need often arises when you access your forums through one URL externally and one URL internally. The internal URL is often the IP address or the name of the computer that runs the webserver. The problem is easily solved by editing your hosts file. The hosts file contains a list of IP addresses and host names. If you haven't made any changes to it earlier, it unsually only contains the IP address 127.0.0.1 and the hostname localhost. If you enter http://localhost/ into your browsers adress field, your operating system will first check the hosts file to see if localhost can be found in there. If it finds it, it will navigate to the IP address 127.0.0.1 instead of trying to look up the host name localhost with traditional DNS. So, what you want to do is to add a line to this file with the IP address of the webserver and the hostname that you use to access your server externally. If the host name for your forums is www.mycoolforums.com and the IP address of the webserver is 192.168.100.15, you would add the line:

192.168.100.15      www.mycoolforums.com

The hosts file is located in different locations depending on what operating system you run. Here's a list of where the file can usually be found in a few operating systems:

? Windows 95/98/ME: c:\windows\hosts
? Windows NT/2000/XP: c:\windows\system32\drivers\etc\hosts
? Linux/UNIX: /etc/hosts

Once you've added the line to your hosts file, you can set your "Base URL" to www.mycoolforums.com and use that URL to access your forums externally as well as internally.

...

I should also add that there is no HOSTS file on Pocket PCs. (A similar effect can be done in the registry there.)

In that png file, you may want to hide the IP addresses.

54

(35 replies, posted in General discussion)

And, what does AFAIK mean?

I don't get it. Are you switching to PunBB from Mambo, or adding a PunBB-powered forum to your Mambo site?

YAY!

That worked! Better put it in the news.

Now, why do pages take so long to load after this big ordeal?

57

(6 replies, posted in Feature requests)

http://punres.org/viewtopic.php?pid=1892#p1892

58

(35 replies, posted in General discussion)

GregK wrote:

I meant nasties as in NON-valid markup, like <div align="center">, font tag soup etc.

.js exploits too though smile

Widg did a great job keeping things valid, in the limited tests I've done...

cheers

<div align=center> is invalid? hmm

59

(35 replies, posted in General discussion)

By nasty HTML, do you mean JavaScript installing spyware? Well, in that case, I will have the parser modded to only allow certain "good" HTML.

Example:

<strong> </strong> / <b> </b>
<em> </em> / <i> </i>
<u> </u>
<a href="http:// "> </a> / <a href="https:// "> </a> / <a href="ftp:// "> </a> / <a href="mailto: "> </a> / <a href="irc:// "> </a>
<img src=" " alt=" " /> / <img src=" " alt=" "> / <img alt=" " src=" " /> / <img alt=" " src=" ">
<del> </del> / <strike> </strike>
<table> </table>
<caption> </caption> (converts to <div align="center"> </div>)
<tr> </tr>
<th> </th>
<td> </td>
<ul> </ul>
<ol> </ol>
<li> </li>
<div style=" "> </div>
<div align=" "> </div>
<div align=" " style=" "> </div> / <div style=" " alt=" ">
<h> </h> (converts to <div style="background-color: #FFFF00; color: #000000"> </div>)

and maybe other reasonable HTMLs.

Notes:

1.  Only certain ATTRIBUTES are allowed as well (to thwart the use of onClick, onMouseOver, or basically on* and any other disallowed attributes).

2.

Well, what if someone wants a hyperlink that, when clicked, displays a JavaScript dialog?

Well, I'll consider that.

60

(18 replies, posted in General discussion)

You don't like FrontPage®, do you?

Well, I used to use it for my Web site until I switched to an all-modded-up version of PunBB.

FrontPage® can be a nuisance, can't it? It takes 1-2 minutes just for it to start up! And, it wouldn't apply an updated Dynamic Web Template to my .php files unless they were OPEN! I still have to use it, though, for another site I do. (I want to switch that one over to PunBB soon.)

Thanks. Now, if only I can get it to quit displaying as a 7 x 8 white box sometimes.

62

(6 replies, posted in Feature requests)

The link gives me a Bad Request.

63

(3 replies, posted in PunBB 1.2 show off)

Be sure not to violate any Terms of Service.

64

(35 replies, posted in General discussion)

I'm going to mod the parser to allow HTML in addition to BBCode. The WYSIWYG Editor (preferably released under the LGPL) will have buttons for only certain elements (namely those that BBCodes translate to). If someone tries to use a bad element in the source code, it won't work.

I wrote:

Now I'm thinking of putting the quotes in a DB and having the script choose a random one each time.

Instead of that, I have the quotes assigned to variables. Is there any way that PHP can use a random variable (out of, let's say, $q1 and $q2)?

Now I'm thinking of putting the quotes in a DB and having the script choose a random one each time.

67

(5 replies, posted in General discussion)

If that's the case, then maybe you do want external SMTP server enabled, I don't know. hmm

68

(3 replies, posted in PunBB 1.2 discussion)

Just change

if ($cur_page <= ($num_pages-3))
{
    if ($cur_page != ($num_pages-3))
        $pages[] = '…';

to

if ($cur_page <= ($num_pages-*))
{
    if ($cur_page != ($num_pages-*))
        $pages[] = '…';

where * is 8 or 65536 or something or whatever you want the maximum number of pages before the ... to be.

69

(1 replies, posted in General discussion)

Is the PunBB site done with some kind of CMS or something?

Any suggestions?

71

(18 replies, posted in General discussion)

I use TinyMCE in one of my PunBB installations (the one I use as a CMS).

72

(5 replies, posted in General discussion)

Try looking at the SMTP settings in Admin > Options.

I made the mistake of using my SMTP server that came with my hosting account, and it didn't work. I then emptied the field, and it did work.

73

(49 replies, posted in General discussion)

That said, let me add this:

PunBB
+ Free
+ Open Source

phpBB
+ Free
+ Open Source

74

(1,382 replies, posted in General discussion)

scandal

You could combine the Poll and Attachment mods, and fiddle around a little bit.