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)

dartho 02-13-2008 10:11 PM

I can and will, but in the mean time if you choose to ignore version when installing, it should work fine .

MissKalunji 02-13-2008 11:36 PM

Quote:

Originally Posted by dartho (Post 1442096)
OK - I just had another look. Not sure what you are doing, but your portal is stiull being rendered in the full style and mobile emulators/devices are probably giving up (it has a huge amount of data)

Edit the adv_portal template in the CMPS group for teh mobile styles and replace the contents with
Code:

<html>
<head>
<title>Redirecting to mobile friendly</title>
<META http-equiv="refresh" content="2;URL=http://URL_TO_FORUM_HOME">
</head>
<body>
<p>
Redirecting to mobile site...
</p>
</body>
</html>

make sure to change the URL in the code above

Thanks it works :)

Robert Waanders 02-14-2008 07:55 AM

great mod, marked as installed!

Jase2 02-19-2008 05:58 PM

Quote:

Originally Posted by dartho (Post 1442551)
I can and will, but in the mean time if you choose to ignore version when installing, it should work fine .

That's great Dartho. I'll wait until you release it for 3.7 and when 3.7 goes GOLD!

Regards Jason :)

GetGamer.com 02-20-2008 04:48 PM

I've got this installed and working on both 3.7.0 b4 and 3.6.4, however even with PDA detection enabled (and redirected to the proper style), my iPAQ hw6515 (running Windows Mobile 2003) is still displaying the default forum style.

Edit #1: My iPhone properly detects and displays the mobile style, but so far another other devices seem to fail.

Edit #2: I've narrowed it down to a conflict with my default style (or so it seems). If I navigate to this subforum with a mobile device, the mobile skin displays. The default skin for that forum (and all subforums within it) is different from the forum home and the rest of the forums. Navigate to those other forums and you get the default skin, not the mobile skin. So apparently there is something in my default skin that is causing the mobile detection to fail. Any clues?

dartho 02-25-2008 03:06 AM

Could be a conflict with another add-on you have installed. Try modifying the "Detect Mobile Device" plugin and change it's execution order to 10. If that doesn't work, try 1. If that doesn;t work chgange back to 5 and let us know :)

mariocaz 02-25-2008 05:16 AM

Hi dartho,

I want to install your great mod, but I have a little question.

If I install it, also I have to install another skin for the mobile phone, pda, etc., I have right now 3 skins in my forum and when I install a mod sometimes I have to edit the template files of my 3 skins (lost of work), so if I have another skin to use this mod, also will I have to install all the mods that I have in this skin ??, I hope not because install mods now in 4 skins will be a little hard for me.

thank you my friend, maybe my question is stupid, but I want to be sure of that.

cheers,

Mario

GetGamer.com 02-25-2008 04:14 PM

Quote:

Originally Posted by dartho (Post 1450429)
Could be a conflict with another add-on you have installed. Try modifying the "Detect Mobile Device" plugin and change it's execution order to 10. If that doesn't work, try 1. If that doesn;t work chgange back to 5 and let us know :)

Ok, I changed the execution order to both 10 and to 1, but with the same results.

It works fine on this site, but not this site (it doesn't detect Windows Mobile).

dartho 02-25-2008 07:09 PM

mariocaz - usually you will not want to make template changes to mobile styles. The templates are totally different, and quite probably will not work. But yes, you will need to make changes to templates in all styles.

GetGamer - I'm not sure, there must be a conflict somewhere, if you PM me an admin accoiunt with the ability to edit pugins I could have a look?

mariocaz 02-25-2008 07:34 PM

So if I install a mobile style and leave like that (original) without any modification of all my mods that I have installed and also the future mods.

The skin(style) will work fine like that ?

Thank you again.


All times are GMT. The time now is 06:30 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.03714 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
  • (1)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
  • (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