delayed publication and module 'news show Pro GK5'

February 2014 Joomla Template
Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Thu Jan 29, 2015 2:11 pm
Reply with quote
Report this post
If I use the delayed publication (eg 1 hour) of K2 material - material output as a category K2(blog) is displayed correctly, right on time. But gavick modules (news show Pro GK5) delaeyd publish material displayed in any case and if you click ahead of time, you get an error 404.
What advise?

(sorry for my English)
User avatar
Junior Boarder

GK User
Thu Jan 29, 2015 2:46 pm
Reply with quote
Report this post
If shorter, the module 'news show Pro GK5' ignore information about start time of publication K2 article.
Joomla v3.3.6, K2 v2.6.9
User avatar
Junior Boarder

teitbite
Fri Jan 30, 2015 8:44 pm
Reply with quote
Report this post
Hi

This is a known K2 issue. Happens when server time is different than database time. We have provided an option "Time offset" to correct the gap in time differences. So please try using this this option to fix the problem.
User avatar
Moderator

GK User
Mon Feb 02, 2015 7:17 am
Reply with quote
Report this post
Hmm.
I'll try, but why in the blog category K2 no such problems? There's still work the same algorithms K2.
User avatar
Junior Boarder

GK User
Tue Feb 03, 2015 11:13 am
Reply with quote
Report this post
Yes, it works. Thank you.
User avatar
Junior Boarder

GK User
Wed Feb 04, 2015 8:52 am
Reply with quote
Report this post
The problem is still there, but elsewhere. The module 'mod _hiliter_GK5' no possibility to change the parameter 'timeoffset'.
User avatar
Junior Boarder

teitbite
Thu Feb 05, 2015 9:49 pm
Reply with quote
Report this post
Hi

I'm sorry, what module You have in mind ? We do not have a module called "mod _hiliter_GK5".
User avatar
Moderator

GK User
Wed Feb 11, 2015 9:07 am
Reply with quote
Report this post
(sorry, mod_highlighter_gk5)
You can see your demo site News2. This module is in a position 'Highlights'.
Drop-down menu 'offset time' does not work. If you manually write 'time offset' (for example -3) - dying the entire site.
User avatar
Junior Boarder

teitbite
Thu Feb 12, 2015 8:36 pm
Reply with quote
Report this post
Hi

Please make sure You are using the latest version of Highlighter module and send me an access to joomla panel and url to Your site.
User avatar
Moderator

GK User
Fri Feb 13, 2015 1:21 pm
Reply with quote
Report this post
Hi

I sent information in a private message.
User avatar
Junior Boarder

teitbite
Sat Feb 14, 2015 10:07 am
Reply with quote
Report this post
Hi

I got url to admin panel and user, but You have forgot to send the password :) I do not know the password to "gkadmin" user. This is something programmers use when making a template.
User avatar
Moderator

GK User
Mon Feb 16, 2015 8:01 am
Reply with quote
Report this post
Hi
I created a new administrator (see private message).
User avatar
Junior Boarder

teitbite
Mon Feb 16, 2015 2:48 pm
Reply with quote
Report this post
Hi

Ok. Since I could not find the correct time offset for this and a K2 fix to this dates problem may not be released, I think best way is to remove date from equation and just show the most recent articles.

Edit file /modules/mod_highlighter_gk5/gk_classes/gk.source.k2.php and remove lines: 167, 168, 202:

Code: Select all
             AND ( content.publish_up = '.$db->Quote($nullDate).' OR content.publish_up <= '.$db->Quote($now).' )

            AND ( content.publish_down = '.$db->Quote($nullDate).' OR content.publish_down >= '.$db->Quote($now).' )

         '.$since_con.'
User avatar
Moderator

GK User
Tue Feb 17, 2015 7:05 am
Reply with quote
Report this post
No, this is not a solution in my opinion. The module will be a link to the material that has not yet been published (because their publication delayed). If I click on the link, you'll get a 404 error.
User avatar
Junior Boarder

teitbite
Wed Feb 18, 2015 11:31 am
Reply with quote
Report this post
Hi

Yes I agree this is not the best solution, but that's the only thing which comes in my mind. You will have to drop the publishing functionality and publish everything on creations.

Other option is to fix what is causing it. You need to set the same system date in server and database. Problem is happening becuase during article creation a current time of database is being used while joomla can only use time set for server. So setting it the same should solve the problem for articles created since change.
User avatar
Moderator

GK User
Wed Feb 18, 2015 1:10 pm
Reply with quote
Report this post
Other GK-modules is working without this problems. I chose offset 3 hours in these modules and everything is working correctly. Questions have arisen only to the module 'highlighter'. This problem should be put in the template bugtrekker I think.
User avatar
Junior Boarder

teitbite
Thu Feb 19, 2015 4:27 pm
Reply with quote
Report this post
Hi

But You have put "news show Pro GK5" into title, so I thought You have this problem everywhere. In that case I can suspect there is something going on with this module. You can use a bug tracker for this module here https://github.com/GavickPro/Highlighter-GK5 to report it.
User avatar
Moderator


cron