News:

Wondering if this will always be free?  See why free is better.

Main Menu

how to add date registerd on post

Started by dkharp, December 09, 2009, 08:26:58 AM

Previous topic - Next topic

dkharp

I was wondering how can I add date registered on post? There was a mod but it's out of date. So I was wondering if I could edit instead

Informatics

How to add a registered date or join date, right?

1. Open Display.template.php file on your theme directory
2. Fine this line

// Show how many posts they have made.

3. Add this code on the code above:


      if ($message['member']['registered'] != '')
          echo 'Registered Date: ', strftime('%b %Y', $message['member']['registered_timestamp']), '<br />';


So, we have the new code like this:


      if ($message['member']['registered'] != '')
          echo 'Registered Date: ', strftime('%b %Y', $message['member']['registered_timestamp']), '<br />';
     
      // Show how many posts they have made.


4. Save

This is just a sample.
NB: it use Join Date: instead of Registered Date:



The tutorial is taken from http://idsmf.com/index.php/topic,4.0.html


You can catch me @ Forum Informatika a.k.a Indonesian Informatics Online Community @ http://if.web.id




Mods:
1. LinkTree v.1.1.0 [Topic  || Download]
2. Header Rotator v.1.1.0 for 1.1.x | v.2.1 for 2.0 [Topic || Download]

H

Do you require any further assistance with this?
-H
Former Support Team Lead
                              I recommend:
Namecheap (domains)
Fastmail (e-mail)
Linode (VPS)
                             

Advertisement: