2,751

(20 replies, posted in PunBB 1.2 discussion)

thekore wrote:

with this talk of overwritting mods, why dont punBB wait off, and add some of these mods such as Polls/Attachments into a completely new 1.2 release? Or possibly these large changes would give it reason to go to version 2?

Some of us neither need nor want the features provided by mods which in partly why we are using PunBB is the first place.

2,752

(93 replies, posted in PunBB 1.2 discussion)

I must be going blind. I can't see where you are going to get the header row (the blue row in Oxygen) from. Don't you need another list with just the column headers

Forum           Topics Posts    Last Post      Moderators

2,753

(35 replies, posted in PunBB 1.2 show off)

JohnS wrote:

Hey Rickard
I like the feature on PunBB site which shows recent discussions. I'd like to place something like that on my site's main index page.
How do you do it?

Not Rickard; but for the answer take a look at extern.php. Basically you call extern.php from outside PunBB and it provides the relevant data depending on the paramenter that was used to call it.

2,754

(15 replies, posted in General discussion)

Dale wrote:

2Gb is really reducing me to what i can do.... most programs that i wanna install are just too big.. and C++ fills up most of my space... so i had to uninstall it again today... anyone got any h/ds going spare for a small price or something?

No problem. I ripped out a 40Gb drive not so long ago, its not even very old. I don't have any use for it. Getting it to survive the Royal Mail will be another matter. Email me and let me know where to send it.

2,755

(93 replies, posted in PunBB 1.2 discussion)

Nice. I have started tinkering with the CSS to see what I can come up with. Trouble is, I keep adding divs to block bits of the page together to make it easy to use borders and background-color.

I don't know the answer yet but I'm working on it. What I can tell you it that looking at your code you seem to have a closing div "</div>" outside the closing body tag instead of inside it. Fix that before doing anything else.

2,757

(11 replies, posted in Programming)

Woppe wrote:

On my site, http://www.codeshack.se you can find some scripts and a few articles.
Hope you like it, and good luck with the scripting! smile

My god, I thought PHP was hard enough. You mean I have to learn Swedish as well.

2,758

(142 replies, posted in PunBB 1.2 discussion)

Rickard wrote:

When I visit that URL, I get redirected to http:///suspended.page/ ?

It gets worse. They seem to have replace PunBB with phpBB.

2,759

(35 replies, posted in PunBB 1.2 show off)

I wouldn't worry to much about the markup. The reason I asked to see the code was because the system at XtraCAD seemed to work so efficiently, certainly more efficiently than anything I could come up with. Its the php I was really interested in. The markup will vary from site to site anyway. I had it in mind that maybe it could be knocked into a disbributable form with a set of instructions which would allow non-coders to implement a site wide login system. It might also be of particular interest if anybody has a go at designing a PunBB portal (which they inevitably will) or wants to integrate with a news posting or blog system.

One question. You use a script called dbconnect.php. Is there any reason why the code couldn't be modified to include PunBB's own database function file (common_db.php) instead in which case it would cease to be mysql specific. I apologise in advance if thats an idiot newbie question.

The following appears to be missing from your stylesheet

TABLE.punspacer {border: none;    width: 100%}

Because it is missing the table containing the new posts link is only expanding to the width of its content not the full width of the board. The link itself is aligned perfectly, its the table that out of wack.

2,761

(93 replies, posted in PunBB 1.2 discussion)

Check this out. phpBB converted to a tableless design.
http://portal.portland.co.uk/forum/index.php

Louis, interesting article about the floats. I really will have to swot up on negative margins. As for the breadcrumbs; if it's a list would that give people the option of having it stepped YABB style
   >your are here
        > now here
             >and even here.

2,762

(142 replies, posted in PunBB 1.2 discussion)

Jovani wrote:

Russian Board
http://master-tv.com/forum/index.php
2021 registered users, 6036 topics and 48703 posts.

Whats really pleasing is how quick it is. One of the forums has 88 pages but it doesn't seem to slow the board down at all.

2,763

(35 replies, posted in PunBB 1.2 show off)

Thanks for the code guys. I had a go at doing this myself but was having trouble. John, I received you email but when I tried to reply it bounced.

Just as an experiment, try removing the Doctype declaration.

I read somewhere that the problem with IE is that it adds the width of the vertical scrollbar to the width of the content of the iframe. That means if the content is 100% of the width of the iframe and then you add the width of the vertical scrollbar you are bound to end up with a horizontal scrollbar. It seems that getting rid of the Doctype has been known to solve the problem.

Another thing you could try is put the whole board in a wrapper div and set its width to say 90% and see what happens.

Gizzmo wrote:

how tho?

Because (theoretically) you will be able to control the layout of the board through the style sheet.

Some good points. I agree page 4 is a bit cluttered. I will see what I can do. Just worked it out. Label the columns with leters A, B etc and then provide a key.

I started from the position that the most tedious part of changing the boards appearance was not editing the style sheet but rather working out which bits did what. You are right though, this doesn't help people who don't actually know anything about CSS at all and don't really want to know. I think the best idea, as you suggest, is a blow by blow tutorial showing examples of how to change one style into another. Maybe also a quick explanation of how to add a graphic logo which is something a lot of people will want to do. The existing style guide would then be released as a "Style Sheet Reference".

2,767

(14 replies, posted in Feature requests)

Louis wrote:

Once we've CSS, that will be no problem ? and entirely up to the end-user/implementer wink

Provided they understand something about CSS poitioning, otherwise they could end up with a Picasso smile

2,768

(3 replies, posted in Programming)

Read this
http://www.htmldog.com/guides/cssbeginner/
They also have links to their intermediate and advanced tutorials at the page I have given you. Since you are designing a forum look out for articles on styling tables

This is the replacement for the Skinning Guide. I have now done the whole thing as a Word Doc which is then converted to a pdf. The idea is that people should still use the pdf but having the original as a Word Doc makes it easier to update and, if anybody is interested, translate.

I have removed most of the hints and tips as most people just want an explanation of which bits of the style sheet relate to which bits of the board and I felt my musings just got in the way. There is also the fact that there is a slim chance v1.2 might be tableless in which case a complete rewrite would be necessary.

I have some tutorials in preparation dealing with adding graphics, adding CSS buttons, making alterations to main.tpl etc. These will be released individually and then combined into an Advanced Style Guide. I am also finishing off a static version of PunBB which will allow people to test stylesheets on their own PC's without installing PHP ectc.

The basic Style Guide can be downloaded here.

http://www.post21.co.uk/StyleGuide111.pdf
http://www.post21.co.uk/StyleGuide111.doc

Could somebody check for errors before putting it out as a release. If you think I should have covered something in more depth or I have missed something let me know, it's easy enough to add stuff. Thanks.

2,770

(14 replies, posted in Feature requests)

Alon wrote:

i think that many people will perfer phpBB or IB because of
the extra options.

Thats probably true. However, the purpose of PunBB as I see it is to provide an alternative for those people who wanted something light and fast which could be easily integrated into their site. I don't think PunBB was ever intented to be competing directly with IPB or phpBB, its a different market. When choosing a script people should work out what they need and choose what does the job. Taking one script that doesn't meet your requirements and then altering it so it is exactly like another script which would have been a more appropriate choice in the first place seems pointless.

What I have noticed though is that there are an awful lot of forums running IPB and phpBB using the default skin and hardly using any of the cute but non-essential features. I do wonder if people actually think what they really need before choosing a script.

Andy wrote:
zc923 wrote:

To be a webmaster, you must be willing to go through the tedious work of maintaing a secure, up to date site.

wrong. anyone can be a webmaster; the "willing to do tedious work part" is what dedicated webmasters do wink

Both wrong. "tedious work" is what rich webmasters pay poor webmasters to do.

2,772

(35 replies, posted in PunBB 1.2 show off)

That really is a nice looking site. I normally don't like portal style sites becasuse they are cluttered but somehow you have made a lot of information available and still kept a nice clean look.

Any chance of you publishing your code for getting the login to work since it is something a lot of people have been asking about.

2,773

(3 replies, posted in Programming)

I'm trying to learn something here so I am trying to work out how this works. Is this correct.

Instead of having to fetch config information from the database all the time, the database is queried and the results are stored in a php file. MMCache is then used to compile the php file. This results in a speed increase because retrieving the information from a compiled php file is faster than running a database query(s).

Are there any security implications because you are allowing writing to php files? Not that it makes much difference because I bet a lot of people are running PunBB with CHMOD 777 anyway.

2,774

(93 replies, posted in PunBB 1.2 discussion)

I can't remember now how you were doing this. Are you using definition lists? I was just wondering because I saw a nice little article on their use at MaxDesign
http://www.maxdesign.com.au/presentation/definition/

The examples are worth a look. Some of the examples look very similar to parts of PunBB. Whether or not Definition lists are symantically correct seems to be up for grabs.

I was looking at the upgrade from 1.4 to 2 i.e. a full version upgrade. What it effectively allows is to do a new install over the top of an existing install just like some software. In PunBB terms it would be like jumping from 1.0.1 to 1.2 in one go without having to do anything manually. The instructions do however contain a dire warning that the whole long winded process could fail if there was a server timeout.