Icy Phoenix

     
 


Post new topic  Reply to topic 
Page 1 of 1
 
 
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: 141 Time(s)

menuChrome.JPG

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

menuFirefox.JPG

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

menuIE.JPG


 



 
victory1Send private message  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
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
Often SEARCH is the quickest way to get support.
IcyPhoenix German Support
 
TheSteffenSend private message  
Back to topPage bottom
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
 



 
victory1Send private message  
Back to topPage bottom
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
 




____________
www.DutchaGoGo.com (development/under construction ...Forever?¿?)
 
Joshua203Send private messageVisit poster's website  
Back to topPage bottom
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
 



 
victory1Send private message  
Back to topPage bottom
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
 




____________
www.DutchaGoGo.com (development/under construction ...Forever?¿?)
 
Joshua203Send private messageVisit poster's website  
Back to topPage bottom
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?
 



 
mortSend private message  
Back to topPage bottom
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.
 



 
victory1Send private message  
Back to topPage bottom
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
 




____________
www.DutchaGoGo.com (development/under construction ...Forever?¿?)
 
Joshua203Send private messageVisit poster's website  
Back to topPage bottom
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?  
 



 
mortSend private message  
Back to topPage bottom
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
 




____________
www.DutchaGoGo.com (development/under construction ...Forever?¿?)
 
Joshua203Send private messageVisit poster's website  
Back to topPage bottom
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  
 




____________
www.DutchaGoGo.com (development/under construction ...Forever?¿?)
 
Joshua203Send private messageVisit poster's website  
Back to topPage bottom
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 LifeSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
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  
 




____________
www.DutchaGoGo.com (development/under construction ...Forever?¿?)
 
Joshua203Send private messageVisit poster's website  
Back to topPage bottom
Post new topic  Reply to topic  Page 1 of 1
 


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events