![]() |
Alright, I probably have the dumbest question ever. First, let me say this script is FANTASTIC. However, is there any way for me to make it "View 179 Times" instead of "197 Times Viewed".
I've tried to do this on my own... but always got an error... so I must of been doing somethin wrong. Anyways... THANKS FOR THE GREAT SCRIPT! |
Quote:
$replace_text=$news[$i][views].' Times Viewed'; Replace it as: $replace_text='View '.$news[$i][views].' Times'; Enjoy.. ;) |
Ok, got almost everything working right. I just noticed that the time I posted the news is always the current time, so I need some help with that. I changed some return date () code, but it clearly didn't work. I want to have the time is this format (in PHP): M. jS, Y \a\\t g:i A. Can someone help me get the correct time in there?
|
Quote:
return date ("Y-d-m H:i:s", mktime($saat+$timeset, $dakika, $saniye, $ay, $gun, $yil)); and edit "Y-d-m H:i:s" part according to your wish.. |
mmm ... looks very handfull ... i have a try with your hack ...
Thx a lot Logician :) |
I tried that, and it returned: Dec. 31st, 1999 at 12:02 PM
|
Quote:
|
Quote:
|
Quote:
1- Please double check you modified the correct line: return date ("Y-d-m H:i:s", mktime($saat+$timeset, $dakika, $saniye, $ay, $gun, $yil)); will be: return date ("M. jS, Y \a\\t g:i A", mktime($saat+$timeset, $dakika, $saniye, $ay, $gun, $yil)); 2- Make sure your post date is correct: News date is the date of your thread message, not the date you inserted [news] tags. So if you tag an old message as news, its news date will be old either. If these do not work: a) Give me the URL of your board message and news page so that I can check them out (Edit: Never mind I already checked them) b) Send me your phpheader.php (as you modified)(delete password), newsconfig.php and your news message's entire text (with option tags you used). You can zip them and send via pm.. Regards, Logician |
Hi Logician,
thx for this very good script...any wish form me: - config with parameter for show only headers on site where i it wont and the completnews on a other page - colorsupport (don't work on my page) - more - button, when I have more then x-news - search the news.... :rambo: it's unbelievable, but works fine :cheeky: |
All times are GMT. The time now is 11:23 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|