Community Forum

If you have questions about my software, chances are this forum has the answers.

You'll need to register before you can post on the forum to ask your question or to answer another one. A reply will be posted to each and every question that is asked so there is no need to double post or bump your post. I do my best to answer promptly but in some cases it may take a day or two. If you bump your post, it may be removed. Bear with me and I`ll get your question answered quickly.

Here are a few tips to help you to get your questions answered more rapidly.

IMPORTANT: Posts in English only. I don't have a translator and I'll be unable to understand your message properly and will probably delete it.
SEARCH: Use the search option to see if your question has been answered on the forum before now or if there is an answer in the documentation of your software.
PRIORITY SUPPORT: If you have purchased a commercial version of any software, using the contact option at the licence centre ensures a faster response.
AUTO DELETION: Accounts older than 5 days, with no posts or topics, are automatically deleted. Only register if you are thinking of posting.
LINKS: Any links posted are not clickable and must be copied / pasted into your browser address bar.

You are not logged in.

#1 SteffJay 19-12-2018 11:34:12

I have entered dates spanning from 2018 too 2020. However, the "Latest Events" on the Right and underneath displays from 2020 to 2018. Is there a setting that can show the events from 2018 too 2020?

Thanks in advance.

#2 msworld 20-12-2018 03:01:33

Open 'control/classes/class.events.php'. Change line 237 from:

$fltrByOpts = $this->ssn->filter_by('ORDER BY `' . DB_PREFIX . 'events`.`ts` DESC,`' . DB_PREFIX . 'events`.`id` DESC');

to

$fltrByOpts = $this->ssn->filter_by('ORDER BY `' . DB_PREFIX . 'events`.`ts`,`' . DB_PREFIX . 'events`.`id`');

Change line 564 from:

ORDER BY `" . DB_PREFIX . "events`.`ts` DESC,`" . DB_PREFIX . "events`.`id` DESC

to

ORDER BY `" . DB_PREFIX . "events`.`ts`,`" . DB_PREFIX . "events`.`id`

smile

#3 SteffJay 20-12-2018 14:53:38
msworld wrote::

Open 'control/classes/class.events.php'. Change line 237 from:

$fltrByOpts = $this->ssn->filter_by('ORDER BY `' . DB_PREFIX . 'events`.`ts` DESC,`' . DB_PREFIX . 'events`.`id` DESC');

to

$fltrByOpts = $this->ssn->filter_by('ORDER BY `' . DB_PREFIX . 'events`.`ts`,`' . DB_PREFIX . 'events`.`id`');

Change line 564 from:

ORDER BY `" . DB_PREFIX . "events`.`ts` DESC,`" . DB_PREFIX . "events`.`id` DESC

to

ORDER BY `" . DB_PREFIX . "events`.`ts`,`" . DB_PREFIX . "events`.`id`

smile

Thank you for the code snippets. It does now show "down" as opposed to "up". One small glitch however, it shows December 2019 then Jan, Feb etc. I have tried deleting December 2019, however it still remains sad

#4 msworld 21-12-2018 06:51:44

Sorry, I don`t understand. You said you had dates from 2018 to 2020? So, 2019 should display shouldn`t it?

#5 SteffJay 21-12-2018 09:22:49

Yes, that is correct. However, it displays December 2019, January 2019 February 2019 etc.

#6 msworld 21-12-2018 15:09:40

can you give me a screenshot of where it`s displaying wrong?

#7 SteffJay 21-12-2018 17:32:17
msworld wrote::

can you give me a screenshot of where it`s displaying wrong?

Here you go:

https://www.dropbox.com/s/d2u2oyeem2c3mfk/events.jpg?dl=0

Last edited by SteffJay (21-12-2018 17:38:00)

#8 msworld 25-12-2018 17:47:22

The date is in the title. Are you sure the actual date set is Dec 2019?

You might need to email me a dump of your database, so I can check.
support@maianscriptworld.co.uk

Board footer

Maian Script World - Free PHP Software for Personal or Business Use.
© 2003-2019 Maian Script World & David Ian Bennett.

2Checkout.com is an authorized reseller of goods and services provided by Maian Script World

Free PHP Software / Responsive PHP Scripts / Lightweight PHP Software / White Label PHP Software