I'm working to get a multi-fandom archive up, and the old topics here have been incredibly helpful to us in tweaking the software to do what we'd like. However, there are a couple things I haven't been able to find a definitive answer on one way or the other, and I'm hoping someone can point us in the right direction.
1) We're planning on moderating submissions pretty significantly, so the queue is an important feature for us and probably the one I've had the least luck in finding the relevant mods for. We really want to figure out how to force edited chapters from unvalidated authors to return to the queue rather than being automatically approved, and while I've been on an old efiction site where that was the case, I feel like it probably had some pretty significant customization, so I have no idea how easy that is to do in general.
2) We've enabled star ratings and at this point, we're not requiring written reviews to go with them. However, what we'd really like is the ability to show how many ratings have been left - along the lines of: *** (20 ratings) - they're less useful when you don't know whether there are two ratings or eighty.
Does anyone have any suggestions for us?
Thank you so much!
While I can't give you a date on it, the new eFiction 5 will have a moderation *thing*. Not calling it queue yet, but even if a non-approved author would have a story approved, any change to a chapter or a new chapter would require moderation.
Rating will also get some love, along with the option of the sometime hated kudos, guess that would fill your requirement to some extent.
Maybe somebody can offer some eFiction 3 mods, that's not my department.
That sounds amazing, thank you! I can't wait!
If anyone has any thoughts re: mods for the moment, I'd really appreciate that as well. π
Here's my first iteration of the edit chapter changes. I plan on updating how it displays in submitted.php but the stories.php and table changes are solidly completed.
instructions:
update fanfiction_chapters
new field
title: edits
type: INT
Null: no
in stories.php
search function editchapter
add $autovalidate to global
insert @line 530
after
if(isset($_POST['submit']) && $_POST['submit'] == _ADDSTORY) {
if(!$chaptertitle || !$storytext ) $submit == _PREVIEW;
else {
if($admin && empty($_POST["uid"])) {
$result2 = dbquery("SELECT uid FROM ".TABLEPREFIX."fanfiction_chapters WHERE chapid = '$chapid' LIMIT 1");
$user = dbassoc($result2);
$uid = $user['uid'];
}
else if(isset($_POST['uid']) && isNumber($_POST['uid'])) {
$uid = $_POST['uid'];
}
else $uid= USERUID;
insert this
$storyvalid = 0;
$story = dbquery("SELECT sid, catid, title, summary, validated FROM ".TABLEPREFIX."fanfiction_stories WHERE sid = '$sid'");
if(!dbnumrows($story)) $failed .= "<br />"._ERROR;
else {
list($sid, $categories, $storytitle, $summary, $storyvalid) = dbrow($story);
$catid = explode(",", $categories);
}
if(($autovalidate && !isADMIN) || $user['validated'] || $storyvalid == 2) $validated = 1;
else $validated = 0;
update dbquery("update") to
dbquery("UPDATE ".TABLEPREFIX."fanfiction_chapters SET uid = '$uid', title = '".addslashes($chaptertitle)."', notes = '".addslashes($notes)."', endnotes = '".addslashes($endnotes)."', wordcount = '$wordcount', storytext = '".addslashes($storytext)."', validated = '$validated', submittime = now(), edited = 1 WHERE chapid = '$chapid' LIMIT 1");
and $updatequery below to
$updatequery = dbquery("UPDATE ".TABLEPREFIX."fanfiction_chapters SET uid = '$uid', title = '".addslashes($chaptertitle)."', notes = '".addslashes($notes)."', endnotes = '".addslashes($endnotes)."', wordcount = '$wordcount', validated = '$validated', submittime = now(), edited = 1 WHERE chapid = '$chapid' LIMIT 1");
in submitted.php
$result = dbquery("SELECT story.title as storytitle, chapter.uid, chapter.sid, story.catid, chapter.wordcount, chapter.chapid, chapter.inorder, chapter.title, chapter.submittime, chapter.edited, "._PENNAMEFIELD." as penname FROM (".TABLEPREFIX."fanfiction_chapters as chapter, "._AUTHORTABLE.") LEFT JOIN ".TABLEPREFIX."fanfiction_stories as story ON story.sid = chapter.sid WHERE chapter.validated = '0' AND chapter.uid = "._UIDFIELD." ORDER BY submittime");
add this in the array below (I put it before the title)
$output .= "<td class="tblborder">".$story['edited']."</td>";
