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-26-2007 06:47 PM

Grabbing it now and will instsall later - watch out for any feedback!

tekguru 06-26-2007 09:04 PM

Silly queson but where does one throw the CSS file to?

dartho 06-26-2007 10:28 PM

yep - totally new, although any templates I didn't redo are alabama templates.

CSS goes in forum root.

@Derek Trotter - I'm suprised you can't log in, I'm pretty sure I had that all sorted, although I only tested on emulators. I intend on doing the PM section also - just wanted some feedback before I put the time in

Amenadiel 06-27-2007 02:35 AM

Hi. I'm looking forward to enable a special style for the users visiting my forum with Internet Explorer. It seems that when using Firefox, Opera or Safari my default style (CA EVO) works fine, but it's too slow to load on IE, so I want IE visitors to be presented a lighter style.

I've seen that this mod has a browser detection array

Quote:

$browsers = array(
"Windows CE",
"WebTV",
"AvantGo",
"Blazer",
"PalmOS",
"lynx",
"Go.Web",
"Elaine",
"ProxiNet",
"ChaiFarer",
"Digital Paths",
"UP.Browser",
"Mazingo",
"Mobile",
"T68",
"Syncalot",
"NetFront",
"Danger",
"Symbian",
"Symbian OS",
"SymbianOS",
"Maemo",
"Opera Mini",
"Nokia",
"Xiino",
"AU-MIC",
"EPOC",
"BlackBerry",
"Wireless",
"Handheld",
"Smartphone",
"SAMSUNG",
"320x240",
"240x320",
"PSP",
"J2ME",
"MIDP",
"MIDP-2.0",
"Opera Mini",
"Blackberry8700"
);
So I guess I could use something like

Quote:

$browsers = array(

"Internet Explorer 6",
"Internet Explorer 7",
"Maxthon"
);
but I'm not sure of which browser strings to use.

Besides: does this mod disallow for users to choose another style if they wish to? will they be forced to use lighter style when browsing with IE?

dartho 06-27-2007 02:46 AM

It would be possible to extend or alter this mod to detect different desktop browsers and present with different styles, but this mod does force a style - it can't be changed by the user...

Spika 06-27-2007 08:44 AM

Hello!
I´ve a problem, from mobiles devices works fine, but If ahythig choose dartho Mobile alabama style in a PC, after cannot back to default style, even turn off the browser (IE7 or Firefox), Mobile Style is not default style in ACP. And isn´t possible choose style in dartho mobile alabama skin, I can not view this option.
Thanks in advanced
(sorry for my english)

Derek_Trotter 06-27-2007 09:42 AM

@Dartho
No, I definitely can't log in. Here is link to my phone specifications http://cellular.co.za/phones/nokia/2004/nokia_7260.htm
Maybe that can help you to find out why my browser can't work properly.
I have one suggestion. It would be very nice if you can disable all images in post except
smilies. It would speed up forum and it would be cheaper for some visitors.

dartho 06-27-2007 01:53 PM

@ Derek_Trotter - Not sure if I can help you - I'll look around for an emulator and test further. I can however change how images are displayed - simple matter of replacing IMG tags with URL tags.

@Spika - if you just go to your sites home page and add "?styleid=xx" where "xx" is your default styleID you'll be ok. I'll add an option in the footer of the next release to change styles - but this won;t work if you use the "mobile detection" hack as it forces a mobile style when it detects a mobile device.

Might be a while before I can apply these changes - gotta get some sleep sometime!

tekguru 06-27-2007 05:03 PM

Installed it here nad it runs fine, I can log in with no problems. NO way I could see to post a new message though. A good start indeed.

Derek_Trotter 06-28-2007 07:11 AM

OK. Is better to replace IMG with URL tags. If someone want to see image let he just click on link.


All times are GMT. The time now is 04:27 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.01360 seconds
  • Memory Usage 1,740KB
  • 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_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