vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Add-On Releases - Mobile Device Style Assignment (https://vborg.vbsupport.ru/showthread.php?t=130983)

tekguru 06-23-2007 06:56 AM

Quote:

Originally Posted by dartho (Post 1274306)
tekguru - I've updated my profile with my sites address - http://thewholeforce.com - it's a Rugby supporters site for the Western Australian Super14 rugby team "Western Force"

Nice looking site, strange that for some reason I thought you were a fellow Brit :)

Be cool if you and Aggie could work together to produce anawesome generic PDA theme though.

Ref Adv where you say in the mobile theme you kill the left and right hand columns does this not cause any issues?

dartho 06-23-2007 08:31 AM

no probs at all, it just doesn;t disaply left and right columns and is more likely to fit on a small screen - here's my adv_portal template:
Code:

$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<if condition="$pages['name'] == 'home'">
        <meta http-equiv="Cache-Control" content="no-cache" />
        <meta http-equiv="Pragma" content="no-cache" />
        <meta http-equiv="Expires" content="0" />
</if>

<title>$vboptions[hometitle] <if condition="$pagetitle">- $pagetitle</if></title>

$headinclude
<if condition="$show['inlinemod']">
        <script type="text/javascript" src="clientscript/vbulletin_inlinemod.js"></script>
</if>
</head>
<body>

$header

$navbar

<table align="center" class="page" cellspacing="0" cellpadding="0" width="100%">
        <tr valign="top">
                <if condition="$show['center_column']">
                        <td valign="top">
                                $home[centerblocks]
                        </td>
                </if>
        </tr>
</table>

$footer

</body>
</html>


tekguru 06-23-2007 11:06 AM

Quote:

Originally Posted by dartho (Post 1269479)
BTW - if you use this skin with vbAdvanced, I suggest you edit the "adv_portal_welcomeblock" template and remove all its contents so you don't have a double log in screen on your front page.

BTW should this be instant as I've just cleaned those two templates and accessed via the mobile device and I still see two login prompts.

dartho 06-23-2007 02:10 PM

Back a week ago I suggested
Quote:

BTW - if you use this skin with vbAdvanced, I suggest you edit the "adv_portal_welcomeblock" template and remove all its contents so you don't have a double log in screen on your front page.
under cmps 3.0 - there are 2 temapltes, adv_portal_welcomeblock_lean and adv_portal_welcomeblock_expanded - you could clear the entire contents of both of these or if you still want the basic userinformation, edit these tempaltes, search for <else /> and delete everything (including "<else />") down to but NOT including the last </if>statement just a few lines from the bottom


On another note - I've been having a look and dig around tonight, and I think I can come up with a 5/5 mobile phone compliant skin - very basic but should be compatible with older mobiles - similar to the SMF mobile style. It's just a matter of finding the time to do it - a few long nights and a case of beer should be enough, but not sure when I can get around to it.

tekguru 06-23-2007 05:07 PM

Quote:

Originally Posted by dartho (Post 1274635)
Back a week ago I suggested under cmps 3.0 - there are 2 temapltes, adv_portal_welcomeblock_lean and adv_portal_welcomeblock_expanded - you could clear the entire contents of both of these or if you still want the basic userinformation, edit these tempaltes, search for <else /> and delete everything (including "<else />") down to but NOT including the last </if>statement just a few lines from the bottom

Yep already cleared both of those so I think it may be a caching issue as for me at least I still get the two login prompts.

Quote:

Originally Posted by dartho (Post 1274635)
On another note - I've been having a look and dig around tonight, and I think I can come up with a 5/5 mobile phone compliant skin - very basic but should be compatible with older mobiles - similar to the SMF mobile style. It's just a matter of finding the time to do it - a few long nights and a case of beer should be enough, but not sure when I can get around to it.

Sounds perfect to me if you can come up with one expect a donatin from me at least! :)

dartho 06-26-2007 05:14 AM

I have an alpha VERY lite skin if anyone wants to test? Only has forums/threads and replying to posts - everything else is same as existing released mobile skin. page sizes are greatly reduced - forum home is like only 6 kilobytes (I've learnt a bit and should be able to greatly reduced the 'dartho mobile alabama' bandwidth requirements too)

Please leave feedback on this one!

Now I need to work on the mobile detect hack and try and discern low res devices which can use this skin, and higher res devices that can use the alabama skin...

MotoUp 06-26-2007 12:52 PM

I actually really like the functionality of the dartho alabama skin, even if the load times are a bit longer, so if you do work on making it smaller, my only request is that you don't remove any of that functionality. I love being able to read and send PM's, edit posts, create new threads, etc. which wasn't available in the previous style.

dartho 06-26-2007 01:23 PM

no loss in functionality - just a significant reduction in size - probably over 80% smaller.

I will in the coming weeks modify the mobile device detection so that you can specify one skin for Windows CE devices and blackberrys and a different skin for "other" mobile devices.

Any suggestions for what devices/browers should be lumped into teh WIndows CE (high res, high functionality) category would be helpful.

MotoUp 06-26-2007 03:09 PM

Okay, so the mobil-phone-skin that you just released above is not the dartho skin reduced, it's completely different, am I understanding that correctly?

Derek_Trotter 06-26-2007 06:26 PM

@Dartho
Excellent! This is better solution! My browser still not alow me to log in, but surfing forum is much faster. This is very important for my members. Can you add to this skin P.M. ?


All times are GMT. The time now is 08:36 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01455 seconds
  • Memory Usage 1,751KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete