Home

Forums

Statistics

Surveys

Top Ten

Your Account


Login
Nickname

Password

Security Code: Security Code
Type Security Code

Don't have an account yet? You can create one. As a registered user you have some advantages like a private journal and posting comments or additions to articles.

Who's Online
There are currently, 11 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here

Donations
If you find the information here useful,
help keep this web site online with a donation!
YTD Donations
$1.00
Thank You!

Host referer


  
AnOldMan.com: 1: General

Search on This Topic:   
[ Go to Home | Select a New Topic ]

Introducing µTopic
Posted by anoldman on Tuesday, May 05 @ 00:11:44 CDT (214 reads)
Topic 1: General

µTopic - Micro news site by AnOldMan

Description:

  • Simple News / Opinion site with page ranking
  • Lightweight at ~ 200kb
  • Secure - Hashed challenge/response login
  • Flexible - can use MySQL -OR- sqLite
  • Customizable - several stylesheet examples included
  • Sub Topics
  • Multiple vote blocking

When we wanted a simple page ranking system for opinion.anoldman.com, we spent an incredible amount of time trying scripts and CMS systems. 

  • Ratings scripts with any kind of administration were complicated and bulky and had little or no security.
  • CMS systems were huge for the purpose intended and adding page ratings to them involved additional modules or customization.

So we created a database driven PHP page ranking engine, wrapped a secure administration module around it, and added simple CMS with stylesheets for article publication.

The result is uTopic - a truely unique, simple, secure, customizable, and LIGHTWEIGHT CMS.

Requirements:

  • Server with PHP -AND- MySQL -OR- sqLite
  • Username, password, and database name from your server if using MySQL
  • These files

Installation:

  • Unzip files
  • Edit admin/config.php to match your site
  • Upload files to server
    • utopic.sql not required
    • StyleSheetTest.htm optional
    • readme not required
    • utopic.s3db not required for MySQL
  • Set permissions for content folder to be writeable - CHMOD 666 - if you wish to edit or publish to files from administration
    • (for sqLite, you may also need to set permissions for utopic.s3db in the admin folder)
  • For MySQL - go to http://www.yoursite.com/admin/install.php and create admin account
    (there is an sql file included if you wish to run that instead)
  • Delete install.php file - for security purposes it stops working , but it is now unneeded

Using:

  • Adding content
    • Upload new articles to content folder
      • it is recommended you name file something.htm and test in your browser before uploading
      • REMOVE <head> SECTION and any <body> TAGS - many page editors add them "for" you
      • filename format is topicX.php where X is the article number set in administration
      • file format is text/html - plain text works, most HTML tags will work also
      • Upload icon (50x50) to content/graphics folder - there is a readme there for more info
    • Go to admin/login.php and add article
      • If you create article here, paste html into window or type it out
      • For manual entry, remember that you are typing html - returns, extra spaces, and special characters like "<>&" will not behave like you expect them to - look at this file from administration if you are unfamiliar with HTML
      • Special characters are expressed in HTML like this - &lt; equals <
      • You can also link html pages - they will not be tracked or ranked
    • Go to your page and test it

Security:

  • Site uses CAPTCHA to verify login attempts.
  • Username and password are hashed - many sites transmit your login in plain text, µTopic hashes your password with a unique seed EVERY login - your password cannot be intercepted. (this is referred to as challenge-response)
  • Input checks to avoid SQL injections
  • Login/admin files can be renamed
  • Excessive login attempts tracked and blocked
  • Most files cannot be called directly - even articles can be blocked from direct access (see example in content folder)

TODO:

  • Currently you cannot reset ratings count. For now, simply delete article from administration and re-enter it
  • Only one admin account accessible from admin panel. If you forget your details or want additional accounts, you will have to use SQL admin (see sql file for example)
  • StyleSheets - need to make site even more customizable



(Read More... | 4636 bytes more | comments? | Score: 0)

A note for the beginner about editing files
Posted by anoldman on Monday, March 27 @ 12:32:05 CST (561 reads)
Topic 1: General

Many of the tips and techniques covered on this site require that you edit configuration files.
If you are editing the files directly, through WebMin's file manager, you won't have a problem.
If, however, you are creating/editing files on your Windows PC, then sending them to the server, you need to pay close attention:

The world's most common operating system - Windows - does NOT include an appropriate editor. Notepad, wordpad, ect. are not text editors, they are word processors. A word processor doesn't just save text to a file, it also saves formatting information. Formatting information saved in files can make the file unreadable to another program. This formatting information is saved in different ways by different programs.

Most server systems run a variant of UNIX, which uses a plain text format called UNICODE. There are many variations, and I'm not going to get all technical.

The point is: you need a better text editor.  Notepad won't cut it.

I highly recommend MetaPad.  It is a Notepad replacement, and it's FREE! You can visit the site, or I've linked the download here: metapad351.zip.

Now that you've got it, let me make your life easier.

Most of the files I show you how to edit, you can't just double-click on. In Windows, there is a folder called "Send To" that can be very handy.

In WindowsXP, the folder is located at C:/Documents and Settings/USERNAME/SendTo where "USERNAME" is the name of the user that the setting(s) apply to. Just put metapad.exe in that folder. 

Now you can RIGHT-CLICK on a file, choose "Send To" and "metapad.exe" to open a file for editing.

(If you're really daring, you could re-name metapad.exe to notepad.exe and put it in the windows folder.)

NOTE: If you can't "see" the SendTo folder in your computer, it's because windows is hiding it. To fix that:

Double-click on "My Computer"
Choose "Tools" from the top menu
Choose "Folder options"
Choose the "View" tab
Mark the show button in "Hidden files and folders"
(while you're in there, uncheck "hide extensions for known filetypes" !)
Hit "Apply" then "OK"




(Read More... | 2735 bytes more | Score: 5)

The story behind AnOldMan
Posted by anoldman on Saturday, March 11 @ 19:36:15 CST (689 reads)
Topic 1: General

People ask me:
Where did this  "Old Man" thing come from anyway?

Well, many years ago...
I got into Unreal Tournament online.  I played, well, too much!

In the course of my play, I kept running into VERY young hotshots that were a bit...
overproud of their skills.  They couldn't believe that an OLD guy like me
(let's say I'm over 40 and leave it at that) could match them.
I noticed that whenever I was killed, the game would say in the center:

You were killed by someplayername !

So, I changed my player name to An_Old_Man.  When the hotshot got killed by me,
their screen would say:

You were killed by An_Old_Man !

The name stuck, and I eventually joined a clan. (Team)

Times have changed, bots (cheating) ruined the game, the team disbanded...
but OldMan lives on!




(Read More... | Score: 0)

Welcome and HOW DO!
Posted by anoldman on Wednesday, November 12 @ 16:36:12 CST (965 reads)
Topic 1: General
OldMan has many hobbies, foremost among them is reverse engineering ( hacking in the traditional sense of the term ) interesting devices.

You will find in the topics section several projects. There are also forums for posting questions. OldMan reserves the right to edit any content posted in the forums and/or transfer useful information directly to it''s proper topic. Credit will be noted for the author. You may also submit news and stories you deem appropriate - subject to review, of course. Topics will slowly grow as OldMan gets better organized. This domain is owned by OldMan for the next ten years minimum, so don''t worry about disappearing content.

Topics currently include:

Toshiba Magnia SG20: Enabling full FTP Access; WebMin ( web based management portal ) installation; Forwarding ports for incoming access using IPTABLES; and more!

Axis 240 camera server and vtel smartcam: Just a description at this point. OldMan has figured out how to control the camera with a serial connection over the web! The vtel smartcam is an excellent quality camera that can be pan tilt zoom - ptz - controlled with serial commands from a network camera server. The camera was originally designed for teleconferencing, but can be found on eBay and the like for less than $50 because nobody knows how to hook one up! The Axis 240 can be used with a Magnia with a few software modifications to the magnia''s software.

MisterHouse: This topic is really part of the SG20. With proper installation - which requires a comtrol rocketport - you can run MisterHouse home automation software on your Magnia!


(Read More... | 1814 bytes more | Score: 4)

You have to enable cookies for the site to work!
Posted by anoldman on Saturday, April 12 @ 12:42:43 CDT (748 reads)
Topic 1: General
Let me get this straight... you trust your life - your very existence - to the uncertain driving skills of total strangers whipping past you at high speeds in uncertain vehicles fueled by liquid explosives, yet you won't let this site set a cookie on your computer so you can remain logged in?

I'm working on creating the p3p privacy policy for the site, in the meantime please set your security options to allow cookies from this IP if you are blocking them. Life is so much easier that way.

I can't "track" you with the cookie, it is used by the php software that runs the site to verify the fact that you are registered on the site and can post, ect.


(Read More... | 799 bytes more | Score: 0)

  
Old Articles
There isn't content right now for this block.

Web site powered by PHP-Nuke

All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © 2003 by AnOldMan.com
PHP-Nuke Copyright © 2004 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.06 Seconds