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)

Eq4bits 01-25-2007 07:42 PM

has the problem with it detecting Mozilla browser as a mobile device been cleared up? *Most* of my users use Mozilla as their browser .....

dartho 01-26-2007 09:38 PM

I don;t think anyone has reported this as being a problem? By Mozilla, you mean Firefox? That is the only browser I use and I have had no issues....

Eq4bits 01-26-2007 10:10 PM

Mozilla is Mozilla, similar to firefox and by the same peeps... it's essentially the old netscape 4.0. I installed and used the mobile_alabama style/skin, but when i reloaded the forum here on my desktop comp it auto detected it as a mobile device. In my vb options i have it set to where the default overides users choice.. whatever... they can't 'choose' any style other than the default.

dartho 01-26-2007 11:31 PM

OK - download, installed and tested Mozilla 1.7.13 - no issues for me using this version. The user agent string I get is "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.13) Gecko/20060414"

Would you be able to check your useragent string and let me know so I can ensure compatibility with thnis mod?

Thanks

Eq4bits 01-26-2007 11:39 PM

I used to have that turned on, but it's not now.... can't seem to find it in vb options....

dartho 01-26-2007 11:39 PM

WHen you view"Who's Online" you should have an option at the bottom of the list to view teh user agent string

Lizard King 01-27-2007 03:54 AM

This is really a good modification. Thanks for this.

ymy 01-27-2007 04:00 AM

Installed thanks and working nice

dartho 01-27-2007 12:55 PM

Glad you like it. I'm the only person on my site making use of it, but I guess I'm the most important ;)

Here's a template mod which I really like on my site for navigation.

Delete everything in your Mobile skin navbar template, and replace your header template with the following (edit red bits to suit your site/requirements):

Code:

<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<TD width="100%" class="alt1">
<center>
<a href="http://www.yousite.com"><img src="your_sites_small_logo.jpg" border=0></a>
</center>
</TD>
</tr>
</table>

<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="100%" height="15" bgcolor="#ffffff">
<div align="center">
<select name="jump" onchange="menu_jump(this);">
<option selected>Mobile Navigation</option>
<option value="search.php?do=getnew">New Posts</option>
<option value="search.php?do=getdaily">Todays Posts</option>
<option value="private.php?">Private Messages</option>
<option value>----------------</option>
<option value="http://yoursite.com">Home Page</option>
<option value="forum.php">Forums</option>
<option value="search.php?">Search</option>
<option value="online.php">Who's Online</option>
<option value="sendmessage.php">Contact Us</option>
</select>
</div>
</td>
</tr>
</table>
$spacer_open
$_phpinclude_output

You can see how easy it is to add other options - I've modified most of mine to be PDA suitable...

Enjoy

tekstylez 01-29-2007 02:29 PM

great hack... just one thing..

I have a few users who are saying they are getting the mobile skin displayed on thier MAC OS... Is this plugin detecting MAC's as mobile devices? Is there a fix for this??


All times are GMT. The time now is 10:14 AM.

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.01317 seconds
  • Memory Usage 1,735KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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