TinyPortal
Development => Feedback => Topic started by: Nokonium on August 29, 2005, 09:36:01 PM
These bits
(https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fwww.nokonium.plus.com%2Fbits%2Farticle-info.gif&hash=f3ec69794fa060810d032974a205ded4a7a7d15a)
(https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fwww.nokonium.plus.com%2Fblack-cat%2Funsorted%2Frog.gif&hash=abaa5e173eaf25a10935b5dce14e80807bb96d43)
ah,sorry, forgot this one. Its a hefty bit of code to replace, so I have attached the changed Tportal.template.php. Just use this one.
Thanks Bloc
(https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fwww.nokonium.plus.com%2Fblack-cat%2Fsurprised%2Fyikes1.gif&hash=9ff6cff97654186ad1e04d21052093fcd292d996)
I'm now getting
8: Undefined index: 0
File: /homepages/6/d119724375/htdocs/sgr/Sources/TPortal.php
Line: 309
I know it seems like a very big bump, but we now have SMF 1.1RC1 & TP 0.7.4b
This is what I've done to TPortal.template
Stopped the linktree
// theme_linktree();
Find
// if featured..do something to the subject?
echo '</div><div style="padding: 8px; padding-top: 0px;" ' , ($news['is_last']=='theme' || $news['is_last']==false) ? 'class="windowbg2"' : '' , '><div style="padding-bottom: 4px; vertical-align: bottom;" class="smalltext"> '.$news['time'].' '.$txt['tp-by'].' <b>
<a href="'.$news['poster']['href'].'">'.$news['poster']['name'].'</a></b></div>';
Replace with
// if featured..do something to the subject?
echo '</div><div style="padding: 0px; padding-top: 0px;" ' , ($news['is_last']=='theme' || $news['is_last']==false) ? 'class="windowbg2"' : '' , '> ';