Results 1 to 11 of 11

Thread: Putting reviews online instantly

  1. #1
    Join Date
    Feb 2009
    Posts
    18

    Default Putting reviews online instantly

    Hello,

    I'd like to be able to make the reviews appear instantly on the site without being moderated, could someone explain how to do this?

    Thanks,
    Steph

  2. #2
    Join Date
    Aug 2001
    Location
    Indonesia
    Posts
    3,732

    Default

    When adding a new category (and modify category), set the category permission to 'No need editor approval'.

  3. #3
    Join Date
    Feb 2009
    Posts
    18

    Default

    I knew it would be something really simple!

    Thank you!

    edit : actually, can you confirm that will only mean reviews are instant? I dont want people to be able to add links without approval, just the reviews.

  4. #4
    Join Date
    Aug 2001
    Location
    Indonesia
    Posts
    3,732

    Default

    I didn't read well about the review. Please wait, I will find a way to do this.

  5. #5
    Join Date
    Mar 2009
    Posts
    143

    Default

    Hi, you need to modified these files to make user be able to add review without approval.

    Open

    lib/link.class.php

    Find this line (about line 3140)
    PHP Code:
            $query  "insert into $this->review_table_name
            (link_id, username, subject, rating, review, date, status, name, email)
            values ($id,'$username','$rev_subject','$rev_rating','$rev_review',now(),0,'$rev_name','$rev_email')"
    ;
            
    $result $dbConn->Execute($query); 
    Add this line after it
    PHP Code:
            $this->ApproveReview($dbConn->InsertID()); 
    Open
    themes\kosmos\phrases.php

    Find this line (about line 133)
    PHP Code:
     $lang['review_ok']                                     = _("Thank you for your review. Your review will be approved within 2 days."); 
    Replace with
    PHP Code:
     $lang['review_ok']                                     = _("Thank you for your review"); 
    Thanks

  6. #6
    Join Date
    Feb 2009
    Posts
    18

    Default

    That works perfectly.

    Thank you.

  7. #7
    Join Date
    Aug 2008
    Posts
    57

    Default

    I have placed a review this site option all over the site
    Children's acts available from ZOOM. Children's Parties and event performers.

    Upon clicking it it asks me to login. Is there a safe way to allow people to rate the site without loging in ?
    Login
    Thanks in advance.

  8. #8
    Join Date
    May 2007
    Location
    NJ, United States
    Posts
    1,651

    Default

    Quote Originally Posted by petefromaus View Post
    I have placed a review this site option all over the site
    Children's acts available from ZOOM. Children's Parties and event performers.

    Upon clicking it it asks me to login. Is there a safe way to allow people to rate the site without loging in ?
    Login
    Thanks in advance.
    Its probably due to the fact that your requiring user login in order to add a listing. Change that and then see if your able to rate the website without having to login
    FSGDAG | IndexU Hosting | Owner
    Website | NiceCoder Script Hosting and More! | Web4URL is For Sale!
    Follow Us On Twitter | FaceBook Profile | YouTube Videos

  9. #9
    Join Date
    May 2007
    Location
    NJ, United States
    Posts
    1,651

    Default

    Quote Originally Posted by dmsteph View Post
    That works perfectly.

    Thank you.
    Remember, your making changes to core files in IndexU. The next time you upgrade, those files will get overwritten.

    Maybe Dody or pungky knows if a plugin could be written for that so the upgrade process will be easier
    FSGDAG | IndexU Hosting | Owner
    Website | NiceCoder Script Hosting and More! | Web4URL is For Sale!
    Follow Us On Twitter | FaceBook Profile | YouTube Videos

  10. #10
    Join Date
    Feb 2009
    Posts
    18

    Default

    *nods*, yeah. We've edited so much of it that when we do upgrades now we use a bit of file merge software to make sure that the changes dont get overwritten.

    Thanks for the warning though.
    Steph

  11. #11
    Join Date
    Aug 2008
    Posts
    57

    Default

    Thanks for that, I went to change that and found the option below in the option setup page.
    I should have looked harder to start with :-)
    Regards Pete

    Only registered user can submit review
    Force user to register and login in order to submit review. This will eliminate spam. Yes No

Similar Threads

  1. Who's Online
    By Mitchell in forum INDEXU DELUXE v1.x
    Replies: 2
    Last Post: 05-15-2009, 01:36 AM
  2. who's online
    By landuyt in forum v5.x
    Replies: 4
    Last Post: 05-04-2006, 06:17 AM
  3. How do I rem out who's online?
    By reidnunn in forum v5.x
    Replies: 8
    Last Post: 01-11-2005, 04:31 PM
  4. Who's Online?
    By Hart_House in forum v3.2
    Replies: 1
    Last Post: 07-15-2002, 12:34 AM

Posting Permissions

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