phpWebLog

find
story index | search | archive | submit story | downloads | stats | contact
Topics
  • General (915)
  • Announcements (20)
  • Development (521)
  • Mods & Hacks (33)


  • phpWebLog
  • Latest Release - 0.5.3 (BETA)
  • Latest Stable - 0.5.2
  • ChangeLog
  • TODO / Roadmap
  • BUGS

    CVS WEB

  • New XL fork 0.5.2
  • Unstable branch 0.5.3

  • For development discussions and for general support, join the phpWebLog mailing list

    phpWebLog needs active developers to help fix bugs. If you are interested, send me your SourceForge login information for CVS access.


    Last 5 Comments
  • Setup Problems (Aaron)
  • phpweblog 0.5.2 (and maybe 0.5.3) security problems (JustTesting)
  • Meaning of Blog (JKilborn)
  • Meaning of Blog (JKilborn)
  • phpweblog 0.5.2 (and maybe 0.5.3) security problems (Anonymous)


  • Views: 1
    Posted under Development by Glenn on Monday May 28 2001 @ 12:32PM EDT
    Development I know, picky, picky, picky.. :-)

    When I contribute a story for the first time and click submit I'm taken to stories.php with the new item first in line (I'm signed in as the Admin when I post it) but the views already shows as 1 despite the fact that noone has clicked to read the full story as yet.

    Glenn

    < Rating links... | Font size in pages and features >

    John writes on Monday May 28 2001 @ 04:48PM EDT: [ reply | parent ]
    Hrm, sounds to me, like you're taking your work with you on your holidays. The PHB will be pleased. =)

    The problem is on line 67 of preview.php, at the end of the INSERT sql query, where the initial value for the number of 'hits' is set to 1, instead of 0:

    $sql .= "1,";

    should read:

    $sql .= "0,";

    if you'd like the count to start at 0. (I guess it starts at 1 hit, to count your previewing of the story before you submit it - so I'm not sure if a fix to the release is required, but if you want to mod. it yourself, that should be all you need..)

    -John
    Glenn writes on Monday May 28 2001 @ 05:41PM EDT: [ reply | parent ]
    The PHB wouldn't be pleased if...

    Nah, nevermind.

    But as far as taking work to the beach, check the logs dude...nothing from this kid. Not on that 'blog anyhoo.

    Good eye though, I'll edit this one if you edit that one. :-)

    Glenn
    Post a Comment
    Name:
    Email:
    URL:
      Remember my information (uses cookies)
      I would rather be anonymous
    Comment:
    * Your email will not be made public.
    Save As:

    SourceForge
    SourceForge is providing us a mailing list , documentation and a CVS tree.

    SourceForge Logo


    PHP.net

    PHPBuilder
  • Zend Studio 3.0
  • GIS Mapping with PHP
  • On User-Defined Timezones in PHP
  • Dreamweaver MX 2004
  • Using PEAR's HTML_Table Class
  • An introduction to the ADOdb class library, Part 2
  • An introduction to the ADOdb class library for PHP
  • Manually Expiring Web Pages
  • Regression Testing With JMeter
  • Advanced Image Editing Under the GD Library

  • phpWebLog: A PHP News and Content Management System
    Copyright (C) 2000-2002, Jason Hines / Eye Integrated Communications