Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
coding-topic
Amended the 'time' on the post in the user section...
Avatar
darkfloor
Member
Free Members
sp_UserOfflineSmall Offline
Mar 1, 2012 - 8:51 am

I can find in spTopicView.php the following

sp_PostIndexUserDate('tagClass=spPostUserDate spCenter');

 

But with no parameters to amend I don't know how to display the date and time on one line, rather than with a line-break.

 

So 

FEB 27, 2012 / 10:38

rather than as it is at the moment

FEB 27, 2012
10:38

 

Thanks.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Mar 1, 2012 - 11:47 am

Should be:

sp_PostIndexUserDate('tagClass=spCenter spPostUserDate&stackdate=0');

Give that a try...

andy-signature.png
YELLOW
SWORDFISH
Avatar
Brandon
U.S.
SP Wrangler
Free Members
sp_UserOfflineSmall Offline
Mar 1, 2012 - 11:51 am

darkfloor said

I can find in spTopicView.php the following

sp_PostIndexUserDate('tagClass=spPostUserDate spCenter');

 

But with no parameters to amend I don't know how to display the date and time on one line, rather than with a line-break.

 

There is a stack date option for this function, try this.

sp_PostIndexUserDate('tagClass=spPostUserDate spCenter&stackdate=0');

Avatar
darkfloor
Member
Free Members
sp_UserOfflineSmall Offline
Mar 1, 2012 - 6:07 pm

Yea that worked. Thank you.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Mar 1, 2012 - 7:08 pm

np. glad we could help.

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 617
Members: 17359
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10125
Posts: 79620