Create Journals
Update Journals

Journals
Find Users
Random

Read
Search
Create New

Communities
Latest News
How to Use

Support
Privacy
T.O.S.

Legal
Username:
Password:

Highway (highway) wrote in howto,
@ 2002-10-19 15:52:00
Previous Entry  Add to memories!  Add to Topic Directory  Tell a Friend!  Next Entry

    Add a Web-Counter
    Blurty does not currently offer a counter/visitor tracking system of its own.

    Up until now, you've generally heard about using GLOBAL_HEAD override code block to insert additional lines of both HTML and CSS Style properties into a pre-existing defined journal style. This journal article will talk about inserting customization into a specific journal style, Recent Events, this is also known as the LASTN style -- since much of the designed elements are designated with the 'LASTN_' pretag.

    Instead of overriding the usual GLOBAL_HEAD element of your journal, we're going to look at a separate part of your LASTN journal page, the LASTN_WEBSITE element. In the past LiveJournal used to allow simple HTML in the website field of your edit info page, but since it was never intended to be that way, it was reversed to only allow a simple link to your webpage.

    If you don't have a website, you can easily put in the URL to your journal in the website field on your edit info page. You will NEED a website defined in order to have a counter displayed in your 'Recent Events' journal style.

    The next step that you will have to do is to register with a online counter service and obtain a piece of code that does not reply on JavaScript to work. More than ever, the counter service offers as JavaScript and non-JavaScript, look for the code between <noscript> and </noscript>, you should find an anchor tag.

    In these examples, the counter service application will be referencing 'thecounter.com', but there are many other counter services available on the internet (ie. gostats.com, sitemeter.com & digits.com).

    LASTN_WEBSITE vs STYLE SPECIFICITY
    It is very important that you select the correct example to match your current 'Recent Events' journal style. Choosing the example for the wrong journal style can yield unwanting and hideous results to your journal view.


    Default Blurty LASTN_WEBSITE override
    LASTN_WEBSITE<=
    <TD>
    <a href=http://www.thecounter.com"><img alt="TC" src="http://c1.thecounter.com/id=******" border=0 /></a><BR>
    <A HREF="%%url%%">%%name%%</A>
    </TD>
    <TD BGCOLOR=%%color:stronger_back%%> </TD>
    <=LASTN_WEBSITE
    Punquin Journal LASTN_WEBSITE override
    LASTN_WEBSITE<=
    <A HREF="%%url%%">> %%name%%</A><BR>
    <a href=http://www.thecounter.com"><img alt="TC" src="http://c1.thecounter.com/id=******" border=0 /></a><BR>
    <=LASTN_WEBSITE
    Tabular Indent LASTN_WEBSITE override
    LASTN_WEBSITE<=
    <TR><TD>View:</TD><TD><A HREF="%%url%%">Website (%%name%%)</A><BR>
    <a href=http://www.thecounter.com"><img alt="TC" src="http://c1.thecounter.com/id=******" border=0 /></a>.</TD></TR>
    <=LASTN_WEBSITE
    Webley Boxes LASTN_WEBSITE override
    LASTN_WEBSITE<=
    [ <b><A HREF="%%url%%">%%name%%</A></b><BR>
    <a href=http://www.thecounter.com"><img alt="TC" src="http://c1.thecounter.com/id=******" border=0 /></a> ]
    <=LASTN_WEBSITE
    Generator LASTN_WEBSITE override
    LASTN_WEBSITE<=
    <caption>
    <a href="http://http://c1.thecounter.com/id=******">
    <img alt="TC" src="http://http://c1.thecounter.com/id=******" border=0 />
    </a>
    <br><br>
    </caption>
    <tr>
    <td class="meta">[</td>
    <td align="right" class="meta"><b>website</b></td>
    <td align="center" class="meta">|</td>
    <td class="meta"><A HREF="%%url%%">%%name%%</A></td>
    <td class="meta">]</td>
    </tr>
    <=LASTN_WEBSITE
    Refried Paper/Disjointed LASTN_WEBSITE override
    LASTN_WEBSITE<=
    <br />
    <a href="%%url%%">my website</a>
    <br />
    <a href="http://http://c1.thecounter.com/id=******">
    <img alt="TC" src="http://http://c1.thecounter.com/id=******" border="0" />
    </a>
    <=LASTN_WEBSITE


    Add to Memory


© 2002-2008. Blurty Journal. All rights reserved.