Like Tree2Likes

C Board mobile style now available

This is a discussion on C Board mobile style now available within the General Discussions forums, part of the Community Boards category; Now that we are running bulletin 4 I took some time to figure out how to set up the mobile ...

  1. #1
    Administrator webmaster's Avatar
    Join Date
    Aug 2001
    Posts
    971

    C Board mobile style now available

    Now that we are running bulletin 4 I took some time to figure out how to set up the mobile style and it is now available for Android and iOS. BlackBerry is not supported and will use the normal style.

    You shouldn't need to do anything special to use the new style from you mobile device as the board will autodetect you browser. If you want to use the old style, however, there is a link to the full site as well.

    Please use this thread to post any issues specific to the mobile style. Since the style is currently a bit generic I may be tweaking it over the next few days.

    --
    Posted, naturally, from my iPhone.
    caroundw5h likes this.

  2. #2
    Registered User
    Join Date
    Dec 2006
    Location
    Canada
    Posts
    3,183
    Looking good on Android. Much better than before. Thanks!

  3. #3
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,789
    That's pretty sweet!

  4. #4
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,663
    So which of those devices comes with a shell prompt, a code editor and a C compiler?
    Yarin likes this.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  5. #5
    'Allo, 'Allo, Allo
    Join Date
    Apr 2008
    Posts
    611
    Those that disallow access to the General Discussions, Tech, and Project boards.

  6. #6
    Registered User
    Join Date
    Dec 2006
    Location
    Canada
    Posts
    3,183
    My Android has bash and probably editor. Not sure if someone ported gcc.

  7. #7
    C++まいる!Cをこわせ! Elysia's Avatar
    Join Date
    Oct 2007
    Posts
    22,777
    Does the mobile style have any ... issues with Symbian, or something? I just tried, but it refuses to let me select the style.
    The VB3 style is apparently also "incompatible". Is it incompatible with Android/iFag too?
    (Mobile web designers who don't take into account Symbian needs to be shot.)
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  8. #8
    Administrator webmaster's Avatar
    Join Date
    Aug 2001
    Posts
    971
    According to vBulletin, the mobile style is compatible only with WebKit based browsers. I don't have a Symbian phone, so I don't know what the user experience will be.

    When you talk about the style being incompatible, do you mean that you see "vBulletin 2 Default(vB3 Style - Incompatible) (Copy)"? The word incompatible here has nothing to do with your phone--it's because the style was marked as incompatible with vBulletin 4 when I upgraded. That said, it's a weird and confusing name so I will fix it. It's now named "Normal Style".

  9. #9
    C++まいる!Cをこわせ! Elysia's Avatar
    Join Date
    Oct 2007
    Posts
    22,777
    Well, I tried it. And it looks right on the default theme. Can't change theme though, as I pointed out.
    And yeah, I see the "vBulletin 2 Default(vB3 Style - Incompatible) (Copy)". It refuses to switch over to the mobile theme, though. Everytime I do, it's back on that default one again.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  10. #10
    Administrator webmaster's Avatar
    Join Date
    Aug 2001
    Posts
    971
    I'm not sure why it would auto-switch you back. The forum does auto-detect browsers, so perhaps the issue is that it's detecting that your phone isn't compatible with the mobile style and is pushing you to the standard style instead. vBulletin has 3 separate options for configuring which style is used by default: normal browsers theme/supported platforms mobile theme/unsupported phone mobile theme. Only "supported platforms mobile theme" is set to the mobile theme--the other two, including unsupported phones, get the regular theme.

  11. #11
    C++まいる!Cをこわせ! Elysia's Avatar
    Join Date
    Oct 2007
    Posts
    22,777
    Seems like I've heard/seen that before. So, is it possible to add user agents to the code that does the switching?
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  12. #12
    Administrator webmaster's Avatar
    Join Date
    Aug 2001
    Posts
    971
    Kind of The actual useragent checking is a bit crude. Right now, any phone that has the following text in the useragent qualifies as an "advanced mobile browser":

    Code:
    /(ipad|ipod|iphone|blackberry|android|pre\/|palm os|palm|hiptop|avantgo|plucker|xiino|blazer|elaine)/i
    I imagine it should also be possible to test visiting the forum with your useragent to see if the issue can be reproduced simply by adjusting that variable. Do you know the useragent of your mobile browser? Apparently there is a website for that: http://whatsmyuseragent.com/

  13. #13
    C++まいる!Cをこわせ! Elysia's Avatar
    Join Date
    Oct 2007
    Posts
    22,777
    In fact, I do:
    Opera/9.80 (S60; SymbOS; Opera Mobi/1169; U; en-GB) Presto/2.5.28 Version 10.1
    Mozilla/5.0 (Symbian/3; Series60/5.2 NokiaN8-00/011.012; Profile/MIDP-2.1 Configuration/CLDC-1.1) AppleWebKit/525 (KHTML, like Gecko) Version/3.0 BrowserNG/7.2.7.2 3gpp-gba

    Two browsers, of which the former I tend to use (but it may be a bit old).
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  14. #14
    Administrator webmaster's Avatar
    Join Date
    Aug 2001
    Posts
    971
    I just tested this out by setting my useragent to be your Opera useragent in Firefox; vBulletin really does seem to be responding to the useragent and overriding the style. If I change the regex to match symbos a well, it no longer overrides the style.

    I'm going to guess that if Symbian were supported with the mobile style, it would be included, as I see references to symbian elsewhere in the code.

  15. #15
    Registered User
    Join Date
    Aug 2003
    Posts
    1,208
    Not to be repetetive but for the mobile style I found the icons for new posts are very bad. The only difference seem to be the "letters" and with the small screen and resolution on my phone it is very difficult to spot the difference. I saw your reply in the other post and I sympathize but wanted to let you know I find the same issue on the mobile style.

Page 1 of 2 12 LastLast
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. mobile app
    By time4f5 in forum Tech Board
    Replies: 3
    Last Post: 06-01-2011, 05:13 AM
  2. Windows Mobile 5.0 == Windows Mobile 2005?
    By George2 in forum C Programming
    Replies: 4
    Last Post: 08-02-2006, 10:53 PM
  3. SDK for mobile in Linux
    By Victor in forum Game Programming
    Replies: 1
    Last Post: 06-27-2004, 05:11 PM
  4. c-style string vs. c++-style strings
    By Mbrio in forum C++ Programming
    Replies: 3
    Last Post: 02-10-2002, 11:26 AM
  5. how do I extract a style from a DWORD style
    By zMan in forum Windows Programming
    Replies: 1
    Last Post: 01-17-2002, 09:09 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21