Welcome to PhpBB3 BBCodes. Click here to register.

Add a counter visit

Modifications that can improve Your Board
Use this forum to post Your mods
Forum rules
You are only allowed to post Your own mods in this forum.
When You post here, you are committed to give support when needed.
Mods that are not supported will be removed.

Re: Add a counter visit

Postby Simon 10 Nov 2008, 16:23

Your file is good, you can add
Code: Select all
// Visit counter
'VISIT_COUNTER'         => 'The board was visited by <b>%d</b> members since 28 October 2008',
'VISI_COUNTER_BLEM'      => 'Could not update counter information',
// Visit counter

just after
Code: Select all
'default_dateformat'   => 'D M d, Y g:i a',


like this :
Code: Select all

   
// The default dateformat which will be used on new installs in this language
   // Translators should change this if a the usual date format is different
   'default_dateformat'   => 'D M d, Y g:i a', // Mon Jan 01, 2007 1:37 pm

    // Visit counter
    'VISIT_COUNTER'         => 'The board was visited by <b>%d</b> members since 28 October 2008',
    'VISI_COUNTER_BLEM'      => 'Could not update counter information',
    // Visit counter
    

));
// Contact Admin mod
$lang = array_merge($lang, array(
   'CONTACT_ADMIN'         => 'Contact - Site Admin',
   'CONTACT_SUBJECT'      => 'Forum problem',
   'HAVING_A_PROBLEM'      => 'Having a problem?',   
));
 
:thumb:
I'm learning English here, be nice
User avatar
Simon

PhpBB3 Supporter
 
Age: 42
Posts: 184
Joined: 20 Sep 2008, 20:04
Location: France
BBCodes: 0001(binary)


Re: Add a counter visit

Postby beggers 11 Nov 2008, 00:37

What does this count exactly? Is it registered members or page views? If it's members, does it increment the count if a person accesses several times a day? Thanks!
User avatar
beggers

BBCoder III
 
Posts: 104
Joined: 06 Jul 2008, 05:54
Location: Las Vegas

Re: Add a counter visit

Postby Stoker 11 Nov 2008, 00:44

beggers wrote:What does this count exactly? Is it registered members or page views? If it's members, does it increment the count if a person accesses several times a day? Thanks!


As far as I can see it is everytime a new sessions starts.
Kind regards
Stoker

I don't give PM support, but feel free to contact me with suggestions etc.
User avatar
Stoker

Site Admin
 
Age: 35
Posts: 1946
Joined: 12 May 2008, 15:26
Location: Odense, Denmark
Highscores: 47
BBCodes: 250+
Real Name: Ulrik
Alias: Stokerpiller


User avatar Site Admin
Offline


Doing some testing

Re: Add a counter visit

Postby Dakin Quelia 21 Nov 2008, 10:36

Hello,

The original code is here and who's from ErnadoO from phpbb-fr.com.

You must quote the name's author.

See you soon,

Dakin Quelia

BBCoder III
 
Age: 22
Posts: 103
Joined: 20 Nov 2008, 20:26
Location: Belgium
BBCodes: 5
Real Name: Daniel
Alias: Dakin Quelia

Re: Add a counter visit

Postby casper™ 21 Nov 2008, 11:25

this is any kinf of MOD or what??.. any preview??..
User avatar
casper™

BBCoder III
 
Posts: 149
Joined: 17 Sep 2008, 15:08
Location: Portugal
BBCodes: 21
Real Name: Ricardo
Alias: casper.ghost

Previous

Return to Modifications



Who is online

Users browsing this forum: No registered users and 0 guests