Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Modules
Author Message
spcdata
Regular
Regular



Joined: Jan 24, 2004
Posts: 81
Location: Sweden

PostPosted: Sat Sep 04, 2004 1:51 pm Reply with quote

Hello!

The problem is that the images for "New Today", "New Last 3 Days", "New This Week" and "New Last 2 Weeks will not show up Crying or Very sad

I have tried both the standard downloads module and the NSN downloads but it's the same, no images.....??

But the "Popular" image shows up so I think the problem is with the datetime or something...

I would really appreciate if someone can help me out with this!!

_________________
/spcdata 
View user's profile Send private message Send e-mail Visit poster's website
MrFluffy
Hangin' Around



Joined: Jun 24, 2004
Posts: 28
Location: Berlin

PostPosted: Sat Sep 04, 2004 3:55 pm Reply with quote

Here's what worked for my german site. I matched the datestrings in the weblinks and download scripts with the ones in the language files. I don't know the swedish date syntax, you may have to adapt it Wink

modules/Downloads/index.php and modules/Web_Links/index.php:

Find (two times in each file):
Code:
   $daysold = date("d-M-Y", $startdate);


Replace with:
Code:
   $daysold = date("d.m.Y", $startdate);


modules/Downloads/language/lang-swedish.php and modules/Web_Links/language/lang-swedish.php:

Find:
Code:
define("_LINKSDATESTRING","%d.%b.%Y");


Replace with:
Code:
define("_LINKSDATESTRING","%d.%m.%Y");


Also note that the $locale variable is missing in almost all global lines.

_________________
cu,
MrFluffy

Image 
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
spcdata







PostPosted: Sat Sep 04, 2004 4:20 pm Reply with quote

Thank You for Your help MrFluffy !! but it did not work for me....maybe the problem is that I run NSN Group Downoads at the moment, there is alot of diffrense from the standard one Confused

but I'm going to install nuke 7.5 now so I will test it on the standard downloads module and see if it works.

I will post the result here later.

Thanks again MrFluffy Exclamation
 
spcdata







PostPosted: Sat Sep 04, 2004 5:15 pm Reply with quote

Very Happy MrFluffy You are a Genius Exclamation

I got it working now in both the web-links and NSN Group Downloads modules.

This:
Code:
$daysold = date("d-M-Y", $startdate);
where moved to functions.php in the downloads module thats why i did not find it directly.


Thank You VERY MUCH for Your help and time Exclamation
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Modules

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©