Am pretty sure this is a cake 1.3 question - the plugin is not compatible with 2.0
I am trying to install the Miles J plugin for cakephp for forums, which can be found here: http://milesj.me/code/cakephp/forum
I am struggling with his tutorial though. Sigh.
SO, here is what i have done -
Any ideas on what I should do next? I don't mind doing a manual install, but am i on the right track? Where steps "2" and "3" meant to be run? Is there something simpler to do to get this thing working?
If you don't know, could someone recommend a simple forum plugin/tool/thing i can buy that i can use instead? I am not particularly tied to this forum plugin right now...
BONUS QUESTION: at the end of step "3" Miles helpfully suggests: "It is also a good idea to create a "forum" folder within your app/tmp folder, and chmod it to 777. "
All well and good, but do i just need to make a forum folder, or do i need to, say, tell cakephp to use it? Why is it a good idea to make a forum folder? Should i? What happens if i don't?
first of all you seem to mix up cake 1.3 and 2.0. please read the documentation and tutorials. the correct path for plugins like this one in 2.0 is /APP/Plugin/PluginName/... (also note the casing which is very important).
as you already pointed out, the forum plugin is a "plugin". therefore it needs a surrounding app (application) for it to work. if you name it "site", your forum would be in
then you should navigate to this
/site folder with your shell and there execute the
cake commands. Also make sure you loaded the Plugin via CakePlugin::loadAll() in your bootstrap.
then it will find the Plugin shells.
The 2.0 doc can be found here: http://book.cakephp.org/2.0/en/
config (as opposed to Controller and Config) then. PS: the 3.0 version of the Forum Plugin is compatible with cake2 by the way - mark 2012-04-04 10:22
plugins) :) and yes, bootstrap plugin loading is 2.0 only - mark 2012-04-04 11:20
Here is another thread that might help you run shell commands. Run plugin's shell in cakephp 2.0
The command you will run will look something like this C:\xampp\htdocs\mysite\app> ..\lib\Cake\Console\cake Forum.install