Camen Design Forum

NNF Feature request

append delete jeanmarc

Hi Kroc, I am really linking your no-frills forum design. At the moment I am checking it out locally to see if I can use it on my site. One thing I noticed is that you mix the forum content (.rss and .xml files) with the forum sourcecode (.php etc.).

I am used to separating code from data as much as possible, and the NNF design at the moment conflicts with the way I publish code changes from local development onto the production web server (it does a folder-based sync, which causes all remote files that are not present locally to be scrubbed -- effectively wiping clean the entire forum everytime I push code onto production).

Is it possible to create a config setting that allows me to point to a separate folder on the web server to hold the forum threads and sub-forums?

I tried modifying the FORUM_PATH, but that did not do the trick (I lost CSS styling for example).

Regards, Jean-Marc.

Reply RSS

Replies

append delete #1. Kroc

Most folder sync software has options for excluding certain file types and what not. All you need to do is add exclusions for ".rss" and ".xml" to your sync software.

In the future NNF will be moving most (but not all) system files in to a sub-folder, to a. provide better data separation, and b. allow for no-htaccess mode. However, I won’t be adding an option to move the data location to NNF because it's needless complexity on my end for the sake of just adding a couple of excludes to syncing on your end. :)

append delete #2. jeanmarc

Fair comment, I will look into the syncing settings (it's been a while, that part of my workflow is up and running for years now without needing much attention). I hope I can tweak it to ignore .rss and .xml files only for the NNF folder, because at least .xml is part of my pushed code on other areas of the website. Off checking the configuration settings of lftp... regards.

append delete #3. Kroc

Trust me, I’m doing you a favour ;) Nobody agrees on everything, therefore all sync software supports custom excludes, and it’ll be handy knowledge to know whatever you work on. :)

Reply

(Leave this as-is, it’s a trap!)

There is no need to “register”, just enter the same name + password of your choice every time.

Pro tip: Use markup to add links, quotes and more.

Your friendly neighbourhood moderators: Kroc, Impressed, theraje, Martijn