Zikula: A Flexible Open Source Content Management System
home | forum | contact us

Dizkus

Bottom
Counter Block?
  • Posted: 29.01.2003, 07:56
     
    peterjcb
    rank:
    Softmore Softmore
    registered:
     December 2002
    Status:
    offline
    last visit:
    16.02.07
    Posts:
    96
    OK, I want to try out the Counter Block, it only contains one file "counter.php"....how do I install it? :?:
  • Posted: 29.01.2003, 16:09
     
    Infopro
    rank:
    Professional Professional
    registered:
     December 1969
    Status:
    offline
    last visit:
    17.06.04
    Posts:
    2122
    I believe you place it in your includes/blocks directory. Then make a new block. You shouls see counter on the dropdown list..

    --
    Friends rock, bullshit walks
  • Posted: 02.03.2003, 13:10
     
    rcillig
    rank:
    Helper Helper
    registered:
     February 2003
    Status:
    offline
    last visit:
    14.10.03
    Posts:
    109
    nope that didnt work for me....
  • Posted: 03.03.2003, 04:15
     
    ColdRolledSteel
    rank:
    Professional Professional
    registered:
     December 1969
    Status:
    offline
    last visit:
    30.12.05
    Posts:
    1310

    rcillig

    nope that didnt work for me....
    I got this from the comments to the article linked from the first post in this thread:

    Quote

    Hi all,

    I have got it workings, by luck if anything.

    What you have to do is rename counter.php to visitors.php then put it in your includes/blocks directory, then it will show up in new block as Core/Visitors Custom Box.

    The only other problem that I have found, is that it is not in English. Please would someone translate it for those of us who need it in English. Thank you.

    Hope this helps you all.

    Best Regards
    Michael
    Managing Director
    Jess Online (UK) Limited

    Feel free to take a look at it on the right hand side of my Company Website at: http://www.jessonline.net/. It is titled How Many Visitors

    There's some followup discussion on translation, which you can read by going to the Counter Block link in the first posting of this thread...
  • Posted: 03.03.2003, 09:01
     
    rcillig
    rank:
    Helper Helper
    registered:
     February 2003
    Status:
    offline
    last visit:
    14.10.03
    Posts:
    109
    ok thanx i got it to install but the counet doenst work... it starts and stays at 1107 oh also its in english but i can fix that but how do i make it count correct?
  • Posted: 04.03.2003, 01:48
     
    ColdRolledSteel
    rank:
    Professional Professional
    registered:
     December 1969
    Status:
    offline
    last visit:
    30.12.05
    Posts:
    1310

    rcillig

    ok thanx i got it to install but the counet doenst work... it starts and stays at 1107 oh also its in english but i can fix that but how do i make it count correct?

    Sorry, I don't know. I only posted something that I found in the link mentioned above. Maybe someone else surfing the forums will come up with an answer.

    Or you might try contacting Michael at www.jessonline.net, since he was the one who got it working...
  • Posted: 04.03.2003, 07:17
     
    nnm
    rank:
    Freshman Freshman
    registered:
     January 2003
    Status:
    offline
    last visit:
    20.02.03
    Posts:
    2
    I have a PHP Counter script.
    Now how can I put it on side block ???
    Drag it to include folder or add a block PHP then put sources on it ???


    Pls Help me thanks
  • Posted: 08.03.2003, 01:50
     
    jessonline
    rank:
    Registered User Registered User
    registered:
     June 2002
    Status:
    offline
    last visit:
    07.03.03
    Posts:
    1
    The counter.php block should be re-named to visitors.php then placed in the includes/blocks directory

    This is what the script should look like.



    Alter the line at the bottom that reads:

    $content="We have received $total visitors since June of 2002";

    to your own text, but don't take out the $total bit.

    Hope this helps you all.

    See it at http://www.jessonline.net/ down on the right headed 'How Many Visitors'.

    Regards
    Michael
    Managing Director
    Jess Online (UK) Limited
  • Posted: 09.03.2003, 08:35
     
    peterjcb
    rank:
    Softmore Softmore
    registered:
     December 2002
    Status:
    offline
    last visit:
    16.02.07
    Posts:
    96
    Jessonline.....I just did everything that you said but I am unable to create a new Visitors block.
    It does not show up in the drop down menu when I go to create a new block.
    I see that you have it working one your site.

    Not only did I not get the block to work but it took down my site! :(
    I had to restore the pnadodb/adodb.inc.php files to get my site working again.
  • Posted: 11.03.2003, 21:38
     
    rcillig
    rank:
    Helper Helper
    registered:
     February 2003
    Status:
    offline
    last visit:
    14.10.03
    Posts:
    109
    ok I got it working but how can I change the size of the numbers in the counter? I tyred to make them BOLD but that didnt help..... I want to make them just a bit bigger.... thanx


    my site
    http://dflounge.beyondisp.com/index.php

Main Menu

Extensions Database

Documentation

Development

Login

Donate to Zikula