Notifications
Clear all

Series reverts to moderated even if open is selected

8 Posts
4 Users
0 Reactions
2,293 Views
(@jacci)
Posts: 503
Honorable Member
Topic starter
 

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

 
Posted : 29/06/2007 8:23 am
(@tammy)
Posts: 2577
Member Moderator
 

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;

 
Posted : 30/06/2007 3:20 pm
(@jacci)
Posts: 503
Honorable Member
Topic starter
 

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;">&nbsp;</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

 
Posted : 02/07/2007 8:37 am
(@tammy)
Posts: 2577
Member Moderator
 

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.


 
Posted : 13/07/2007 7:32 pm
(@jacci)
Posts: 503
Honorable Member
Topic starter
 

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

 
Posted : 14/07/2007 10:00 am
(@lpigott)
Posts: 7
Active Member
 

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?


 
Posted : 10/10/2007 4:12 pm
(@tammy)
Posts: 2577
Member Moderator
 

Please post your site's URL so I can take a look.


 
Posted : 20/10/2007 8:53 pm
Jan_AQ
(@jan_aq)
Posts: 1300
Noble Member
 

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

 
Posted : 07/04/2009 2:41 am
Share: