1

(39 replies, posted in PunBB 1.2 discussion)

hcgtv wrote:

Though mods were nice, it was a bit of a pain to upgrade a live forum, enter the extension hook system. Extensions were born out of necessity, though I think it's being viewed as the second coming and a way to turn PunBB into something it was never intended to be.

I don't think that the extension system is the "second coming", but I do believe that it will give the users an easier way to mod their forum, if they choose to do so. Having to edit the core code was always difficult, and one wrong move could render the entire forum useless until the error was found and corrected.

There will be some users who are happy with the default features and won't see the need to install any extensions. There will be some who only need a handful of extensions to add a few nice features, and then there will be some who will install a multitude of extensions to give their forum members every "bell and whistle" that they can.

That's what makes this great - everyone gets what they want, for the most part, and PunBB still stays the lightweight alternative to the other bloated forum programs that Rickard wanted it to be. wink

2

(39 replies, posted in PunBB 1.2 discussion)

Reines wrote:
Epiphone wrote:

SF it. They are very limited though, and not as nice, but they are surely light weight.
http://mylittleforum.net/

PunBB was started about 5 years before that wink

Actually, the MyLittleForum project has been around since mid-2002 at least - the oldest post on the German forum for the 1.* branch is from July 2002. I've been following that project since 2003. So it's been around almost as long as PunBB.

I use the latest 1.* version of MLF for a friend's message board, as they wanted a threaded message board, not a forum. It's been modded to remove some features that they didn't want and wouldn't use. They had been using a remotely-hosted message board from Boardhost, and decided that they wanted to host their own, but it had to look and, for the most part, act like the Boardhost board. MLF was the only one that I found that was php/mysql and would do what they wanted.

It is unfair, however, to compare MLF with PunBB or FluxBB - they aren't the same and never will be. Each program has its own merits and serves their respective user groups very well.

I'm using v1.2.3 of this mod on a Punbb 1.2.17 install. Everything has worked smoothly up to this point, but starting yesterday, when I try to click on the Messages link, Firefox 2.0.0.14 is being prompted to download message_list.php rather than display it. It works fine in IE6, but FF wants to download the file.

I've checked error logs, etc. and can't find anything. The rest of the forum works fine - I don't get the download message anywhere else.

Any ideas on what might be causing this? It's strange that it just started happening.

Even when I remove the number so that the code simply reads define('PUN_ALLOW_INDEX');, I would still get the warning.

I went through and commented out that line in each file it is in, and now the "noindex" meta tags appear and no more warnings. smile

Thanks for the help!

I am trying to set up an install of Punbb and have the "noindex, noarchive" meta tags added to all pages, as defined by PUN_ALLOW_INDEX in header.php.

For example, in index.php, the following code has a parameter of 1 to allow indexing.

$page_title = pun_htmlspecialchars($pun_config['o_board_title']);
define('PUN_ALLOW_INDEX', 1);
require PUN_ROOT.'header.php';

If I want to turn off indexing for that page (or any other where that code is included), what parameter do I need to use in place of 1? I tried changing it to 0, but got the following warning message: Warning: Wrong parameter count for define() in .... when doing so; however, it did include the "noindex, noarchive" meta tags when the parameter count was 0.

I've searched the forums and checked the documentation, but don't see this listed anywhere.

Thanks in advance for the help! smile

Dr.Jeckyl wrote:

i personally have purchased the flashcht script and it was one of the easiest things i've set up on a webserver(PunBB not included tongue).

Make sure you are running the latest version of FlashChat - there's a vulnerability in an earlier version:
http://forum.tufat.com/showthread.php?t=24428

Okay, I went ahead and created the database table manually (via phpMyAdmin), using the following SQL statement:

CREATE TABLE `punbb_spamwords` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`word` TEXT NOT NULL,
PRIMARY KEY (`id`)
) TYPE = MYISAM;

I continued on with the installation instructions included in the readme.txt file, editing post.php and lang/english/post.php, then uploading them to the server.  Entered a few spam words thru the Admin section, then off to do a test post to see if this works.  It does work! smile  The error message came up stating that a certain word had to be removed from the post before it could be submitted.

The mod_install.php file needs to be fixed though, so that others can get this installed without issues.

From my config.php file:

$db_type = 'mysql';

EDIT:  Could I just create the table manually using phpMyAdmin?

Rickard -

I did what you suggested, but I'm getting the same error. Here's the code from mod_install.php - lines 31 thru 35:

        case 'mysql':
        case 'mysqli':
            $db->query("CREATE TABLE ".$db->prefix."`spamwords` (`id` INT( 11 ) NOT NULL AUTO_INCREMENT ,`word` TEXT NOT NULL ,PRIMARY KEY ( `id` )) TYPE = MYISAM", __FILE__, __LINE__, $db->error());
        default:
            message('Sorry, this mod currently supports MySQL only!');

Any other ideas? I'd really like to get this mod working.

I just tried installing this mod, and I got an error when running mod_install.php:

Sorry, this mod currently supports MySQL only!

I'm running my PunBB forum with a MySQL database, so I don't understand why it won't install the table.  I've looked at the code, but I can't find the problem.

Any ideas on what to change in order to get this working?

11

(200 replies, posted in General discussion)

Frank H wrote:

I took one, thanks Bwongar.com smile

hmm... saw that gmail has pop and smtp, anyone tried it with PunBB (to send passwords, subscriptions etc)?

I use my Gmail account on 3 forums that use PunBB, and I haven't had any problems at all - works with passwords, subscriptions, and the forum mail. smile

12

(6 replies, posted in PunBB 1.2 troubleshooting)

Tmn wrote:

Why punbb doesn't mark viewed post as read? Like in phpbb, when i saw some topic it is marked, so i know that i was there and i've seen it... in punbb i have to remember everything. It's no problem when i have small ammount of posts, but if there is a lot of them it won't be so nice... wink

There are 2 links in the upper right corner - "Show new posts since last visit" and "Mark all topics as read".  When you first come to the forum, click the Show new posts link and it will bring up a page with all the new posts.  Once you have read them all, simply click the Mark all topics as read link, and all the posts will be marked as "read".  That way you don't have to try and remember what you have and have not read. wink

13

(8 replies, posted in PunBB 1.2 discussion)

Rickard -

Have all those fixes been implemented in the package that is available on the Downloads page?  I haven't downloaded version 1.2 yet, as I wanted to wait and see what minor changes/tweaks were made the first week or so after it's release, then download the new version with all those fixes in place.

buzzkill wrote:
dhdesign wrote:

It would also require another user group called 'validating' to be created, which would be assigned to all unapproved forum registrations.  Permissions for that group would have to be very strict.

Would you realy need to have a seperate user group setup?  Could it just be done with a boolean "on or off" in the user account information that could only be changed by an admin?

New user signs up.  Gets email confiming sign up
Admin(s) get email that a new user has signed up. 
Admin Validates
New user get an email confirmation.

One of the problems I see with this is that some "legit" users may get turned off by waiting for the admin to validate the registration.  Some admins don't visit their message board as much as ours does wink

The validating user group is only temporary - as soon as the admin approves them, and the user validates their registration, they are automatically changed from 'validating' to 'member'.  When you view a person's profile who hasn't been approved yet, their user group clearly states 'validating' to identify that they are awaiting approval / validation.  Nobody stays in that group for long - they are either approved or rejected.  Perhaps it could be done the way you suggest - the admin simply toggles their status before approving them, but the default when a user signs up would have to be 'on' (on = validating).

If you run a busy forum, you are at the forum daily, probably several times a day.  The one that I am an admin at - there are 2 of us that are admins - the 'queue' gets checked regularly, as in at least twice daily.  It's part of the job. wink

This would probably not be something that a small forum would need; however, a busy one like the one that I'm speaking of, would definitely benefit from this.

As far a 'legit' user getting turned off, if they truly want to join, then they'll wait for approval.  I have yet to run into one who didn't have the patience to wait a few hours to have their registration approved.

What about creating a third option for registrations - admin validation?  The setting would be part of the forum admin options.

Right now, in version 1.2, you have 2 options to choose from - no validation, or user validation.  What about having a third setting that will require an admin to approve a forum registration before it goes through?  People could still register, but their registration would be held in a queue pending admin approval.  Those people could still read the forum, but would not be able to post until their account was approved.  Once approved, the user would still have to validate their email addy similar to the way you have it set up now.  It would also require another user group called 'validating' to be created, which would be assigned to all unapproved forum registrations.  Permissions for that group would have to be very strict.

IPB and phpbb both have this feature as part of the standard set-up. It allows the forum admin to monitor who is signing up, and generally stops troublemakers from immediately setting up a duplicate forum account after their first one has been banned, and continuing to cause problems.

This is a feature that I would like to see implemented in version 1.2.  Right now, that is one of the things that is keeping me from converting an existing IPB forum to PunBB, as we have alot of trouble with people signing up for duplicate forum accounts.  This method is the only way we have been able to stop them.  It does require work on our part to verify new registrations, but has proved worth it in the long run.

16

(7 replies, posted in PunBB 1.2 show off)

Krakel wrote:

what's the code to get transparancy? tongue

You could also do this with CSS:

background-color: transparent;

Use that for the areas of the page that you would like the background image to show through.

17

(21 replies, posted in Feature requests)

The "target=_blank" attribute on a link causes accessibility issues for some users with disabilities.  When you do that, you break the "back" button on the browser, because there is nowhere to go back to - the page opened in a new window (or tab).  That can also cause confusion for novice web users as well.  However, even the most novice web user knows how to use the "back" button to get back to the forum. wink

If you really feel that you need this "target=_blank" attribute, then why don't you (on an individual basis) go into the code and figure out how to add it just for your forum?  Why make Rickard change his program?

Rickard wrote:

Something like that?

Yep, that's great!  Thanks Rickard!! smile

Am really looking forward to working with v1.2 once it's released - it's looking fabulous!! smile

This isn't a bug, but rather a request.

When I click on the "Show New Posts Since Last Visit" link and am taken to the search results page, there is no link on that page in v1.2 to "Mark All Forums Read" like there is in v1.1.5.  I end up reading all the posts, then having to hit the "back" in my browser to get to the main forum index and use the link on that page to mark them all read.

How hard would it be to add that link back to the search results page?  You could add it on the right side at the top, on the same line with the page number.

20

(11 replies, posted in PunBB 1.2 troubleshooting)

Instead of putting the symbol in the alt tag, put the name of the smilie, i.e, evil, laughing, happy, grin, sad, etc.  That should resolve this issue I would think.

21

(101 replies, posted in General discussion)

Firefox 0.9.3 as my default browser....IE6 (only because it came on this computer - used for testing purposes only, and the occasional site that won't function in any other browser...grrrr)  Am working on converting family and friends outside the "techie circles" to Firefox. wink

Rickard - those stats probably aren't too far off.  A lot of people are sick and tired of Microsoft and their virus/security/hacker prone products, and are seeking alternative browsers and mail apps so that they don't have to deal with it anymore.  A huge boost here in the US was when Homeland Security issued an alert back in late June (?), recommending that folks switch to other browsers because of all the security issues with IE - that really opened alot of people's eyes (and minds) to Mozilla and their products.  An article on their website noted a huge jump in downloads of Mozilla-based products after that alert came out.

For me, it isn't just the security issues - Firefox is a superior browser already, and is only going to get better. smile  Am in the process of switching to Thunderbird for my mail app, so that the only Microsoft product that I'll be using is Windows.

Chacmool -

The change listed above is for V1.07 of your mod - what changes were made in the package for V1.06?  I set up a forum back in late April and installed this mod, so I'm assuming that I installed V1.05.

Just need to know what the changes were for V1.06 so that I can make them manually along with the change listed above.

(I read your Changelog with the V1.07 package, but it goes from 4/18 to 6/21, so I wasn't able to see what was changed for sure in V1.06.)

23

(3 replies, posted in General discussion)

Check out the menus on this one - they are all "nested" (or dropdown) lists - maybe you'll find one there. smile

Listamatic2

24

(3 replies, posted in General discussion)

You might check out the following resources to find CSS-only menus that work well with most browsers:

Listamatic Tutorial

Stu Nicholls

List-o-matic Generator

The menus that I've found at the first 2 sites work in almost all modern browsers, and degrade pretty well for older ones (Netscape 4, IE4).  I've used a few of them and run tests at Browsercam to check them out.  Some of them I've had to make a few minor "tweaks" to in order to overcome some quirks in some browsers, but overall they seem to work well.  The third site will generate your menu for you, based upon your link list and the style you choose.  I don't think that has any type of dropdown menus though.

Is it giving you an error message?  If so, post it please.  I installed this mod earlier this week (Maciek's mod) and I had some parser errors.  Maybe your problem is similar to mine. smile