Zikula: A Flexible Open Source Content Management System
home | forum | contact us

Dizkus

Bottom
Post stories without admin approval
  • Posted: 07.06.2003, 21:00
     
    kaspr
    rank:
    Softmore Softmore
    registered:
     March 2003
    Status:
    offline
    last visit:
    30.05.06
    Posts:
    60
    How do i setup personal permissions for a couple users to have access to post Stories on the main page, but not give the ability to see or access any other admin groups???

    i tried playin with this on my own, but i FUBARd the site, had to have buddy help me fix!!

    im still noob, can some one tell or point me to how i give them access? exactly???

    thanks!
    Kasper
  • Posted: 08.06.2003, 09:43
     
    mediatech
    rank:
    Helper Helper
    registered:
     April 2002
    Status:
    offline
    last visit:
    23.03.04
    Posts:
    454
    The following links may shed some light on the process.

    http://forums.postnuke.com/index.php?name=PNphpBB2&file=viewtopic&t=6130
    http://forums.postnuke.com/index.php?name=PNphpBB2&file=viewtopic&t=6614
    http://forums.postnuke.com/index.php?name=PNphpBB2&file=viewtopic&t=4439
  • Posted: 10.06.2003, 02:33
     
    kaspr
    rank:
    Softmore Softmore
    registered:
     March 2003
    Status:
    offline
    last visit:
    30.05.06
    Posts:
    60
    Ok here is what my Permissions look like:
    http://www.pnapi.com/support/permissions/submit_link.gif

    My permissions look like that exactly, and they are NOT working. I just want people to have the ability to post stories without having to approve it or give them full admin access.

    What is this CVS and do i have to edit some code some where?

    Noob icon_redface
    Kasper
  • Posted: 10.06.2003, 07:33
     
    mediatech
    rank:
    Helper Helper
    registered:
     April 2002
    Status:
    offline
    last visit:
    23.03.04
    Posts:
    454

    kaspr

    My permissions look like that exactly, and they are NOT working. I just want people to have the ability to post stories without having to approve it or give them full admin access.

    What is this CVS and do i have to edit some code some where?

    Noob icon_redface
    Kasper


    Have you added your user to the group "moderator"?

    If so and nothing is happening try replacing the file modules/NS-AddStory/addstory_categories.php with this file. Simply click on the loooong address address below and save it to hard drive.

    http://dev.postnuke.com/cgi-bin/viewcvs.cgi/*checkout*/PostNuke/Modules/Content/NS-AddStory/addstory_categories.php?rev=HEAD&content-type=text/plain

    CVS is where all current PostNuke files are stored for development.
  • Posted: 10.06.2003, 17:01
     
    kaspr
    rank:
    Softmore Softmore
    registered:
     March 2003
    Status:
    offline
    last visit:
    30.05.06
    Posts:
    60
    yes, i created a test account and added the "user" to the moderator group, but to no avail.

    i will try copying this file over tonight, wish my luck!

    thanks,
    Kasper
  • Posted: 10.06.2003, 17:29
     
    larsneo
    rank:
    Software Foundation Software Foundation
    registered:
     December 1969
    Status:
    offline
    last visit:
    15.11.08
    Posts:
    4481
    try

    Code

    moderator | Stories::Story | .* | add

    you should add a link to the submission site in the main menu:

    Code

    Write article | admin.php?module=NS-AddStory&op=main | write articles direct to the site


    --
    regards from germany
    ..::[Zikula Application Framework]::.. ..::[SEO-Blog]::.. ..::[CMS Sicherheit]::..
  • Posted: 10.06.2003, 18:54
     
    kaspr
    rank:
    Softmore Softmore
    registered:
     March 2003
    Status:
    offline
    last visit:
    30.05.06
    Posts:
    60

    larsneo

    try

    Code

    moderator | Stories::Story | .* | add

    you should add a link to the submission site in the main menu:

    Code

    Write article | admin.php?module=NS-AddStory&op=main | write articles direct to the site


    Larsneo,

    What do you mean? Are you suggesting that I change the permissions

    Code

    moderator | Stories:.*| .* | add

    to

    Code

    moderator | Stories::Story | .* | add

    ???

    and what do you mean by?

    Code

    Write article | admin.php?module=NS-AddStory&op=main | write articles direct to the site


    how do i add this link? sorry...still getting use to PN icon_redface !
  • Posted: 10.06.2003, 19:17
     
    larsneo
    rank:
    Software Foundation Software Foundation
    registered:
     December 1969
    Status:
    offline
    last visit:
    15.11.08
    Posts:
    4481
    1. yes - you should use the correct component 'Stories::Story'
    2. if your moderators want to write articles without admin approval they need to access the admin section (admin.php?module=NS-AddStory&op=main) - the easiest way is IMHO to add a link in the main menu (in administration-blocks) pointing to this URL (the link itself can be hidden for non-moderators with the PostNuke permissions (based on the 'Menublock::' component)

    --
    regards from germany
    ..::[Zikula Application Framework]::.. ..::[SEO-Blog]::.. ..::[CMS Sicherheit]::..
  • Posted: 11.06.2003, 06:16
     
    kaspr
    rank:
    Softmore Softmore
    registered:
     March 2003
    Status:
    offline
    last visit:
    30.05.06
    Posts:
    60
    Larsneo,
    Thanks!! That did the trick!! I got it to finally work for me!!!

    MediaTech and Larsneo...thanks for all your help! I got it to work!

    Kasper
  • Posted: 17.07.2003, 07:32
     
    yeahcao
    rank:
    Freshman Freshman
    registered:
     June 2003
    Status:
    offline
    last visit:
    29.10.03
    Posts:
    37
    I do as what you say. But when I add story I get this error:

    stories->postAdminStory: Error accesing to the database
    Program: /home/yeahcao/www/postnuke/modules/NS-AddStory/admin.php - Line N.: 1086
    Database: yeahcao
    Error (1064) : You have an error in your SQL syntax near ' 4, ' at line 21

    --
    www.yeahcao.com

Extensions Moderation

Main Menu

Extensions Database

Documentation

Development

Login

Donate to Zikula