Damn.
ok thanks

I do really appologise for bring up this old thread.

Is there a skinning guide to punbb?
I just need a reference sheet for what affects what.

Sorry to bring up another old topic but is this guide still kickng a around?

regards

4

(6 replies, posted in Feature requests)

Fantastic thank you.
Although when I logout and click the now displayed forum I get this error message:

Info

Bad request. The link you followed is incorrect or outdated.

Is there anyway I can replace that with a tidy "You do not have permission to view this forum" message?

5

(6 replies, posted in Feature requests)

Sorry to bring up an old topic.
I was wondering if there is a way to unhide a forum?

So people can see that the private forum is there but not be able to open it to read the topics.

regards

6

(10 replies, posted in PunBB 1.2 discussion)

I had a look I'm not promising anything but I do have a question.
What does this do and where is it specified?
<div class="clearer"></div>

(Also the code itself is messy if you validate it and try to clean up the errors a lot of errors will go away but I don;t know if that is the case here.)

I checked nucleus out earlier.
Essentially you still have to create templates for the CMS.
I'd have to have something that reads the xml output and displays it on a seperate page.
Even then it uses the db to store the articles.
It's decent enough for like a blog but not as an online publishing tool I'm afraid.

from the textpattern faq wrote:

Textpattern is designed as a stand-alone application. Trying to embed it in another page or script doesn?t work well, for various reasons.

Usually that turns out not to be nessary though. Try doing things the other way around: embed your content in Textpattern, using page templates, forms and < txp:php> tags. That way you?ll have a consistent interface for editing all of your pages.

Posted Sep 9, 01:21 am by Alex Shiels

This is my main complaint with nearly all the opensource CMSs I have looked at.
I mean we bust our nut trying to seperate style and content, developing css and best practices, only to be backdoored by CMS devs who proudly put "xhtml compliant!" as there main feature yet fail to grasp other basic web concepts.

I think I'm against using Punbb as a CMS (using posts as articles) as with the host and set up I have physical space isn't an issue but cpu load and db space is.
So what I have decided to try and do is use flat pages to store the articles and just index them with the db.
So I'll have a load of pages called <title>.html indexed by <title> into various <catergories> and tagged with <keywords> (for searchablility) in the db.

(If I use the db to contain the articles, do the indexing and maintain punbb it will fall over in no time at all (and it's cheaper to just buy a new hardrive rather then upgrade the server)).

What I'm hoping to do is have 4 templates (representing the four different types of articles) and just structure the information so that you just fill in the forms (<title> <catergory> <summery> <article> <keywords>) and the php will fill in the information according to the template and then write a file called <title>.html.

That way I can run the db index when the editor publishes the article on the frontpage.

I do want to use punbb to handle the commentating though so when the first person writes a comment it creates a forum post in the relevent forum.

I'll give frontpage and miniportal a go though thanks for that guys.

Essentially all I want the cms to do is allow a writer to create an article to be checked and published later by an editor.

The actual articles needs to be in this format.

<title>
<Category>
<date>
<description/summery>
<article text>

Whilst having the newest published article tagged as <latest>.
And have it's comments (registered users only) to be handled by punbb (so I can use the same user db for punbb too).

I really want to seperate content from display so I don't want to have to 'skin' the cms output but rather be able to put the output anywhere I want via includes (hence the formatting).

This way I can have the latest published article titled and summerised on the main page (so you click on the title to be taken to the main article on another page with comments) and have the older articles elsewere on the page and then later archived by category.

All I can find are either giant bloat portals or blog software.

Please help me.

Hi this is EXACTLY [almost!] what I have been looking for.
I wanted an easy cms that had clean code, that didn't require me to create a site around it (ie template the cms output), that I could just insert the bits I wanted however I wanted (in my case just the heading and description).
I also wanted the comments system to tie into punbb (user db etc).
Basically an article post/display/edit/comment sytem tied into punbb.

So this is perfect [ish]!

But!

I need a way so that any contributer can create an article but it has to be checked and 'published' by an editor before it becomes live and pushes the top news story off the page.

Preferably I would want to do this elegantly without having to, say, move by hand an article from a 'to be checked' forum to a 'live' forum.
Which is why I'm here smile

Also is there way I can grab specific topic titles, tack on a witty description and publish them to the frontpage?

Thanks again for this extension you are a life saver.

11

(5 replies, posted in PunBB 1.2 show off)

Ok great
Thanks for the code!

12

(5 replies, posted in PunBB 1.2 show off)

That looks really lovely but I have a question.

How are you pulling news from forum posts [with comments]?

Thanks for that Tobi.
Unfortunately I got this error:

Warning: mkdir(cache): Permission denied in D:\Web-server\deadllamas.net\wwwroot\forums\mkdir.php on line 2

Ok so PHP not being able to write to the working directory is the problem and getting the admin to make the directory writable [by PHP] or make the directory chmodable above 666 are the only answers?

If that's correct then I'll need to talk to the admin which is bananas because I don't speak Danish!

How do I chown the folder [what's the best program to use?] and how do I find out what the php user is?
Also I don't know any php so if you could provide me with a mkdir script I would be very greatfull.

I'm really sorry about the questions/requests! [I'm better at css then I am at forum/database malarky, once the forum works and I'm done with it I'm sure you guys will love it smile ]

I use the chomd ability in both cuteftp and filezilla to 777 the directory but it never changes it always stays at 666 [it says (drw-rw-rw) on all the folders].
I do not have shell access to the host so I have to go in via ftp only (as far as I know).

Any help would be appreciated.

Unfortunately that is the problem. I can not change it to 777 only 666 and below due to restricted access by my host.

Right now the folder is 666 which is 'read' 'write' across the board [user, group and public] but not execute and I still get the error.

How do can I find out if php can write to a directory?
Will I find that in phpinfo() ?

I can post the url for my phpinfo() page if it helps (is that safe? I have no idea!)

Thanks.

Is there anyway around this?

I get this error when I try and install:

Warning: fopen(./cache/cache_config.php): failed to open stream: Permission denied in D:\Web-server\deadllamas.net\wwwroot\forums\include\cache.php on line 89
An error was encountered
File: D:\Web-server\deadllamas.net\wwwroot\forums\include\cache.php
Line: 91

PunBB reported: Unable to write configuration cache file to cache directory. Please make sure PHP has write access to the directory 'cache'

I ask this because I installed phpbb with similar issues previously and it gave me a work around so I was wondering if there is anything I can do so I can use punbb.

Please help