Warning: The author of this contribution does not provide support for it anymore.

Super Mario

"Last visit" stays, "Time" disappear. - Super Mario

"Last visit" stays, "Time" disappear.

by BigDrago » Fri Apr 29, 2011 7:56 pm

Hello.

When entering a forum the "last visit" is still visible, but "time" disappear. I want the time to always show :)
BigDrago
Registered User
Posts: 363
Joined: Fri Dec 10, 2004 5:16 pm
Location: Norway
Contact:

Re: "Last visit" stays, "Time" disappear.

by _Vinny_ » Fri Apr 29, 2011 8:17 pm

This happens when you have logged, right?

This is normal in prosilver's phpBB style (Super Mario is based on him).
User avatar
_Vinny_
Style Customisations
Style Customisations
Posts: 8799
Joined: Tue Aug 11, 2009 12:45 am
Location: Brazil
Name: Marcus Vinicius
Contact:

Re: "Last visit" stays, "Time" disappear.

by BigDrago » Sat Apr 30, 2011 9:25 am

Yes. Ok. Guess I can move the "time" code from index_body to overall_header...
BigDrago
Registered User
Posts: 363
Joined: Fri Dec 10, 2004 5:16 pm
Location: Norway
Contact:

Re: "Last visit" stays, "Time" disappear.

by _Vinny_ » Sat Apr 30, 2011 2:06 pm

Yes, try this:
Open: styles/super_mario/template/index_body.html
Find and remove:

Code: Select all

<!-- IF U_MCP --><p>{CURRENT_TIME} <br />[&nbsp;<a href="{U_MCP}">{L_MCP}</a>&nbsp;]</p><!-- ELSEIF S_USER_LOGGED_IN --><p>{CURRENT_TIME}</p><!-- ENDIF --> 


Open: styles/super_mario/template/overall_header.html
Find:

Code: Select all

            <br />
            <
div id="inside"


Add after:

Code: Select all

<!-- IF U_MCP --><p>{CURRENT_TIME} <br />[&nbsp;<a href="{U_MCP}">{L_MCP}</a>&nbsp;]</p><!-- ELSEIF S_USER_LOGGED_IN --><p>{CURRENT_TIME}</p><!-- ENDIF --> 


Refresh the template of the style.
Warning: I still do not tested this change, does not make it on your online forum. ;)
User avatar
_Vinny_
Style Customisations
Style Customisations
Posts: 8799
Joined: Tue Aug 11, 2009 12:45 am
Location: Brazil
Name: Marcus Vinicius
Contact: