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: 942
  • Dot Hidden: 0
  • Dot Users: 1
  • Dot 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]


Thanks for having an interest with our portal. If you have any requests for features, have a look at the Feature Requests board.

Removing time from recent topics block

Started by Cryptor, September 20, 2012, 01:24:12 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Cryptor

I am having problems with the recent topics block.

How can I change the date & time on these ?  I am not sure what file I need to edit in order to remove the date & time from even showing up.

This might be due to my theme but the formatting appears to be done in such a way that depending on the amount information it takes up either one or two lines.

AngelinaBelle

You can find the sp_recent in PortalBlocks.php

And you are correct -- depending on the space you fit the block into, it might take up either one or two lines per entry.
Please to keep this website running, if you like SimplePortal, make a
one-time subscription. Thank you for your support.

Have you tried the SimplePortal documentation?

Cryptor

I found
'<br />[', $item['time'], ']
but it seems that whenever I remove this I loose all formatting on my latest topics block and few others as well.

Any idea what section of it I can take out to get ride of the time (even time & date) without messing it all up ?

phantomm

I don't see anything broken after removing
<br />[', $item['time'], ']

Can you show us screenshot how it looks for you after removing that part?

AngelinaBelle

You want to find
'<br />[', $item['time'], ']</span><br />',
and change it so it looks like
'</span><br />',
You do not want to remove that initial ' that is before the <br />, or you will have a php syntax error.

You are actually removing
<br />[', $item['time'], ']

good luck!
Please to keep this website running, if you like SimplePortal, make a
one-time subscription. Thank you for your support.

Have you tried the SimplePortal documentation?