YAFLogo

f0zzyNUE
  • f0zzyNUE
  • 100% (Exalted)
  • YAF Commander Topic Starter
13 years ago
i have installed 1.9.6 Beta and the mobile theme support does not work 😞

it only works on the login-form, but after the logon the desktop theme (blue-grey) is displayed for iPhone. is there any workaround as the bluegrey theme in the beta release is broken on the iPhone ...

Sponsor
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.1 BETA
13 years ago
You need to enable The Mobile Theme in your Profile Settings -> Forum Settings -> "Use Mobile Forum Theme".
f0zzyNUE
  • f0zzyNUE
  • 100% (Exalted)
  • YAF Commander Topic Starter
13 years ago
Thanks, now the configured mobile theme is displayed. However it also looks very strange. it seems all tables and divs are not using the full width, but only about half of the available iPhone or iPad screen size.

Have a look at the attached screenshot. When I emulate iPhone browser in my Mac Safari everything looks fine, but when rendering any theme on the iPhone or iPad the forum looks pretty strange and is very hard to read.

I have no clue what happened. Everything looked fine with 1.9.5 :?

any ideas?

f0zzyNUE
  • f0zzyNUE
  • 100% (Exalted)
  • YAF Commander Topic Starter
13 years ago
i think i found the issue. once i remove my logo (650x65px) the page renders fine.

my workaround was to place a

around the

on the other hand - would it be possible to have a separate logo depending on the theme?

squirrel
13 years ago

i think i found the issue. once i remove my logo (650x65px) the page renders fine.

my workaround was to place a

around the

on the other hand - would it be possible to have a separate logo depending on the theme?

Originally Posted by: f0zzyNUE 

tha_watcha pointed me to a parameter inside YAF that allows you to detect if you are displaying a mobile theme. We used it on our site to hide our ads because they are flash and a static width. I'll look for it in case he doesn't get back to you first on this one --


If you can't find it using the forum search, try my signature link -- searches this site using Google: Google is my Friend 
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.1 BETA
13 years ago

i think i found the issue. once i remove my logo (650x65px) the page renders fine.

my workaround was to place a

around the

on the other hand - would it be possible to have a separate logo depending on the theme?

Originally Posted by: f0zzyNUE 

Yes you can add the extra logo to the theme.

- Simply add the logo to the desired theme folder, in that case in the YafMobile Folder.

- Add a new Resource to the YafMobile.xml file

<page name="FORUM">
<Resource tag="BANNER">~/forumlogotest.jpg</Resource>
</page>