TinyPortal

Development => Support => Topic started by: CorporalTurnips on December 08, 2007, 09:34:16 PM

Title: Help Removing Author
Post by: CorporalTurnips on December 08, 2007, 09:34:16 PM
(https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fwww.noobsquad.x10hosting.com%2Fhelp.jpg&hash=f850c2ec632ff32b4cd8962135b6619012cad09b)

How do i remove where it says "by CorporalTurnips" ?
Title: Re: Help Removing Author
Post by: IchBin on December 08, 2007, 09:42:31 PM
I have no idea what you are referencing. What kind of block is that? What code are you using? What is it? Can you please provide some details so we actually understand what you are using? Kind of makes it hard to help, if you don't give us a clue as to what you are using...

Posting guidelines are in my signature so you can get an idea of what info you should provide when asking for help.
Title: Re: Help Removing Author
Post by: CorporalTurnips on December 08, 2007, 09:55:04 PM
I'm using SMF version 1.1.4, TinyPortal version 0.9.8, using the overview theme from dzinerstudio.com.
I have no extra mods installed.
My url is noobsquad.x10hosting.com/home (if the site isn't working you'll have to check later because my hosting company is having problems lately) That is the featured articles block.
Title: Re: Help Removing Author
Post by: CorporalTurnips on December 09, 2007, 06:32:00 AM
anybody?
Title: Re: Help Removing Author
Post by: Smoky on December 09, 2007, 06:45:44 AM
if you are referring to the articles (think you are??) then you can edit that thru the admin>article manage articles settings.. good luck.. and if you still have problems, post back ;)
Title: Re: Help Removing Author
Post by: CorporalTurnips on December 09, 2007, 06:51:58 AM
still not working
Title: Re: Help Removing Author
Post by: Ianedres on December 09, 2007, 11:18:53 AM
This may be related to a feature request (of mine) for a future release of TP described here (http://www.tinyportal.net/index.php?action=bugtracker;sa=bug160)...
Title: Re: Help Removing Author
Post by: Dragooon on December 09, 2007, 12:31:28 PM
In TPortalBlocks.template.php in default theme directory
Find foreach($context['TPortal']['blockarticle_titles'][$context['TPortal']['blocklisting']] as $listing){
if($listing['category']==$context['TPortal']['blocklisting'])
echo '<b><a href="'.$scripturl.'?page='.$listing['id'].'">'.$listing['subject'].'</a></b> '.$txt[525].' '.$listing['poster'].'<br />';
}

And replace it with
foreach($context['TPortal']['blockarticle_titles'][$context['TPortal']['blocklisting']] as $listing){
if($listing['category']==$context['TPortal']['blocklisting'])
echo '<b><a href="'.$scripturl.'?page='.$listing['id'].'">'.$listing['subject'].'</a></b><br />';
}

This is not tested so make sure to make backups.
Title: Re: Help Removing Author
Post by: CorporalTurnips on December 09, 2007, 08:10:35 PM
Thank you very much, worked like a charm