Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#61 Dont show comment links if Comment module is off

closed-accepted
Joe Stewart
None
5
2003-11-06
2003-11-06
No

Even though it is possible to turn the Comment module
off in config.ini.php, there are places in the code
where comments are hard-wired.

This patch makes the Story class aware when comments
are disabled, and ensures that comment/reply links
don't appear.

It requires storyIndex.tpl is replaced - so there is a
backwards compatibility issue.

Also - the code seems to work with comments on and off,
but it hasnt been extensively tested

Discussion

  • Patch to Story.class

     
    Attachments
  • Revised storyIndex.tpl (basic skin)

     
    Attachments
  • Joe Stewart
    Joe Stewart
    2003-11-06

    Logged In: YES
    user_id=77269

    This patch has been applied to the phpslash-dev CVS. Please update
    your copy of PHPSlash, or wait for the next release.

     
  • Joe Stewart
    Joe Stewart
    2003-11-06

    • assigned_to: nobody --> joestewart
    • status: open --> closed-accepted