Hi,
Here is a lit of problems I had with the last public beta (1.06 I beleive) of wf section.
1) to be able to use the wysiwyg I had to modify the file include/wysiwygeditor.php and to change all
=XOOPS_URL?>
by :
echo XOOPS_URL; ?>
2) You can modify the file named wfstree.php, comment the line 208 :
//echo $string;
3)Comment the line 1573 of the file wfsarticle.php :
//echo "groupip."' />";
4) To be able to use files descriptions with the search, edit the file include/search.inc.php :
Change
$sql .= " WHERE filetext LIKE '%$queryarray[0]%'";
to :
$sql .= " WHERE filetext LIKE '%$queryarray[0]%' OR filedescript LIKE '%$queryarray[0]%'";
modify :
$sql .= "filetext LIKE '%$queryarray[$i]%'";
to :
$sql .= "filetext LIKE '%$queryarray[$i]%' OR filedescript LIKE '%$queryarray[0]%'";
5) Modify the file named /xoops/modules/wfsection/language/english/main.php
At the end, before
?>
add :
define("_WFS_IMGERROR","ERROR: Please check path/file for image");
then modify the line 142 of the file :
fichier /xoops/modules/wfsection/index.php
Change :
$image = "ERROR: Please check path/file for image";
with :
$image = _WFS_IMGERROR;
Warning, the file named /xoops/modules/wfsection/index.php, wich display the categories does not use templates6) A big bug, you can print some articles you should NOT see. To correct this, edit the file named /xoops/modules/wfsection/print.php
change :
PrintPage($articleid);
with :
include_once XOOPS_ROOT_PATH . '/modules/' . $xoopsModule->dirname() . '/include/groupaccess.php';
$article = new WfsArticle($articleid);
if (checkAccess($article->groupid)) {
PrintPage($articleid);
}
else
{
redirect_header("index.php", 2, _NOPERM);
exit();
}
That's all.
Bye,
Hervé