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)

ceech 11-13-2008 03:53 PM

thanks for this. just installed.

RedTrinity 11-14-2008 09:45 AM

Great add-on, installed and testing at the moment!

One of my users (who is using her phone internet to test the site) has reported that it all works well with accessing/login etc, but when she tries to submit a post, she gets logged out.

Strangely enough, the post was still made, but it was blank apart from the "Posted via mobile device" auto message.

Any ideas? Appreciate your help :)

zane99 11-14-2008 05:58 PM

ah ok i fix one problem now onto another lol:

https://vborg.vbsupport.ru/external/2008/11/48.jpg

When users try to post it says security token missing or something........


Help?

dartho 11-14-2008 07:33 PM

GamerGirl - That would be related to the style, not this addon. I see you're using the one I wrote and the add-on that goes with it. Are you using the latest version? I also see it's been modified slightly. Do you still get errors if you revert all templates to their original state (make a backup forst so you can re-implment your changes)

Zane - that's related to the style which isn't my one, however if you do a search in that style for:
HTML Code:

<input type="hidden" name="s" value="$session[sessionhash]" />
and add this underneath:

HTML Code:

<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
that should fix it

gamerfu 11-15-2008 08:23 AM

Quote:

Originally Posted by dartho (Post 1664728)
PSPs should be detected - what is the user agent string of the device?

I will ask my user what browser and PSP version they are using.

biome.pat 11-19-2008 05:17 PM

Just noting that Google Chrome pretends to be safari, so if you have an exception for a safari style, google chrome will use it too.

omanmoon.net 11-23-2008 11:49 AM

mmmmm
now it's not work after upgrade to 3.7.4 PL1

after sign in the page change to white color only !!

before logged in the forum showing no problem ! @_@

TheWhite 11-27-2008 03:46 AM

Quote:

Originally Posted by dartho (Post 1655638)
1) That is correct - it is by design. If you wish to allow users to change between styles, then you don't need this add-on

2) Assuming you ar eusing the mobile style I made, you can 'enable' smiles and images by removing the 'replacement variables' defined in the style

What do i have to do to add just the smiles in the posts and replying?

grecostimpy 11-30-2008 06:21 PM

Quote:

Originally Posted by dartho (Post 1658919)
I think it may be easier to go about this in the opposite manner.

This is untested!

Create a sub-domain like "pc.exampleforum.com" and park it on the same web space as your main forum

Create a new plugin called "Force to Default Style" on "fetch_style" hook execution order 10 with the following code:
Code:

$pc_url= "pc.exampleforum.com";
if(preg_match('/'.$pc_url.'/i', $_SERVER['HTTP_HOST'], $match))
    {
      $styleid=x;
    }

change the x on th line $styleid=x; to be the styleid number of your default style.

Tell your mobile users that if they wish to view the default style, they should visit pc.exampleforum.com or add a link in your mobile style navbar to this subdomain called "Default STyle" or some such thing.

This way mobile visitors to your site are still detected and given a mobile skin, but they can choose to view the site using the default style.

If you make your mobile styles not user selectable, they will not be able to view you site form their PC's via the mobile style (they could with User Agent spoofing - but there's not much you can do about that)

Hope this helps.

nb - this will only work correctly if all your links are relative - hard code full path links and addons such as VBSEO may break this.

To get around the detection (since some users like the full version on their phone and some like the mobile version) and accomplish a much less intricate way of what you propose above, can I just create a subdomain mobile.mydomain.com that redirects to the styleid of the mobile style on the main domain?

If you want the mobile style, you visit mobile.mydomain.com (and get redirected to the styleid of the mobile style) ...if you want the full version you visit mydomain.com. Would there be any effects from doing this? Would it work correctly? My guess would be that they may get cookied and stuck in the mobile style....

OR....could a second instance of VB be created on the subdomain (pointing to the same database) and somehow just use the mobile style? (I believe you already have a hack for this)

Thanks! EXCELLENT mods dartho, my users are raving.

grecostimpy 12-01-2008 06:45 PM

Quote:

Originally Posted by grecostimpy (Post 1675918)
To get around the detection (since some users like the full version on their phone and some like the mobile version) and accomplish a much less intricate way of what you propose above, can I just create a subdomain mobile.mydomain.com that redirects to the styleid of the mobile style on the main domain?

If you want the mobile style, you visit mobile.mydomain.com (and get redirected to the styleid of the mobile style) ...if you want the full version you visit mydomain.com. Would there be any effects from doing this? Would it work correctly? My guess would be that they may get cookied and stuck in the mobile style....

OR....could a second instance of VB be created on the subdomain (pointing to the same database) and somehow just use the mobile style? (I believe you already have a hack for this)

Thanks! EXCELLENT mods dartho, my users are raving.

Nevermind my last post above....I parked a subdomain on top of my main domain and used your Diff Domains / Diff Styles mod. Works perfectly! Thanks!

caliman 12-02-2008 09:46 PM

Is there anyway to force users to a skin THEN allow then the option to switch back to the default skin?
If not, it would be a great feature.

ArnyVee 12-03-2008 12:38 AM

That's one of the add-ons, is it not?

I just installed this today and am testing it out. The customizable add-on helps with that Caliman.

caliman 12-03-2008 01:13 AM

Quote:

Originally Posted by ArnyVee (Post 1677430)
That's one of the add-ons, is it not?

I just installed this today and am testing it out. The customizable add-on helps with that Caliman.

Which one?

Quote:

Detects most mobile phones and force the user to a specific style (users will not be able to select other styles from a mobile device with this add-on installed).

ArnyVee 12-03-2008 05:12 AM

This is the one I used Caliman...

https://vborg.vbsupport.ru/showthread.php?t=182692

caliman 12-03-2008 05:38 AM

Thanks Arny but that won't do what I want... I have it too...

Quote:

Add a link to the default style?
Select whether to add a link in navbar or footer to get back to the default style,
This will not work in conjunction with add-ons that force the user to a style - select NO LINK if you are using such an add-on

dartho 12-04-2008 03:37 AM

See here https://vborg.vbsupport.ru/showthrea...19#post1658919 for a possible way to do this....

24hourForum.com 12-04-2008 03:47 AM

thank you installed

caliman 12-04-2008 04:16 AM

Quote:

Originally Posted by dartho (Post 1678239)
See here https://vborg.vbsupport.ru/showthrea...19#post1658919 for a possible way to do this....

Thank you. I may go this route. Although I have VBSEO of course. :erm:

dartho 12-04-2008 06:57 AM

VBSEO *may* not cause issues - or it may... I guess you'll soon tell us :-) I don;t use it, but they seem to be a helpful bunch, so if you do have issues they may be able to come up with a work around/fix...

WoodiE 12-08-2008 10:19 AM

I'm having a problem with this mod that when a member views the site using his or her cell phone then later goes and views the site on their PC via IE or Firefox that the mobile style is still selected for them.

What needs to be changed to allow them to be set to the correct style when viewing the forum on a PC?

dartho 12-08-2008 07:07 PM

Is this with all members or a single member?

Nadeemjp 12-10-2008 12:29 AM

will use this for later.
nice hack though

darkdan 12-23-2008 05:34 PM

Fixed.

Thanks.

dartho 12-23-2008 09:32 PM

only if configured to do so!

Chevy II 12-30-2008 11:16 PM

Thanks, installed and works great!

I have a question, or request though. Is it possible to have any users that are connect via a wireless device to not use their normal signature block, and they would use something along the lines of the mandatory statement that must be used on all email sent via blackberrys or Iphones, etc.

Posted from my Blackberry wireless handheld device.

Would this be possible to set in the autodetect add-on?

fta2k 12-31-2008 06:01 AM

Quote:

Originally Posted by Chevy II (Post 1697502)
Thanks, installed and works great!

I have a question, or request though. Is it possible to have any users that are connect via a wireless device to not use their normal signature block, and they would use something along the lines of the mandatory statement that must be used on all email sent via blackberrys or Iphones, etc.

Posted from my Blackberry wireless handheld device.

Would this be possible to set in the autodetect add-on?


If it's your own site why not just make a second user such as Chevy II Mobile with all the same permissions and make your own signature block for that id.




By the way, installed and working great along with the hide from chooser addon.

Thanks.

Goomzee 12-31-2008 06:07 AM

thankx

jbeam 01-22-2009 02:03 PM

I have been running this mod for several months now and I don't think I can live without it. I use my phone (MotoQ) keep up to date and check on the forum when I am away from the computer and I find it works great.

However, I have a couple folks with the Blackberry Curve that are not getting their PM's in a timely manor. I have asked and it doesn't seem like anyone but Curve users have this problem.

I thought it was maybe a cache issue, so I had them clear their cache on the phones and they still could not see PM's that they know are in their inbox. After a few days, the older PM's show up, but none of the newer ones.

All other functionality seems to be good.

I would be shocked if it's an issue with this mod, but I was wondering if anyone else has had this problem.

Nadeemjp 01-22-2009 02:40 PM

does this have 3.8 compatibility?

dartho 01-23-2009 12:06 AM

@jbeam - I doubt it would be related to this addon. Certainly sounds like a caching issue to me. Do they get new PM notification but no PM's showing, or not even notified?

@Nadeemjp - I upgraded my site to 3.8 and this still appears to work OK for me

MissKalunji 01-23-2009 12:32 AM

yeah mine working on 3.8 too

jbeam 01-26-2009 02:48 PM

Quote:

Originally Posted by dartho (Post 1721728)
@jbeam - I doubt it would be related to this addon. Certainly sounds like a caching issue to me. Do they get new PM notification but no PM's showing, or not even notified?

I really didn't think it would be this mod either but I figure it was worth asking.

As for the notification / actually getting the PM's, it's been a mixed answer.

Some people say that they get the notification, but then they look they have no new PM's and others are saying that they don't even get notified (however, they might have pop-up notification turned off).

I am going to try and swing by a cell store and play with a Curve and see if I can get it to happen.

Chevy II 01-28-2009 02:09 AM

Is there a way to hide this style from the drop down menu for users to select the mobile style while logged in regulary from your computer? Because if users select it, there is no way for them to select another style to go back

Thanks

dartho 01-28-2009 08:13 AM

see here https://vborg.vbsupport.ru/showthread.php?t=183185

harlita 01-29-2009 03:58 AM

YOU ROCK!!

Running 3.8.1 and testing my site from my HTC Touch Diamond using IEMobile, Skyfire and Opera Mobile.

LOOKS OUTSTANDING!! Redirect is perfect - it autodetects and loads the forums in the mobile style without fail.

Damn fine job there sir.

5 stars.

Kevlar 02-01-2009 07:58 PM

Some users who automatically get pushed to your mobile style would like the ability to turn it off and go back to the regular default style. Is there an option for this?

Works great otherwise...

Dewaniya 02-06-2009 12:27 PM

Is it stable?

Chevy II 02-11-2009 10:26 PM

I am running VB 3.7.4 and have this mod installed as well as Dartho's mobile style and it's working very well. However, yesterday and today I have had reports from 2 different users that have BB Bold's and they are unable to login and it eventually locks up their device.

What could be wrong, has anyone else had this problem with users? Can this be fixed?

Biker_GA 02-18-2009 10:28 AM

I've run into a slight issue with this and I'll be dipped if I can figure it out. Seems some devices aren't being detected when hitting the site. For example, I have 4 users who all have iPhones. 3 of them continue to see the normal style and only one is being redirected to the mobile style. Getting the same issue with a user who has a Tilt. We're running 3.8 and the detect Windows CE and iPhone have been checked. I even went so far as to include CE, iPhone and Safari in the custom list. Same issue. Not sure if it's an issue with the individual phone, or with the installation. Any ideas?

Edit ---

I think we've fixed it. I added your modification to the portal template for the style and all my users are now seeing the forum in the mobile style. Don't know why that would have affected it, but my mobile users are a happy bunch now. :)

testbot 02-19-2009 12:09 AM

this seems to work on my pda/smart phone but not my verizon flip phone.

-in before why i have so many phones. hah


All times are GMT. The time now is 06:32 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.01609 seconds
  • Memory Usage 1,832KB
  • 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
  • (2)bbcode_html_printable
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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