Author Topic: Coutries - States  (Read 336 times)

Offline webhold

  • Sr. Member
  • ****
  • Posts: 13
  • Karma: +0/-0
Coutries - States
« on: March 26, 2014, 12:02:37 PM »
Hi, tw things with which you could help me:

1)  Where do I edit countries and states, and where I am doing a country default?  scripts/dropdown and search?
2) Is it possible to show timestamps without hours/minutes and seconds ad how long time ago?

Thanks for you help!

Offline alexa

  • Administrator
  • Hero Member
  • *****
  • Posts: 493
  • Karma: +7/-1
Re: Coutries - States
« Reply #1 on: March 27, 2014, 02:49:28 AM »
Hello,

That search system will be changed in next version.

1. post.php + themes/THEME/main.php, themes/THEME/category.php, themes/THEME/search.php


Replace this code:


Code: [Select]
<script type="text/javascript">initCountry('US'); </script>


With e.g. this code:


Code: [Select]
<script type="text/javascript">initCountry('UK'); </script>



2. themes/THEME/resume.php


Replace this code:


Code: [Select]
{$qu.date|date_format:"%A, %B %e, %Y, %H:%M:%S"}, {$qu.date|timeAgo} {#ago#}<br />


With this code:



Code: [Select]
{$qu.date|date_format:"%A, %B %e, %Y"}<br />




« Last Edit: March 27, 2014, 02:54:02 AM by alexa »