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)

dartho 06-04-2008 05:26 AM

To add style selection options check HERE for style chooser code - it will become an option one of these days..

I wrote this style to work with my mobile detect add-on, so teh user never actually gets a choice on my site. The get the sites default if visiting from a PC or the mobile style if visiting from a mobile device.

An update on showing this style to Yahoo. I can confirm my bandwidth has dropped by about 10GB/month by forcing Yahoo spiders to the mobile style :eek:

Fireproof 06-05-2008 12:54 AM

Quote:

Originally Posted by dartho (Post 1540319)
To add style selection options check HERE for style chooser code - it will become an option one of these days..

I wrote this style to work with my mobile detect add-on, so teh user never actually gets a choice on my site. The get the sites default if visiting from a PC or the mobile style if visiting from a mobile device.

An update on showing this style to Yahoo. I can confirm my bandwidth has dropped by about 10GB/month by forcing Yahoo spiders to the mobile style :eek:


That's how I like it - force it to mobile for phones, and a default on the site. I like to control how my site looks to others.

Quick question: A user has reported that the first time he tried this skin after I loaded this up with your mobile detect add-on, he couldn't see where to log-in. I was already logged in when I switched skins, so it never occured to me.

Is there a Log-In link in the skin somewhere?

dartho 06-05-2008 02:32 AM

You can login in the footer of every page - should be a username/password prompt down there when not logged in...

SAT2M 06-05-2008 05:13 PM

Quote:

Originally Posted by dartho (Post 1517002)
@SAT2M - Not sure - but questions in regards to that add-on should probably be asked in its' thread.

@SwollenCranium - what sort of device are you posting from? Also - what are teh URL's which are giving you issues.


I check the siite with Sonyerricsson P990i & this is my site url

www.best2m.org/main.php

dartho 06-05-2008 09:52 PM

Quote:

Originally Posted by SAT2M (Post 1541657)
I check the siite with Sonyerricsson P990i & this is my site url

www.best2m.org/main.php

You need to make sure the style is user selectable - that the checkbox next to it in Style Manager is checked. Even if you don;t allow users to change styles, it needs to be checked so that other addons such as the mobile device autodetect can load the style up.

JustJon 06-06-2008 10:33 PM

I dig this style alot, but is there any way to allow it to view images? My users would like to be able to see the pictures and smileys posted by other users. Thanks.

Dr. Bantham 06-07-2008 12:30 AM

How can you change back to a different style once this one is selected? I could find no link, which is especially troublesome if a desktop user changes to this style and is not able to revert back to a full style.

dartho 06-07-2008 12:53 AM

@Dr Bantham - scroll up about 6 posts before yours :)

@JustJon - deleting the following replacement variables form the mobile style options should put images back in line:

border="0" alt="" />

class="inlineimg" />

img src

dartho 06-07-2008 11:40 AM

Updated.

Version 0.0.7 - Added Style chooser to UserCP, Post count to threads, Search Page, Attachment Sizes, More detailed time info, viewing/voting in polls, other stuff too probably

Don;t forget to edit teh navbar template to point the "Home" link at your forums if your forums home page is not index.php

SAT2M 06-07-2008 01:46 PM

Quote:

Originally Posted by dartho (Post 1541872)
You need to make sure the style is user selectable - that the checkbox next to it in Style Manager is checked. Even if you don;t allow users to change styles, it needs to be checked so that other addons such as the mobile device autodetect can load the style up.

I do this setting & style now is selectable with users but auto detect dont work in mobile phone

www.best2m.org/main.php


All times are GMT. The time now is 11:17 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.01693 seconds
  • Memory Usage 1,745KB
  • 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
  • (4)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