Page 1 of 46 12311 ... LastLast
Results 1 to 10 of 451
  1. #1
    Join Date
    Sep 2004
    Posts
    2,420
    Plugin Contributions
    2

    Default News & Article Management [Support]

    Archived News & Article Management support thread can be found at:
    http://www.zen-cart.com/forum/showthread.php?t=11372

    Original post on Jan 23 2005. 311 posts in the archived thread.
    Last post in archived thread is May 04 2006:
    http://www.zen-cart.com/forum/showth...stpost&t=11372

    Link to module download and documentation is at:
    http://www.dream-scape.com/pub/zenca...es_Management/

  2. #2
    Join Date
    Sep 2004
    Posts
    2,420
    Plugin Contributions
    2

    Default Continued N&AM issues on v.1.27

    Awhile back I installed version 2.110 of this mod on Zen Cart 1.27. However the N&AM "Summary" appears on the shoppe home page twice (directly on top of each other) and I still do not know how to repair.

    In Admin when I set Display News Summary to false both Summaries go away. But setting to true again redisplays the duplicated summaries.

    Is this a bug? Other folks have asked this question before without any response. Any ideas what would cause such behavior?

    Another question: Can comments be moderated? In admin can set "Comments require customer login" for user to post comments.

    But is there a moderator queue (ala mailing list) for comment posts? Or at least a method to edit posts? (I understand I can edit the dB but hoping an admin GUI is available for moderation... If not suggestion for a future upgrade). Thanks.

    Woody

  3. #3
    Join Date
    Sep 2004
    Posts
    2,420
    Plugin Contributions
    2

    Default Re: News & Article Management

    Looks like no solution to the duplicate summary issue I pointed out in previous posts. Bummer.

    Beyond that I just discovered someone is spamming comments to a posted news article. Even though I configured the mod to allow comments from logged in users only, this person is not logging in when making comments (at least I see no account name with the name the spammer is using to post).

    And unless I missing a configuration setting I cannot see any method to turn off posting Comments.

    Below are my settings under Configuration > News & Article Management:

    Display News Summary false
    News Summary Cutoff Days 365
    News Summary Length 300 Info
    Comments Require Customer Login true
    Comments Name Min Length 3
    Comments Text Min Length 25
    Email Admin Comments Notice true
    News RSS Feed Days 365

    So time to uninstall this mod. Too bad.

    And I will revert back to News Manager which runs well with Info Pages on Zen Cart 1.27 and is not open to comment spamming as apaprently News & Artilce Management is.

    And I will port News Manager so it works on 1.3x if it does not already and ensure it cooperates with ez-pages.

    Woody

  4. #4
    Join Date
    Apr 2006
    Posts
    242
    Plugin Contributions
    0

    Default Re: News & Article Management

    can you post a working news management system? I'm really needing one.

    thanks,
    Shackle :)

    Quote Originally Posted by Woodymon
    Looks like no solution to the duplicate summary issue I pointed out in previous posts. Bummer.

    Beyond that I just discovered someone is spamming comments to a posted news article. Even though I configured the mod to allow comments from logged in users only, this person is not logging in when making comments (at least I see no account name with the name the spammer is using to post).

    And unless I missing a configuration setting I cannot see any method to turn off posting Comments.

    Below are my settings under Configuration > News & Article Management:

    Display News Summary false
    News Summary Cutoff Days 365
    News Summary Length 300 Info
    Comments Require Customer Login true
    Comments Name Min Length 3
    Comments Text Min Length 25
    Email Admin Comments Notice true
    News RSS Feed Days 365

    So time to uninstall this mod. Too bad.

    And I will revert back to News Manager which runs well with Info Pages on Zen Cart 1.27 and is not open to comment spamming as apaprently News & Artilce Management is.

    And I will port News Manager so it works on 1.3x if it does not already and ensure it cooperates with ez-pages.

    Woody

  5. #5
    Join Date
    Jun 2003
    Posts
    33,715
    Plugin Contributions
    0

    Default Re: News & Article Management

    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  6. #6
    Join Date
    Nov 2003
    Posts
    783
    Plugin Contributions
    2

    Default Re: News & Article Management

    Quote Originally Posted by Woodymon
    Looks like no solution to the duplicate summary issue I pointed out in previous posts. Bummer.
    There is nothing wrong with the module that I can see off hand that would cause this. Numerous sites are running it just fine in ZC 1.3 without this issue, including the Zen Cart site.

    The only thing that I can think that would make that happen is if you are including the news_summary.php multiple times. Are you sure that you have not accidentally placed its call inside of a loop?

  7. #7
    Join Date
    Nov 2003
    Posts
    783
    Plugin Contributions
    2

    Default Re: News & Article Management

    Quote Originally Posted by Woodymon
    Beyond that I just discovered someone is spamming comments to a posted news article. Even though I configured the mod to allow comments from logged in users only, this person is not logging in when making comments (at least I see no account name with the name the spammer is using to post).
    Whoops. Boy is my face red

    It is fairly easy to fix good enough until such time as I get enough time to make an updated version with better comment spam protection. Though this + requiring login should work fairly well.

    1. Open includes/modules/pages/news_comments/header_php.php

    2. Find the lines, approximately around line 50:
    PHP Code:
    // Oh posting the comments!
    if (isset($_POST['action']) && ($_POST['action'] == 'process')) { 
    3. Directly after those lines, add the following:
    PHP Code:
        /**
         * Prevent users from directly hitting the form when NEWS_COMMENTS_REQUIRE_CUSTOMER is true
         */
        
    if ((NEWS_COMMENTS_REQUIRE_CUSTOMER == 'true') && !isset($_SESSION['customer_id'])) {
            exit;
        } 
    4. The final result should appear something like:
    PHP Code:
    // Oh posting the comments!
    if (isset($_POST['action']) && ($_POST['action'] == 'process')) {

        
    /**
         * Prevent users from directly hitting the form when NEWS_COMMENTS_REQUIRE_CUSTOMER is true
         */
        
    if ((NEWS_COMMENTS_REQUIRE_CUSTOMER == 'true') && !isset($_SESSION['customer_id'])) {
            exit;
        } 
    And that should stop anonymous spam when NEWS_COMMENTS_REQUIRE_CUSTOMER is true. :)

  8. #8
    Join Date
    Apr 2006
    Posts
    242
    Plugin Contributions
    0

    Default Re: News & Article Management

    could you be a little more exact on how this fix this please? I didn't edit anything i uploaded as is.

    Quote Originally Posted by dreamscape
    There is nothing wrong with the module that I can see off hand that would cause this. Numerous sites are running it just fine in ZC 1.3 without this issue, including the Zen Cart site.

    The only thing that I can think that would make that happen is if you are including the news_summary.php multiple times. Are you sure that you have not accidentally placed its call inside of a loop?

  9. #9
    Join Date
    Nov 2003
    Posts
    783
    Plugin Contributions
    2

    Default Re: News & Article Management

    Quote Originally Posted by shackle
    could you be a little more exact on how this fix this please? I didn't edit anything i uploaded as is.
    You would have had to have editing something to install the optional news summary module, unless you uploaded the included tpl_index_default.php, but that is only for an unmodified Zen Cart 1.2.5 or something from long ago. To get the summary into newer Zen Cart's, you'd want to manually do it as the directions say to, so all I can say is look to where you placed it in your index template, and remove it from a loop it may be in.

  10. #10
    Join Date
    Apr 2006
    Posts
    242
    Plugin Contributions
    0

    Default Re: News & Article Management

    I did everything listed at your site. I added the code the those files at the bottom i didn't upload the TPL or meta tags i learned that does not work with the newer zen-cart.... still kinda puzzled i don't rememeber changing anything.

    Quote Originally Posted by dreamscape
    You would have had to have editing something to install the optional news summary module, unless you uploaded the included tpl_index_default.php, but that is only for an unmodified Zen Cart 1.2.5 or something from long ago. To get the summary into newer Zen Cart's, you'd want to manually do it as the directions say to, so all I can say is look to where you placed it in your index template, and remove it from a loop it may be in.

 

 
Page 1 of 46 12311 ... LastLast

Similar Threads

  1. News & Article Management
    By akumi in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 13 May 2008, 03:27 PM
  2. Regarding News & Article Management
    By akumi in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 12 May 2008, 05:27 PM
  3. News & Article Management- couple small problems
    By chufty bill in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 26 Oct 2006, 09:53 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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR