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.6
Author Message
neophite
Regular
Regular



Joined: Sep 13, 2003
Posts: 56
Location: Virginia

PostPosted: Sun Jul 10, 2005 7:23 am Reply with quote

Is there a way of posting news articles, without including the "date" and "time" of the posting being shown?

_________________
Warmest Regards,
Bob Miedema
 
View user's profile Send private message Visit poster's website
Susann
Moderator



Joined: Dec 19, 2004
Posts: 3191
Location: Germany:Moderator German NukeSentinel Support

PostPosted: Sun Jul 10, 2005 7:30 am Reply with quote

Hope this helps:
It´s the datestring.
define("_DATESTRING","");
[ Only registered users can see links on this board! Get registered or login! ]
 
View user's profile Send private message
neophite







PostPosted: Sun Jul 10, 2005 12:23 pm Reply with quote

Susann wrote:
Hope this helps:
It´s the datestring.
define("_DATESTRING","");
[ Only registered users can see links on this board! Get registered or login! ]


Thanks Susann for getting me on the right track Dance-Y

I followed through with the reference(s) you supplied and was able to make the correct changes in my lanugage file to eliminate the time and date entry in my news article post(s).

language/lang-english.php

From:

Code:
define("_DATESTRING","%A, %B %d @ %T %Z");


To:

Code:
define("_DATESTRING","");


I just deleted all references to time, date etc. within the "" of the definition and works like a champ, no more time & date entries on the posted articles.

I have being trying to eliminate the ON statement that follows the Author's name and preceeds the above date & time of the articles on my website by editing my theme's theme.php file.

So far I have gotten the article to display submitted by author's name _ (13 reads, comments).

Here is the "original" definition in my theme's theme.php file that I have been working on:

Code:
$posted .= " "._ON." $time $timezone ($counter "._READS.")";


I have tried several different modifications of this string and the website index page goes blank.

Here is what I have in this string now and it installs the UNDERSCORE line in the article post.

Code:
$posted .= " "._." $time $timezone ($counter "._READS.")";


I have went through my language file and can NOT find any kind of definition that will allow me to make this blank or just add a COLON after the author's name.

I wonder what would happen if I took the above code and changed it to the following:

Code:
$posted .= "($counter "._READS.")";


I think I may have been able to figure this out while writing this reply Idea

I will let you know how this works out....

Thank you again for you guidance and feedback my friend.
 
neophite







PostPosted: Sun Jul 10, 2005 12:51 pm Reply with quote

Well I tried the change in my website's THEME theme.php file on the following line in my website's THEME theme.php file, which the original string is this:

Code:
$posted .= " "._ON." $time $timezone ($counter "._READS.")";


When I tried the following:

Code:
$posted .= "  ($counter "._READS.")";


My website index page dissapeared Embarassed

So, I am seeking any suggestions on how to "clear" the above "._." (displays an underscore, but has eliminated the "on" word) in my news articles following the article author's name and preceeds where the TIME & DATE entries are normally placed (which I have been able to remove, as reported in the previous post of this thread).
 
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.6

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 ©