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

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,966
  • Latest: safir45
Stats
  • Total Posts: 195,982
  • Total Topics: 21,320
  • Online today: 307
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 1
  • Guests: 226
  • Total: 227
  • @rjen

RSS code help please

Started by pvcblue, January 27, 2007, 06:01:22 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

pvcblue

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'],

pvcblue


rebelrose

I hope one of the coders comes along and can fix this, I would like to know the answer to this one myself  :)

IchBin

This really is a SMF issue. But just change posterEmail to posterName should probably do it.

pvcblue

#4
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:

pvcblue

So............ no one is able to help???  :'(

pvcblue


Lesmond

pvcblue, You should know that shouting doesn't get you anywhere!

IchBin

Once you made the change did you clear your cache? Do a hard refresh to make sure its working. My suggestion should have worked.

JPDeni

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.

This website is proudly hosted on Crocweb Cloud Website Hosting.