61
acegamer
Re: time problem with news module
  • 2006/10/13 15:58

  • acegamer

  • Not too shy to talk

  • Posts: 162

  • Since: 2005/7/11


Is there nobody who has the same problem like me?

Or know how to fix it...
Because it still runs, 2 hours behind



62
acegamer
The old edit xoop into news1.44
  • 2006/10/13 5:16

  • acegamer

  • Not too shy to talk

  • Posts: 162

  • Since: 2005/7/11


How do i make from the news 1.44 the safe date and hours, to setup a post for the next day, ect...
Back to the old one from news 1.1

I mean only this (news 1.44)that i want to have changed!
Resized Image


Back to this version
Resized Image

Why, you would think.
Because you can setup the time to the minute!
and it's more easer and faster to setup a post.

And it gives the correct time!

I hope you want to help me, herve

Thank you so mutch, already !!!

AceG.

So: Anyone who can help, please help



63
acegamer
time problem with news module
  • 2006/10/12 20:39

  • acegamer

  • Not too shy to talk

  • Posts: 162

  • Since: 2005/7/11


I have a same problem with my news 1.44 module.

when i post something directly @ 22:55
he will gives the right time on the mainpage.

But when you setup a post for the next day for example @ 07:00
he will post @ 09:00

i think he runs 2 hours behind.
But i already set the correct time for the server, default and on my account??

LocalThu12 Oct 2006 21:01:48 +0000
GMT
Thu12 Oct 2006 21:01:48 +0000


But normaly it must be,

LocalThu12 Oct 2006 23:02:34 +0200
GMT
Thu12 Oct 2006 21:02:34 +0000


How do i can set my local time correctly?
in news 1.44


thx



64
acegamer
Re: The old edit xoop into news1.44
  • 2006/10/12 20:23

  • acegamer

  • Not too shy to talk

  • Posts: 162

  • Since: 2005/7/11


oke



65
acegamer
The old edit xoop into news1.44
  • 2006/10/12 19:00

  • acegamer

  • Not too shy to talk

  • Posts: 162

  • Since: 2005/7/11


How do i make from the news 1.44 the safe date and hours, to setup a post for the next day, ect...
Back to the old one from news 1.1

I mean only this (news 1.44)that i want to have changed!
Resized Image


Back to this version
Resized Image

Why, you would think.
Because you can setup the time to the minute!
and it's more easer and faster to setup a post.

And it gives the correct time!

I hope you want to help me, herve

Thank you so mutch, already !!!

AceG.

So: Anyone who can help, please help



66
acegamer
Re: news timezone trouble
  • 2006/10/11 20:44

  • acegamer

  • Not too shy to talk

  • Posts: 162

  • Since: 2005/7/11


someone



67
acegamer
news timezone trouble
  • 2006/10/11 11:25

  • acegamer

  • Not too shy to talk

  • Posts: 162

  • Since: 2005/7/11


Hello, i'm having some troubles with the timezone setup.

My server stand on a GMT timezone, i setup the timezone for the server to GMT, and myself is setup in my account on +2 timezone. In the module Altern8, when i setup a post to get posted on 11-10-2006 @ 13:50 it will be published at the main page at 11-10-2006 @ 13:50, now with news 1.44 he doesn't do that :s

When i post directly he gives me the correct time when it's published. But when i setup a post for getting posted @

11-10-2006 @ 13:50 he will publish that on 11-10-2006 @ 15:50

How does that come? And how do i slove this problem?

Thx,

AceG.



68
acegamer
Re: current time reads incorrectly
  • 2006/10/10 12:50

  • acegamer

  • Not too shy to talk

  • Posts: 162

  • Since: 2005/7/11


i have the same problem thx
i will try that



69
acegamer
Re: news 1.44 don't count for webmasters or admins
  • 2006/10/9 16:22

  • acegamer

  • Not too shy to talk

  • Posts: 162

  • Since: 2005/7/11


Edit the file article.php, find this line :
if( ($xoopsUser->getVar('uid')==$article->uid()) || news_is_admin_group()) {


and after it insert :

$article->updateCounter();



thats it ;)

Thanks

Tonight my new website will be launched in Holland And Belgium ;)



70
acegamer
Re: news 1.44 don't count for webmasters or admins
  • 2006/10/8 20:04

  • acegamer

  • Not too shy to talk

  • Posts: 162

  • Since: 2005/7/11


Quote:

tcnet wrote:
edit modules/news/article.php somewhere around line 158

/**
 * update counter only when viewing top page and when you are not the author or an admin
 */
if (empty($_GET['com_id']) && $storypage == 0) {
  if(
is_object($xoopsUser)) {
     if( (
$xoopsUser->getVar('uid')==$article->uid()) || is_admin_group()) {
     } else {
      
$article->updateCounter();
     }
   } else {
     
$article->updateCounter();
   }
}

to
/** HACKED to include admin in counter
 * update counter only when viewing top page and when you are not the author
 */
if (empty($_GET['com_id']) && $storypage == 0) {
  if(
is_object($xoopsUser)) {
     if( (
$xoopsUser->getVar('uid')==$article->uid()){
     } else {
      
$article->updateCounter();
     }
   } else {
     
$article->updateCounter();
   }
}


I get this error Quote:
Parse error: syntax error, unexpected '{' in /mounted-storage/home24b/sub001/sc22304-CAED/www/modules/news/article.php on line 163




TopTop
« 1 ... 4 5 6 (7) 8 9 10 ... 14 »



Login

Who's Online

254 user(s) are online (156 user(s) are browsing Support Forums)


Members: 0


Guests: 254


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits