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

cisco007
Users
Users
Posts: 78
Joined: 26 Nov 2015, 22:01
    Windows 10 Firefox

Re: Mobile Device

Post by cisco007 »

Hey snipe, i tried to clean this extension cause i never did it once i upgraded it, now i can't clean up the data, it says unknown permission role "" does not exist

User avatar

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

Re: Mobile Device

Post by Sniper_E »

I'm not sure what you mean about cleaning this extension. I did see you are running phpBB version: 3.2.0-RC2 on your site right now. I did not see this extension running on your site. The only permission set in this extension is for administrator only to view and delete mobile logs. There are no rolls set anywhere.

Dmzx and martin have this extension setup and working on phpBB version: 3.2.0-RC2 but I will have to setup another 3.2 site and check it out.

What are you trying to do? Will deleting the data after disabling the extension not delete the tables? Is that what you mean about cleaning the extension?

[ 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

cisco007
Users
Users
Posts: 78
Joined: 26 Nov 2015, 22:01
    Windows 10 Firefox

Re: Mobile Device

Post by cisco007 »

Nah, it's at this site, phpbbmexico.com it's phpbb version 3.1.10

this is the error!

Code: Select all


Something went wrong during the request and an exception was thrown. The changes made before the error occurred were reversed to the best of our abilities, but you should check the board for errors.

The permission role "" unexpectedly does not exist.

Return to the extension list

User avatar

Hippie459MN
Donator
Donator
Posts: 69
Joined: 16 Aug 2015, 08:37
    Windows 7 Firefox

Re: Mobile Device

Post by Hippie459MN »

This is working great on 3.2.0 here but have one little question, How would I go about removing the little mobile device icon next to the username when on a mobile device? Dont really think its necessary (Im pretty sure I know if im on mobile device or a desktop LoL) and I think it takes away from the look and would like to get rid of it.

Thanks. :)
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.
"I went outside once. The graphics sucked but the game play was ok."

User avatar

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

Re: Mobile Device

Post by Sniper_E »

Well we don't have any settings in acp for that image so I will have to look at the files when I get home to see where we can remove that from.

That image is there so when you are looking at a user's profile you can see that they are online with their mobIle device on the go and not their desktop at home.

It is not there for you to see if you are on your mobile. :rolling:
Maybe we can position it to fit in the style better. Float right?

[ Post made via Samsung Galaxy S5 Active ] Image
Last edited by Sniper_E on 17 Mar 2017, 19:01, edited 1 time in total.

User avatar

Hippie459MN
Donator
Donator
Posts: 69
Joined: 16 Aug 2015, 08:37
    Windows 7 Firefox

Re: Mobile Device

Post by Hippie459MN »

Sniper_E wrote: 17 Mar 2017, 18:56 Well we don't have any settings in acp for that image so I will have to look at the files when I get home to see where we can remove that from.

That image is there so when you are looking at a user's profile you can see that they are online with their mobIle device on the go and not their desktop at home.

It is not there for you to see if you are on your mobile. :rolling:

[ Post made via Samsung Galaxy S5 Active ] Image
Right on. LoL Yeah, knowing if my users are logged in on a mobile device is not important to myself or my members so there is no need for it really.

I am using an older version still on one of my forums so never seen that and am planing to update to 3.2.0 and installed the latest version on a test site and seen that so to me, its new. lol

User avatar

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

Re: Mobile Device

Post by Sniper_E »

I'll show you later how to remove that. I'll add some settings in acp for these images on the next update.

[ Post made via Samsung Galaxy S5 Active ] Image

User avatar

Tarantino
Users
Users
Posts: 42
Joined: 10 Sep 2016, 04:58
    Windows 10 Chrome

Re: Mobile Device

Post by Tarantino »

Im getting this with debug active:

[phpBB Debug] PHP Notice: in file [ROOT]/ext/sniper/mobiledevice/event/listener.php on line 256: Undefined index: user_mobile_welcome
[phpBB Debug] PHP Notice: in file [ROOT]/ext/sniper/mobiledevice/event/listener.php on line 257: Undefined index: user_mobile_header

Cheers

EDIT:

Fixed with this:

Change this:

Code: Select all

			'S_MOBILE_WELCOME' => $this->user->data['user_mobile_welcome'],
			'S_MOBILE_HEADER'	=> $this->user->data['user_mobile_header'],
To this:

Code: Select all

			'S_MOBILE_WELCOME' => isset($this->user->data['user_mobile_welcome']),
			'S_MOBILE_HEADER'	=> isset($this->user->data['user_mobile_header']),
EDIT2:

Still got more errors:

Code: Select all

[phpBB Debug] PHP Notice: in file [ROOT]/ext/sniper/mobiledevice/event/listener.php on line 409: Undefined index: AE5HD
[phpBB Debug] PHP Warning: in file [ROOT]/ext/sniper/mobiledevice/event/listener.php on line 545: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3925)

User avatar

dwattel
Users
Users
Posts: 4
Joined: 01 Mar 2017, 09:05
    Windows 10 Firefox

Re: Mobile Device

Post by dwattel »

I love this extension and my users too.

However, I have a question: as admin there is the breadcrump(did I name it correct) Mobile Logs, but there is no icon in front of it, how can I add an icon in front of it?

User avatar

dmzx
Founder
Founder
Posts: 6485
Joined: 13 Jan 2014, 21:45
    Android Chrome

Re: Mobile Device

Post by dmzx »

dwattel wrote: 07 Apr 2017, 23:53 I love this extension and my users too.

However, I have a question: as admin there is the breadcrump(did I name it correct) Mobile Logs, but there is no icon in front of it, how can I add an icon in front of it?
Next release will have the icon.

[ Post made via Samsung Galaxy S4 ] Image

User avatar

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

Re: Mobile Device

Post by nucky91 »

Hy all!

I have Microsoft Lumia 640 LTE with Microsoft Edge browser and the extension "android" system detected... Why? pls help me :)

Thank u all!

User avatar

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

Re: Mobile Device

Post by Sniper_E »

nucky91 wrote: 16 Aug 2017, 21:11I have Microsoft Lumia 640 LTE with Microsoft Edge browser and the extension "android" system detected... Why? pls help me :)
You have to add your device in the listener, android section. See Mobile Device for example.

User avatar

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

Re: Mobile Device

Post by nucky91 »


User avatar

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

Re: Mobile Device

Post by Sniper_E »

No you need your mobile info from the who is online page. Sign in to your site on your mobile and go to that who is online link.
Image
Get the info your Lumia 640 shows there. Is this Lumia 640 an android phone? You would add it under adroids. Mobile Device

User avatar

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

Re: Mobile Device

Post by nucky91 »

Image

Not android.. microsoft lumia 640 LTE and windows operation system then windows phone not android. :)

Post Reply Previous topicNext topic