3.1 & 3.2 Extensions Database 3.1 / 3.2Member time counter

<span class="qte-attr qte_31_32-qte">3.1.x &amp; 3.2.x</span>
User avatar

Topic Author
dmzx
Founder
Founder
Posts: 6466
Joined: 13 Jan 2014, 21:45
    Windows 10 Chrome

Member time counter

Post by dmzx »

Extension Name: Member time counter
Author: dmzx

Extension Description:
phpBB 3.1 extension that will display member time counter in profile.

dmzx/Member-time-counter


Code update, validation version

Screenshot:
Image

Extension Download:
Download-link
Member time counter v1.0.2
Installation:
  1. Download the latest release.
  2. Unzip the downloaded release, and change the name of the folder to `membertimecounter`.
  3. In the `ext` directory of your phpBB board, create a new directory named `dmzx` (if it does not already exist).
  4. Copy the `membertimecounter` folder to `/ext/dmzx/` if done correctly, you'll have the main extension class at
    (your forum root)/ext/dmzx/membertimecounter/composer.json
  5. Navigate in the ACP to `Customise -> Manage extensions`
  6. Look for `Member time counter` under the Disabled Extensions list, and click its `Enable` link.

User avatar

Sycron
Users
Users
Posts: 4
Joined: 22 Nov 2014, 21:21
    Windows 7 Chrome

Re: Member time counter

Post by Sycron »

LE: I found on Martin forum for 3.0.12 :D

User avatar

discovery
Donator
Donator
Posts: 18
Joined: 28 Nov 2014, 22:28
    Windows 8.1 Chrome

Re: Member time counter

Post by discovery »

Sycron wrote:and for 3.0.12 ?

viewtopic.php?p=1016#p1016

User avatar

martin
Admin
Admin
Posts: 5105
Joined: 06 Apr 2014, 16:12
    Linux Chrome

Re: Member time counter

Post by martin »

Sycron wrote:LE: I found on Martin forum for 3.0.12 :D
Your find most of the edits come from mine :lol:
Image

User avatar

Allen42
Users
Users
Posts: 5
Joined: 12 Dec 2014, 02:33
    Windows 7 Internet Explorer

Re: Member time counter

Post by Allen42 »

Like Rich McGirr (RMcGirr83) has that on his site, so it's working!

User avatar

testing
Users
Users
Posts: 6
Joined: 11 Dec 2014, 18:27
    Windows 7 Chrome

Re: Member time counter

Post by testing »

Nice, you can make an extension that shows in member profile "last activity was since 12 minutes at forum XXX" maybe?

User avatar

Jaantje
Users
Users
Posts: 356
Joined: 02 Nov 2014, 21:25
    Windows 8.1 Chrome

Re: Member time counter

Post by Jaantje »

Image

Where should I apply the changes?
In Language en or in Language nl or in ext/dmzx/membertimecounter/language/en/membertimecounter.php
Or should I create a new language folder !!
Grreeetttttzzzzz, Jaantje

User avatar

Midway
Translators
Translators
Posts: 115
Joined: 08 Dec 2014, 10:27
    Windows 7 Firefox

Re: Member time counter

Post by Midway »

You can't change in

Code: Select all

ext/dmzx/membertimecounter/styles/prosilver/template/event/overall_footer_after.html
you have this

Code: Select all

<!-- INCLUDEJS jquery.jcountdown.min.js -->
<script type="text/javascript">
// <![CDATA[
$(document).ready(function(){
   
$("#member").countdown({
      date: '{MEMBER_FOR}',
      leadingZero: false,
      yearsAndMonths: true,
      htmlTemplate: "<span class='cd-online'></span> <strong>%y</strong> <span class=\"cd-online\">Years</span> <strong>%m</strong> <span class=\"cd-online\">Months</span>  <strong>%d</strong> <span class=\"cd-online\">{L_DAYS}</span> <strong>%h</strong> <span class=\"cd-online\">{L_HOURS}</span> <strong>%i</strong> <span class=\"cd-online\">{L_MINUTES} and</span> <strong>%s</strong> <span class=\"cd-online\">{L_SECONDS}</span>",
      direction: "up"
   });     
    });

// ]]>
</script>
you can't replace Years and Months of the html by your language key for example Years by {L_YEARS} and add in /language/nl/common.php

Code: Select all

'YEARS'					=> 'Jaars',

User avatar

Jaantje
Users
Users
Posts: 356
Joined: 02 Nov 2014, 21:25
    Windows 8.1 Chrome

Re: Member time counter

Post by Jaantje »

Cerrone , je vous remercie pour la solution. Vous langue néerlandaise est meilleure que la mienne :thumbup:
Cerrone , thank You for the solution.

User avatar

awr
Translators
Translators
Posts: 55
Joined: 13 Mar 2015, 08:50
    Windows 7 Chrome

Re: Member time counter

Post by awr »

Turkish language pack
tr.rar
This link updated.
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.
Last edited by awr on 30 Mar 2015, 11:51, edited 1 time in total.

User avatar

awr
Translators
Translators
Posts: 55
Joined: 13 Mar 2015, 08:50
    Windows 7 Chrome

Re: Member time counter

Post by awr »

membertime.jpg
member time counter does not appear
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.

User avatar

Topic Author
dmzx
Founder
Founder
Posts: 6466
Joined: 13 Jan 2014, 21:45
    Windows 8 Firefox

Re: Member time counter

Post by dmzx »

awr wrote:
membertime.jpg
member time counter does not appear
Check if there is a conflict in .js on your site

User avatar

awr
Translators
Translators
Posts: 55
Joined: 13 Mar 2015, 08:50
    Windows 7 Chrome

Re: Member time counter

Post by awr »

dmzx wrote:Check if there is a conflict in .js on your site
phpBB • Member time counter

Problem in this link.

User avatar

Topic Author
dmzx
Founder
Founder
Posts: 6466
Joined: 13 Jan 2014, 21:45
    Windows 8 Firefox

Re: Member time counter

Post by dmzx »

What is the value user_regdate of the user in your database?

User avatar

Jaantje
Users
Users
Posts: 356
Joined: 02 Nov 2014, 21:25
    Windows 8.1 Chrome

Re: Member time counter

Post by Jaantje »

awr I deleted the background of your avatar , you might find it more beautiful.

Image

Post Reply Previous topicNext topic