Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
XXXX seconds ago
Avatar
Pablo A Halcon Palencia
Member
Free Members
sp_UserOfflineSmall Offline
Jun 4, 2012 - 7:17 am

how could i change seconds counts by minuts?

I would like to setup minuts as minimum time unit.

How could i do it?

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jun 4, 2012 - 7:29 am

Well you would need to edit core code for that. Is it not a little drastic to change the core code for what should only ever be seen for the fist 60 seconds of a posts life? After that it does change to 1 minute anyway....

But I can tell you where the code is if you really feel you need to change things...

andy-signature.png
YELLOW
SWORDFISH
Avatar
Pablo A Halcon Palencia
Member
Free Members
sp_UserOfflineSmall Offline
Jun 4, 2012 - 7:34 am

Hi,

Thanks for the reply.

The problem is that in my forum it's working longer than 60 seconds.

Now one post it shows "2280 seconds ago" more than 38 minuts... If seconds were shown just during 60 seconds it won't be a problem, but this measurements are not so friendlies.

Maybe the problem it's not the seconds unit.  Maybe it's that do not change to minuts after 60 seconds.  How could it work properly to 60 seconds and then turno to minuts?

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jun 4, 2012 - 7:46 am

Ah that's a different issue and is to do with your timezone settings.

This codex article will explain what the problem is and how to fix it: http://codex.simple-press.com/.....conds-ago/

andy-signature.png
YELLOW
SWORDFISH
Avatar
Pablo A Halcon Palencia
Member
Free Members
sp_UserOfflineSmall Offline
Jun 4, 2012 - 7:57 am

Hi Thanks,

I've been reading the article linked.

  • The WordPress Server Timezone - OK it was +1 UTC and now it's +2 as we are.
  • The Simple:Press Users Timezone - I haven't seen anything about time zone...
  • Avoid Using UTC Settings - How can I do it?

Sorry about my ignorance... but I do not know how to fix it.

Thanks one more tim efor your support I'll be waiting for your instructions

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jun 4, 2012 - 8:17 am

The problem with the UTC and - timezone settings is that they are (a) non-standard and (b) not supported by php timezone functions. These have been 'invented' by WordPress for (we believe) backwards compatibility with pre-php5 WP versions.

Simple:Press and other plugins that utilise timezones can not make use of UTC or - settings because they cause php to error and are, basically, ignored.

With the move of WP to php version 5 correct and supported timezones have become available. The fact that WP then made things difficult by adding these UTC variations is causing nothing but trouble!

You now have the ability - as described in the codex article - to set your system and personal timezones to an actual country and city. This is supported by both WP and SP and any other up to date plugin that needs timezone information (like event calendar plugins for example).

We strongly recommend you make this change to using country/city timezone settings as this is the only way to ensure accuracy of timezone calculations. The codex article states quite clearly where you need to do this for both the system/server and personal.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Pablo A Halcon Palencia
Member
Free Members
sp_UserOfflineSmall Offline
Jun 5, 2012 - 12:47 am

OK

I've selected Madrid for this item:

The WordPress Server Timezone
First check the WordPress timezone setting. This is set in the admin Settings > General panel. This setting is not intended to be the physical timezone of your hosts server, but the timezone the site owner wants their blog posts to be shown in. So this would usually be set to the timezone of the site owners home location. All blog posts and Simple:Press forum posts will be saved in the database using this timezone.

I've been trying to find where to selected the same timezone location for:

The Simple:Press Users Timezone
Each user of your forum can then set their own personal timezone which will adjust the dates and times of forum posts when they are displayed for that user. This is set in the Simple:Press Profile – Options > Display Options.

But I do not see where...

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jun 5, 2012 - 4:26 am

Simple:Press Profile – Options > Display Options - by default it is accessed via the button beside the login/logout button...

andy-signature.png
YELLOW
SWORDFISH
Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 620
Members: 17365
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626