Hello,
I have finally got this mod to work. This is what has to be done:
1st PROBLEM: Settings for news system are not saved:
SOLUTION:
As deenee said, there is some data missing in the table "settings" for the news settings to be saved.
This is the SQL I used to insert the lines:
INSERT INTO `settings` VALUES ('news_home_display', '1');
INSERT INTO `settings` VALUES ('news_nb', '2');
INSERT INTO `settings` VALUES ('news_nb_days', '10');
INSERT INTO `settings` VALUES ('news_cutoff', '5');
INSERT INTO `settings` VALUES ('news_html', '0');
INSERT INTO `settings` VALUES ('news_bbcode', '0');
INSERT INTO `settings` VALUES ('news_bbcodeimg', '0');
As you can see, I have assigned an initial value (the number on the right for each setting) which I thought was fine.
So copy&paste these lines in your MySQL GUI and now from the ACP you'll be able to successfully set the news settings
2nd PROBLEM: When you click on 'Archives', no news are shown.
SOLUTION: First, I warn you I am not an expert on 4images template system, so I may have made a mistake, but apparently the solution is working.
On news.php (in 4images root directory):
Delete the line:
"news_contents" => $comments,
Find:
$contents = $site_template->parse_template("news_show");
Add before:
$site_template->register_vars(array(
"news_contents" => $comments
));
That's it!
Regards.