26

(101 replies, posted in PunBB 1.2 discussion)

Rickard wrote:
MathsIsFun wrote:

(BTW it wouldn't let me type my address on Firefox, but went through in IE)

Huh? I'm not sure I understand.

Maybe it's just me, but when I open http://punbb.org/newsletter.php in Firefox, and try to type in an email address it keeps popping me out of the box. I have found that if I click in the box and keep my finger on the left mouse button then I can type. Strange. Works fine in IE6.

27

(101 replies, posted in PunBB 1.2 discussion)

Rickard wrote:

MathIsFun: Setting that up is on todays schedule actually smile

Excellent, Rickard! This will help a lot. I have subsribed. And may I say thanks for all you do.

(BTW it wouldn't let me type my address on Firefox, but went through in IE)

28

(101 replies, posted in PunBB 1.2 discussion)

Having recently had my board hacked, I know how you feel, Rod. It is a bad experience and unsettling for the members, too.

In my case I had not yet installed 1.2.6, silly me.

Since then I have been nervously visiting here to see what is happening.

I think it would be a very good idea to have a way of alerting us all to new patches and new versions.

Sure as God made little kittens, when 1.2.7 is released some hackers will be examining the changelogs to see how 1.2.6 is vulnerable, and if we don't know to upgrade quickly we may get hacked.

(Mailing Lists would be good!)

December? Oh noooo ...  *goes into corner and cries*

Can you give us an idea on when we get a final release, pokemon_jojo? I am itching to use it!

(Xarkam - I recall there were options for limiting file size, maybe you are running into that.)

31

(0 replies, posted in General discussion)

Someone tagging themselves as exi defaced my forum and *deleted everything*. They left this on the forum:

exi ||| exi@linuxmail.org defaced forum

I have restored from a backup, and am going to start upgrading to 1.2.6 (I hope this stops them attacking again). Has anyone else had trouble with this hacker?

Superb work, Pokemon_jojo. Works so much like the forum, you feel at home straight away. Styles all work nicely etc. I am excited to see the final release ....

I particularly want to be able to incorporate it with the forum, so that a member can include a gallery image in their post easily. My site is math-oriented, and sometimes people want to post messages like "how do I calculate the area in the following diagram". Any ideas?

I have a variation on this that replaces the text with a button that pops up the "hidden" text when clicked. example on the Math Is Fun forum

This is so that people can solve math puzzles without giving the answer away to other puzzlers, yet their solution is still easy to find.

In parser.php I added:

function handle_hide_tag($text, $button = 'Show Hidden Text')
{
    global $pun_user;

        $s = '<span><form name="hide" method="post" action="message.php" style="display: inline;"><input type="hidden" name="msg" value="'.$text.'" style="border: 0; padding: 0;"><input type="submit" name="Submit" value="'.$button.'"></form></span>';

        return $s;
}

And also in parser.php I made the hide tag call up the handle_hide_tag function (like the url tag calls handle_url_tag), and ended up with this result in function do_bbcode():

    $pattern = array('#\[b\](.*?)\[/b\]#s',
                     '#\[i\](.*?)\[/i\]#s',
                     '#\[u\](.*?)\[/u\]#s',
                     '#\[url\](.*?)\[/url\]#e',
                     '#\[url=(.*?)\](.*?)\[/url\]#e',
                     '#\[email\](.*?)\[/email\]#',
                     '#\[email=(.*?)\](.*?)\[/email\]#',
                     '#\[hide\](.*?)\[/hide\]#e',     
                     '#\[hide=(.*?)\](.*?)\[/hide\]#e',
                     '#\[color=([a-zA-Z]*|\#?[0-9a-fA-F]{6})](.*?)\[/color\]#s');

    $replace = array('<strong>$1</strong>',
                     '<em>$1</em>',
                     '<span class="bbu">$1</span>',
                     'handle_url_tag(\'$1\')',
                     'handle_url_tag(\'$1\', \'$2\')',
                     '<a href="mailto:$1">$1</a>',
                     '<a href="mailto:$1">$2</a>',
                     'handle_hide_tag(\'$1\')',
                     'handle_hide_tag(\'$2\', \'$1\')',
                     '<span style="color: $1">$2</span>');

I then created a simple page "message.php" that simply displays the text neatly.
I know this is not a very good description of the changes, but hopefully there are enough clues here for anyone else to create this functionality

There are some really good ideas here. It would we great to bring them together into one neat mod ... It could certainly add some fun and encourage good posts.

I think calling it money is a bad idea, though, as some people could get the wrong idea.

I like the idea of admin/mods able to give/take points, and I also like the idea of other users able to do this to a limited degree. It could also be set to reward longer posts and penalise short posts, thus avoiding wasteful "yeah" posts.

I would like to help, but my punbb knowledge is not great.

35

(4 replies, posted in PunBB 1.2 show off)

Well, thank you both.

It is good to get feedback. It also reassures me it works and looks good on machines other than mine!

36

(4 replies, posted in PunBB 1.2 show off)

Started with "sleek", and it kinda grew from there: http://www.mathsisfun.com/forum/index.php

I even modded header.php to get the login box working.

Comments welcome, but go easy, ok?

Any progress on this? Do we have a split topic for v1.2 anywhere?

38

(21 replies, posted in PunBB 1.2 discussion)

I think it is more about making sure you are not part of the problem.

You may (unwittingly) be creating an environment that puts kids at risk, and so should do what you can to protect them.

39

(21 replies, posted in PunBB 1.2 discussion)

Basically you shouldn't let out any contact details for children 13 and under. I would imagine that saying "don't fill in the details" is not enough. Better not to even ask for the details.

40

(21 replies, posted in PunBB 1.2 discussion)

Has this been done? Very Important! I am gonna have to kludge a solution to protect my members.

You can read more about COPPA here: http://www.cdt.org/legislation/105th/privacy/coppa.html

Yes, Please, t2, it would really help to clean up my forum. Let us know where you posted it.

OK, I need this ability to split topics real bad.

I have just started a forum at my website  - most visitors are 10-16 year old kids looking for help with math.

Trouble is, they don't know about starting new topics, etc. They seem to use it like chat or something.

So, I need to be able to choose a particular post and place it and subsequent posts into a new topic. That  would help a lot.

But I have 1.2, and I don't think it was included. If it is there somewhere let me know smile

Otherwise, could someone give me a few clues how to get this to work in 1.2 ??

Pretty please?