Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 4255
Latest: andreios
New This Month: 3
New This Week: 1
New Today: 0
Stats
Total Posts: 43259
Total Topics: 7518
Most Online Today: 213
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 1
Guests: 271
Total: 272

Author Topic: Make Ending Date Text Smaller  (Read 4045 times)

0 Members and 1 Guest are viewing this topic.

Offline amwebby

  • Community Suite Customer
  • Sr. Member
  • ******
  • Posts: 306
    • View Profile
Make Ending Date Text Smaller
« on: March 09, 2013, 05:04:36 am »
How can I make the text of the Ending Date smalltext as per the Time Left in the screen shot attached?

I've searched through the classifieds.template.php but I can't find it.

Offline amwebby

  • Community Suite Customer
  • Sr. Member
  • ******
  • Posts: 306
    • View Profile
Re: Make Ending Date Text Smaller
« Reply #1 on: March 12, 2013, 06:41:54 am »
No idea?

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: Make Ending Date Text Smaller
« Reply #2 on: March 12, 2013, 12:52:22 pm »
For SMF 1.1.x

The code is in the function ClassifiedsShowListingsRow()

And is controlled by these lines

Code: [Select]
if ($modSettings['class_catlist_listingend'])
echo '<td>', ($row['expiredate'] == 0 ? $txt['class_expire_never'] : date($modSettings['class_set_date_format_mdy'],$row['expiredate']) . '<br />' . date($modSettings['class_set_date_format_hia'],$row['expiredate'])  ) , '</td>';

if ($modSettings['class_catlist_timeleft'])
echo '<td>', ($row['expiredate'] == 0 ? $txt['class_expire_never'] :   smf_cattimeleft( date("Y",$row['expiredate']), date("m",$row['expiredate']), date("d",$row['expiredate']), date("H",$row['expiredate']), date("i",$row['expiredate']),date("s",$row['expiredate'])) ) , '</td>';


Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline amwebby

  • Community Suite Customer
  • Sr. Member
  • ******
  • Posts: 306
    • View Profile
Re: Make Ending Date Text Smaller
« Reply #3 on: March 12, 2013, 12:57:52 pm »
Thanks. If I make those <td>s class="smalltext" that should do it then?

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: Make Ending Date Text Smaller
« Reply #4 on: March 12, 2013, 12:58:56 pm »
It may help.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline amwebby

  • Community Suite Customer
  • Sr. Member
  • ******
  • Posts: 306
    • View Profile
Re: Make Ending Date Text Smaller
« Reply #5 on: March 12, 2013, 01:11:35 pm »
Thanks. That, and removing the line break
Code: [Select]
. '<br />' did it.

 

Related Topics

  Subject / Started by Replies Last post
0 Replies
2600 Views
Last post June 20, 2007, 11:27:37 am
by xcx
2 Replies
4454 Views
Last post June 14, 2008, 04:14:05 pm
by rgsknr
0 Replies
2123 Views
Last post September 07, 2011, 09:04:51 am
by david_meyer24
1 Replies
4127 Views
Last post August 14, 2015, 10:19:21 am
by Labradoodle-360
2 Replies
1326 Views
Last post January 29, 2023, 10:06:26 pm
by Saftek

+- Recent Topics

No thumbnails on new uploads by SMFHacks
March 27, 2024, 02:10:41 pm

Display the Contact Page for guests by SMFHacks
March 27, 2024, 10:55:43 am

is it possible to add support for odysee.com by fvlog19
March 21, 2024, 08:47:51 am

Request for admin notification by davejo
March 10, 2024, 01:31:59 am

I need help with torrent upload by Ineedsmfhelp
March 09, 2024, 10:01:13 pm

an idea for new mod (( content type with different display )) by SMFHacks
February 27, 2024, 01:36:27 pm

[Mod] RSS Feed Poster by SMFHacks
February 27, 2024, 11:57:18 am

find duplicate pictures by fvlog19
February 14, 2024, 02:22:40 pm

Error uploading video. by SMFHacks
February 08, 2024, 02:04:16 pm

Gallery icon as last added image by fvlog19
February 01, 2024, 01:04:56 pm

Powered by EzPortal