The "Sticky, Closed" icon cannot be changed in the CSS. It always takes on the same attributes as the "Closed" icon.

It's been a long time and no one has any suggestions so I guess I'll post it as a bug.

@mikemikemike
Did you find a solution yet?

I solved my problem. I noticed that browsers will render about
150 different colours by their names, although W3C only recognizes 16. For this purpose that's good enough, but I'm still surprised that it won't accept hex colour definitions.

104

(9 replies, posted in PunBB 1.3 troubleshooting)

On the page FORUM  » Administration  » Users  » Groups

In the middle of the page it says:

The pre-defined groups Guests and Administrators cannot be removed. They can however be edited.

You need to be able to administer your forum. smile

105

(1 replies, posted in PunBB 1.3 additions)

You can change the background colour and it will look like a box, although there will be a few areas in between.

In the file /style/name/name_cs.css under "General color scheme" you can change body colour where it says "background". If you haven't changed the style then the file will be /style/Oxygen/Oxygen_cs.css and the body background colour will be specified on about line 5.

fantasma wrote:

you must add color for admin user group
Bye

I see the names whether or not the admin user group has a colour entry. However, I've also got a problem with the extension. I can't match the colours to my theme. It will not take normal arguments (eg. FF0000 for red) so it is impossible to integrate it with a theme.

Slavok wrote:

I can't quite understand what the bugs are. For a sticky topic the CSS class is "icon posted sticky", for a closed topic - "icon closed", and for a sticky-closed topic the CSS class is "icon posted sticky closed". Are these the attributes you were talking about?

Yes. Under "status indicators" there is:
".brd .main-content .main-item .icon"
as well as "redirect", "sticky", "closed", "sticky .closed", and "new".

When I change the colour of the "closed" icon, the "sticky closed" changes as well. It is not possible to change the attributes of the "sticky closed" independently as it will always be the same as the "sticky". In the same way, the "redirect" icon appears to always be the same as the main item icon.

It is not very important that these two work, but it seems odd that there would be lines in the CSS for two attributes which do not have any effect.  The others look just great and function as expected. Forgive me for calling it a bug. smile Perhaps there is something which I don't understand here.

Funny, I just asked the same question. smile Luckily Slavok gave me a hint and I found the rest. The post is here:

http://punbb.informer.com/forums/post/135257/#p135257

The problem is the server, and not PunBB. I was running my own server and although I could upload files of any size using FTP (for example), PunBB uses php which has it's own limiting file called php.ini. On a Linux server it is probably in /etc/php5/apache2. I found a default of only 2M so I put it up to a more reasonable 200M. Depending on the forum usage, I'd be careful though. On a commercial server you may be able to find a setting in your panel. Otherwise you'll have to ask your sysadmin.

109

(2 replies, posted in PunBB 1.3 bug reports)

Slavok wrote:

What is the maximum allowed size of an uploaded file in php.ini?

Haha You nailed it! Thanks!

I was not familiar with that file. I assume that when I move the installation to a commercial server, that the numbers will be higher than the default ones that I had on my own server.

In case anyone else needs this information, here is what I found. Although I was able to upload files of any size to the server using normal methods, php has it's own built in controls. These can be found in /etc/php5/apache2/php.ini. The defaults on a UBUNTU LAMP install were 8M and 2M. I found that I had to change both of the the following parameters.

Maximum size of POST data that PHP will accept.
post_max_size = 8M;

Maximum allowed size for uploaded files.
upload_max_filesize = 2M

Slavok wrote:

To change the icons, you need to edit the CSS code.

That's what I have been doing, but it is not working. That is why I asked if anyone has a way around this. smile

What I would like to do is have it so that when I change the CSS code for the the status indicator icons that the "Sticky, Closed" does not take on the same attributes as the "Closed" icon. Also, it would be nice if the redirect icon didn't take on the same attribute as the main-item icon. Perhaps I should post this as a bug.

Edit: The code works well for everything else, it's just these two bugs that have me stumped.

I've been changeing the colours of the status indicator icons and it appears that the "Sticky, Closed" takes on the same attributes as the "Closed" icon. Also, it looks like the redirect icon takes on the attributes of the main-item icon.

Does anyone have a way around this?

112

(1 replies, posted in PunBB 1.3 additions)

Renaq wrote:

I'm looking to change my new post icons on the index page, atm it's i guess set to the default square, with white/gray for no new posts/reply's and blue for new posts/reply's.

In your Oxygen_cs.css (or whatever you've called it) there is a section at the end called "/* Status indicators" where you can change this.

I am using PunBB 1.3.4 on a Ubuntu 8.04 server. It is my own server so there is no problem with file size or access. However when uploading attachments I get this error:

Warning! The following errors must be corrected before your message can be posted:

    * The selected file was too large to upload. The server didn't allow the upload.

For testing, I have set the upload limit for all groups to 200MB. Yes I double checked the number of zeros. smile  A PDF of 1716545 bytes can be uploaded but a TXT file of 2791724 bytes cannot. Larger files, of course, are impossible. I have tried many files and sizes but just mention the above ones to show approximately where the size limit  is. I have tried the Firefox, Galeon, and Opera browsers.

I do notice that the error message is listed under "Avatar stuff" in profile.php. I do not allow avatars so perhaps that is connected.

After checking this thoroughly, I think it is a bug. Please forgive me if it is not.

I think most browsers support this feature without it being provided for in the web page. I use a number of browsers and with all of them I just hold down the control key and hit plus or minus to change the font size. This has worked for many years now. smile Another option is to hold down the control key while using the scroll wheel to make the font bigger or smaller.

Yes it is nice to control the font size and I see on-line news papers using it. Older people often like bigger fonts, but there are many reasons which are valid. Anyway, I think there is no point in having it on web page any more.

DID YOU MEAN THIS?

It just occurred to me that you might be talking about variable size in posting rather than from the client's point of view. smile In that case there is the heading tag, although there is no range.

115

(3 replies, posted in PunBB 1.3 troubleshooting)

I finally found the problem. I had simply copied the line

<!-- forum_include "<test.html>" -->

from somewhere here, and without really understanding. The file name should not have <> around it. smile

116

(3 replies, posted in PunBB 1.3 troubleshooting)

Slavok wrote:

Are you sure that the "test.html" file is placed in the "<FORUM_ROOT>/include/user" folder?

Very! and the line "<!-- forum_include "<test.html>" -->" line is in the main.tpl file.

When I put "<!-- forum_include "<test.html>" -->"
in the /include/user directory I get:

Unable to process user include <!-- forum_include "<test.html>" --> from template main.tpl. There is no such file in folder /include/user/

Turning on debug didn't yield any clues. Any suggestions?

118

(1 replies, posted in PunBB 1.3 discussion)

I am interested in trying an integration of PunBB into a web site. Obviously this could be done in different ways, but I only wish to explore the idea at this point. The following method sounds like a good starting point.

In another thread someone had asked: "How can place my website's menu and logo above the punbb forum, so users can navigate through the website while viewing the forum?"

To which Slavok had answered:

"The easiest way is to edit the "<FORUM_ROOT>/include/template/main.tpl" file. Do you need more information?"

I would like more information please.

@Al Heline:
I'm guessing you found the answer by now. smile I see on the "Settings -> Setup" page it has near the bottom:

By entering HTML hyperlinks into this textbox, any number of items can be added to the navigation menu at the top of all pages.

120

(3 replies, posted in Discussions)

I can't imagine what asardar is talking about. It says "seconds" and that is "time based" isn't it?

I would like to hear an answer to 8k84's question. There is Visit timeout with "Seconds idle before last visit data is updated" and there is Online timeout with "Seconds idle before being removed from the online users list". What does that mean?

The latter sounds like even if you are online, it will stop reporting you as such if there is no action for a set time. The first one is more difficult to guess. Could it be controlling the "new posts" indicator?

121

(3 replies, posted in Discussions)

I assume that Jessica found the answer somewhere and if not, then she's probably long gone anyway. Since someone else will be reading this thread I'll answer it.

The README file that comes in the download has all the instructions that are needed. The gist of it is:

1. Download the latest revision of PunBB from http://punbb.informer.com/. Decompress the PunBB archive to a directory.
2. Copy (or upload) all the files contained in this archive into the directory where you want to run your forums. (e.g. /home/user/www/punbb/)
3. Run install.php from the forum admin directory (e.g. open http://example.com/punbb/admin/install.php in your browser). Follow the instructions.

The question of how to maintain the forum technically and socially, which jonyboy mentions, are indeed the more difficult.

122

(1 replies, posted in Feature requests)

I would like to see an indication on a post that it has been marked as news if it is easy to do so. However, if it takes more than a small bit of code then I don't think it is worth while.

Parpalak wrote:

I'm sorry, I didn't notice your post. All the official extensions can be downloaded via the official extensions page.

Oh now I get it! lol. The 1.3.6 is the version number of the EXTENSION. Like an idiot I thought it was the PunBB version. (blush) I'll have a look at that then.

I must say though, as I get to know this software I'm starting to like it more and more. Even for an amateur like me it is not difficult to get it to look the way I want. Thanks!

Well, I still can't find 1.3.6. However 1.3.4 is just great and I found the solution.

In case anybody else would like to do this, the styles.css file in the pun_bbcodes directory contains a line "div#pun_bbcode_bar .graphical div#pun_bbcode_smilies" and all that is necessary is to change "float: right;" to "display: none;". Simple solution, and I'm happy now. smile

Parpalak wrote:

I've just released pun_bbcode 1.3.6. This version takes into account the smilies option.

That sounds great! Where can I find it?

PS: I've honestly spent over an hour with google, your website, and the various PunBB/informer and subversion repositories so I'm starting to feel really stupid. smile