Skip to Content Skip to Menu

Plugin - Last Profile Visitors time is off?

  • trail
  • trail
  • OFFLINE
  • Posts: 232
  • Thanks: 21
  • Karma: 813
17 years 7 months ago #35398 by trail
steveometer wrote:

this code is definately a bit spagetti

i spent the last hour or so just making the tabs in the code standard looking.

i also changed the variable names to english for the date, and included an extra config option for a date string ( %d-%m-%y ect... )

my next move is to make it not be 'double coded'

after that im going to hack in the server offset check

then im going to make the output a little cleaner

hopefully after that ive changed it enough to call it a fork or a new version or something, dont know the rules on that and could use some help.

SoM


I just tested server offset on my server, the latest version is currently plug_lastviewstab_v0.2.8stable.zip, and is using joomlas server offset automaticly. Try changing joomlas setting at global configuration -> locale and it will change the time on lastviews.

'changelog: v0.1.5beta-> added *automatic* timezone offset calculation,...' u must be using a very old version ?

Changing the internal variable names will not change the functionaly but feel free to change, it simply doesn't matter for the output :)... but im checking the latest version, the one that danielle and beat (both english coding) have enhanced...and i see no foreign language.. its all english.. check ur version number again :)

There are 8 date and time options available.. wich one are you missing exactly ? Are you sure you are using the latest version ? dl plug_lastviewstab_v0.X.X.zip (latest) from here

The code looks clean to me too.. properly tabbed.. i think danielle cleaned it up long time ago :)

If there is an issue with time then there must be a bug or the wrong offset setting in backend, but since so many sites are using this for so long this seems to be an isolated problem, but still very interesting to look into :)

Let me know wich version you are using.. or try reinstalling the one in the link above..

~Trail.

DJ Trail.
CB Co-Founder & Test-Lead.
Plugins: My Age , Starsign Matchmaking Horoscope , My Visitor , My Highscores , My ProfileID ,
My Components: Import & Invite Karma Casino (Use Test / Test)
My Modules: Many :)

Please Log in or Create an account to join the conversation.

17 years 7 months ago #35401 by steveometer
Replied by steveometer on topic Re:Plugin - Last Profile Visitors time is off?
click here to see what my ultimate output is so far

i also have been working on the xml to make any of the 3 custom fields 'clickable'

SoM

Please Log in or Create an account to join the conversation.

17 years 7 months ago #35556 by TheUnderdog
Replied by TheUnderdog on topic Re:Plugin - Last Profile Visitors time is off?
I don't know if trail used some of the coding from steveometers work, but in any case many thanks both of you.
I unistalled my plug_lastviewstab_v0.2.8stable.zip and installed trail's latest upgrade v0.2.9. Fantastic, it works very smoothly ;-) It even caught all last visits before the update and is now displaying the correct time. I am very happy ! and happiness in this world is ussually expressed via Karma ! ;-)

Please Log in or Create an account to join the conversation.

  • trail
  • trail
  • OFFLINE
  • Posts: 232
  • Thanks: 21
  • Karma: 813
17 years 7 months ago #35610 by trail
Ah yes forgot to mention in this thread.. the time offset bug is fixed..

I was running an unknown version on my website wich worked perfect.. i was NOT running the last 0.2.8 version.. hence all confusion.. i think i might have worked on it and forgot to upload the new version..

What i did was revert my site back to 0.2.8 and fixed the time offset bug in that one, also added more security thanks to Beats advice.

U can download the new version 0.2.9 at the first post of the original thread. (See link in my signature)

Thanks for the feedback..
~Trail.

Post edited by: trail, at: 2007/04/13 18:41

DJ Trail.
CB Co-Founder & Test-Lead.
Plugins: My Age , Starsign Matchmaking Horoscope , My Visitor , My Highscores , My ProfileID ,
My Components: Import & Invite Karma Casino (Use Test / Test)
My Modules: Many :)

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum