NaNoWriMo Progress Bar

October 19th, 2007 @ 01:13:14 pm, by Tara Email , 271 words, 439 views   English (US)  

Categories: Projects

This is a quick and dirty php and css progress bar. Technically, the code could be used as a progress meter for almost anything (rebuilding a car, stock kept in a pantry, whatever). Consider this code freeware and use it as you wish.

Progress Bar

  1. Right-click this file (it's plain text, so no virus worries) and save it to your documents folder or desktop.

  2. Make a few edits.

    • Change the text in quotes after book_title from "My NaNoWriMo" to "The Title of Your Book". Be sure the quotes, equal sign, and semicolon remain. Edit only the text between quotes.
    • Change the zero after book_current_wordcount to match your NaNoWriMo book's current word count. Update that number as often as you like. Remember that, unlike the book title variable, the number after book_current_wordcount does not require quotes. The semicolon must remain though.
    • Optional

      • Change the word meter's border in the style section. The color code is just below the CSS comment: Change border color here
      • Change the color of the word meter itself in the style section as well. The color code is just below the CSS comment: Change progress bar color here

  3. Put the code on your web site. That can be done in several ways. The most common are:

    • Copy+paste your modified code (with the name of your book, etc.) into a spot on your blog's sidebar. Add a header if you like.
    • Save the code as book_progress_1.php (or a similar name), upload the file to your server in the same place as your other template files, and include book_progress_1.php in your sidebar:

Bridged phpBB2 and Coppermine

October 12th, 2007 @ 08:49:42 am, by Tara Email , 156 words, 442 views   English (US)  

Categories: Portfolio, Projects

The Coppermine Photo Gallery includes a tool to tie the database tables of user accounts to those of several other pieces of software. Ideally, one could add a Coppermine gallery to almost any existing web site running Invision Power Board, Mambo, phpBB, punBB, et-cetera but share user accounts. Each person would have just one user name and password. The Coppermine developers call it bridging. It is hardly a new concept but one that the folks behind Coppermine obviously support.

Unfortunately, the push-button bridging scripts included with Coppermine don't always work work custom installations. I had to tweak the tables quite a bit to have things working smoothly for a recent project.

The forum is a customized phpBB2 installation.

  • Formatting plugins
  • gwBBcode from the great guys at gwShack
  • Quite a bit of effective, custom anti-spam code
  • Custom logo

The photo gallery contains all the same features with the addition of sharing user accounts with the phpBB2 installation.


Drive (novel)
First draft 80% complete

Categories

October 2007
Sun Mon Tue Wed Thu Fri Sat
 << < Current> >>
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31      

Linkblog

Comics

Podcasts

Web Design Resources

Writing Resources

User Functions

Syndication

Who's Online?

  • Guest Users: 7
andy unknown joseph homework vasant barber betty file mozart baritone finite euclid laura herbert erica kristin trivial sensor new linda xyzzy mutant tape rachel aztecs alias allison garfield tammy larkin fender chat manager kristine edwina key collins lois signature einstein light admin trails nutrition renee puppet hiawatha michelle jean emerald sandra tracy samantha marvin tuttle olivia cshrc simon inna chester persona zmodem emily carole weenie morley bsd mack pluto ferrari tiffany charming innocuous finite samantha smother maggot janie