Page Index Toggle Pages: 1
Topic Tools
Normal Topic Username and RSS (Read 1,492 times)
Dandello
YaBB Administrator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Online



Posts: 2,128
Location: Earth

YaBB 2.6.0
Re: Username and RSS
Reply #3 - Sep 9th, 2012 at 4:57pm
Post Tools
I forgot to mention that the code is in TWO places in RSS.pl - so both have to be changed.  Embarrassed
  

If you only have one solution to a problem you're not trying hard enough!
Back to top
WWW  
IP Logged
 
Dandello
YaBB Administrator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Online



Posts: 2,128
Location: Earth

YaBB 2.6.0
Re: Username and RSS
Reply #2 - Sep 9th, 2012 at 3:59am
Post Tools
And after some further testing - it looks like the email and poster name not showing may be a browser issue. I get the email and name on the screen in MSIE8, but not in Firefox (maybe there's a setting I'm not seeing in Firefox, but I doubt it.)  But the code for the email and name are in the source code.

But for the MSIE users, to get the name without the email address
in RSS.pl find
Code
Select All
				if (!${$uid.$musername}{'hidemail'}){
					$yymain .= qq~<author>~ . &RSSDescriptionTrim("${$uid.$musername}{'email'} (${$uid.$musername}{'realname'})") . qq~</author>~;
				} 


add after:
Code
Select All
				else {
					$yymain .= qq~			<author><name>~ . &RSSDescriptionTrim("(${$uid.$musername}{'realname'})") . qq~</name></author>\n~;
				} 



More: Checking with Opera and Safari on XP - both show the name, but not the email. And they present the names slightly differently.  Huh
« Last Edit: Sep 9th, 2012 at 5:21am by Dandello »  

If you only have one solution to a problem you're not trying hard enough!
Back to top
WWW  
IP Logged
 
Dandello
YaBB Administrator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Online



Posts: 2,128
Location: Earth

YaBB 2.6.0
Re: Username and RSS
Reply #1 - Sep 8th, 2012 at 1:19pm
Post Tools
This one that obviously slipped by everybody - it has to be from 2.5 or before.

More:
It was written that way to avoid some issues with RSS and emails: Quote:
                 # The spec really wants us to include their email.
                 # That's not adviseable for us (spambots anyone?). So we skip author if the email hidden flag is on for that user.


From the comment it may not be curable.
« Last Edit: Sep 8th, 2012 at 1:38pm by Dandello »  

If you only have one solution to a problem you're not trying hard enough!
Back to top
WWW  
IP Logged
 
xnoddyx
Support Team
Documentation Team
YaBB Moderators
YaBB Next Team
Beta Testers
****
Offline



Posts: 1,584
Location: UK:Scotland/livingston

None
Username and RSS
Sep 8th, 2012 at 12:40pm
Post Tools
when you have "Show the authors displayname and e-mail address (if he didn't hide it)" set to yes
and User CP › Profile > Edit my Profile (User) › Contact Information
and "Hide Email from public?" to yes
this will also stop the User name from displaying in the RSS feed not just the e-mail address.
« Last Edit: Sep 8th, 2012 at 12:41pm by xnoddyx »  

YaBB install help video
1. what yabb forum are you running and the url
2. describe in as much detail as you can what happens and also post screenshots if you can
3. please be patient we live in different time zones and have other commitments but we will help you
as bill and ted say (Be excellent to each other)
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Topic Tools
 
  « Board Index ‹ Board  ^Top