cotonti.com : Wrong Dates - After Page Edit, PM viewing https://www.cotonti.com Последние сообщения в теме Cotonti en Tue, 23 Dec 2025 00:54:30 -0000 tensh I just made a new hook in pm.send.inc.php ... I don't want the textarea to disappear completely when I disable FCKeditor.

I don't think anything will be changed in Genoa PMs anyway now as we're getting closer to Siena.

]]>
ср, 16 ноя 2011 09:28:35 -0000
GHengeveld Create a new tag and use that instead wink

]]>
вт, 15 ноя 2011 23:53:32 -0000
tensh Hmm, another weird thing with pm.inc.php is that I can't hook into pm.tags.

I can easily hook into pm.send.tags of pm.send.inc.php....

Weird weird weird...

Added 11 minutes later:

Ahhh, I get it. I want to replace the textboxer, but it's inside the auth condition and gets parsed before calling the tags hook.

Now what? hack it? ...

]]>
вт, 15 ноя 2011 21:32:01 -0000
GHengeveld Sounds like a variable name collision. We'll have to investigate.

]]>
вт, 15 ноя 2011 01:42:17 -0000
tensh On my host, PM view also shows a strange date ^^

I made little checks (echoed $row['pm_date'] in various places) and found out that $row loses array data just after header include (before assigning tags). So I replaced all $row to $rowpm in pm.inc.php file and now the date works :) (as well as other things)

Added 3 minutes later:

Oh well, I'm talking about Genoa 6.20, so it's quite up to date :)

]]>
пн, 14 ноя 2011 21:36:37 -0000
musiconly
As for the PM trouble, I don't know. I'm testing it on 000webhost an there seems to be a problem, localhost is ok. Haven't tried on any other hosts, yet.]]>
вт, 17 ноя 2009 02:01:30 -0000
Trustmaster
This happens because {PAGEEDIT_FORM_DATE} is missing in your page.edit.tpl.

As for PM, it happens on some hosts so far we have no idea why. The code is identical in single and inbox.]]>
пн, 16 ноя 2009 01:53:29 -0000
Kort чт, 29 окт 2009 03:53:52 -0000 musiconly
Also, when viewing single PM, date is 01-01-1970 03:00, even though it shows the right date on pm inbox list?

Cotonti 0.6.4
Thanks]]>
чт, 29 окт 2009 02:54:22 -0000