Support » Plugin: WP Photo Album Plus » Settings doesn’t stay

  • Resolved Hans Wahlgren

    (@hans-wahlgren)


    Jacob, I have an issue with album creation for autors. When an autor creats an album and puts on a parent album it all looks fine, but the parent album setting doesn’t stay. When comming back to the new album the parent setting is blank. If I do it as admin, it works as expected. Is this a setting issue or is it a bug?

    Regards Hans Wahlgren

    The page I need help with: [log in to see the link]

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author Jacob N. Breetvelt

    (@opajaap)

    I can not reproduce this.

    Do the have Album Admin access in Table VII-A?
    Does it say ‘Parent album of album 6 updated’ in green on the album admin page?

    When comming back to the new album the parent setting is blank

    The album selection box has no blank element…

    Pls give some more info

    Jacob

    The Aughtor ad Admin has album access in Table VII-A. I have a test user and my admin user, so I can test bouth. I can see both views. I have an idea on this now. When creating an album as an Aughtor the parent field is pre populated with (probably) the latest parent used. If I don’t change that, the fielt comes out blank, but if I activly changes the field then it works.

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    Maybe you specified a parent album in Table IX-D7.1 and you deleted the album afterwards?

    Jacob

    No, nothing in IX-D7.1. And the pre populated suggestion excists.

    /Hans

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    When creating an album as an Aughtor the parent field is pre populated with (probably) the latest parent used.

    This is strange. I would like to know what is actually in the db as item a_parent.
    Pls do the following:

    – create such an album.
    – go to Table XII.
    – on the first line click on the link: Download wp_wppa_albums.csv
    open the .csv in a text editor, you will see something like:

    id,name,description,a_order,main_photo,a_parent,p_order_by,….
    1,Members,”Parent of the member albums”,0,-4,0,0,….
    2,opajaap,”Default photo album for opajaap”,0,0,1,0,….
    4,”Kimmy Breetvelt”,”Default photo album for Kimmy Breetvelt”,0,0,1,0,….
    6,”New Album”,,0,0,0,0,
    7,”Box A”,”Pdf en Multi media”,0,0,0,0,….

    Jacob

    I need to create a new album as Aughtor. Only then I get a Parent Suggestion. If I create the album as Admin, the filed is empty.

    I did an album as Admin (empty Parent Suggestion) and then as my test driver “P Rova” (got Parent Suggestion). Then changed back to Admin to pich up the db, and this is what I have in the beginnig and the end of the db.

    Beginning:

    id,name,description,a_order,main_photo,a_parent,p_order_by,cover_linktype,cover_linkpage,owner,timestamp,upload_limit,alt_thumbsize,default_tags,cover_type,suba_order_by,views,cats,scheduledtm,modified,crypt,custom,treecounts,wmfile,wmpos,indexdtm,sname
    5,”Clas Ã…berg – Visa”,”Clas Ã…berg”,2,0,0,2,content,0,”Clas Aberg”,1430171157,0/0,0,”Fotograf Clas Ã…berg”,,,2,,,1430171157,,,”a:11:{i:0;s:1:””0″”;i:1;s:1:””3″”;i:2;s:2:””11″”;i:3;s:1:””0″”;i:4;s:3:””348″”;i:5;s:1:””0″”;i:6;s:1:””0″”;i:7;s:1:””0″”;i:8;s:1:””0″”;i:9;s:1:””0″”;i:10;s:5:””17117″”;}”,,,1493238891,Clas-Ã…berg-Visa
    6,”Hans Wahlgren – Visa”,”Hans Wahlgren”,0,0,0,0,content,0,”Hans Wahlgren”,1450106168,0/0,0,”,201811,Fotograf Hans Wahlgren,”,,,35,,,1546962371,,,”a:11:{i:0;s:1:””0″”;i:1;s:1:””3″”;i:2;s:1:””3″”;i:3;s:1:””9″”;i:4;s:2:””83″”;i:5;s:1:””0″”;i:6;s:1:””0″”;i:7;s:1:””0″”;i:8;s:1:””0″”;i:9;s:2:””86″”;i:10;s:4:””3387″”;}”,,,1547131217,Hans-Wahlgren-Visa
    7,”Irina Johansson – Visa”,”Irina Johansson”,4,0,0,0,content,0,”Irina Johansson”,1428945703,0/0,0,”Fotograf Irina Johansson”,,,1,,,1428945703,,,”a:11:{i:0;s:1:””0″”;i:1;s:1:””3″”;i:2;s:1:””3″”;i:3;s:1:””0″”;i:4;s:2:””69″”;i:5;s:1:””0″”;i:6;s:1:””0″”;i:7;s:1:””0″”;i:8;s:1:””0″”;i:9;s:1:””0″”;i:10;s:4:””3607″”;}”,,,1493238891,Irina-Johansson-Visa
    9,”Mahshid Rasti – Visa”,”Mahshid Rasti”,5,0,0,0,content,0,”Mahshid Rasti”,1448091312,0/0,0,”Fotograf Mahshid Rasti”,,,151,,,1546998963,,,”a:11:{i:0;s:1:””0″”;i:1;s:1:””2″”;i:2;s:1:””2″”;i:3;s:2:””47″”;i:4;s:2:””96″”;i:5;s:1:””0″”;i:6;s:1:””0″”;i:7;s:1:””0″”;i:8;s:1:””0″”;i:9;s:3:””714″”;i:10;s:4:””6175″”;}”,,,1547131217,Mahshid-Rasti-Visa
    12,”Olle Robin – Visa”,”Olle Robin”,39,0,0,0,content,0,”Olle Robin”,1448988273,0/0,0,”Fotograf Olle Robin”,,,12,,,1474883337,,,”a:11:{i:0;s:1:””0″”;i:1;s:1:””2″”;i:2;s:1:””2″”;i:3;s:1:””0″”;i:4;s:2:””50″”;i:5;s:1:””0″”;i:6;s:1:””0″”;i:7;s:1:””0″”;i:8;s:1:””0″”;i:9;s:1:””0″”;i:10;s:4:””4158″”;}”,,,1493238891,Olle-Robin-Visa
    14,”Sven-Olof Rönnskog – Visa”,”Sven-Olof Rönnskog”,8,0,0,0,content,0,”Sven-Olof Ronnskog”,1449610240,0/0,0,”Fotograf Sven-olof Rönnskog”,,,253,,,1472935998,,,”a:11:{i:0;s:1:””0″”;i:1;s:1:””2″”;i:2;s:1:””2″”;i:3;s:1:””0″”;i:4;s:2:””49″”;i:5;s:1:””0″”;i:6;s:1:””0″”;i:7;s:1:””0″”;i:8;s:1:””0″”;i:9;s:1:””0″”;i:10;s:4:””4105″”;}”,,,1493238891,Sven-Olof-Rönnskog-Visa

    …….

    End:

    ,”Hans Wahlgren”,1549443105,0/0,0,,,,0,,,1549443105,HHEtO5OEB522,,”a:11:{i:0;s:1:””0″”;i:1;s:1:””0″”;i:2;s:1:””0″”;i:3;s:1:””0″”;i:4;s:1:””0″”;i:5;s:1:””0″”;i:6;s:1:””0″”;i:7;s:1:””0″”;i:8;s:1:””0″”;i:9;s:1:””0″”;i:10;s:1:””0″”;}”,,,1549443349,Nytt-album
    411,Provalbum,,0,0,0,0,content,0,”P Rova”,1549443163,0/0,0,,,,0,,,1549443163,44e1GevozGvG,,”a:11:{i:0;s:1:””0″”;i:1;s:1:””0″”;i:2;s:1:””0″”;i:3;s:1:””0″”;i:4;s:1:””0″”;i:5;s:1:””0″”;i:6;s:1:””0″”;i:7;s:1:””0″”;i:8;s:1:””0″”;i:9;s:1:””0″”;i:10;s:1:””0″”;}”,,,1549443349,Provalbum

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    The album is crated as a top-level album ( a_parent = 0 ) and should show up in the generic album list ( shortcode [wppa] ): for admin always, for non-admin only if it is not empty or if the user is the creator (owner) of the album.
    On the Album admin page (the table of albums) you should see: --- none --- in the Parent column.
    If you see something else, try to set wp Site Language to English (United States) for a while (could be a translation issue) or refresh the browser ( press CTRL+F5 ).
    If nothing helps, pls send me login details as admin. Mail me at opajaap at opajaap dot nl

    Well, refreshing the browser will not help as this is something all Aughtors are experiencing. I don’t think it’s a translation issue as we are delaing with a field that presents a parent but in fact is empty.

    As an amateur, I think that the suggested parent populated in the field for Aughtors is something that just shows up on the screen but doesn’t have impact in the db. Can there be some garbage remaining that fills the field? Can you by force empty the field before it is presented?

    As the result comes out correct as soon as the Aughtor changes the content of the filed, the presented pre populated parent must be a hoax.

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    Do the users have the blue ‘Create New empty album’ button above the table?
    On my testsite a non admin can only create sub-albums below his auto created album.
    How do they create the album?

    Yes, the Aughtor has the blue button and this button is used to create new sub-albums. They can also technically create “parent” albums, that’s what they get as the parent field is playing tricks, but that’s not what we want to do.

    Regards Hans

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    Ok, I found the solution.
    The album shown in the selectionbox is simply the top one of the list, because the choice —none— is missing.
    In your configuration where the user has the blue button, he should be able to set the parent to —none—.
    So, it works correctly, and i will make sure there will not be this confusion anymore in the next version.

    Super, Jacob! Thank you for all your efforts!

    Regards Hans

Viewing 12 replies - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.