Here is a quick fix that makes the Forum plugin work with Elgg 0.8 (just till I update it fully)...
In lib.php, edit line 60 to read:
if (($file == $CFG->dirroot . "mod/blog/lib/weblogs_user_info_menu.php"))
Here is a quick fix that makes the Forum plugin work with Elgg 0.8 (just till I update it fully)...
In lib.php, edit line 60 to read:
if (($file == $CFG->dirroot . "mod/blog/lib/weblogs_user_info_menu.php"))
Posted by Tim Hawes @ Plugins
Site supported by Curverider Ltd - powered by the awesome Elgg
Comments
is in in the LIB in the directory FORUM, or in the directory BLOG ? ;)
I can't figure it out :S
Find the file called lib.php in the /mod/forum directory.
Around line 60 you will find a block of code that starts with:
foreach($function['display:sidebar'] as $key => $file)
You need to change the line that starts with if (($file == $CFG->dirroot to read as follows:
if (($file == $CFG->dirroot . "mod/blog/lib/weblogs_user_info_menu.php"))
Hope this helps
./tim
turns out there is much more to fix than I first though - lots has moved around in Elgg 0.8.
I'll get a full new version up tomorrow or Friday.
./tim
For the last couple of days I have been struggling with the forum mod trying to get it to work.
I have just done a completely new fresh brand new install to see if that would work.Everything went well until I uploaded the forum mod.
The page came up warning my that my mysql was not ready for the forum. The instructions say login to new and it will do a database update but the site was stuck and wouldn’t let me move on. So instead I did the mysql update from the file in the forum folder.
Then I pressed continue and Voila I’m in.
Then when pressing files or networks I get these messages.
Warning: run(/home/mybhak5/public_html/mod/forum/userdetails_actions.php) [function.run]: failed to open stream: No such file or directory in /home/mybhak5/public_html/units/engine/library.php on line 42
Warning: run(/home/mybhak5/public_html/mod/forum/userdetails_actions.php) [function.run]: failed to open stream: No such file or directory in /home/mybhak5/public_html/units/engine/library.php on line 42
Warning: run() [function.include]: Failed opening '/home/mybhak5/public_html/mod/forum/userdetails_actions.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/mybhak5/public_html/units/engine/library.php on line 42
This last error concerns me as that usr path looks odd.
And when trying to create a community I get these messages:
Warning: run(/home/mybhak5/public_html/mod/forum/userdetails_actions.php) [function.run]: failed to open stream: No such file or directory in /home/mybhak5/public_html/units/engine/library.php on line 42
Warning: run(/home/mybhak5/public_html/mod/forum/userdetails_actions.php) [function.run]: failed to open stream: No such file or directory in /home/mybhak5/public_html/units/engine/library.php on line 42
Warning: run() [function.include]: Failed opening '/home/mybhak5/public_html/mod/forum/userdetails_actions.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/mybhak5/public_html/units/engine/library.php on line 42
Warning: Cannot modify header information - headers already sent by (output started at /home/mybhak5/public_html/units/engine/library.php:42) in /home/mybhak5/public_html/mod/community/lib/communities_actions.php on line 52
There were no communities and only one user, news, prior to this attempt to add forums. So if there is some requirement to have users and communities prior to installation please let me know.
I’m at my wits ends do I’ll tinker with something else in the meantime while waiting for some response.
I've tried a lot of things including waiting for someone to help and finally found myself staring at the/mod/Forum directory and noticing that it is capitalized. I renamed it forum and Voila everything works like a charm.
For some reason Forum.zip unzips a Forum folder and for some reason I didn't notice it and rename it forum. I guess most of you were smarter than that.