Jump to content

Counter On Your Cache Page?


Recommended Posts

I wrote a counter after reading another thread. You're free to use it.

 

I thought about it a bit, and decided that I wanted a counter on my page.  So, I wrote a very simple one that doesn't include any ugly banners or anything. 

 

To everyone else: If you would like a counter on your page, I'll let you use my script for free.  It's very simple to include.  Just put the following where you want the counter to appear.

 

<img src="http://www.tidalflame.net/files/counter/imagecounter.php?id=YOURUSERNAME" alt="Counter by Tidalflame">

 

If you're going to use my counter, MAKE SURE YOU REPLACE THE "YOURUSERNAME" PART WITH YOUR USERNAME.  Otherwise you might end up using a counter that already exists, in which case everyone using that counter would get skewed results.  You can include spaces, but don't use a bunch of weird characters or it won't work.

 

This counter doesn't count unique visits, by the way.  It's just a simple hit counter.  If you want to see what they look like, here is one.

Edited by Tidalflame
Link to comment

If you use the HTML code above, you have to check the box on your cache page stating that HTML code is used in the cache description.

 

I'm not sure about this, but I think you probably need to used HTML code for all the text to get correct paragraph breaks, at least that is what I did on my pages where I included HTML.

 

To make a paragraph break, use <P> before the first sentence of each paragraph in the description. Use </P> after the last sentence of each paragraph.

Link to comment

I prefer to just use <br> whereever you need a break. Gives you more control than <p>.

 

You can just copy that code and paste it on your page with the HTML button checked. Make sure you use a unique ID for each page you put a counter on, so don't just use your username if you're using more than one counter... use the name of the cache or something. I should have mentioned that earlier...

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...