PHP Web Host - Quality Web Hosting For All PHP Applications $35/month $250/year (Unlimited) - $25/month - 200,000 impressions - Your Ad Could be Here - Click For Details
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
spcdata
Regular
Regular


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

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

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!!
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 Back to top

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.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
spcdata
Regular
Regular


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

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

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
View user's profile Send private message Send e-mail Visit poster's website
spcdata
Regular
Regular


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

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

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
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum