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)

punch 04-13-2008 11:43 PM

dartho, i have some treo users, and a Q9 (WM 6.1) complaining that they can't pull up the mobile version.. but i'm testing it just fine on my windows mobile 6 phone (HTC mogul).

www.tcstangs.com/forum/

Really clueless why people are having problems. They are getting the full version of the forum. I'm using 2.1.3b.

My HTC mogul with WM 6 works fine, but 6.1 users with a Q9 and 755p treo users are getting the full version of the forum.

punch 04-14-2008 12:06 AM

Quote:

Originally Posted by punch (Post 1490040)
dartho, i have some treo users, and a Q9 (WM 6.1) complaining that they can't pull up the mobile version.. but i'm testing it just fine on my windows mobile 6 phone (HTC mogul).

www.tcstangs.com/forum/

Really clueless why people are having problems. They are getting the full version of the forum. I'm using 2.1.3b.

My HTC mogul with WM 6 works fine, but 6.1 users with a Q9 and 755p treo users are getting the full version of the forum.

Oh, the problem was I didn't have the mobile skin set as "user selectable" in the style manager.. thus if you were not logged in you got the full version. If you were logged in, you saw it fine.

The problem I have no is that I already had a few skins selectable by logged-in users and now I know some idiot is going to select the Mobile skin as their default skin. I'm going to get a PM within a few hours I bet.

Anyone know of a good workaround for this?

J105C 04-21-2008 12:13 AM

Quote:

Originally Posted by punch (Post 1490051)
Oh, the problem was I didn't have the mobile skin set as "user selectable" in the style manager.. thus if you were not logged in you got the full version. If you were logged in, you saw it fine.

The problem I have no is that I already had a few skins selectable by logged-in users and now I know some idiot is going to select the Mobile skin as their default skin. I'm going to get a PM within a few hours I bet.

Anyone know of a good workaround for this?

True, I'm waiting for this as well. I dont want my users able to select the mobile skin. I only want it to be 'forced' when they visit my site from a mobile device.

J105C 04-21-2008 01:01 AM

I just tried 2 other mobile styles including the one you sent me. This is what I get:

Wrong mime-type, I got text/html; charset=ISO-8859-1, but I want text/vnd.wap.wml.

Stryker412 04-26-2008 10:42 PM

I upgraded my forum to 3.6.10 and now I cannot post in the mobile version.

Froggy32701 04-27-2008 01:53 AM

Quote:

Originally Posted by Stryker412 (Post 1500179)
I upgraded my forum to 3.6.10 and now I cannot post in the mobile version.


I have no issues? Did you revert all of the mobile templates?

tekguru 04-27-2008 02:28 PM

I didn't revert but fixed the issue by taking the mod XML, looked for all <form> lines and added a

PHP Code:

<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]/> 

after each and reloaded. I also changed the version number to 3.6.10.

Al I had then to do was go into the style editor to save each template to clear the 'you may need to edit flags. However when doing this I got on threadadmin_editthread:

Quote:

The following error occurred when attempting to evaluate this template:
The conditional on line 34 appears to be missing its beginning tag (<if>). This may cause unexpected behavior.

This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.
On looking that template it looks like there is one to many closing IFs in there which I removed to fix that problem.

dartho 04-30-2008 06:25 AM

This add-on should work fine on 3.6.10 - style issues have apparently come up, but thats not to do with this particular add-on. I'll be looking into them when I get a chance, only *just* got back from holidays....

Stryker412 05-02-2008 11:46 AM

Quote:

Originally Posted by dartho (Post 1503050)
This add-on should work fine on 3.6.10 - style issues have apparently come up, but thats not to do with this particular add-on. I'll be looking into them when I get a chance, only *just* got back from holidays....

The error I'm getting since upgrading to 3.6.10 and now 3.7 is:

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

I can read the forum fine, but cannot post at all.

Ted S 05-02-2008 04:28 PM

Quote:

Originally Posted by Stryker412 (Post 1505679)
The error I'm getting since upgrading to 3.6.10 and now 3.7 is:

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

I can read the forum fine, but cannot post at all.

You'll need to edit EVERY template that posts data to add the security hash variable from the latest update (3.6.10 and 3.7.0).

Quote:

Details: Find
<input type="hidden" name="s" value="$session[sessionhash]" />
and after it, add
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />


- http://www.vbulletin.com/forum/showthread.php?t=268123


All times are GMT. The time now is 12:02 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.01564 seconds
  • Memory Usage 1,751KB
  • 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_php_printable
  • (7)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