Not signed in (Sign In)
Welcome Guest!
Want to take part in these discussions? If you have an account, sign in now.
If you don't have an account, apply for one now.
    • CommentAuthorarturs
    • CommentTimeFeb 23rd 2008
     
    It could bee good not just to activate or to delete, but also to edit jobs in Admin page.
    • CommentAuthormstange
    • CommentTimeMar 7th 2008
     
    i second this motion..
    could be possible to have a option for putting the job post under the admin page, so not everyone can post jobs???

    i tried to move it, but i didn't understand all the code... and i cant get it
    • CommentAuthorxporter
    • CommentTimeApr 9th 2008
     

    Well , I created a temporary solution for this by changing a few lines of code. Not sure if it has any serious “auth problems” but it works for me.

    page_write.php:

    at line 7:
    // if auth code used, check it and allow editing OR ADMIN USER
    if ($id != 0 && $extra != ‘’ && $extra == $j->GetAuth() || isset($_SESSION[‘AdminId’]))
    {

    $later_edit = true; $_SESSION[‘later_edit’] = $extra; }
    ————————————————————————————————————-
    then in admin/_templates/post-loop.tpl

    I added after the “deactivate button”
    &nbsp; <a href=”{$BASE_URL}post/{$job.id}/{$job.auth}” title=“edit”><img src=”{$BASE_URL}img/icon-edit.png” alt=“edit” /></a>

    it seems to work as a temporary solution but definitely not totally secure because when you click edit, it goes back to the front end. but hey, I just needed to edit the jobs right now. May look deeper later.

    • CommentAuthorxporter
    • CommentTimeApr 9th 2008
     

    Sorry…for some reason I cannot now post a job but I can edit my jobs. :)

    • CommentAuthorchovy
    • CommentTimeMay 6th 2008 edited
     
    I agree, no edit privileges seems like a major oversite.
  1.  
    bump ;-)