 |
|
 |
|
- Readme First! - Read and follow the rules, otherwise your posts will be closed |
|
|
|
|
|
There are currently, 162 guest(s) and 0 member(s) that are online.
You are Anonymous user. You can register for free by clicking here |
|
|
|
|
|
|
Steve_Lillico writes "PHP-Nuke may have dropped the ephemerids block, well talk-back.ca has brought it back, we have created a Today in History Block.
Specially configured to run with Nuke 7.5 or higher only, has not been tried on lower versions.
As seen on http://talk-back.ca, we have thousands of items in the included sql file. Almost 7 months worth of Canadian related history, with more being updated all the time and the rest is general history, we have also included a full admin section to add, edit or delete the entries. Only recommended for Nuke 7.5 or higher. You can view it in the left block here http://www.talk-back.ca You can download it and get more details here, http://www.talk-back.ca"
|
|
Posted on Sunday, April 24 @ 01:38:46 CEST by VinDSL |
|
|
|
|
| |
|
| The comments are owned by the poster. We aren't responsible for their content. |
| | | | |
No Comments Allowed for Anonymous, please register | | | | |
Re: Today in History (Score: 1) by BrainSmashR on Sunday, April 24 @ 08:23:37 CEST (User Info | Send a Message) http://www.brainsmashr.com | Very nice, however you should edit
$result = $db->sql_query("SELECT yid, content FROM " . $prefix . "_ephem WHERE did='$eday' AND mid='$emonth' $querylang");
to
$result = $db->sql_query("SELECT yid, content FROM " . $prefix . "_ephem WHERE did='$eday' AND mid='$emonth' $querylang ORDER BY yid");
Adding the ORDER BY yid allows the new dates a users adds to their own site to show in the proper chronological order instead of appearing below the dates included in the sql file.
So instead of 1928, 1971, 1901
You will get 1901, 1928, 1971
This was discussed while the old block was still a part of nuke.
http://nukecops.com/postx23884-0-0.html |
| | | | | |
|