2009-06-04, 04:26 PM
Pages: 1 2
2009-06-05, 03:43 AM
Nice idea, I can help you.
I done in my forum, http://www.vnsay.com/hoctienganh/index.php
open your functions.php (/root forum/inc/functions.php)
find this:
I done in my forum, http://www.vnsay.com/hoctienganh/index.php
open your functions.php (/root forum/inc/functions.php)
find this:
if($todaysdate == $date)
{
$date = $lang->today;
}
else if($yesterdaysdate == $date)
{
$date = $lang->yesterday;
}
replace by this code: if($todaysdate == $date)
{
$date = "<font color=green><b>".$lang->today."</b></font>";
}
else if($yesterdaysdate == $date)
{
$date = "<font color=red><b>".$lang->yesterday."</b></font>";
}
2009-06-05, 04:27 AM
Next time use a screenshot, so we know what you mean.
2009-06-05, 06:03 AM
(2009-06-05, 03:43 AM)myb123 Wrote: [ -> ]Nice idea, I can help you.
I done in my forum, http://www.vnsay.com/hoctienganh/index.php
open your functions.php (/root forum/inc/functions.php)
find this:
replace by this code:if($todaysdate == $date) { $date = $lang->today; } else if($yesterdaysdate == $date) { $date = $lang->yesterday; }
if($todaysdate == $date) { $date = "<font color=green><b>".$lang->today."</b></font>"; } else if($yesterdaysdate == $date) { $date = "<font color=red><b>".$lang->yesterday."</b></font>"; }
i have edit but now showing this msg ..on every page
Parse error: syntax error, unexpected $end in /home/worldsat/public_html/forum/inc/functions.php on line 5550
plz help me urgent
2009-06-05, 01:48 PM
ok, if you don't get it, plz download below attach file then upload to replace the old file.
Note: before replace the old file, you should disable all plugin, after replace you run plugin again. And backup old file to watch for errors
Note: before replace the old file, you should disable all plugin, after replace you run plugin again. And backup old file to watch for errors
2009-06-05, 07:48 PM
Thanks for posting that myb123. I just tried it out by editing my functions.php (in wordpad not notepad) and I like it. Certainly an easy change to do.
Pages: 1 2