Outdated Website sections.

Ask your questions about ircu and GNUWorld, share your ideas, and help the coders in their work.
Skee
Posts: 12
Location: Bukowina, RO

Outdated Website sections.

Post by Skee »

Hello.
I just found this thing out and wanted to share it with everybody.
If you are using website sections like Admin Log, Suspend/Unsuspend Events, Channels Registered by The Judge (Automatic Registration Procedure), Idled Channels Report, Globally suspended users, etc. you'll notice that you're only able to select events between Jan 1 2000 and Dec 31 2010. For a quick fix open the specific php file from /home/gnuworld/website/docs/gnuworld/admin/ (e.g.: view_adminlog.php) and search for

Code: Select all

for ($x=2000;$x<=2010;$x++) {
and replace it with

Code: Select all

for ($x=2000;$x<=2012;$x++) {

Notice: there are two entries: first after:

Code: Select all

echo "</select> <select name=y>";
and 2nd after

Code: Select all

echo "</select> <select name=y2>";

Enjoy!