Patch - locking of individual posts (General)
Good idea and yes, I am interested.
Would you kindly post a link or send an email to me?
cheersUli
Ofcourse you can get the patch, see below.
The patch will *not* work against 2.0_RC1 !!!
I'll fix it and release another patch in a couple of hours - I hope
Dont forget to save the originals before applying the patch - in the parent dir to the forum do a:
tar czf my-mlf.tar.gz forum/ --exclude 'templates_c/*'
You can get the patch from:
http://www.djingis.se/~ep/patch-lock-20b25.zip
Just put it in your forum directory and unzip it.
The changed files are:
ep@shere:~/src/mlf/forum$ svn -r 9:12 diff --summarize
M lang/english.lang
M includes/posting.inc.php
M includes/entry.inc.php
M templates/default/style.css
AM templates/default/images/lock2.png
M templates/default/entry.tpl.inc
M templates/default/thread_linear.tpl.inc
M templates/default/thread.tpl.inc
If you want a patch-file, you can get it from:
http://www.djingis.se/~ep/patchfile-lock-20b25.patch
cd to your forum directory and apply the patch with
patch -p0 < path/to/patchfile/patchfile-lock-20b25.patch
In the later case, you need the zip anyway, since there is a png (a monochrome lock) that you don't get from the patch file. Put the png (lock2.png) from the zip-file in templates/default/images/
As always, no guarantee about function. Please tell me if there are any problems and I'll try to fix them.
/erik