vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Styles (https://vborg.vbsupport.ru/forumdisplay.php?f=247)
-   -   Forum Style - Lightweight Style for Small Screen Devices (cell phone, iphone, mobile, android) (https://vborg.vbsupport.ru/showthread.php?t=249277)

dartho 05-28-2011 09:04 PM

That'd be more of a vbulletin issue than a style issue, and I'm not sure why, or how to work around. Have you tested with a user account?

Robru 05-29-2011 06:06 PM

Works very well with vB 4.1.4 :)

djawir 05-31-2011 09:43 AM

attachment problem on vbulletin 4.1.3 + vbseo + unixy varnish cache

cant download attachment, always redirect to login page

djawir 05-31-2011 02:16 PM

fixed varnish cache issue not style issue

Mooff 06-01-2011 09:25 AM

1 Attachment(s)
First i want to thank you for your great work. The lightweight style really is blazing fast.

Secondly i want to present the adjustment we made on our board hopeing to improve the usability considering every button is pressed by a huge finger instead of a small mouse on a smartphone display.

I'm not so much talking about the optical changes we made.

We have made one big technical change throughout the whole style. Instead of using text based links, we are using the whole div as a link, which immediately increases the clickable area, as shown on the attached screenshot. The whole grey area now functions as a link.

Here is a live demo: http://www.united-forum.de/?styleid=84


Just wanted to let you know and hope you are interested in including the technical change, since that would save us work (template changes) during an update. :D


previous-code:
Code:

<div class="forum{vb:raw forum.statusicon}"><img style="margin-top: 3px;" src="{vb:stylevar imgdir_statusicon}/forum_{vb:raw forum.statusicon}-16.png" alt="" align="left">&nbsp;<a href="{vb:link forum, {vb:raw forum}}">{vb:raw forum.title}</a></div>
spanlink-code:
Code:

<div class="forum{vb:raw forum.statusicon}" style="position:relative"><a href="{vb:link forum, {vb:raw forum}}"><span class="uf_spanlink"></span></a><span>{vb:raw forum.title}</span></div>
(sidenode, removing the img was purely cosmetic and has nothing to do with the technical change)
additional technical change in the css file:
Code:

.forumold,.forumnew,.forumlink, .forumold_lock, .forumnew_lock
{
...
+        position: relative;
}
.uf_spanlink
{
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        z-index: 1;
}

For the thread view, the other links (lastpost etc.) do need z-index: 2, to be in front of the spanlink (which can be done via css) and these changes need to be made in about 10? or more templates. If someone is interested and my information is unclear, just ask.

Regards Mooff

Winter Sonata 06-01-2011 06:41 PM

Hello

Does this style recognize small devices ? or shall one change the defulat one once you enter the site ?

Thanks

CardMafia 06-02-2011 03:17 AM

Quote:

Originally Posted by Winter Sonata (Post 2202455)
Hello

Does this style recognize small devices ? or shall one change the defulat one once you enter the site ?

Thanks

Set this style as the default for mobile devices in your admincp :)

jerde 06-02-2011 07:25 AM

Has anyone pursued to make this fully CMS compatible?

Dartho, how much donation would it take to get this done for CMS?

dartho 06-02-2011 10:05 AM

@Mooff - I'll have a look into that, thanks for the suggestion and code
@Sonata - what Card+++++ said! (this is just a style - no inbuilt detection, but VB has that)
@jerde - I've done some custom work on CMS for a specific site, but doubt this is directly transferable as the CMS's can be customised so much, so I have no plans at the moment on actually doing the CMS at present.

jerde 06-02-2011 08:52 PM

Understood, I was just thinking simplicity is better. Have a single column that shows the title, author, and content of the article. That's it. As long as it's fast, and people can read the news, that's all that matters.

Let me know if you would be willing to do a CMS customization for my site blackberryos.com? I'd send you a donation for your help.


All times are GMT. The time now is 05:05 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.02077 seconds
  • Memory Usage 1,741KB
  • 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
  • (3)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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