TinyPortal

Development => Feedback => Topic started by: Nokonium on August 29, 2005, 09:36:01 PM

Title: Articles - How can I remove the Link, title, author and date from the top?
Post 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)
Title: Re: Articles - How can I remove the Link, title, author and date from the top?
Post by: Nokonium on September 04, 2005, 07:10:53 AM
(https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fwww.nokonium.plus.com%2Fblack-cat%2Funsorted%2Frog.gif&hash=abaa5e173eaf25a10935b5dce14e80807bb96d43)
Title: Re: Articles - How can I remove the Link, title, author and date from the top?
Post by: bloc on September 05, 2005, 10:09:07 AM
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.
Title: Re: Articles - How can I remove the Link, title, author and date from the top?
Post by: Nokonium on September 05, 2005, 06:51:16 PM
Thanks Bloc
Title: Re: Articles - How can I remove the Link, title, author and date from the top?
Post by: Nokonium on September 05, 2005, 09:06:20 PM
(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
Title: Re: Articles - How can I remove the Link, title, author and date from the top?
Post by: Nokonium on October 07, 2005, 08:23:32 PM
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"' : '' , '> ';