phpWebLog - web news management with adolescent sexist humor
find
story index | search | archive | submit story | downloads | stats | contact
Topics
  • General (900)
  • Announcements (20)
  • Development (516)
  • Mods & Hacks (31)


  • 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
  • PHPWEBLOG FRENCH VERSION (Romarin)
  • links.php (Anonymous)
  • phpweblog woes (Jeff)
  • phpweblog woes (Jeff)
  • Buggy? (Hilmar Jan)


  • Development Summarys ? - Development
    Posted by Daniel (Saturday September 16 2000 @ 06:42PM EDT) views: 144
    I hope, I am not dancing on your nerves, but I think there is another bug in handling the summaries.

    The system always overwrites the summary with the stories text?

    Daniel

    < File Upload | How can I see the stats of the links followed? >

    By jason (Monday September 18 2000 @ 12:43AM EDT)
    No, not at all. I like to dance.. just not in public. =]

    Its kind of a weird (unique?) thing. If you type a story, and hit submit, it automatically creates a summary out of the first 255 characters of the story. If you hit preview, it shows you the summary in another textarea and allows for you to change the summary there.
    [ reply | parent ]
    By jason (Monday September 18 2000 @ 12:44AM EDT)
    0.4.0 is entirely different btw, on the "contribute story" page, it asks for both a summary and a story.
    [ reply | parent ]
    By Philip Jenkins (Monday September 18 2000 @ 08:49PM EDT)
    I have been trying to fix that problem and noticed two problems in the code which is stoping the summary from working. I would like to know if this is just an oversite, or if there is a legit reason for doing this:

    In preview.php the else condition is set to Content, and should be set to Summary, and then in the if clause the test of mode==_PREVIEW should not be there, or should be mode!=_PREVIEW. Please correct me if I am missing the bigger picture, is the $mode==(!=) even needed, what is the purpose for that, I am sure that there is some reason for it, I just haven't seen it yet.

    Thanks,

    /* form summary only if it has not been changed. */
    if ($mode==_PREVIEW || empty($Summary)) {
    $summ = substr($Content,0,255);
    } else {
    $summ = $Content;
    }
    [ reply | parent ]
    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
  • PHP 4.3.3RC1 released
  • Active Awards Programmers' Choice Nominees are in!
  • PHP 4.3.2 Released!
  • Automatic Mirror Select
  • Country Detection
  • My PHP.net
  • Grant Program
  • Set your own language preference
  • First Hungarian PHP Conference
  • PHP 4.3.1 released in response to CGI vulnerability

  • PHPBuilder
  • Regression Testing With JMeter
  • Advanced Image Editing Under the GD Library
  • The Benefits of Using Objects with Databases
  • Interfacing with COM objects under Windows
  • Dynamic XML Conversion Using the SAX Parser
  • Arrays 101
  • Introduction to PHP5
  • Installing PHP-GTK on Linux
  • Installing PHP under BadBlue Web Server
  • Installing PHP under Xitami


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