Results 1 to 8 of 8

Thread: Multiple MAJOR bugs in editors pannel

  1. #1
    Join Date
    Sep 2004
    Posts
    47

    Angry Multiple MAJOR bugs in editors pannel

    I am using latest version on INDEXU

    the instalation is not at the root of the site but i.e
    mysite.com/directory/indexu

    now the bugs report

    editor login, just fine and presented with his control pannel (menu)

    IN VALIDATE LINKS - he can only APPROVE or REJECT. the link to the edit is missing, and when adding a link to the editor_link_edit.php file. The ID of the link is not corresponded with the link and so the edit form is empty....
    if the correct id is given a fatal error occur:

    Fatal error: Call to a member function on a non-object in /www1/htdocs//lib/link.class.php on line 1476

    Search/Edit/Remove Links - NO SEARCH RESULTS whatsoever, so no actions can be taken

    Validate Reviews - There are pending reviews that I see in the admin pannel - editor does not see any. not operational

    In the section that says
    You're an editor for the following category:

    the correct listings of categories are listed but the link is to /cp/browse...
    and not to /browse...

    so editor can not visit his own category!!


    i can supply a user name and password if someone here would like to see what i am talking about.

    This is very distyrbing as editors can not preform their job and sites approval
    must be done by admin only from the admin control pannel!!!

    help please
    Last edited by Aircut; 10-09-2004 at 04:15 AM.

  2. #2
    Join Date
    Apr 2003
    Location
    Atlanta GA
    Posts
    3,395

    Default

    1. About VALIDATE LINKS
    Moderator can only approve or reject pending links. He cannot modify pending links.
    And you should access editor_link_edit.php through 'Search/Edit/Remove Links' menu, do not access the file directly.
    That seems a reasonable way to edit the link. I did notice you have a "[please edit before approval] hyperlink on your Validate Links page for the editor that uses the editor_link_edit.php file. Since the link has not been approved ( thus, it is not in the idx_link tabe ), you could try using link_validate_edit.php ( the idx_link_temp ).

    2.Search/Edit/Remove Links - NO SEARCH RESULTS
    Moderator can only find links in his own categories.
    Please check the moderator privilage in this regards.
    did you try the hack at http://www.nicecoder.com/community/s...ead.php?t=2389
    esm
    "The older I get, the more I admire competence, just simple competence, in any field from adultery to zoology."

    .

  3. #3
    Join Date
    Sep 2004
    Posts
    47

    Default

    Thanks Zubby

    Quote Originally Posted by zubby
    1. About VALIDATE LINKS
    Moderator can only approve or reject pending links. He cannot modify pending links.
    And you should access editor_link_edit.php through 'Search/Edit/Remove Links' menu, do not access the file directly.
    Thats pitty. Editor rule is to edit the description, make sure that the grammer is correct, and most important, the site might not be relevent to his category, and editing it will move it to the appropriate catgory and not just reject and delete it from the directory.

    Quote Originally Posted by zubby
    2.Search/Edit/Remove Links - NO SEARCH RESULTS
    Moderator can only find links in his own categories.
    Please check the moderator privilage in this regards.
    What is the moderator privilage? and from where do you control it? all i see is

    Editors
    1. Add
    2. Validate
    3. Delete

    Thank you

  4. #4
    Join Date
    Apr 2003
    Location
    Atlanta GA
    Posts
    3,395

    Default

    Editor should able to edit pending links for its grammar or category missplacement, etc.
    Not just approve or reject link.
    Thanks to esm for showing link_validate_edit.php.
    I just hack and integrate it with user panel so now editor can edit too.
    Is there a way we can attach files in this forum ?
    for whatever reason dody has never changed the allowable attachment types to include php files. you will need to rename the file extension before you can attach it....


    Regarding moderator privilage.
    Just assign/add the moderator to more categories.
    Those categories will be included in moderator search.
    I haven't try the hack at http://www.nicecoder.com/community/s...ead.php?t=2389
    But it seems the hack is bypassing editor - category assignment so every editor can have access to all category.
    yep, you are are correct. but that is what aircut wanted.
    esm
    "The older I get, the more I admire competence, just simple competence, in any field from adultery to zoology."

    .

  5. #5
    Join Date
    Sep 2004
    Posts
    47

    Default

    Thank you Zubby, The edit hack works just fine. but still all the other options in the editor pannel are not working.

    1. Search/Edit/Remove Links [editor_link_search.php] brings up no result. not from the pending links and not from the approved links.

    2. Write/Edit/Delete Official Review is linked to the same file as 1. thus not operational

    3. Validate Reviews - non is showing [the admin pannel show that there are pending reviews....] editor can not validate the reviews....

    4. Validate Reviews - just tried.... it generated me an email with a text

    "
    This report has been added in your administrator area.
    You can modify or delete this link or delete this report at

    <%site_url%>/admin/link_bad.php3"

    but i could not see any from the editor link.

    again thanks for the edit link hack, can we tackle now the other bugs.

    i can send you a guest editor login information if it will help.

    for a better IndexU
    aircut

  6. #6
    Join Date
    Sep 2004
    Posts
    47

    Default

    more information to help you solve the problem.

    the query from the editor function returns the wrong category id..... thats why the editor cant preform his duties.

    editor has assigned to category id = 1

    the query

    select distinct idx_link.category_id, idx_review.*
    from idx_link, idx_review
    where idx_link.link_id = idx_review.link_id
    and idx_review.status = 0";

    [editor_review_validate line 62] returns the wrng category id.

    my guess is that when you add/remove category the update path category does not preform the action for updating the category_id in any related tables that the editor need to access.

    this now looks like an easier bug to fix.
    Last edited by Aircut; 10-11-2004 at 12:06 AM.

  7. #7
    Join Date
    Sep 2004
    Location
    West Yorkshire, UK
    Posts
    43

    Default

    Did you manage to fix : Call to a member function on a non-object ?

  8. #8
    Join Date
    Apr 2003
    Location
    Atlanta GA
    Posts
    3,395

    Default

    when does this error occur?


    .
    esm
    "The older I get, the more I admire competence, just simple competence, in any field from adultery to zoology."

    .

Similar Threads

  1. Replies: 14
    Last Post: 10-11-2004, 11:14 PM
  2. Replies: 2
    Last Post: 05-08-2003, 10:11 AM
  3. Editors Pick not working
    By Battousai in forum v5.x
    Replies: 2
    Last Post: 01-23-2003, 08:10 PM
  4. How do you login to the editors section
    By webmasterjr in forum v5.x
    Replies: 1
    Last Post: 12-11-2002, 04:05 AM
  5. 1 link, Multiple Cat's
    By Polo in forum v5.x
    Replies: 1
    Last Post: 09-02-2001, 05:32 PM

Posting Permissions

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