Main Menu
collapse

Simple Portal Archived Forum

This is an Archive Forum.

The content in this forum may be out-of-date or have been superseded by newer information, and links in forum pages to other sites may not work.
This forum contains archives for future reference.

Visit our thread at Simple Machines Forum for current support.

SMF 2.1 users: EhPortal is a ported version of Simple Portal specifically designed for the SMF 2.1 branch.
Please visit web-develop.ca to download EhPortal and for its support.

User Info

Welcome Guest.
Please log in.

Who's Online

  • Dot Guests: 1112
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

Recent Posts

Adding Forums Button to Nav bar by jirapon
[August 01, 2019, 09:07:12 AM]


Re: Board Icons by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 04:03:41 PM]


MOVED: Czech translation???? by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 03:04:51 PM]


Board Icons by jirapon
[July 30, 2019, 07:28:44 AM]


Re: Thankyou Simpleportal, by ♦ Ninja ZX-10RR ♦
[July 29, 2019, 09:41:29 AM]


NEED HELP? If you're looking for support with Simple Portal, look no further than the Support Board!

Number Format

Started by Senkusha, March 15, 2010, 11:19:40 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Senkusha

Hi all!

I just installed Simple Portal today, currently using the latest and greatest of both products (SMF 2.0 RC3, and SP 2.3.1)  I just noticed something that 'bugs' me :)

Is it possible to encode all of the numbers used to use the forum number format?  For example, I have my format set to:  1,234 (with a comma thousands seperator)  Seems like on the left hand side, the numbers are in this format, while the numbers on the right hand side are in plain format (1234 - no comma).  This could just be coincidence about left vs right.  Feel free to take a peek at my home page and you'll see for your self.

Thanks!
-- SenkushaAyeka's Bliss: Enjoy anime and anime styled role playing!IntelaTech Computer Solutions: 24/7 Computer Support Services

[SiNaN]

You mean the Top Boards block doesn't respect number format?
And slowly, you come to realize... It's all as it should be...

Senkusha

Yes, and Top Poster as well (when I had it set to All time).
-- SenkushaAyeka's Bliss: Enjoy anime and anime styled role playing!IntelaTech Computer Solutions: 24/7 Computer Support Services

[SiNaN]

Sources/PortalBlocks.php

Code (Find) Select
'posts' => $row['posts'],

Code (Replace) Select
'posts' => comma_format($row['posts']),

Code (Find) Select
$board['num_topics'], ' | ', $txt['posts'], ': ', $board['num_posts']

Code (Replace) Select
comma_format($board['num_topics']), ' | ', $txt['posts'], ': ', comma_format($board['num_posts'])

Will also be fixed in 2.3.2 hopefully.
And slowly, you come to realize... It's all as it should be...

Senkusha

Thank you!!!  Fixed it right up :)
-- SenkushaAyeka's Bliss: Enjoy anime and anime styled role playing!IntelaTech Computer Solutions: 24/7 Computer Support Services