Page Index Toggle Pages: 1
Topic Tools
Normal Topic Vertical line and space inserted before email address (Read 1,448 times)
Dandello
YaBB Administrator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline



Posts: 2,263
Location: Earth

YaBB 2.6.0
Re: Vertical line and space inserted before email address
Reply #5 - Jun 28th, 2013 at 2:11pm
Post Tools
I just open every file in a directory in my text editor and do a 'search all'.  Roll Eyes
  

If you only have one solution to a problem you're not trying hard enough!
Back to top
WWW  
IP Logged
 
EricJo
YaBB Newcomer
*
Offline



Posts: 16
Location: UK

None
Re: Vertical line and space inserted before email address
Reply #4 - Jun 28th, 2013 at 8:36am
Post Tools
I edited Display.pl and that fixed the problem.

I have concatenated all files in the Sources folder into one big file on my home PC (in DOS window, do copy *.pl big.txt) and the large text file has proved useful on several occassions when searching for a particular code fragment to identify which .pl file it appear in. 

Many thanks, Eric.
  
Back to top
WWW  
IP Logged
 
Dandello
YaBB Administrator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline



Posts: 2,263
Location: Earth

YaBB 2.6.0
Re: Vertical line and space inserted before email address
Reply #3 - Jun 27th, 2013 at 11:19pm
Post Tools
A BUG! squish, splat;

In Sources.pl find
Code (Perl)
Select All
			$memailad = ${ $uid . $musername }{'email'} ? qq~$menusep${$uid.$musername}{'email'}~ : q{};
 



replace with:
Code (Perl)
Select All
			$memailad = ${ $uid . $musername }{'email'} ? qq~${$uid.$musername}{'email'}~ : q{};
 



Now to check and see if this is a problem with 2.5.4  Shocked
  

If you only have one solution to a problem you're not trying hard enough!
Back to top
WWW  
IP Logged
 
EricJo
YaBB Newcomer
*
Offline



Posts: 16
Location: UK

None
Re: Vertical line and space inserted before email address
Reply #2 - Jun 27th, 2013 at 9:37pm
Post Tools
In View Profile:
"Click to send email to xxx"  works fine and creates a normally addressed email with a ; at the end of the email address.
Modify, Contact information:   email address shown appears normal

In Members folder,  the .vars files contain normal email addresses, like
'email',"eric@satsig.net"

The "| " symptom appears to apply to all members' postings, who have email set to visible to other members; I've tested four.

Expanded description of the symptom:

YaBB 2.5.2 with Menu Style set to "text only" (my normal choice)
When clicking on the email link under each message in the main forum the email generated has a spurious vertical line character and space character in front. At the end of the email a ; is not inserted.   Applies to all members' postings, who have email set to visible to other members; I've tested four.

YaBB 2.5.2 with Menu Style set to "Buttons only" (for testing only, to investigate this problem)
The spurious vertical line character and space character in front are absent (good) and there is no ; at the end of the email.  It works OK.

In summary, when "text only" is selected for Menu Style something goes wrong with the presentation of the email address in the output.

With "button" style menu showing I see this in the output:
SpamInator("<img src=\"http://www.satsig.net/yabbfiles/Buttons/English/email.png\" alt=\"E-mail\" title=\" eric@satsig.net\" border=\"0\" />","Jlpqlp4hwLOi4olT","j%09%02%18%0F0G%09%03%3F%26%0E%1A%01%09%20","&#109;&#97;
&#105;&#108;&#92;&#117;&#48;&#48;&#55;&#52;&#111;&#92;&#117;&#48;&#48;&#51;&#97;
","");

With "text only" menu showing I see this in the output:
SpamInator("<span class=\"imgwindowbg\">&#69&#45&#109&#97&#105&#108</span>","ppmm7pkjSVMzOsfurU","
P%0CM%08E%19%08*%2079%09%26%14H%1B%17!","&#109;&#97;&#105;&#108;&#92;&#117;&#48;
&#48;&#55;&#52;&#111;&#92;&#117;&#48;&#48;&#51;&#97;","");

Any ideas what produces "| " at the front of the email and ";" or not, at the end ?
  
Back to top
WWW  
IP Logged
 
xnoddyx
Support Team
Documentation Team
YaBB Moderators
YaBB Next Team
Beta Testers
****
Offline



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

None
Re: Vertical line and space inserted before email address
Reply #1 - Jun 27th, 2013 at 12:38pm
Post Tools
check in the member email setting click on there name then Modify > Contact Information and see if that has the spurious vertical line and space.
  

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
 
EricJo
YaBB Newcomer
*
Offline



Posts: 16
Location: UK

None
Vertical line and space inserted before email address
Jun 27th, 2013 at 9:25am
Post Tools
When logged in and clicking on an email below a message my PC opens my Windows Live Mail window and make a new email with the intended email address supposedly ready to use.  But the email address has a spurious vertical line and space inserted to the left of the email address.
Using YABB 2.5.2, upgraded recently from 1.3.1
Any ideas ?
Best regards, Eric
  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Topic Tools
 
  « Board Index ‹ Board  ^Top