Results 1 to 2 of 2

Thread: Agent can post/edit blog?

  1. #1
    Join Date
    Apr 2010
    Posts
    6

    Default Agent can post/edit blog?

    I have searched every site config tabbed but cannot find user can post or edit blog settings? I'm using 2.5.8 version.

    Thanks for your help.

  2. #2
    Join Date
    Apr 2010
    Posts
    6

    Default Re: Agent can post/edit blog?

    I got it. It is being set manually on user manager. Got to figure out how it will automatically set to 'Contributor' upon agent sign-up. Does anyone know how? Been toying on the user.manager.inc.php for couple of hours now.

    I want to insert this lines when an agent sign up:
    Code:
                //
                $edit_BlogPrivileges = "edit_BlogPrivileges";
                $edit_BlogPrivileges_value = "2";
                    $sql = 'INSERT INTO ' . $config['table_prefix'] . 'userdbelements (userdbelements_field_name, userdbelements_field_value, userdb_id) VALUES (' . $edit_BlogPrivileges . ', ' . $edit_BlogPrivileges_value . ', ' . $new_user_id . ')';
                    $recordSet = $conn->Execute($sql);    
            //
    but cannot find the correct function when agent' sign's up.

    MOVED - to sandbox forum. Please do not create support threads in the General Discussion forum area. Also, posting core file changes outside of the sandbox forum is strictly forbidden.

Similar Threads

  1. Contact agent solved pls post
    By caloproperty in forum General Help (CLOSED)
    Replies: 0
    Last Post: 04-08-2010, 09:53 AM
  2. Newest Blog Post On Top
    By metaxlog in forum Sandbox (CLOSED)
    Replies: 4
    Last Post: 03-24-2010, 07:00 AM
  3. Unacceptable agent access in blog’s page editor
    By nickbg in forum Installation/Configuration Help (CLOSED)
    Replies: 0
    Last Post: 12-15-2009, 08:27 AM
  4. Blog Manager does not find written blog
    By Tasos in forum General Help (CLOSED)
    Replies: 1
    Last Post: 12-14-2009, 10:20 AM
  5. Newest blog post on top
    By dante013 in forum General Help (CLOSED)
    Replies: 1
    Last Post: 07-23-2009, 05:48 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •