Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 7.9
Author Message
buko
New Member
New Member



Joined: Dec 11, 2007
Posts: 9

PostPosted: Mon Apr 21, 2008 5:32 am Reply with quote

Hi peeps

On my 7.9 nuke site all looks fine but topics in news and downloads section is showing things like this under story post or download.

Code:
Posted by admin on Wednesday, September 12 @ 21:16:47 Austraila/Sydney


I just don't wanna to show this part.

Code:
Austraila/Sydney


How can i fix this problem and hide that informations to not be shown under the topics story.

Any good advice to resolve this big problem for me.

I haven't see this on any nuke site.

Thank you
 
View user's profile Send private message
Gremmie
Former Moderator in Good Standing



Joined: Apr 06, 2006
Posts: 2415
Location: Iowa, USA

PostPosted: Mon Apr 21, 2008 7:07 am Reply with quote

I'd first check this thread: http://www.ravenphpscripts.com/postp117493

It is curious you are seeing that in downloads too, as _DATESTRING (to my knowledge) is only used in news.

Has your Nuke been customized in any way?

_________________
Only registered users can see links on this board! Get registered or login! - An Event Calendar for PHP-Nuke
Only registered users can see links on this board! Get registered or login! - A Google Maps Nuke Module 
View user's profile Send private message
montego
Site Admin



Joined: Aug 29, 2004
Posts: 9457
Location: Arizona

PostPosted: Tue Apr 22, 2008 6:18 am Reply with quote

buko, if you are using NSN Group Downloads, then the date string is a configurable option.

_________________
Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
buko







PostPosted: Tue Apr 22, 2008 5:35 pm Reply with quote

@Gremmie that post solved my news posting issue

@montego i'm using NSN Group download module and module use his own lang but i cant solve this i even tried to close that lang file with //define("_ADDEDON","Added on"); but it still shows who added files and from where.

Thank for advice people

Smile
 
buko







PostPosted: Tue Apr 22, 2008 6:14 pm Reply with quote

modules/downloads/includes/functions.php

around line 821 a close this line and 921 two lines ok some code and 1 more line i modules/downloads/public/getit.php

Code:
// echo "<b>"._ADDEDON.":</b> ".CoolDate($lidinfo['date'])."<br>\n";


so its closed complete and not showing added time its safe and better for me Smile

Thank you all

buko
 
montego







PostPosted: Wed Apr 23, 2008 7:03 am Reply with quote

buko, you should not have to do that. If you go into the administration control panel and select Downloads and then in the upper right-hand corner "Downloads Configuration", down at the bottom of the list should be a field for "Date Format:". You simply have to change the string "D M j G:i:s T Y" to whatever you want. It even has a link to the PHP manual where the elements of this date string are explained.
 
buko







PostPosted: Thu Apr 24, 2008 4:27 am Reply with quote

Thanks montego did fix it. that "T" was showing my adress i just cut it off.

And all looks ok now.
 
montego







PostPosted: Fri Apr 25, 2008 11:44 am Reply with quote

Very good. Thanks for letting us know!
 
buko







PostPosted: Sun Apr 27, 2008 6:36 pm Reply with quote

No problem, feedback makes nuke always better CMS.

Thanks

buko
 
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 7.9

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 ©