Giter VIP home page Giter VIP logo

babynewt's Introduction

babynewt is forum software.

The basic functionality is that of a single thread with categorized posts.
Users can make their own templates (including stylesheets) and share them with
other users.

Initial development was by Rob Drimmie. Significant contributions (especially
for templating and searching) were made by Clayton Hannah.

Most of the code was written in 2001 and is terrible. Adding it to github is
the first step in a concerted effort to clean the code up and make it useful.

Licensed under the MIT License.

babynewt's People

Contributors

robdrimmie avatar finn avatar

Stargazers

Stephen Swift avatar M Staid avatar etowner avatar Carl Markham avatar TMF_Archivist avatar David Adams avatar  avatar  avatar

Watchers

 avatar James Cloos avatar jonah avatar

Forkers

finn

babynewt's Issues

errors viewing with template qs param

(via null)

went to the template selection page, and was greeted by a bunch of SQL errors

  • go to edittemplate.php
  • click on the select menu for public templates
  • get redirected to "main.php?TemplateID=" (no value provided for TemplateID)
  • get errors of "Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in /home/ccranium/1142/main.php on line 102 [Header] No Templates exist. [Comment] No Templates exist. ... [Comment] No Templates exist. [Footer] No Templates exist."

I see two things:

  1. the link for "View site with selected template" somehow gets created at the end of printing out the "Your Templates". This causes clicking on the select menu for "Public Templates" to direct you to the link destination instead.

  2. There's a weird value in the "Public Templates" select menu which isn't what we're running into but suspicious:

"Notice: Undefined index: selTemplate in /home/ccranium/1142/edittemplate.php on line 138"

Possible workaround: Use the "tab" key to interact with the form and avoid clicking the link.

essl.css missing from codebase

@import url(/essl.css) is referenced in the codebase, but the essl.css file is not present in this repo. can it be added?

logout.php and changecategory.php missing from the codebase

From lines 436, 437, 438 in main.php:

$Header = str_replace('[$LOGOUT$]', "<a href=\"logout.php\">$LoutStr</a>", $Header);
$Comment = str_replace('[$LOGOUT$]', "<a href=\"logout.php\">$LoutStr</a>", $Comment);
$Footer = str_replace('[$LOGOUT$]', "<a href=\"logout.php\">$LoutStr</a>", $Footer);

from line 557:

    $tComment = str_replace('[$CATNAMELINK$]', '<a href="changecategory.php?id=[$COMMENTNUMBER$]" class="[$CATCSSNAME$]CHANGECATEGORYLINK"> [$CATEGORYNAME$]</a>', $tComment);

PHP files missing from codebase?

I found references to:

  • Statistics.php
  • UserInfo.php
  • oddball.php

on line 242 of custom.php:

<a href="/">Main</a> | <a href="Statistics.php">Re-Select</a> | <a href="UserInfo.php">Users</a> | <a href="oddball.php">Random Statistics</a>

Should these files be in the codebase? Or should the references be removed?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.