vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Styles (https://vborg.vbsupport.ru/forumdisplay.php?f=230)
-   -   Mobile, Cell, Phone, PDA, iPhone Style (https://vborg.vbsupport.ru/showthread.php?t=174375)

amish_irish 05-23-2009 11:27 PM

Quote:

Originally Posted by dartho (Post 1813854)
Code:

HTTP Error 401.1 - Unauthorized: Access is denied due to invalid credentials.
Internet Information Services (IIS)

I would hazard a guess that the wireless.css file is either not in your forum root, or is for some reason password protected? GIven its running under IIS - could be security attributes?

Nice guess. I tried to add the likely suspects manually to the security permissions on the .css file but with no luck so I just added the everyone permission and success!! Thanks!

BlueChipEarth 05-27-2009 02:55 PM

Does this not work with the Mobile Device Detection mod? It seems to not switch styles from a mobile phone... as though I tell it "hey switch styles" and then the MDD says "Oh no you don't!"

Any way around this?

Biker_GA 05-27-2009 03:03 PM

The Mobile Phone / iPhone / PDA Detection and Style Assignment modification forces the mobile style. There is no option to use anything else when using that mod.

rrudeboy 05-27-2009 03:53 PM

exactly what i was looking for... *w00t* :}

rrudeboy 05-27-2009 07:41 PM

dartho, awesome mobile interface.... BUT (there's always a but :} i want the blue to be gray/grey, checked the css but so far unable to find it. that will be all i want to alter.

dartho 05-28-2009 12:42 AM

edit the wireless.css file and I think its the titlebg, windowbg and windowbg2 classes that you need to modify. try this as your wireless.css for a few ideas

Code:

body
{
        background: #333333;
        color: #ffffff;
  font: 6pt verdana;
        margin: 0px;
        padding: 0px;
}

.header
{
        background-color: #222222;
        color: #ffffff;
        size:3;
}
.titlebg, .titlebg a, .titlebg a:link, .titlebg a:visited
{
        background-color: #444444;
        color: #000000;
        text-decoration: none;
        size:1;
}
.oldtitlebg, .oldtitlebg a, .oldtitlebg a:link, .oldtitlebg a:visited
{
        background-color: #333333;
        color: #000000;
        text-decoration: none;
        size:1;
}
.newtitlebg, .newtitlebg a, .newtitlebg a:link, .newtitlebg a:visited
{
        background-color: #222222;
        color: #C0C0C0;
        text-decoration: none;
        size:1;
}
.windowbg, .windowbg a, .windowbg a:link, .windowbg a:visited

{
        background-color: #333333;
        color: #FFFFFF;
        size:1;
}
.newwindowbg, .newwindowbg a, .newwindowbg a:link, .newwindowbg a:visited
{
        background-color: #333333;
        color: #FFFFFF;
        size:1;
}

.oldwindowbg, .oldwindowbg a, .oldwindowbg a:link, .oldwindowbg a:visited
{
        background-color: #333333;
        color: #FFFFFF;
        size:1;
}

.windowbg2, .thread, .windowbg2 a, .windowbg2 a:link, .windowbg2 a:visited
{
        background-color: #444444;
        color: #FFFFFF;
        size:1;
}
.Unreadwindowbg2, a:link.newwindowbg2, a:visited.newwindowbg2
{
        background-color: #333333;
        color: #000000;
        size:1;
}
.Oldwindowbg2, a:link.Oldwindowbg2, a:visited.Oldwindowbg2
{
        background-color: #444444;
        color: #000000;
        size:1;
}
.new, a:link.new, a:visited.new
{
        background-color: #333333;
        color: #000000;
        size:1;
}
.thread_new, a:link.thread_new, a:visited.thread_new
{
        background-color: #333333;
        color: #000000;
        size:1;
}
.thread_hot, a:link.thread_hot, a:visited.thread_hot
{
        background-color: #333333;
        color: #000000;
        size:1;
}
.old, a:link.old, a:visited.old
{
        background-color: #333333;
        color: #000000;
        size:1;
}
.navbar, a:link.navbar, a:visited.navbar
{
        background-color: #333333;
        color: #FFFFFF;
        size:1;
}
.footer, a:link.footer, a:visited.footer
{
        background-color: #333333;
        color: #FFFFFF;
        size:1;
}
.updated
{
        color: #ff0000;
        size:1;
}
.quote
{
        background-color: #666666;
        color: #000000;
        size:1;
}
.sticky
{
        background-color: #666666;
        color: #FFFFFF;
        size:1;
}
.announce
{
        background-color: #666666;
        color: #FFFFFF;
        size:1;
}


rrudeboy 05-28-2009 11:11 AM

Quote:

Originally Posted by dartho (Post 1818505)
edit the wireless.css file and I think its the titlebg, windowbg and windowbg2 classes that you need to modify. try this as your wireless.css for a few ideas

close... but not quite, i still want the background to be white. i can mess with it now that i know where :}

thanks.

BGObsession 05-29-2009 01:50 AM

Quote:

Originally Posted by dartho (Post 1788098)
If you wish to use an IMG tag, try and swap the parameters.

rather than <img src="mypic.jpg" alt="My Pic" /> use <img alt="My Pic" src="mypic.jpg" />

this shouldn't get replaced with an anchor tag


For the newbie coder (learning), WHERE would that html snippet be placed - somewhere in the xml code and then reuploaded, or in a specific section of the template under the mobile style?

Thanks in advance.....

dartho 05-29-2009 05:09 AM

template you want an image to show (ie. header template)! You can alternatively allow all images to be displayed by removing all the replacement variables (located at the very bottom of the style options screen) in the mobile style

BGObsession 05-29-2009 11:10 PM

Thanks Dartho - got it, and appreciate the patience for us self-learners....


All times are GMT. The time now is 08:31 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.02724 seconds
  • Memory Usage 1,750KB
  • 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
  • (2)bbcode_code_printable
  • (3)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