Log in Register FAQ Memberlist Search Welcome to RCF - WHF Forum Index
alt : test.swf
Welcome to RCF - WHF
4fx3.gif 
calendar_open_closeCalendar 
Today at Yesterday at MOD color change..
Post new topic   Reply to topic View previous topic :: View next topic
Welcome to RCF - WHF Forum Index -> Area 51 - phpBB & Easymod Tech Support Add To Bookmarks
Today at Yesterday at MOD color change..
PostPosted: 05/07/2007 6:02 AM Reply with quote
Citation
abdulbasit
Citation
Posts 1017
Word Cnt. 64,643
BDay Apr 18
Sign Aries
Sex Sex:Male
Joined: Apr 01, 2007
Local time: 2:51 AM
Location: UNITED ARAB EMIRATES
unitedACa.gif
Hi  wave

I just installed Today at Yesterday at MOD at my live board and the color is simple black but I want the color like you have it Wink

I tried to see in viewtopic_body.tpl and viewforum_body.tpl but could not find it. May i know how to change it  dontknow
Back to Top
View user's profile Find all posts by abdulbasit Send private message [ Hidden ] Visit poster's website Yahoo Messenger MSN Messenger
Re: Today at Yesterday at MOD color change..
PostPosted: 05/07/2007 1: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: 6:51 PM
Location: St Pete, FL
peace.gif
I created this MOD that allows you to set the colors for the Today At / Yesterday At text:

TxtColoration.zip

headbang
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: Today at Yesterday at MOD color change..
PostPosted: 05/07/2007 2:36 PM Reply with quote
Citation
abdulbasit
Citation
Posts 1017
Word Cnt. 64,643
BDay Apr 18
Sign Aries
Sex Sex:Male
Joined: Apr 01, 2007
Local time: 2:51 AM
Location: UNITED ARAB EMIRATES
unitedACa.gif
Woww. You created this MOD  Applause  Applause

I will try to install this MOD and will let you know what happens  blob8
Back to Top
View user's profile Find all posts by abdulbasit Send private message [ Hidden ] Visit poster's website Yahoo Messenger MSN Messenger
Re: Today at Yesterday at MOD color change..
PostPosted: 05/07/2007 3:29 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: 6:51 PM
Location: St Pete, FL
peace.gif
It should install fairly easily.  Let me know if you have any trouble with it...

headbang
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: Today at Yesterday at MOD color change..
PostPosted: 05/07/2007 10:36 PM Reply with quote
Citation
abdulbasit
Citation
Posts 1017
Word Cnt. 64,643
BDay Apr 18
Sign Aries
Sex Sex:Male
Joined: Apr 01, 2007
Local time: 2:51 AM
Location: UNITED ARAB EMIRATES
unitedACa.gif
It installed nicely. The colors i thought will be like your's which is blue and golden type which really looks great but mine in both today and yesterday color got black Very Happy

But no problem, as you mentioned to change the hex color, I will try to change it Smile

Thanks for the MOD  Applause  Applause
Back to Top
View user's profile Find all posts by abdulbasit Send private message [ Hidden ] Visit poster's website Yahoo Messenger MSN Messenger
Re: Today at Yesterday at MOD color change..
PostPosted: 05/07/2007 10: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: 6:51 PM
Location: St Pete, FL
peace.gif
No, the MOD is not working correctly for you since you are using subSilver and it is using the style information from the overall_header.tpl file rather than the subSilver.css file.  So Restore the EM Backups and install this version of the MOD...

Code:
##############################################################
## MOD Title:           Today As/Yesterday As Coloration
## MOD Author:          Nightrider < N/A > (N/A) http://4fxearth.net/phpBB2/
## MOD Description:     Adds color to the Today As/Yesterday As Text
##
## MOD Version:         1.0.0
##
## Installation Level:  Easy
## Installation Time:   ~1 Minutes
##
## Files To Edit:       2
##                      templates/subSilver/overall_header.tpl
##                  language/lang_english/lang_main.php
##
## Included Files:      n/a
##
##############################################################
## For security purposes, please check: http://www.phpbb.com/mods/
## for the latest version of this MOD. Although MODs are checked
## before being allowed in the MODs Database there is no guarantee
## that there are no security problems within the MOD. No support
## will be given for MODs not found within the MODs Database which
## can be found at http://www.phpbb.com/mods/
##############################################################
##
## Author Notes:
##
## If you want different colors than what I have chosen, you will
## want to change the hex values for .todayat and .yesterdayat
## in your template css file(s).  You can create different text
## colors for each template installed on your board...
##
##############################################################
##
## MOD History:
##
##   2005-10-20 - Version 1.0.0
##      - Initial Release
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
#
#-----[ OPEN ]------------------------------------------------
#
templates/subSilver/overall_header.tpl
#
#-----[ FIND ]------------------------------------------------
# The actual line will be longer
#
@import
#
#-----[ AFTER, ADD ]------------------------------------------------
# You would change the Hex value settings if you prefer different colors...
.todayat      { font-size : 10px; color : #FF6600; }
.yesterdayat   { font-size : 10px; color : #330066; }

#
#-----[ OPEN ]------------------------------------------------
#
language/lang_english/lang_main.php
#
#-----[ FIND ]------------------------------------------------
#
$lang['Today_at'] = "Today at %s"; // %s is the time
$lang['Yesterday_at'] = "Yesterday at %s"; // %s is the time
#
#-----[ REPLACE WITH ]------------------------------------------------
#
$lang['Today_at'] = "<span class=todayat><b>Today</b></span> %s"; // %s is the time
$lang['Yesterday_at'] = "<span class=yesterdayat><b>Yesterday</b></span> %s"; // %s is the time
#
#-----[ SAVE/CLOSE ALL FILES ]--------------------------------
#
# EoM

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: Today at Yesterday at MOD color change..
PostPosted: 05/07/2007 11:11 PM Reply with quote
Citation
abdulbasit
Citation
Posts 1017
Word Cnt. 64,643
BDay Apr 18
Sign Aries
Sex Sex:Male
Joined: Apr 01, 2007
Local time: 2:51 AM
Location: UNITED ARAB EMIRATES
unitedACa.gif
Oh, I see.

I restored the EM backups and installed this new one and it worked perfectly. Great MOD. Now my board is fully colorful everywhere  hysterical2
Looks nice  banana
Back to Top
View user's profile Find all posts by abdulbasit Send private message [ Hidden ] Visit poster's website Yahoo Messenger MSN Messenger
Re: Today at Yesterday at MOD color change..
PostPosted: 05/07/2007 11:28 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: 6:51 PM
Location: St Pete, FL
peace.gif
You can change the colors if you don't like the ones I used.  I use different colors for several of our templates here in RCF...

headbang
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: Today at Yesterday at MOD color change..
PostPosted: 05/07/2007 11:41 PM Reply with quote
Citation
abdulbasit
Citation
Posts 1017
Word Cnt. 64,643
BDay Apr 18
Sign Aries
Sex Sex:Male
Joined: Apr 01, 2007
Local time: 2:51 AM
Location: UNITED ARAB EMIRATES
unitedACa.gif
The current one are best. I would like to keep the current one Smile
Back to Top
View user's profile Find all posts by abdulbasit Send private message [ Hidden ] Visit poster's website Yahoo Messenger MSN Messenger
Re: Today at Yesterday at MOD color change..
PostPosted: 05/07/2007 11:43 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: 6:51 PM
Location: St Pete, FL
peace.gif
Ok, I thought that you might want to change the color of Yesterday.  If you are happy with it, I am too...

Applause  Applause  Applause  Applause  Applause
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

Page 1 of 1


Add To Bookmarks

 
  
  


  Google

Powered by phpBB © 2001, 2005 phpBB Group

Page generation time: 0.0652s (PHP: 81% - SQL: 19%) - SQL queries: 57 - GZIP disabled - Debug on