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

Recent

Welcome to TinyPortal. Please login or sign up.

Members
Stats
  • Total Posts: 195,994
  • Total Topics: 21,325
  • Online today: 348
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online

TinyPortal Copyright

Started by Chair, April 06, 2010, 05:39:52 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Chair


Chair

#11
when i add the tinyportal copyright to the footer i get a template parse error? I'm adding it directly after the smf copyright

EDIT: nevermind, i got it working. The edit doesn't work on a custom theme unless you add the tinyportal files to that themes directory

Chair

with the upgrade to TP 1.0 beta 5-1, the copyright has moved back above the footer.

I looked in the TPBlocklayout.template.php to find
echo '<div id="tportal" class="smalltext">' , tportal_version() , '</div>';

but it isn't there. I looked in a few other files for the copyright but I can't find it...

Freddy

It's at the very bottom of that file.

Chair

I don't see it... this is the very bottom of the TPBlocklayout.

if($context['TPortal']['bottompanel']==1)

echo '

<div id="tpbottombarHeader" style="clear: both;' , in_array('tpbottombarHeader',$context['tp_panels']) && $context['TPortal']['showcollapse']==1 ? 'display: none;' : '' , '">

' , TPortal_panel('bottom') , '

</div>';




}



?>



Freddy

Hmm very odd, this is mine :

if($context['TPortal']['bottompanel']==1)
echo '
<div id="tpbottombarHeader" style="clear: both;' , in_array('tpbottombarHeader',$context['tp_panels']) && $context['TPortal']['showcollapse']==1 ? 'display: none;' : '' , '">
' , TPortal_panel('bottom') , '
</div>';

echo '<div id="tportal" class="smalltext">' , tportal_version() , '</div>';
}


So are you seeing the copyright for TP then on your site ?  Try a page reload maybe ?

Chair


Freddy

From your code to me it looks like a line has been removed, there is a gap there.  Are you sure you are looking at the current file and not an old version ?  Try re-downloading that file from your live forum and take a look at that to be sure.

Chair

LOL I can't believe I forget to refresh FileZilla after i upgraded...haha, thanks it worked :P

Freddy

Haha, no problem, easy to overlook...

This website is proudly hosted on Crocweb Cloud Website Hosting.