Ahh, I meant archive rather than prune. We've posts going back to 2002  (and some older ones never imported I think...somewhere!).

TFD & Smartys,
Thanks for the info.

The main forum is close on 125k posts with 10,000 topics so I'll give it a prune sometime shortly.

Will try getting some more info as above, thanks for the pointers.

Thanks,
Rich

Smartys, What sort of thing did you look for? Did it resolve anything?

I'm hitting a similar problem now on a VPS. Memory and disk io are fine, it's the MySql CPU usage which I'm hitting problems with.

We had 260ish online at once yesterday, most just reading, the only real problem was when there was a flurry of posts at the same time and it started to lag pretty badly.

Database is just under 200meg.

TIA,
Rich

A little late to this. smile I'm just about to revamp the whole site but this was my first integration of punbb into my site. css and template hacked about, plus some changes to the scripts. Makes upgrading each time a bit of a pain mind.

www.barrowfc.com

Well, I don't know what you've tried do I. 
But others with the same error might not have tried that so it's a useful hint for others. Have to start with the obvious before moving onto other possible solutions.

Was only trying to help, but if you're not that stupid I'm sure you'll fix it.

Check your base url  is set correctly in admin -> options.

7

(142 replies, posted in News)

Flawless updgrade for me as well...despite my best attempts smile

Well done!

8

(1 replies, posted in PunBB 1.2 show off)

Ok, upgraded to 1.2 and re-hashed my site as well.

Very difficult to merge two template systems plus 2 stylesheets but I'm mostly there. (there are some glitches still.)

Very shortly there will be another style/template to choose from which will alter the whole layout (not just the forum.)

www.barrowfc.com

Thanks Rikard and Paul.

9

(142 replies, posted in News)

Great work Rikard and Paul.
Just downloading, will be back in a few hours once i've made all my changes smile

10

(137 replies, posted in News)

Paul, thanks for the info, that helps me solve a problem I've got also. smile

11

(137 replies, posted in News)

Well, I'm back from my hol now Rikard so feel free to release it. Thanks for waiting smile   heheh.

(actually, no rush...I've several hundred spam to delete first!)

Happy new year to everybody.

12

(137 replies, posted in News)

mi wrote:

i hope rickard takes ppl's eagerness as compliments only, and not as stressful disturbance wink

Fully agree.

13

(137 replies, posted in News)

is this like Tomorrow Never Comes?
or
The Day after tomorrow?

anymore apt film titles? smile

(sorry Rikard, not having a go here at all, just trying to pass the time.... smile)

I'll get me coat..

14

(3 replies, posted in Programming)

Problem with that is that people link into my site at various pages (ie, not always the index page).

I've found the following which seems to work.

edit your root .htaccess to read the following. (just add it at the top)

Options +FollowSymLinks
RewriteEngine on

# These are the dev guys and they're ok
RewriteCond %{REMOTE_ADDR} !^(xx\.xx\.xx\.xx|yy\.yy\.yy\.yy)
RewriteRule .* /pathto/maintenance.html

hope that helps someone else.

15

(3 replies, posted in Programming)

Ok, as we're all awaiting the arrival of rickard and his wonderful script I'll throw this one out for help on. I'm sure a few people may find it useful.

As part of the change to 1.2 I'm changing my whole site (luckily the re-design co-incided with 1.2 being released.)  This will mean moving around some directories/ pages on the site etc etc.

Whilst I'm doing this how can I stop people viewing the site? (ie, no matter what page they come into they'll all get the same page shown?)  however, I need to be able to view the site so possibly a filter on IP address might be useful to let me in.

I hope that makes sense, googling as we speak but someone here might know how to do it. (cpanel option?)

TIA,
Rich

16

(5 replies, posted in Programming)

The problem with this is that the page is in a template and so won't output until all content is done, and so I'd have to add it to every page (which of course is unnecessary.) 
I think a solution is to have in the header a list of pages which need this 'please wait' displayed and only show it for those page using a solution similar to the above.  I'll give it a go.

thanks for the help.

edit: In fact that won't work at all as the page won't even start to display until the template is outputted. Which won't occur until after all the stats have been generated.  Oh well, at least any links within my site will work fine.

17

(5 replies, posted in Programming)

Good idea, I was just investigating that. It solves one problem, but it doesn't solve if someone links direct. For that i'm struggling for a solution.

Cheers.

18

(5 replies, posted in Programming)

Thought this might be as good a place as any to ask this:

I have a page which trawls through a database and generates statistics. This takes quite a while to calculate and so the page appears to be doing nothing when the link is clicked.  What I'd like to add is a quick loading page which says "please wait, stats being calculated" whist the calculations are then carried out and the results displayed.

Any idea how to do this?  (I can imagine some sort of flag on the link, and then a redirect, but how would I stop people linking the url to the results direct? (ie, not via the wait page)

I'm sure it's a simple solution..my brain is just numb today.

TIA,
Rich

19

(137 replies, posted in News)

Great work!  Well done and thanks!

I guess that's tomorrow and friday accounted for!

edit: Can you post a link back to your main page from the forum? (ie, the return to punbb.org link) ta.

double edit: Does tomorrow mean morning or night? smile heh. Just wondering when to get the gf out of the house by so I can crack on. smile

20

(8 replies, posted in General discussion)

Christmas eve is for drinking. Christmas day is for the hangover smile

Have a good one everybody.

21

(9 replies, posted in PunBB 1.2 show off)

It shouldn't even have one <br />

Have a read of this:
http://tantek.com/log/2002/10.html#L20021022t1432

(a few other good links in there as well.) My site is now 95% clear or <b> <br /> etc. Still tweaking to get it further semantically correct.

22

(254 replies, posted in PunBB 1.2 discussion)

Paul wrote:

I would stop work on it. I've changed the css for the final version. I have had a go at sandboxing the css. Basically PunBB is in a wrapper div with class="pun". I've now made everything that does not have a PunBB specific class or id a descendant of the wrapper e.g. .pun TD, .pun P. The idea is that the stylesheets will only effect markup inside the wrapper. Site markup outside the wrapper should not be touched. If you want elements of your site to use PunBB's stylesheets then you just put it inside the wrapper div or put another div around it with class="pun".

Brilliant...that's saved me a post this morning smile I was going to ask if you could do that.
I'd tried doing the opposite and explicitiy wrapping my tags but of course it still picks up things I've not fully set.
I'll sit and wait then. smile

If you need anything testing on this let me know as I've got it integrated so can easily tell if things are being affected elsewhere.

Cheers,
Rich

23

(254 replies, posted in PunBB 1.2 discussion)

barrowfc wrote:

found my login again...rip9 was me btw.

Unfortunately I do need to display the rest of the site around the forum ..snip...
I'll have a think tonight and then play(?) with it tomorrow. I'm sure some solution will crop up. 

(and I just know my css files are going to clash smile.

Just thought I'd do a quick update...

Well, finally found the time on Sunday to sort this out and solved my problem. An easily recreateable(!) edit of header.php and  a merge of template files and css and now I've got exactly what I wanted in merging the two together and back to being able to change my whole site layout/look with the edit of 2 files smile

But I knew the css would clash...that's taking longer to go through sad
Just waiting for the non-beta release now. smile  great work Rickard/Paul.

Cheers
Rich

24

(254 replies, posted in PunBB 1.2 discussion)

found my login again...rip9 was me btw.

Unfortunately I do need to display the rest of the site around the forum otherwise people just link into the forum and aren't driven to the rest of the site.  eg, I have a random box which displays fixtures/news/shop products etc.

I'll have a think tonight and then play(?) with it tomorrow. I'm sure some solution will crop up. 

(and I just know my css files are going to clash smile.

No Probs. Just took me a while to figure out the owner part smile

Cheers,
Rich