TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,963
  • Latest: BiZaJe
Stats
  • Total Posts: 195,917
  • Total Topics: 21,308
  • Online today: 884
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 1
  • Guests: 426
  • Total: 427
  • @rjen

"recent topics" in SMF style

Started by Lesmond, August 17, 2005, 12:01:38 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

IchBin

The shorten_subject array variable didn't work?

dannbass

There is none in the last code that J.A.Cortina created...

jacortina

Right. Because, as the thread title notes, this code was designed specifically to present recent topics in SMF Style.

But you do want to use the 'shorten_subject()' function;

Try find all occurrences of:
$row['firstSubject']

And replace them with:
shorten_subject($row['firstSubject'], 25)

dannbass

Yes you are right, I just wanted to be able to use this function as well.
Thanks for taking the time again!!

pelhrimak


IchBin

Please follow the rules here and DO NOT cross post. Your issue will be dealt with when someone has something to say. Now, please go read the other post and actually give us some info about your setup etc.

mrzcn

how can i remove "am pm"  at time format ?

jacortina

That's a Forum setting specified in the Forum's Admin Control Panel. It's the same throughout.

mrzcn

yes i correct it.in forums time seems without am pm.but i see in the block still :S

jacortina

My mistake, that should be using the individual USER'S perferred time format as set in their profile. It's calling the standard timeformat() function (in SMF's Subs.php) which, in turn, uses $user_info['time_format'].

So, if it's showing something for you other than the way the forum is set, please verify what your personal settings are in your profile's 'Look and Layout' section.

This website is proudly hosted on Crocweb Cloud Website Hosting.