1 of 2
1
Default Status for Non Super Admins
Posted: 15 December 2010 01:41 AM   [ Ignore ]
Has a Great Personality
Rank
Total Posts:  41
Joined  2010-11-08

When publishing entries as myself (Super Admins) I can get a default status set to Pending But when I try to use another user from a different group this gets defaulted to Closed.

I have a stauts group (with Pending) assigned to the Channel and have also Default Status of Pending set in SafeCracker.

{exp:safecracker channel="fixtures" 
    
return="fixtures/thanks_row" 
    
datepicker="no"
}

<fieldset>
<
input type="hidden" name="allow_comments" value="n" />
<
input type="hidden" name="status" value="Pending" />

<?php
$exec_league 
'{exp:member:custom_profile_data}{exec_league}{/exp:member:custom_profile_data}';
?>

<table cellspacing="0">
    <
tr>
        <
td>
            <
input type="text" name="entry_date" id="entry_date" value="{current_time format='%Y-%m-%d %H:%i'}" maxlength="23" size="16" />
            <
input type="hidden" name="title"  id="title" value="{title}" />
        
{if logged_in_member_group == 1}

        
<select name="category[]">
                <
option value="" selected="selected">--</option>
                
{exp:channel:categories cache="yes" channel="seasons" refresh="60" style="linear"
         {if parent_id
=='0'}<optgroup label="{category_name}">
                    
{if:else}<option value="{category_id}">{category_name}
                    {
/if}
                    {if parent_id
=='0'}</optgroup>
                    
{if:else}</option>
                    
{/if}

        {
/exp:channel:categories}
    
</select

    
{field:fixture_home_team} {field:fixture_away_team} 
    {
/if}

    {if logged_in_member_group 
== 8}

        
<select name="category[]">
                <
option value="" selected="selected">--</option>
                
{exp:channel:categories cache="yes" channel="seasons" refresh="60" style="linear"
        {if category_id 
== '<?php echo $exec_league?>' || parent_id == '<?php echo $exec_league?>'}
                    {if parent_id
=='0'}<optgroup label="{category_name}">
                    
{if:else}<option value="{category_id}">{category_name}
                    {
/if}
                    {if parent_id
=='0'}</optgroup>
                    
{if:else}</option>
                    
{/if}
        {
/if}
            {
/exp:channel:categories}
        
</select>
            
            
{exp:member:custom_profile_data}
                {embed
="fixtures/home_team" exec_league="{exec_league}"} {embed="fixtures/away_team" exec_league="{exec_league}"}
            {
/exp:member:custom_profile_data}


    {
/if}
            
<button type="submit" name="submit">Submit</button>
        </
td>
    </
tr>
    <
tr>
        <
td>
            
        </
td>
    </
tr>
</
table>
</
fieldset>
{/exp:safecracker} 
Profile
 
 
Posted: 15 December 2010 02:55 AM   [ Ignore ]   [ # 1 ]
Teen Scream
Avatar
RankRankRank
Total Posts:  3541
Joined  2009-05-29

What do you have set for default status in the SafeCracker settings? In the preferences for that channel, you can also choose a default status. What is that default status there?

Profile
 
 
Posted: 15 December 2010 03:10 AM   [ Ignore ]   [ # 2 ]
Has a Great Personality
Rank
Total Posts:  41
Joined  2010-11-08
Rob Sanchez - 15 December 2010 02:55 AM

What do you have set for default status in the SafeCracker settings? In the preferences for that channel, you can also choose a default status. What is that default status there?

Its set as Pending for that Channel

Profile
 
 
Posted: 15 December 2010 03:11 AM   [ Ignore ]   [ # 3 ]
Teen Scream
Avatar
RankRankRank
Total Posts:  3541
Joined  2009-05-29

In both the SafeCracker settings AND the channel settings? Interesting.

Profile
 
 
Posted: 15 December 2010 03:18 AM   [ Ignore ]   [ # 4 ]
Has a Great Personality
Rank
Total Posts:  41
Joined  2010-11-08
Rob Sanchez - 15 December 2010 03:11 AM

In both the SafeCracker settings AND the channel settings? Interesting.

It wasn’t initially and then I seen it on the forums and changed it but made no difference.

Profile
 
 
Posted: 15 December 2010 03:19 AM   [ Ignore ]   [ # 5 ]
Teen Scream
Avatar
RankRankRank
Total Posts:  3541
Joined  2009-05-29

OK, thank you for checking into that. I’ll have to do some testing and get back to you.

Profile
 
 
Posted: 15 December 2010 03:44 AM   [ Ignore ]   [ # 6 ]
Has a Great Personality
Rank
Total Posts:  41
Joined  2010-11-08

Thanks

Profile
 
 
Posted: 15 December 2010 09:55 PM   [ Ignore ]   [ # 7 ]
Teen Scream
Avatar
RankRankRank
Total Posts:  3541
Joined  2009-05-29

I ran some tests and everything seems to be working fine. The only thing I can see that causes this is if you don’t have a status group selected in your channel’s group assignments.

Profile
 
 
Posted: 16 December 2010 12:27 AM   [ Ignore ]   [ # 8 ]
Has a Great Personality
Rank
Total Posts:  41
Joined  2010-11-08

I must be missing something else then.

Fixtures Channel group assignment = Fixtures Statuses

Fixtures Channel Preferences
Default Status = Pending

SafeCracker
Fixtures
Default Status = Pending

Profile
 
 
Posted: 16 December 2010 12:30 AM   [ Ignore ]   [ # 9 ]
Teen Scream
Avatar
RankRankRank
Total Posts:  3541
Joined  2009-05-29

Is Pending (capitalized) in the Fixtures Statuses groups?

Profile
 
 
Posted: 16 December 2010 01:03 AM   [ Ignore ]   [ # 10 ]
Has a Great Personality
Rank
Total Posts:  41
Joined  2010-11-08

It is Yes

Profile
 
 
Posted: 16 December 2010 05:05 AM   [ Ignore ]   [ # 11 ]
Has a Great Personality
Rank
Total Posts:  41
Joined  2010-11-08

Is it to do with my setup or safecracker and could it be the version of safecracker.  I don’t think I have the latest version

Profile
 
 
Posted: 16 December 2010 07:51 PM   [ Ignore ]   [ # 12 ]
Teen Scream
Avatar
RankRankRank
Total Posts:  3541
Joined  2009-05-29

Updating to the latest version wouldn’t hurt smile

Profile
 
 
Posted: 17 December 2010 02:03 AM   [ Ignore ]   [ # 13 ]
Has a Great Personality
Rank
Total Posts:  41
Joined  2010-11-08
Rob Sanchez - 16 December 2010 07:51 PM

Updating to the latest version wouldn’t hurt smile

Where do I get access so I can try.

Profile
 
 
Posted: 17 December 2010 02:11 AM   [ Ignore ]   [ # 14 ]
Teen Scream
Avatar
RankRankRank
Total Posts:  3541
Joined  2009-05-29

Where’d you make your purchase? If you purchased from us, you can download at http://barrettnewton.com/store/downloads If you purchased from Devotee you have to go to your account page there to download it.

Profile
 
 
Posted: 17 December 2010 02:14 AM   [ Ignore ]   [ # 15 ]
Has a Great Personality
Rank
Total Posts:  41
Joined  2010-11-08
Rob Sanchez - 17 December 2010 02:11 AM

Where’d you make your purchase? If you purchased from us, you can download at http://barrettnewton.com/store/downloads If you purchased from Devotee you have to go to your account page there to download it.

I have been trying to get in contact with the EE Developer that bought the software when we we adding the SAEF’s.

Profile
 
 
   
1 of 2
1