Log in | Register | Lost password

Bottom
AdcProfile & Pagesetter = personal Gallery
  • Posted: 08.07.2005, 14:29
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    Hi!

    I'm currently working on a function that enables me to offer personal galleries for my users. The current state can be seen here:
    http://www.kaffeeringe.de/index.php?module=advProfile&uname=Admin

    That is advProfile. When you click on "Forum" it still is advProfile. When you click on "Galerie" you see pagesetter at work. Looks the same, eh? ;-)

    Okay. Now I have a workflow issue: I want my users to submit photos for me to approve (I want to know which copyrights my users break!).

    The standart workflow allows uploads, but no changes.

    Moremojos workflow also allows updates:
    http://www.pagesetter.org/index.php?module=pagesetter&func=viewpub&tid=4&pid=35

    But I don't know whichs permissions the users need to update their publications. They currently have "add" for tid 10 - It seems to be sufficient for the initial upload. And they can see the edit form. But the dropdown shows "update + submit" AND "update & approve" but neither works.

    plz help!
  • Posted: 09.07.2005, 09:26
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    I think they're based on the permissions Jorn outlined in the manual.

    readers pagesetter:: tid:pid: Read

    authors pagesetter:: tid:pid: Edit

    editors pagesetter:: tid:pid: Add

    moderators pagesetter:: tid:pid: Delete

    admins pagesetter:: tid:pid: Admin


    So in this case:
    give authors "edit" permissions in pagesetter and moderatorss "delete" permissions.

    If that doesn't work please see this thread:
    http://www.elfisk.dk/modules.php?op=modload&name=XForum&file=viewthread&tid=1870
    (that's where i got the code from).

    [Edited on 9/7/2005 by moremojo]

    [Edited on 11/7/2005 by moremojo]
  • Posted: 09.07.2005, 14:40
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    I change user permissions to edit. Status is:
    - I can call the edit form
    - it only shows update + submit (so far so good)
    - on submit it give back the error that I'm not allowed to use this function
    - It writes the review anyway into the db

    not nice. Any further hints?
  • Posted: 09.07.2005, 23:45
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    Sorry Amo, haven't had time to try it myself,

    [EDIT - workflow code works - confirmed]

    Someone just posted a comment on pagesetter.org that the code works fine on postnukepro.com , so I think codewise everything is fine...

    Will be trying it myself next week so I'll keep you posted with my experiences.

    [Edited on 11/7/2005 by moremojo]
  • Posted: 11.07.2005, 20:01
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    Well a little update, I got it working on pagesetter.org, so the workflow code must be correct.

    There was a little error in the permissions I outlined (instead of 'Approve', it should be 'Delete').

    Permissions should be like this :

    Authors pagesetter:: :: Edit
    Moderators pagesetter:: :: Delete

    If you still have problems with it, just send me an email and we'll get it sorted out (probably a permissions problem then).

Template courtesy of Designs By Darren.