Log in Register FAQ Memberlist Search Welcome to RCF - WHF Forum Index
alt : test.swf
Welcome to RCF - WHF
4fx3.gif 
calendar_open_closeCalendar 
[Solved] Today yesterday
Post new topic   Reply to topic View previous topic :: View next topic
Goto page: Previous  1, 2, 3, 4, 5  Next
Welcome to RCF - WHF Forum Index -> Area 51 - phpBB & Easymod Tech Support Add To Bookmarks
Re: [Solved] Today yesterday
PostPosted: 04/08/2007 4:40 PM Reply with quote
Seagull
Illuminati
Seagull
Posts 110
Word Cnt. 24,559
BDay N/A
Sign N/A
Sex Sex:Male
Joined: Mar 21, 2007
Local time: 7:50 PM
Location: Northern Ireland
greatbrE.gif
It shows today and yesterday and username but has taking away the topic name time and date

dontknow
Back to Top
View user's profile Find all posts by Illuminati Send private message   MSN Messenger
Re: [Solved] Today yesterday
PostPosted: 04/08/2007 4:54 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 8:50 PM
Location: St Pete, FL
peace.gif
When you removed the %s from the code that was added in the lang_main.php file, you removed the time and date stamp.  I thought you said that you were trying to get rid of the time and date???

I don't see anything in this MOD code that would remove the topic name.  Is that really gone???

dontknow
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: [Solved] Today yesterday
PostPosted: 04/08/2007 4:58 PM Reply with quote
Seagull
Illuminati
Seagull
Posts 110
Word Cnt. 24,559
BDay N/A
Sign N/A
Sex Sex:Male
Joined: Mar 21, 2007
Local time: 7:50 PM
Location: Northern Ireland
greatbrE.gif
No i like the time and date showing. Yea it is dissapearing, only in section parts. The time and date is still showing on the index page with the today and yesterday text.

Do you want a screen shot? Its def dissaperaing when i add that
Brick wall

EDIT: Sorry it isnt the date its just the time<<<<<

Eg
irish pet shop 2
Today 12:37 pm
by sooty
on the index

Without the code u gave me it is
08 Apr 2007 10:56 pm
sooty

But with it is
Today
by sooty
Back to Top
View user's profile Find all posts by Illuminati Send private message   MSN Messenger
Re: [Solved] Today yesterday
PostPosted: 04/08/2007 5:07 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 8:50 PM
Location: St Pete, FL
peace.gif
That's not really making sense.  I need to see a text link to your lang_main.php file next...

dontknow
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: [Solved] Today yesterday
PostPosted: 04/08/2007 5:17 PM Reply with quote
Seagull
Illuminati
Seagull
Posts 110
Word Cnt. 24,559
BDay N/A
Sign N/A
Sex Sex:Male
Joined: Mar 21, 2007
Local time: 7:50 PM
Location: Northern Ireland
greatbrE.gif
Here it is
http://www.crowndefenders.com/forumtxtlinks/langmain.txt

Its weird how it is happening because it shows ok until i add that small bit of code then it takes away the time
dontknow
Back to Top
View user's profile Find all posts by Illuminati Send private message   MSN Messenger
Re: [Solved] Today yesterday
PostPosted: 04/08/2007 5:26 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 8:50 PM
Location: St Pete, FL
peace.gif
No, it really isn't weird.  You removed the %s from the code added to your lang_main.php file.  That is a place holder for the time.  So this is how you fix it:

OPEN
lang_main.php

FIND
Code:
$lang['Today'] = "<span class=todayat><b>Today</b></span>"; // %s is the time
$lang['Yesterday'] = "<span class=yesterdayat><b>Yesterday</b></span>"; // %s is the time

REPLACE WITH
Code:
$lang['Today'] = "<span class=todayat><b>Today %s</b></span>"; // %s is the time
$lang['Yesterday'] = "<span class=yesterdayat><b>Yesterday %s</b></span>"; // %s is the time

munky2
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: [Solved] Today yesterday
PostPosted: 04/08/2007 5:32 PM Reply with quote
Seagull
Illuminati
Seagull
Posts 110
Word Cnt. 24,559
BDay N/A
Sign N/A
Sex Sex:Male
Joined: Mar 21, 2007
Local time: 7:50 PM
Location: Northern Ireland
greatbrE.gif
Now on the index it shows
EASTER MONDAY...
Today %s 11:25 pm
by sooty View latest post

And in the section it still only shows the username and "today" "yesterday
Brick wall
Back to Top
View user's profile Find all posts by Illuminati Send private message   MSN Messenger
Re: [Solved] Today yesterday
PostPosted: 04/08/2007 5:36 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 8:50 PM
Location: St Pete, FL
peace.gif
I have a different version of this MOD than you have.  Could you provide a link to the version that you installed???

dontknow
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: [Solved] Today yesterday
PostPosted: 04/08/2007 5:42 PM Reply with quote
Seagull
Illuminati
Seagull
Posts 110
Word Cnt. 24,559
BDay N/A
Sign N/A
Sex Sex:Male
Joined: Mar 21, 2007
Local time: 7:50 PM
Location: Northern Ireland
greatbrE.gif
I GOT IT!!!!!!

headbang

I found the processed folder of the mod when i installed it first time round and replaced the current code in there with the one i found.
And it shows ok now. Only with the %s.Which when i removed the last time it didnt affect it so im hoping this time round it still wont.

The version is
today-yesterday_mod_1-0-2a

And here is the code of the viewforum file with the mod working fine
http://www.crowndefenders.com/forumtxtlinks/viewforumworking.txt

headbang
Back to Top
View user's profile Find all posts by Illuminati Send private message   MSN Messenger
Re: [Solved] Today yesterday
PostPosted: 04/08/2007 5:52 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 8:50 PM
Location: St Pete, FL
peace.gif
Great!!!  The MOD author must be doing all the work in a new function named create_date2.  According to the versions, I have the newer version but I actually think your's is newer for some reason.  I have 1.3.1...

munky2
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
 Post new topic  Reply to topic
Information
Welcome to RCF - WHF Forum Index -> Area 51 - phpBB & Easymod Tech Support

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 cannot attach files in this forum
You cannot download files in this forum
All times are GMT - 5 Hours
Goto page: Previous  1, 2, 3, 4, 5  Next
Page 4 of 5


Add To Bookmarks

 
  
  


  Google

Powered by phpBB © 2001, 2005 phpBB Group

Page generation time: 0.0713s (PHP: 60% - SQL: 40%) - SQL queries: 57 - GZIP disabled - Debug on