3.2 & 3.3 Extensions Database 3.2 / 3.3Browser & OS in Viewtopic

<span class="qte-attr qte_32_33-qte">3.2.x & 3.3.x</span>
User avatar

zardos
Users
Users
Posts: 175
Joined: 26 Feb 2016, 23:20
    Windows 7 Firefox

Re: Browser & OS in Viewtopic

Post by zardos »

Thanks :tumbsyes:
Image

User avatar

killfrenzy
Users
Users
Posts: 118
Joined: 06 Feb 2016, 19:22
    Windows 10 Chrome

Re: Browser & OS in Viewtopic

Post by killfrenzy »

dmzx wrote: 30 Jun 2015, 15:49 Extension Name: Browser & OS in Viewtopic
Author: dmzx special thanks to martin

Extension Description:
This extension shows browser icon and OS icon in viewtopic.
Works with new made posts and older posts will be indicated like this Image untill you edit the post.




Added Windows 10 and Spartan browser

There's nothing show in PBWOW3 style under prosilver?

Screenshots:
Image

Image

Older posts are indicated like this:
Image

Extension Download:
Download-link
Browser-OS in Viewtopic v1.0.1
Installation:
  1. Download the latest release.
  2. Unzip the downloaded release, and change the name of the folder to `browsericon`.
  3. In the `ext` directory of your phpBB board, create a new directory named `dmzx` (if it does not already exist).
  4. Copy the `browsericon` folder to `/ext/dmzx/` if done correctly, you'll have the main extension class at (your forum root)/ext/dmzx/browsericon/composer.json
  5. Navigate in the ACP to `Customise -> Manage extensions`
  6. Look for `Browser & OS in Viewtopic` under the Disabled Extensions list, and click its `Enable` link.
I tried two times but still doesn't appear in my forum. I'm using PBwow style
Compilation of Android Roms, Recoverys, Apps, Games and Tricks
Visit my blog http://androidcribs.com
Androidcribs.com
Androidcribs
Image

User avatar

Topic Author
dmzx
Founder
Founder
Posts: 6466
Joined: 13 Jan 2014, 21:45
    Windows 10 Firefox

Re: Browser & OS in Viewtopic

Post by dmzx »

Then maybe the event is not correct in your style.
Will contact you later to check some things.

User avatar

killfrenzy
Users
Users
Posts: 118
Joined: 06 Feb 2016, 19:22
    Windows 10 Chrome

Re: Browser & OS in Viewtopic

Post by killfrenzy »

dmzx wrote: 14 Mar 2016, 18:46 Then maybe the event is not correct in your style.
Will contact you later to check some things.
Thanks Sir. Did you fix already?

User avatar

lopoto
Users
Users
Posts: 73
Joined: 28 Dec 2014, 01:59
    Windows 10 Firefox

Re: Browser & OS in Viewtopic

Post by lopoto »

Thx. :beers:

User avatar

sakkiotto
Users
Users
Posts: 7
Joined: 31 Jul 2015, 06:03
    Mac OS X Chrome

Re: Browser & OS in Viewtopic

Post by sakkiotto »

Some fix for tapatalk posters? after 3.1.7 or 3.1.8 update this code not works (perhaps because tapatalk update?)

Code: Select all

	// Detect Tapatalk
   if ($browser == 'Tapatalk')
   {
      if ($browser_version != '')
      {
         $ver = substr($browser_version, 0, 1);
         
         if ($ver >= 2)
         {
            $browser .= ' '. $ver;
            $browser_version = '';
         }
      }
   }
   else if (!empty($browser_version) && $browser_version == '3.5.7')
   {
      if ($browser == 'Firefox')
      {
         $browser = 'Tapatalk';
         $browser_version = '';
      }
   }

User avatar

Peralta
Donator
Donator
Posts: 190
Joined: 13 Dec 2014, 17:04
    Windows 7 Chrome

Re: Browser & OS in Viewtopic

Post by Peralta »

How to adjust to recognize M$ Edge?

User agent:

Code: Select all

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko)
 Chrome/46.0.2486.0 Safari/537.36 Edge/13.10586
I speak spanish. Sorry for my bad english.

User avatar

Topic Author
dmzx
Founder
Founder
Posts: 6466
Joined: 13 Jan 2014, 21:45
    Windows 10 Firefox

Re: Browser & OS in Viewtopic

Post by dmzx »

Peralta wrote: 28 Jun 2016, 20:09 How to adjust to recognize M$ Edge?

User agent:

Code: Select all

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko)
 Chrome/46.0.2486.0 Safari/537.36 Edge/13.10586
This should be in like:

Code: Select all

// Edge to Spartan
	if ($browser == 'Edge')
	{
		$browser = 'Spartan';
	}

User avatar

Peralta
Donator
Donator
Posts: 190
Joined: 13 Dec 2014, 17:04
    Windows 10 Chrome

Re: Browser & OS in Viewtopic

Post by Peralta »

Test with M$ Edge

EDIT: Yes, works. Ty dmzx :thumbup:

User avatar

taledus
Users
Users
Posts: 83
Joined: 19 Jun 2016, 05:47
    Windows 7 Firefox

Re: Browser & OS in Viewtopic

Post by taledus »

Hey dmzx, I think it would be great if you could somehow adapt this mod and turn it into a "Favorites" type mod. Users could select their favorite OS, Browser, Games system, and a grip of other favorite things, which would display similarly.

That would help with the issue of a moderator editing and their information displaying instead of the OP.

User avatar

Null
Users
Users
Posts: 125
Joined: 09 Oct 2015, 06:03
    Windows 7 Chrome

Re: Browser & OS in Viewtopic

Post by Null »

Will this extension have an update with all these adjustments?

User avatar

Topic Author
dmzx
Founder
Founder
Posts: 6466
Joined: 13 Jan 2014, 21:45
    Windows 10 Firefox

Re: Browser & OS in Viewtopic

Post by dmzx »

taledus wrote: 28 Jun 2016, 23:15 Hey dmzx, I think it would be great if you could somehow adapt this mod and turn it into a "Favorites" type mod. Users could select their favorite OS, Browser, Games system, and a grip of other favorite things, which would display similarly.

That would help with the issue of a moderator editing and their information displaying instead of the OP.
Need to check on that, but that will a other extension then.
Null wrote: 29 Jun 2016, 01:53 Will this extension have an update with all these adjustments?
This one not.

User avatar

ircfc
Users
Users
Posts: 61
Joined: 04 Jun 2016, 08:32
    Windows 7 Firefox

Re: Browser & OS in Viewtopic

Post by ircfc »

Hello

Please update this plugin for old threads
At the same time that Windows-browser or by putting a new thread was specified to be applied to old threads

Thanks
Bye

User avatar

ZippeL
Users
Users
Posts: 20
Joined: 20 Aug 2016, 06:37
    Windows 10 Firefox

Re: Browser & OS in Viewtopic

Post by ZippeL »

Code: Select all

UPDATE `your_db`.`prefix_yourtable` SET `user_agent`='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36' WHERE `user_agent` is NULL;
This's for all undefined user_agent in old posts.

User avatar

Topic Author
dmzx
Founder
Founder
Posts: 6466
Joined: 13 Jan 2014, 21:45
    Android Chrome

Re: Browser & OS in Viewtopic

Post by dmzx »

:thumbup:

[ Post made via Samsung Galaxy S4 ] Image

Post Reply Previous topicNext topic