Description: List stories under the top ten panels with no reviews (or least reviewed).
Requirements: eFiction 3.3
Mod History: 3/03/07 β "released".
Mod
Go to toplists/default.php
~line 98:
case "reviewedstories":
$where = "AND stories.reviews > 0 ORDER BY stories.reviews DESC";
break;
After, add:
case "leastreviewedstories":
$where = "AND stories.reviews < 30 ORDER BY stories.reviews ASC";
break;
The 30 is pretty interchangeable. I guess, depending on how big your archive is and the number of the avg. review a story gets.
Admin -> Panels -> Top Tens -> Add New Panel
Name: leastreviewedstories
Title: 10 Least Reviewed Stories
URL To Panel: toplists/default.php
Level: 0
Hidden: unchecked
Type: L
There's also Tammy's way.
archive:
site:
Available for skin/mod commission! π
Might be easier to make a Top Tens for it, list stories with the lest number of reviews or something.
Whoever said nothing is impossible never tried slamming a revolving door.
url: https://www.potionsandsnitches.org/fanfiction
php: 7.4.33 msql: 5.6.51-community GPL
efic version: 3.5.5 latest patches: yes
bridges: none mods: challenges, tracker, story end, beta, word
Ah yes!
I forgot about using panels ... I've done it. π I am having to tell it to list the stories with less than thirty reviews, though, but as my archive isn't very big I'm sure that won't be a problem & I can always modify it later.
Thank you, Jan_AQ. π
archive:
site:
Available for skin/mod commission! π
You're welcome. π
When you're done, would you be willing to share it on the boards?
Whoever said nothing is impossible never tried slamming a revolving door.
url: https://www.potionsandsnitches.org/fanfiction
php: 7.4.33 msql: 5.6.51-community GPL
efic version: 3.5.5 latest patches: yes
bridges: none mods: challenges, tracker, story end, beta, word
Sure.
toplists/default.php
~line 98:
case "reviewedstories":
$where = "AND stories.reviews > 0 ORDER BY stories.reviews DESC";
break;
After, add:
case "leastreviewedstories":
$where = "AND stories.reviews < 30 ORDER BY stories.reviews ASC";
break;
The 30 is pretty interchangeable. I guess, depending on how big your archive is and the number of the avg. review a story gets.
Admin -> Panels -> Top Tens -> Add New Panel
Name: leastreviewedstories
Title: 10 Least Reviewed Stories
URL To Panel: toplists/default.php
Level: 0
Hidden: unchecked
Type: L
(:
archive:
site:
Available for skin/mod commission! π
Jenny, since this is titled as a mod I'd like to ask so that you please edit it to conform to the mod format listed here, so that I can add it to the Mod List and make it more accessible to people. Thanks π
You should do it like this instead.
case "leastreviewedstories":
$where = " ORDER BY stories.reviews DESC";
break;
That will give you the least reviewed regardless of the actual number of reviews.
I just did this mod, and while it looks like it's working just fine, when I go to the actual list, I still see fics with reviews, as opposed to those with none, which I sort of thought was the point-- show those with 0 up to X (where you can specify X if you use Jenny's version). Instead, I'm seeing fics with 3-6 reviews, even though I know there are fics on the archive with 0. Help?
Archive: Dragonfayth
eFiction: 3.5.5/6
Latest Patch(es): Yes
bridged?: No
modified?: Yes
PHP: 7.4.25
MySQL: 5.7.32-35-log
Jenny, since this is titled as a mod I'd like to ask so that you please edit it to conform to the mod format listed here, so that I can add it to the Mod List and make it more accessible to people. Thanks π
Done. π
archive:
site:
Available for skin/mod commission! π
