TinyPortal

Development => Support => Topic started by: pvcblue on January 27, 2007, 06:01:22 AM

Title: RSS code help please
Post by: pvcblue on January 27, 2007, 06:01:22 AM
In the News.php this line allows the RSS Feed reader to "see" the poster's email address. Could this be changed to only show the username of the poster???

'author' => (!empty($modSettings['guest_hideContacts']) && $user_info['is_guest']) || (!empty($row['hideEmail']) && !empty($modSettings['allow_hideEmail']) && !allowedTo('moderate_forum')) ? null : $row['posterEmail'],
Title: Re: RSS code help please
Post by: pvcblue on January 27, 2007, 04:55:39 PM
Anyone? JPDeni??  ;D :o :'(
Title: Re: RSS code help please
Post by: rebelrose on January 27, 2007, 08:01:08 PM
I hope one of the coders comes along and can fix this, I would like to know the answer to this one myself  :)
Title: Re: RSS code help please
Post by: IchBin on January 27, 2007, 08:11:22 PM
This really is a SMF issue. But just change posterEmail to posterName should probably do it.
Title: Re: RSS code help please
Post by: pvcblue on January 28, 2007, 06:44:26 AM
Quote from: IchBinÃ,â,,¢ on January 27, 2007, 08:11:22 PM
This really is a SMF issue. But just change posterEmail to posterName should probably do it.

Thanks for the try Ichbin, but nope that doesn't do it,Ã,  :'(

As for SMF, well you know as well as I do that they never help anyoneÃ,  :buck2:
Title: Re: RSS code help please
Post by: pvcblue on January 31, 2007, 02:05:45 AM
So............ no one is able to help???  :'(
Title: Re: RSS code help please
Post by: pvcblue on February 01, 2007, 01:25:52 PM
HELLO!! ANYONE????
Title: Re: RSS code help please
Post by: Lesmond on February 01, 2007, 01:40:28 PM
pvcblue, You should know that shouting doesn't get you anywhere!
Title: Re: RSS code help please
Post by: IchBin on February 01, 2007, 01:42:51 PM
Once you made the change did you clear your cache? Do a hard refresh to make sure its working. My suggestion should have worked.
Title: Re: RSS code help please
Post by: JPDeni on February 01, 2007, 04:42:43 PM
Actually, the best thing to do is probably just use


'author' => $row['posterName'],


There's no way the email will still be there.

Sorry for not answering before. I really thought this had to do with RSS, given the title of the topic.
Title: Re: RSS code help please
Post by: pvcblue on February 02, 2007, 12:23:38 AM
Quote from: JPDeni on February 01, 2007, 04:42:43 PM
Actually, the best thing to do is probably just use


'author' => $row['posterName'],


There's no way the email will still be there.

Sorry for not answering before. I really thought this had to do with RSS, given the title of the topic.
YEA!! THANK YOU JPDENI THAT WORKED!!! WOOO HOOOOO!!!