[DEV] phpBBmobile Device Browser Style

MOD Authors: Discuss and post updates on new MODs in development for phpBB3, Receive feedback and Feature requests for MODs in development.

To submit your MOD or style, go to the STG MOD Manager
Forum rules
go to the STG MOD Manager to post your MOD in development.
Discuss and receive feedback for any MOD in development for phpBB3.
Suggest features for MODs in development.

No Support or MOD Requests
-- exceptions for MODs only posted here as Beta or Alpha.
Support requests for a MOD should be requested in the respective MOD topic.

Re: [DEV] Mobile Device Browser Style [HELP NEEDED]

Postby Sniper_E » 08 Mar 2008, 15:36

Shoot yea!
See if it automatically detects your mobile device and shows you the mobile device style on connection.
-OR-
If you have to login first before it shows you the new style.

PMed you the login info. Thanks sTraTo!
Image
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!
User avatar
Sniper_E    
STG Jedi Master
STG Jedi Master
 
Posts: 6991
Joined: 31 May 2006, 06:29
Location: Shreveport, LA
Favorite Team: The STG Team
Gender: Male
phpBB Knowledge: 6




phpBB Academy at StarTrekGuide
Support STG
Using PayPal Donate

Re: [DEV] Mobile Device Browser Style [HELP NEEDED]

Postby Sithnar » 08 Mar 2008, 15:59

if it dont set it when u first goto the page it wont ever set it.

all you do is look on the Who is online list as an admin so u see the browser agent ;)
Sithnar - Head Nerd @ DarkLord's Realm
User avatar
Sithnar    
Supporter
Supporter
 
Posts: 367
Joined: 15 Jan 2008, 10:42
Location: England
Gender: Male
phpBB Knowledge: 5

Re: [DEV] Mobile Device Browser Style [HELP NEEDED]

Postby Sniper_E » 08 Mar 2008, 16:37

But I would have to be there when he's there to view his info.

We need a mod that reads the "Who's been Online the last 24 HRS"
I'll have to look when I see someone report that they didn't see the mobile style on connect.
I take it you have played this game already. ;)

We must share new mobile device browser names to add and build a collection.
We want them ALL!
Image
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!
User avatar
Sniper_E    
STG Jedi Master
STG Jedi Master
 
Posts: 6991
Joined: 31 May 2006, 06:29
Location: Shreveport, LA
Favorite Team: The STG Team
Gender: Male
phpBB Knowledge: 6

Re: [DEV] Mobile Device Browser Style [HELP NEEDED]

Postby Obsidian » 08 Mar 2008, 16:47

There is a way that you can view it under a certain style upon view, remember?

index.php?style= STYLE NUMBER WHATEVER- It's from the preview thing in the ACP.

;)
うるさいうるさいうるさい!

StopForumSpam Spam Reporting Database
Giving xrumer and friends a great big "screw you" since 2007.
User avatar
Obsidian    
Supporter
Supporter
 
Posts: 2250
Joined: 04 Mar 2008, 23:35
Gender: Male
phpBB Knowledge: 10

Re: [DEV] Mobile Device Browser Style [HELP NEEDED]

Postby Sniper_E » 08 Mar 2008, 17:03

Yes, index.php?style=8 will view this style on my test site, but not for a guest.
Viewing it form my desktop, I have to reduce my browser window to 320x240 to see what you see.

BUT.... we want any and ALL detected phone browsers to force this style as their default style.

When someone on a phone connects to the site they will see this style's index and login screen.
If any phone connects and sees the SniperBlue style index and login, then we need to add that browser.

Please report in here if your phone doesn't default to this style on connection.
I know after you login you will see this style.
Image
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!
User avatar
Sniper_E    
STG Jedi Master
STG Jedi Master
 
Posts: 6991
Joined: 31 May 2006, 06:29
Location: Shreveport, LA
Favorite Team: The STG Team
Gender: Male
phpBB Knowledge: 6

Re: [DEV] Mobile Device Browser Style [HELP NEEDED]

Postby blackbeltboy47 » 09 Mar 2008, 01:49

I don't see the mobile style by default when I view the page on my iPod touch.
-blackbeltboy47
User avatar
blackbeltboy47
Cadet IV
Cadet IV
 
Posts: 40
Joined: 29 Jan 2007, 17:20
Gender: Male

Re: [DEV] Mobile Device Browser Style [HELP NEEDED]

Postby Sithnar » 09 Mar 2008, 05:05

What we need people to do is to visit http://darklord.ath.cx/browser.php on their Mobile Devices, then copy what it says onto this thread.


I will start it ..


Nokia N95
Code: Select all
Mozilla/5.0 (SymbianOS/9.2; U; Series60/3.1 NokiaN95/12.0.013; Profile/MIDP-2.0 Configuration/CLDC-1,1 ) AppleWebkit/413 (KHTML, like Gecko) Safari/413
Sithnar - Head Nerd @ DarkLord's Realm
User avatar
Sithnar    
Supporter
Supporter
 
Posts: 367
Joined: 15 Jan 2008, 10:42
Location: England
Gender: Male
phpBB Knowledge: 5

Re: [DEV] Mobile Device Browser Style [HELP NEEDED]

Postby Sniper_E » 09 Mar 2008, 10:52

My regular decktop browser said:
Code: Select all
Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12
And yours was:
Code: Select all
Mozilla/5.0 (SymbianOS/9.2; U; Series60/3.1 NokiaN95/12.0.013; Profile/MIDP-2.0 Configuration/CLDC-1,1 ) AppleWebkit/413 (KHTML, like Gecko) Safari/413
I'm just comparing mine with yours here.


And to add yours to the list, on this line I would add it like this?
Code: Select all
      $browsers_array = array('ice','symbian','240x320','minimo','nokia6230i','nokian95');
Yours is added Sithnar, now see if you see the mobile style on connect, before logging in.
Image
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!
User avatar
Sniper_E    
STG Jedi Master
STG Jedi Master
 
Posts: 6991
Joined: 31 May 2006, 06:29
Location: Shreveport, LA
Favorite Team: The STG Team
Gender: Male
phpBB Knowledge: 6

Re: [DEV] Mobile Device Browser Style [HELP NEEDED]

Postby Sithnar » 09 Mar 2008, 12:37

the original code should include all symbian OS phones as the browser will hvve "symbian" in the agent
Sithnar - Head Nerd @ DarkLord's Realm
User avatar
Sithnar    
Supporter
Supporter
 
Posts: 367
Joined: 15 Jan 2008, 10:42
Location: England
Gender: Male
phpBB Knowledge: 5

Re: [DEV] Mobile Device Browser Style [HELP NEEDED]

Postby Sniper_E » 09 Mar 2008, 13:06

But, did you see the mobile style on my test site on connect before you logged in? That is the test.
We need the mobile style to be the forced style to view when a mobile device is detected.

Or do I need to set the test users style as another and see if it will force the mobile style after logging in?
Maybe as a guest before logging in it will only show the default style of the forum.
And this script only works on logged in members. I dunno.

You could set your default style as something else on your site.
Then with your mobile device logout and see if it defaults to your ?style=4 (your mobile style)

Here I found a link that listed a lot of the mobile devices.
http://www.zytrax.com/tech/web/mobile_ids.html
But this want even help us if this script of yours that we are using want force the mobile style.

:) I'm on a mission here to figure this out and get it to work. :D
Man, I need a mobile device myself.
Image
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!
User avatar
Sniper_E    
STG Jedi Master
STG Jedi Master
 
Posts: 6991
Joined: 31 May 2006, 06:29
Location: Shreveport, LA
Favorite Team: The STG Team
Gender: Male
phpBB Knowledge: 6

PreviousNext

Return to MODs in Development

Who is online

Users browsing this forum: No registered users and 11 guests