Hi -
Thanks for the great MOD! The installation has gone well. Using v.1.7.7
Some issues to report:
Problem 1: In the details.html, for the language for the fields {lang_top_100_picture_last_view_date} and {lang_top_100_picture_last_view_user} does not appear although the data for the fields {image_last_view_date} {image_last_view_time} and {image_last_view_who} does appear so I know my paste is correct, and the colors do work.
checked the details.php and here is the code:
$site_template->register_vars(array(
"msg" => $msg,
"clickstream" => $clickstream,
"lang_category" => $lang['category'],
"lang_added_by" => $lang['added_by'],
"lang_description" => $lang['description'],
"lang_keywords" => $lang['keywords'],
"lang_date" => $lang['date'],
"lang_hits" => $lang['hits'],
"lang_downloads" => $lang['downloads'],
"lang_rating" => $lang['rating'],
"lang_votes" => $lang['votes'],
"lang_author" => $lang['author'],
"lang_comment" => $lang['comment'],
"lang_prev_image" => $lang['prev_image'],
"lang_next_image" => $lang['next_image'],
// --------- MOD TOP 100 ----------
"lang_top100_picture_last_view_date" => $lang['top_100_picture_last_view_date'],
"lang_top100_picture_last_view_user" => $lang['top_100_picture_last_view_user'],
"image_last_view_date" => $image_last_view_date,
"image_last_view_time" => $image_last_view_time,
"image_last_view_who" => $image_last_view_who,
// --------- MOD TOP 100 ----------
"lang_file_size" => $lang['file_size']
and here is the main.php code:
$lang['top_100_picture_last_view_date'] = "Most recently viewed on:";
$lang['top_100_picture_last_view_user'] = "Most recent viewer:";
any ideas?
Problem 2: With version 1.7.7, the details.html for row1 and row2 data list has a default format that is different than your provided code.
Resolution: update your MOD instructions to match this:
<tr>
<td valign="top" class="row2"><b>{lang_top_100_picture_last_view_date}</b></td>
<td valign="top" class="row2">{image_last_view_date} {image_last_view_time}</td>
</tr>
<tr>
<td valign="top" class="row1"><b>{lang_top_100_picture_last_view_user}</b></td>
<td valign="top" class="row1">{image_last_view_who}</td>
</tr>
Problem 3: The Top 100 Downloads returns this: Found: 0 image(s) on 0 page(s). Displayed: image 0 to 0. which is correct and yet it still displays 25 pics although there is no page counter. I thought the MOD would return whatever the result was, so if 0, then it would just say 0.
Problem 4: The Top 100 Last Viewed is not a top 100, as you say, but soon we'll have upwards of 5,000 + pics. Is there any way to limit this number? Maybe to a 100?
)
Correction to MOD instructions:
in your main.php english file, your last two lines, 26 and 27, are still in german:
$lang['top_100_url_view'] = "zuletzt angesehen";
$lang['top_100_url_rating'] = "Top100 Bewertung";
Resolution: May I offer this fix:
$lang['top_100_url_view'] = "Top100 Recently Viewed";
$lang['top_100_url_rating'] = "Top100 Rated";
A formatting Issue: The column widths do not enlarge/shrink as some of the columns are disabled. On your demo site, which is gorgeous, the columns are nice and tight and just wide enough for the data. How can we achieve that with the MOD you created?
A Humble Request: Is there anyway to add a link to the username that appears under the thumbnail? I have done this with the username in the comments and shoutbox but it would be so killer to have that link on the top 100 as well.
Thanks for your help and input, if you can offer any insight.
- Brian