Not sure if this is an actual bug or just the way i started the series using version 3.3, latest dl
Posted a series as closed originally, and not trying to edit it to open, and whenever i pick open, it resets itself to moderated. Have tried numerous times and it always goes back to moderated.
Could this be due to the fact the series started as a closed series and then cannot be altered, or is something else going on here.
http://www.pretendercentre.com/missingpieces/viewseries.php?seriesid=3
is the series i am trying to set to open
thanks, jacci
why is nothing ever easy?
url: http://www.pretendercentre.com/missingpieces/
php: 5.2.5 msql: 5.0.45-community
efic version: 3.4.3 latest patches: yes
bridges: none mods: challenges, displayword, beta-search
It's being saved correctly. The edit form just isn't setting the option to selected. At line 185 in series.php add the following line:
$isopen = isset($series['isopen']) ? $series['isopen'] : 0;
I tried that Tammy, here is a look at my code in series.php from line 177 thru to 194
$classes = isset($series['classes']) ? explode(",", $series['classes']) : array( );
foreach($classtypelist as $type => $typevars) {
$output .= "<div style="float: left; padding: 5px; width: 47%;"><label for="classes_{$type}">{$typevars['title']}:</label><br /><select size="5" style="width: 99%;" name="classes_{$type}[]" id="$type" multiple>";
foreach($classlist as $c => $vars) {
if($vars['type'] == $type) $output .= "<option value="$c"".(in_array($c, $classes) ? " selected" : "").">".$vars['name']."</option>";
}
$output .= "</select></div>";
}
$isopen = isset($series['isopen']) ? $series['isopen'] : 0;
$output .= "<div style="clear:left;"> </div></div><label for="open">"._SERIESTYPE.":</label> <select id="open" name="open">
<option value="2"".($isopen == "2" ? " selected" : "").">"._OPEN."</option>
<option value="1"".($isopen == "1" ? " selected" : "").">"._MODERATED."</option>
<option value="0"".(!$isopen ? " selected" : "").">"._CLOSED."</option>
</select><div style="margin: 1em;">"._OPENNOTE."</div>";
$codequery = dbquery("SELECT * FROM ".TABLEPREFIX."fanfiction_codeblocks WHERE code_type = 'seriesform'");
while($code = dbassoc($codequery)) {
eval($code['code_text']);
}
i just added that extra line of coding in, moving the current line 185 down to 186.
It is now holding the 'open' setting in the edit area when i reopen it, it is set to open, but in the series listing page, it is still coming up as moderated, and nobody can add to it but me (i am both admin and owner of the series)
this is what i am seeing on the series listing page
http://www.pretendercentre.com/missingpieces/browse.php?type=series
Summary: A short story in response to an original challenge: clicking, no romance, no post IOTH.
Jarod falls alseep.
Parent Series: None
Categories: Challenges
Characters: None
Genres: Drama
Warnings: None
Challenges: None
Open: Moderated [Add Series to Favorites] [Add Author to Favorites] [Report This To The Triumvirate]
PTB Options: [Add to Series] [Edit] [Delete]
thanks,
jacci
why is nothing ever easy?
url: http://www.pretendercentre.com/missingpieces/
php: 5.2.5 msql: 5.0.45-community
efic version: 3.4.3 latest patches: yes
bridges: none mods: challenges, displayword, beta-search
There's never been anything in the block on the browse page that would give anyone but admins and the owner the option to add to the series. I'll add it for 3.3.1.
thanks tammy
I doubt i will run too many open series, but it is nice to know it is there if we decide to use it
π
why is nothing ever easy?
url: http://www.pretendercentre.com/missingpieces/
php: 5.2.5 msql: 5.0.45-community
efic version: 3.4.3 latest patches: yes
bridges: none mods: challenges, displayword, beta-search
I'm having the same problem described by jacci - Series show Open: Moderated even though I've selected and re-selected (and submitted/saved) Open as the setting.
I'm running version 3.3.1. Actually, I haven't gone live with it yet. I'm still getting everything set the way I want it to work.
I checked series.php and it looks exactly as jacci's.
I must be pretty thick-headed because I don't see the resolution of the problem posted - only that Tammy was going to add this to 3.3.1, which apparently was done.
How do i set it so that the series is open and unmoderated?
Please post your site's URL so I can take a look.
Verified fixed with 3.5. Thank you Tammy! π
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
