Thanks Sniper, the Tab3 is on charge I will have a look & try that edit, I'll let you know how I get on :)Sniper_E wrote:We may have stuck your device in the wrong case.Bullseye wrote:Noticed something odd, my Samsung Galaxy Tab 3 comes up as a note 3...Which one of those numbers is in your user agent? SM-N9005 or SM-P600Code: Select all
elseif (preg_match('/SM-N9005|SM-P600/i',$user_agent)) { $status = 'Samsung Galaxy Note 3'; }
It will need to be moved into this case...Code: Select all
elseif (preg_match('/SM-T310/i',$user_agent)) { $status = 'Samsung Galaxy Tab 3'; }
Extensions Database 3.1 / 3.2 ⇒ 3.2 & 3.3 Mobile Device
-
Bullseye
- Users

- Posts: 60
- Joined: 22 Sep 2015, 01:44
Re: Mobile Device
Last edited by Bullseye on 08 Oct 2015, 03:09, edited 1 time in total.
-
Sniper_E
- VIP

- Posts: 1164
- Joined: 14 Oct 2014, 19:01
Re: Mobile Device
Well which one was it that needs to be moved so we can correct ours also. I'm thinking it's the SM-P600 but would rather make sure.Bullseye wrote:Thanks Sniper, the Tab3 is on charge I will have a look & try that edit, I'll let you know how I get on :)
I searched online with both of those numbers and it pulled up a Samsung Galaxy Note for both. You may have a note tablet 3 and not know it.
-
Bullseye
- Users

- Posts: 60
- Joined: 22 Sep 2015, 01:44
Re: Mobile Device
I'm now looking...
It says GT-P5210, I am look at your site with it now....
It says GT-P5210, I am look at your site with it now....
Last edited by Bullseye on 09 Oct 2015, 01:57, edited 1 time in total.
-
Sniper_E
- VIP

- Posts: 1164
- Joined: 14 Oct 2014, 19:01
Re: Mobile Device
I see you in the mobile logs there. The GT-P5210 does pull up as a Samgung Galaxy Tab 3 when doing a Google search.
Line 315 in the event/listener.php
elseif (preg_match('/SM-T310/i',$user_agent))
Change to
elseif (preg_match('/GT-P5210|SM-T310/i',$user_agent))
I have you in my list now. You will not show as Android on your next visit.
Line 315 in the event/listener.php
elseif (preg_match('/SM-T310/i',$user_agent))
Change to
elseif (preg_match('/GT-P5210|SM-T310/i',$user_agent))
I have you in my list now. You will not show as Android on your next visit.
-
Bullseye
- Users

- Posts: 60
- Joined: 22 Sep 2015, 01:44
Re: Mobile Device
Brilliant although the GT-P5210 shows up as a galaxy tab for me on google
Error 403 (Forbidden)!!1
Error 403 (Forbidden)!!1
Last edited by Bullseye on 09 Oct 2015, 21:17, edited 1 time in total.
-
Sniper_E
- VIP

- Posts: 1164
- Joined: 14 Oct 2014, 19:01
Re: Mobile Device
Yes it pulls up as that for me also.

You should be good now.Sniper_E wrote:The GT-P5210 does pull up as a Samgung Galaxy Tab 3 when doing a Google search.
-
Bullseye
- Users

- Posts: 60
- Joined: 22 Sep 2015, 01:44
Re: Mobile Device
Thanks

Wicked! I just change it, although I use notepad ++ and its not on line 315, I found it on 261 :/ but yes the Samsung Galaxy Tab 3 comes up as what it is now

Wicked! I just change it, although I use notepad ++ and its not on line 315, I found it on 261 :/ but yes the Samsung Galaxy Tab 3 comes up as what it is now
Last edited by Bullseye on 09 Oct 2015, 23:05, edited 1 time in total.
-
Bullseye
- Users

- Posts: 60
- Joined: 22 Sep 2015, 01:44
Re: Mobile Device
I have got another member coming up as a Galaxy Note 3, but she uses an S4 Mini.... I got this from the whois..
Mozilla/5.0 (Linux; Android 4.4.2; GT-I9195 Build/KOT49H)
Mozilla/5.0 (Linux; Android 4.4.2; GT-I9195 Build/KOT49H)
-
Sniper_E
- VIP

- Posts: 1164
- Joined: 14 Oct 2014, 19:01
Re: Mobile Device
Find this case in the listener.php
After add
Save and upload.
Code: Select all
elseif (preg_match('/GT-I9195/i',$user_agent))
{
$status = 'Samsung Galaxy S4 Active';
}Code: Select all
elseif (preg_match('/SGH-I537/i',$user_agent))
{
$status = 'Samsung Galaxy S4 Mini';
}-
Bullseye
- Users

- Posts: 60
- Joined: 22 Sep 2015, 01:44
Re: Mobile Device
I can't find that part of the script.. here's the one I am currently using..
You do not have the required permissions to view the files attached to this post.
-
Sniper_E
- VIP

- Posts: 1164
- Joined: 14 Oct 2014, 19:01
Re: Mobile Device
It would be easier for me to give you an update on the added devices. Copy over your files with these.
Last edited by Sniper_E on 11 Oct 2015, 05:55, edited 1 time in total.
-
Bullseye
- Users

- Posts: 60
- Joined: 22 Sep 2015, 01:44
Re: Mobile Device
Thanks Ed, just copy the mobile device folder to ext/sniper ?
& just out of curiosity what does rotate.php do?
& just out of curiosity what does rotate.php do?
Last edited by Bullseye on 11 Oct 2015, 05:53, edited 1 time in total.
-
Sniper_E
- VIP

- Posts: 1164
- Joined: 14 Oct 2014, 19:01
Re: Mobile Device
Oooops you can delete that directoy. It was showing a random image for our desktops during testing.
[ Post made via Samsung Galaxy2 Tablet ]
[ Post made via Samsung Galaxy2 Tablet ]

-
Bullseye
- Users

- Posts: 60
- Joined: 22 Sep 2015, 01:44
Re: Mobile Device
What directory do I need to delete & did you see my edit about where to put the mobile device folder? 
-
Sniper_E
- VIP

- Posts: 1164
- Joined: 14 Oct 2014, 19:01
Re: Mobile Device
Updated listener.php and images...
Copy all of these images into your ext/sniper/mobiledevice/images/ directory. Copy this listener.php file into your ext/sniper/mobiledevice/event/ directory. Overwrite all of your files and images with these.
Copy all of these images into your ext/sniper/mobiledevice/images/ directory. Copy this listener.php file into your ext/sniper/mobiledevice/event/ directory. Overwrite all of your files and images with these.
You do not have the required permissions to view the files attached to this post.

