vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Forum Display Enhancements - Mobile Phone / iPhone / PDA Detection and Style Assignment (https://vborg.vbsupport.ru/showthread.php?t=173239)

dartho 06-26-2008 01:06 AM

that is changed in the Replacement Variables section of the mobile style options. You would likely need to remove all off them - if you remove these then all images will show up in the mobile style

Alternatively, you could swap the order of the tags around in the IMG declaration. Try something like :
<img border="0" src="image.jpg" />

I've only tested this in a desktop browser and it works fine there - I image other mobile browsers shouldn't have an issue either...

EmpireZ 06-30-2008 04:23 AM

Thanks for this Darko,
I have a probelm though, Not sure if it is this mod. I tracked it down and seems when I disable this mod it works fine, but I enable this mod and error shows. I know vb put in new securtiy measures too. Here is the error when members try to post/reply using mobile. (Using your mobile skin btw)

Code:

Your submission could not be processed because a security token was missing or mismatched.

If this occurred unexpectedly, please inform the administrator and describe the action you preformed before you received this error.


dartho 06-30-2008 05:10 AM

That won't be related to this add-on.

If you post in the thread for the style, I will then know which version of which style you are using and can better help!

EmpireZ 06-30-2008 06:25 AM

Ok, No probelm. I downloaded the latest version of your 3.7 style and seems to be working ok. Ill post in the skin thread if I get the error again.

dartho 06-30-2008 06:29 AM

Cool - thanks. I wasn't being pedantic - when you post in a add-on's thread, the add-on author can see what version you last downloaded which makes troubleshooting easier...

myadsl 07-03-2008 10:50 AM

Is there a way to exclude Opera Mini when using this mod?

dartho 07-03-2008 11:06 AM

Sure is - work out what the Opera Mini useragent string is (you can do this when an opera mini user is online by selecting to view User Agent strings in Who's Online), and add it to the exclusions section :up:

Tom_S 07-04-2008 02:23 AM

I have looked in this thread and do not see the fix or understand the way to resolve getting this to work if you have vBadvanced CMPS installed. Any help?

Thanks in advance...

dartho 07-04-2008 04:14 AM

Best way to get vbadvanced to work with this style is to not use it. Edit your adv_portal template and replace it's contents wit something like

PHP Code:

$stylevar[htmldoctype]
<
html dir="$stylevar[textdirection]lang="$stylevar[languagecode]xmlns="http://www.w3.org/1999/xhtml">
<
head>
<
title>$vboptions[hometitle] <if condition="$pagetitle">- $pagetitle</if></title>

$headinclude

</head>
<
body>

$header

$navbar
<p><a href="forum.php">Portal disabled for Mobile Devices.  Click here to go to Forums</a></p>

$footer

</body>
</
html

Change the "forum.php" link to be your forums home page.

If you wanted to and had the time to work it out, you could probably strip back vbadvanced with in this style and still have some content there...

Tom_S 07-04-2008 05:08 AM

Ahhh...Now it is coming back to me. See I had it installed pre-3.7.0 and uninstalled it sometime back after a major crash and never reinstalled but didn't remember that bypass. Thanks my friend. And I will make time to do those extra edits you suggest. They make perfect sense and sound worth the extra time. Thanks. :D


All times are GMT. The time now is 03:25 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.01559 seconds
  • Memory Usage 1,742KB
  • 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)bbcode_php_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