Scheduled Maintenance: 10-11-2025 Electricity company maintenance between 09:00 and 15:00.

3.2 & 3.3 Extensions Database 3.1 / 3.2Mobile Device

<span class="qte-attr qte_31_32-qte">3.1.x &amp; 3.2.x</span>
User avatar

martin
Admin
Admin
Posts: 5106
Joined: 06 Apr 2014, 16:12
    Ubuntu Chrome

Re: Mobile Device

Post by martin »

:whistl:

clight77 ignore it showing you on mobile it will detect if you are or not and remove if need be.
Image
Image

User avatar

nucky91
Users
Users
Posts: 11
Joined: 16 Aug 2017, 15:26
    Windows 10 Chrome

Re: Mobile Device

Post by nucky91 »

OOO What does it mean exactly? :D

User avatar

Topic Author
Sniper_E
VIP
VIP
Posts: 1157
Joined: 14 Oct 2014, 19:01
    Android Chrome

Re: Mobile Device

Post by Sniper_E »

Here I do not mind sharing. I'm working on 1.0.6 so it will get better.

I'm not sure what's in this.
mobiledevice_1.0.5.zip
[ Post made via Samsung Galaxy S5 Active ] Image
Image
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!™

User avatar

nucky91
Users
Users
Posts: 11
Joined: 16 Aug 2017, 15:26
    Windows 10 Chrome

Re: Mobile Device

Post by nucky91 »

Same version... Thx the help! :D

User avatar

Topic Author
Sniper_E
VIP
VIP
Posts: 1157
Joined: 14 Oct 2014, 19:01
    Windows 10 Firefox

Re: Mobile Device

Post by Sniper_E »

Try this one or wait for update.

mobiledevice_1.0.5 (1).zip
This copy is with dm's core changes and I think my style and css changes.
The functions are the same as out last version. 1.0.6 will have one small change.

[ Post made via Samsung Galaxy S5 Active ] Image
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.

User avatar

maco8024
Users
Users
Posts: 8
Joined: 27 Oct 2014, 10:47
    Windows 10 Chrome

Re: Mobile Device

Post by maco8024 »

Hay all!
MOBILEDEVICE_1.0.5, phpbb 3.2.1, PHP: 7.0.21

Code: Select all

[phpBB Debug] PHP Notice: in file [ROOT]/ext/sniper/mobiledevice/event/listener.php on line 561: Undefined index: DESKTOP
[phpBB Debug] PHP Warning: in file [ROOT]/ext/sniper/mobiledevice/event/listener.php on line 565: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
[phpBB Debug] PHP Warning: in file [ROOT]/ext/sniper/mobiledevice/event/listener.php on line 566: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
[phpBB Debug] PHP Notice: in file [ROOT]/ext/sniper/mobiledevice/event/listener.php on line 561: Undefined index: DESKTOP
[phpBB Debug] PHP Warning: in file [ROOT]/ext/sniper/mobiledevice/event/listener.php on line 565: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
[phpBB Debug] PHP Warning: in file [ROOT]/ext/sniper/mobiledevice/event/listener.php on line 566: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
Tell me what to do? :???:

User avatar

Topic Author
Sniper_E
VIP
VIP
Posts: 1157
Joined: 14 Oct 2014, 19:01
    Windows 10 Firefox

Re: Mobile Device

Post by Sniper_E »

Not sure I have mine disabled right now. Not sure why {ROOT} is showing thought {ROOT_PATH} was correct.

I'll have to install this posted version and see. Disable for now.

User avatar

martin
Admin
Admin
Posts: 5106
Joined: 06 Apr 2014, 16:12
    Ubuntu Chrome

Re: Mobile Device

Post by martin »

maco8024 wrote: 28 Sep 2017, 03:54 Hay all!
MOBILEDEVICE_1.0.5, phpbb 3.2.1, PHP: 7.0.21

Code: Select all

[phpBB Debug] PHP Notice: in file [ROOT]/ext/sniper/mobiledevice/event/listener.php on line 561: Undefined index: DESKTOP
[phpBB Debug] PHP Warning: in file [ROOT]/ext/sniper/mobiledevice/event/listener.php on line 565: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
[phpBB Debug] PHP Warning: in file [ROOT]/ext/sniper/mobiledevice/event/listener.php on line 566: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
[phpBB Debug] PHP Notice: in file [ROOT]/ext/sniper/mobiledevice/event/listener.php on line 561: Undefined index: DESKTOP
[phpBB Debug] PHP Warning: in file [ROOT]/ext/sniper/mobiledevice/event/listener.php on line 565: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
[phpBB Debug] PHP Warning: in file [ROOT]/ext/sniper/mobiledevice/event/listener.php on line 566: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
Tell me what to do? :???:
$status = $this->user->lang['DESKTOP']; is not defined hence the error.

open ext/sniper/mobiledevice/event/listener.php
Find This may be a partial find and not the whole line

Code: Select all

$status = $this->user->lang['DESKTOP'];
Replace with Replace the preceding lines with the following

Code: Select all

//$status = $this->user->lang['DESKTOP'];
In short the word DESKTOP is undefined (this also shows on stk for 3.2) do the code change above and you can carry on using the ext
Or you can fix it using if(isset

User avatar

maco8024
Users
Users
Posts: 8
Joined: 27 Oct 2014, 10:47
    Windows 10 Chrome

Re: Mobile Device

Post by maco8024 »

:tumbsyes:

Code: Select all

[phpBB Debug] PHP Notice: in file [ROOT]/ext/sniper/mobiledevice/event/listener.php on line 561: Undefined index: DESKTOP
This error is gone, the rest are left.

User avatar

martin
Admin
Admin
Posts: 5106
Joined: 06 Apr 2014, 16:12
    Ubuntu Chrome

Re: Mobile Device

Post by martin »

Undo the code change in the listener.php (remove the // we added)
now open ext/sniper/mobiledevice/language/en/common.php
replace the bottom line with this

Code: Select all

'DESKTOP'			=> 'Desktop',
Now the error is gone for good.

User avatar

maco8024
Users
Users
Posts: 8
Joined: 27 Oct 2014, 10:47
    Windows 10 Chrome

Re: Mobile Device

Post by maco8024 »

martin wrote: 30 Sep 2017, 19:08 Undo the code change in the listener.php (remove the // we added)
now open ext/sniper/mobiledevice/language/en/common.php
replace the bottom line with this

Code: Select all

'DESKTOP'			=> 'Desktop',
Now the error is gone for good.
Many thanks, everything works. :tumbsyes: :cool:

User avatar

martin
Admin
Admin
Posts: 5106
Joined: 06 Apr 2014, 16:12
    Ubuntu Chrome

Re: Mobile Device

Post by martin »

Please visit HERE on your mobile device or table so we can check the new mobile log operations. :tumbsyes:

User avatar

richardjews
Users
Users
Posts: 1
Joined: 04 Oct 2017, 11:12
    Ubuntu Chrome

Re: Mobile Device

Post by richardjews »

This mobile device still have a bugs which can be fixed!!

Do not post spam links you will be banned

User avatar

martin
Admin
Admin
Posts: 5106
Joined: 06 Apr 2014, 16:12
    Ubuntu Chrome

Re: Mobile Device

Post by martin »

:rolling: you dont have the newer version so pls dont make posts like that until you do.

User avatar

sc4t
Users
Users
Posts: 7
Joined: 20 Aug 2015, 10:01
    Windows 10 Chrome

Re: Mobile Device

Post by sc4t »

Hello!

How to add Windows Mobile Phones?
Exemple: Mozilla/5.0 (Windows Phone 10.0; Android 4.2.1; Microsoft; Lumia 640 XL LTE Dual SIM) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2486.0 Mobile Safari/537.36 Edge/13.10586

Post Reply Previous topicNext topic