Icy Phoenix

     
 

SOLVED Number Of Message Display In Chrome & Safari For Black Pearl Problem

SOLVED Number Of Message Display In Chrome & Safari For Black Pearl Problem

Article
Reply with quote    Download Post  
Post Number Of Message Display In Chrome & Safari For Black Pearl Problem 
 
I noticed the number on the Menu is slightly below the text in Chrome & Safari Web Browsers for Black Pearl.  I looked at the menu block in template and can't see the problem.  Safari is just like Chrome.  How do I fix that?

menuChrome.JPG
Description: Problem in Chrome & Safari 
Filesize: 22.37 KB
Viewed: 257 Time(s)

menuChrome.JPG

menuFirefox.JPG
Description: No Problem in FireFox 
Filesize: 19.43 KB
Viewed: 252 Time(s)

menuFirefox.JPG

menuIE.JPG
Description: No Problem in IE 
Filesize: 23.11 KB
Viewed: 234 Time(s)

menuIE.JPG





 
victory1 - View user's profile Send private message  
victory1 [ Tue 07 Dec, 2010 00:29 ]
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us


SOLVED Number Of Message Display In Chrome & Safari For Black Pearl Problem

Comments
Reply with quote    Download Post  
Post Re: Number Of Message Display In Chrome & Safari For Black Pearl Problem 
 
Are you using IcyPhoenix or phpBB3?



 
TheSteffen - View user's profile Send private message  
TheSteffen [ Tue 07 Dec, 2010 00:57 ]
Reply with quote    Download Post  
Post Re: Number Of Message Display In Chrome & Safari For Black Pearl Problem 
 
TheSteffen wrote: [View Post]
Are you using IcyPhoenix or phpBB3?


I'm using phpBB3 and I just noticed I put it in the wrong forum!  Sorry about that, I was trying to post this before running an errand.  Please move it to the phpBB3 forum.  Thanks



 
victory1 - View user's profile Send private message  
victory1 [ Tue 07 Dec, 2010 02:43 ]
Reply with quote    Download Post  
Post Re: Number Of Message Display In Chrome & Safari For Black Pearl Problem 
 
done  

Hi and welcome to icyhoenix,

well looking at your top picture you got a worse case ..or does my menubar look the same to you in safari? (see sig for link), i think my safari shows it a bit off too but not this much

if it looks equal it may be in the browser settings, i m not sure



 
Joshua203 - View user's profile Send private message  
Joshua203 [ Tue 07 Dec, 2010 15:49 ]
Reply with quote    Download Post  
Post Re: Number Of Message Display In Chrome & Safari For Black Pearl Problem 
 
Joshua203 wrote: [View Post]
done  

Hi and welcome to icyhoenix,

well looking at your top picture you got a worse case ..or does my menubar look the same to you in safari? (see sig for link), i think my safari shows it a bit off too but not this much

if it looks equal it may be in the browser settings, i m not sure


Here's the website so you can take a look: Sony Reader Forum



 
victory1 - View user's profile Send private message  
victory1 [ Tue 07 Dec, 2010 21:19 ]
Reply with quote    Download Post  
Post Re: Number Of Message Display In Chrome & Safari For Black Pearl Problem 
 
Hi again Lilly  ( i asume    ),

I completely overlooked the fact that to view that you need to be registered and logged in    

anyway i did some searching and experimenting on my own board (where it did not look as bad as in you pic) and you could try something, however i did not test this fully in all browsers but i gave it a quicky


in the language files common.php find :
Code: [Download] [Hide] [Select]
    'NO_NEW_PM'            => '<strong>0</strong> New Private',

replace with:
Code: [Download] [Hide] [Select]
    'NO_NEW_PM'            => '0 New Private',



and find:
Code: [Download] [Hide] [Select]
    'NEW_PM'            => '<strong>%d</strong> New Private',
    'NEW_PMS'            => '</strong>%d</strong> New Private',

and replace with:
Code: [Download] [Hide] [Select]
    'NEW_PM'            => '%d New Private',
    'NEW_PMS'            => '%d New Private',


then fully test it and let me know cause i'm curious too  

GoodLuck,
..Joshua203



 
Joshua203 - View user's profile Send private message  
Joshua203 [ Wed 08 Dec, 2010 01:38 ]
Reply with quote    Download Post  
Post Re: Number Of Message Display In Chrome & Safari For Black Pearl Problem 
 
Maybe you could also try adding this to the style.css so that Chrome doesn't have to use its own rendition of <strong etc.

strong, b {
font-weight: bold;
}

It's worth a try - Because there are lots of things that Chrome doesn't handle very well?



 
mort - View user's profile Send private message  
mort [ Wed 08 Dec, 2010 01:47 ]
Reply with quote    Download Post  
Post Re: Number Of Message Display In Chrome & Safari For Black Pearl Problem 
 
I tried both methods and Joshua203 suggestion of removing the strong tags seems to fix the problem.



 
victory1 - View user's profile Send private message  
victory1 [ Wed 08 Dec, 2010 03:20 ]
Reply with quote    Download Post  
Post Re: Number Of Message Display In Chrome & Safari For Black Pearl Problem 
 
the funny thng is these strong tags are used all over the place

for instance .. index page at the bottom ... "the newest member is <strong>NAME OF USER</strong>

and here it causes no trouble at all as far as i can see anyway



 
Joshua203 - View user's profile Send private message  
Joshua203 [ Wed 08 Dec, 2010 03:27 ]
Reply with quote    Download Post  
Post Re: Number Of Message Display In Chrome & Safari For Black Pearl Problem 
 
I would be inclined to remove the spaces and test this to see if it keeps the 0 bold and aligns the string?

But I neither use phpBB3 or Chrome.  

<strong>0</strong>&nbsp;New Private

<strong>%d</strong>&nbsp;New Private
</strong>%d</strong>&nbsp;New Private

Other than that - Whatever it is, it's not obvious in the script?  



 
mort - View user's profile Send private message  
mort [ Wed 08 Dec, 2010 12:30 ]
Reply with quote    Download Post  
Post Re: Number Of Message Display In Chrome & Safari For Black Pearl Problem 
 
to be honest i don t even see the difference between a strong 0 and one with the removed tags  

but i will probably try the space replacement you suggest too Mort ..just not today   thanks



 
Joshua203 - View user's profile Send private message  
Joshua203 [ Wed 08 Dec, 2010 13:19 ]
Reply with quote    Download Post  
Post Re: Number Of Message Display In Chrome & Safari For Black Pearl Problem 
 
FYI ... the &nbsp; does not do the trick either  



 
Joshua203 - View user's profile Send private message  
Joshua203 [ Mon 13 Dec, 2010 01:28 ]
Reply with quote    Download Post  
Post Re: [SOLVED] Number Of Message Display In Chrome & Safari For Black Pearl Problem 
 
Joshua203 wrote: [View Post]
Hi again Lilly  ( i asume    ),

I completely overlooked the fact that to view that you need to be registered and logged in    

anyway i did some searching and experimenting on my own board (where it did not look as bad as in you pic) and you could try something, however i did not test this fully in all browsers but i gave it a quicky


in the language files common.php find :
Code: [Download] [Hide] [Select]
    'NO_NEW_PM'            => '<strong>0</strong> New Private',

replace with:
Code: [Download] [Hide] [Select]
    'NO_NEW_PM'            => '0 New Private',



and find:
Code: [Download] [Hide] [Select]
    'NEW_PM'            => '<strong>%d</strong> New Private',
    'NEW_PMS'            => '</strong>%d</strong> New Private',

and replace with:
Code: [Download] [Hide] [Select]
    'NEW_PM'            => '%d New Private',
    'NEW_PMS'            => '%d New Private',


then fully test it and let me know cause i'm curious too  

GoodLuck,
..Joshua203




Thanks Joshua203,

My results are as follows:

1. Reviewing some of my uploaded 48 languages I found that at least several of those language files have the same problem.

2. Searching for the string "'<strong>0</strong> " I found 95 hits in 48 languages, all in their respective common.php files. Not quite half of them pertaining to "'NO_NEW_PM'                    => '<strong>0</strong>" and not quite half of them pertaining to "'NO_UNREAD_PM'                => '<strong>0</strong> "...   In addition the same strings were found 4 more times in the eu language folder, and 3 more times in the fr and he language folders, and a total of 8 times in the vi language folder.

3. I replaced all 95 instances of  "'<strong>0</strong> " with  "'0 "

4. Similarly I found and replaced 192 items of "'<strong>%d</strong>" with "'%d". This replacement included not only the respective common.php files, but also a few odd install.php files, a few MCP.php files, and a few viewtopic.php files.

5. A total of 52 files were affected by the above edits. They were all uploaded to their respective folders...

6. The above procedure seems to be successful so far as I can tell after double checking a handful of languages...

7. Thanks for your help and assistance in getting the above bug taken care of...

8. Just curious though, and seeing that the above thread is well over a year old while Black Pearl is listed as last updated on Jan 21, 2012, Why is it that these fixes have not been included in that last update as posted at http://www.phpbb.com/customise/db/style/black_pearl/  ???    


Shalom



 
Tree of Life - View user's profile Send private message  
Tree of Life [ Sun 11 Mar, 2012 01:08 ]
Reply with quote    Download Post  
Post Re: Number Of Message Display In Chrome & Safari For Black Pearl Problem 
 
Well I think you went a little overboard there, I don't think using strong tags causes a problem in every instance, and sometimes strong is nice  

I've never noticed or heard of any other than the mainbar problem in only Google Chrome & Safari.

I think it's just been overlooked, maybe I should've mentioned it to Mighty Gordon right before the last releases  

Anyway glad you fixed it your way  



 
Joshua203 - View user's profile Send private message  
Joshua203 [ Sun 11 Mar, 2012 01:27 ]
Display posts from previous:    

HideWas this topic useful?

Post new topic  Reply to topic  Page 1 of 1