[MOD] List stories ...
 
Notifications
Clear all

[MOD] List stories with no reviews.

9 Posts
5 Users
0 Reactions
1,848 Views
 Elle
(@jenny)
Posts: 594
Honorable Member
Topic starter
 

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: dramione.org
site: accio.nu

Available for skin/mod commission! πŸ™‚

 
Posted : 02/08/2007 4:03 pm
Jan_AQ
(@jan_aq)
Posts: 1300
Noble Member
 

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

 
Posted : 02/08/2007 7:08 pm
 Elle
(@jenny)
Posts: 594
Honorable Member
Topic starter
 

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: dramione.org
site: accio.nu

Available for skin/mod commission! πŸ™‚

 
Posted : 03/08/2007 6:10 am
Jan_AQ
(@jan_aq)
Posts: 1300
Noble Member
 

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

 
Posted : 03/08/2007 4:04 pm
 Elle
(@jenny)
Posts: 594
Honorable Member
Topic starter
 

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: dramione.org
site: accio.nu

Available for skin/mod commission! πŸ™‚

 
Posted : 03/08/2007 8:10 pm
(@becca)
Posts: 553
Honorable Member
 

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 πŸ™‚


 
Posted : 18/10/2007 10:27 pm
(@tammy)
Posts: 2577
Member Moderator
 

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. 


 
Posted : 19/10/2007 12:02 am
(@azurite)
Posts: 209
Reputable Member
 

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

 
Posted : 24/10/2007 4:41 am
 Elle
(@jenny)
Posts: 594
Honorable Member
Topic starter
 

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: dramione.org
site: accio.nu

Available for skin/mod commission! πŸ™‚

 
Posted : 26/10/2007 2:21 pm
Share: