vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Show Thread Enhancements - OS/Browser Display in Postbits (https://vborg.vbsupport.ru/showthread.php?t=280899)

nhawk 04-13-2012 12:17 PM

Quote:

Originally Posted by X-or (Post 2319685)
I suppose it won't work on vB3. And yes I have seen the vB3 version but it doesn't seem to have anywhere as much features.

No, this isn't the same as the vB3 version and it won't work with vB3.

dmandem 04-13-2012 09:49 PM

Great mod, thanks!

Working on 4.1.12 incase anybody is thinking of installing.

Mr_Running 04-18-2012 05:55 PM

I confirm, working on 4.1.12 :)

In regards to Usergroup Options

It works with Primary Usergroup

It would be great if it worked with Additional Usergroups
Can not view when I am in Additional Usergroup.

Skyrider 04-20-2012 06:37 AM

Is there anyway to hide the version of both browser & OS but still show what browser/OS they are using? Multiple people mentioned they prefer not to have their version to be shown for security risks/issues.

Quote:

Originally Posted by Mr_Running (Post 2321349)
I confirm, working on 4.1.12 :)

In regards to Usergroup Options

It works with Primary Usergroup

It would be great if it worked with Additional Usergroups
Can not view when I am in Additional Usergroup.

Same issue here.

nhawk 04-20-2012 10:22 AM

I'll see what I can do for hiding the versions and usergroups later today.

nhawk 04-20-2012 01:10 PM

Update posted.

NOTE: If you are upgrading from version 1.0.0 or 1.0.1 to 1.0.2 or higher the usergroup options have changed. You MUST go into ACP->Settings->Options->OS/Browser Display Settings and select which usergroups CAN view the OS/Browser icons.

Skyrider 04-20-2012 02:07 PM

Awesome, thank you! Though I just remember that it would be nice if admins (or specific group) can view the versions :p.

Mr_Running 04-20-2012 02:25 PM

Does this change at all in version 1.0.2?
Edit: Never-mind I didn't remember that it displays on new post only. :o

Quote:

Originally Posted by nhawk (Post 2316419)
If you're using DBTech's postbit tabs, create a new view with this code...
Code:

<img class="{vb:raw $post.osb_sysicon}" src="clear.gif" alt="{vb:raw $post.osb_system}" /> <img class="{vb:raw $post.osb_icon}" src="clear.gif" alt="{vb:raw $post.osb_browser}" />
And then disable the 'Put OS/Browser in Postbit' plugin.

You will be limited to using the 'Sprite' system doing this. So make sure that is enabled (it is by default) if you disabled it.

Note: I believe the ReadMe needs a date change 2011 ;) to 2012
Quote:

* History (Changelog) *
------------------------------
1.0.2 - (April 20, 2011)
1.0.1 - (April 2, 2011)
March 30, 2011
1.0.0 - Initial Release

nhawk 04-20-2012 02:58 PM

LOL.. It's 2012??!!!??

I'll correct that in the next release. :D

If you're using DBTech's posbit tabs, the view should be changed to this..
Code:

<vb:if condition="$vboptions[osb_hide]">
<img class="{vb:raw $post.osb_sysicon}" src="clear.gif" alt="" /> <img class="{vb:raw $post.osb_icon}" src="clear.gif" alt="" />
<vb:else />
<img class="{vb:raw $post.osb_sysicon}" src="clear.gif" alt="{vb:raw $post.osb_system}" /> <img class="{vb:raw $post.osb_icon}" src="clear.gif" alt="{vb:raw $post.osb_browser}" />
</vb:if>


faisaly.com 04-20-2012 07:50 PM

Just goes to show some members do actually read the info....HAH!

Merenguista 04-20-2012 08:36 PM

It does'nt work for me in 4.1.12 :(

Skyrider 04-21-2012 09:22 AM

is there anyway that this can have it's own hook so I can custom place it in the template? I'd like to post it at the bottom left of the postbit.

nhawk 04-21-2012 10:46 AM

Quote:

Originally Posted by Merenguista (Post 2322009)
It does'nt work for me in 4.1.12 :(

It works fine in 4.1.12..

https://vborg.vbsupport.ru/showpost....5&postcount=82
https://vborg.vbsupport.ru/showpost....9&postcount=83

As a matter of fact, the last update was done with 4.1.12.

Remember, the icons only show for new posts. There is no way to get the OS/Browser for old posts.

nhawk 04-21-2012 10:53 AM

Quote:

Originally Posted by FF|Skyrider (Post 2322173)
is there anyway that this can have it's own hook so I can custom place it in the template? I'd like to post it at the bottom left of the postbit.

I can put something like this in the next release. But, be aware that if I do this you will be responsible for proper HTML for the hook. In other words, you'll need to wrap the images in the proper <DIV>, <LI>, etc. that suits where you put it in your template.

rhody401 04-21-2012 12:21 PM

I'm putting 1.03 in now on my 4.1.12 The previous 1.01 worked fine and I had it set up to only show the results to moderators.

I notice when people use Forum Runner, it just has ? ? Is this something that would benefit from being iconized, too, and does it pass anything meaningful along?

Thanks for the great add-on!
Rhody

nhawk 04-21-2012 01:26 PM

Quote:

Originally Posted by rhody401 (Post 2322214)
I'm putting 1.03 in now on my 4.1.12 The previous 1.01 worked fine and I had it set up to only show the results to moderators.

I notice when people use Forum Runner, it just has ? ? Is this something that would benefit from being iconized, too, and does it pass anything meaningful along?

Thanks for the great add-on!
Rhody

Make sure you double check your settings. Before it was where you entered who was NOT able to see the icons. Now you need to select who CAN see the icons.

I'm not sure about forum runner. If you can get the useragent for someone using forumrunner and send it to me I can look into it.

rhody401 04-21-2012 01:41 PM

I just checked the POST table, for users that are using Forum Runner. It is reporting them as "Unknown" "Unknown", so maybe this isnt even possible?

Your add on shows them with question marks.

I did exactly as you said (reversing the permissions), and it's working like a champ.

nhawk 04-21-2012 03:06 PM

Quote:

Originally Posted by rhody401 (Post 2322235)
I just checked the POST table, for users that are using Forum Runner. It is reporting them as "Unknown" "Unknown", so maybe this isnt even possible?

Your add on shows them with question marks.

I did exactly as you said (reversing the permissions), and it's working like a champ.

The question mark icon and the 'Unknown' is the default if the system can't identify the OS and Browser.

If you can catch someone on your site using Forum Runner or arrange for them to be on your site at a certain time, do a who's online and set User Agent to 'Yes'. Then click display. That will give you the information I need to see if the icon can be included.

Merenguista 04-21-2012 09:35 PM

Quote:

Originally Posted by nhawk (Post 2322194)
It works fine in 4.1.12..

https://vborg.vbsupport.ru/showpost....5&postcount=82
https://vborg.vbsupport.ru/showpost....9&postcount=83

As a matter of fact, the last update was done with 4.1.12.

Remember, the icons only show for new posts. There is no way to get the OS/Browser for old posts.

You are right .. Now it's workin fine in 4.1.12 ..

rhody401 04-22-2012 10:58 AM

Quote:

Originally Posted by nhawk (Post 2322274)
The question mark icon and the 'Unknown' is the default if the system can't identify the OS and Browser.

If you can catch someone on your site using Forum Runner or arrange for them to be on your site at a certain time, do a who's online and set User Agent to 'Yes'. Then click display. That will give you the information I need to see if the icon can be included.

I just did it myself, to gather the info for ya:

Quote:

Location:
Browsing via Forum Runner

Ip Address:
xx.xx.xx.xx
Forum Runner for Android

nhawk 04-22-2012 01:59 PM

Quote:

Originally Posted by rhody401 (Post 2322453)
I just did it myself, to gather the info for ya:

That's all it says?

Nothing more like this?
Code:

Mozilla/5.0 (Windows NT 6.1) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.162 Safari/535
That's easy to add if that's the case.

It will be included in the next release.

rhody401 04-23-2012 01:10 PM

That's all she wrote!

Thanks
-R

Alan_SP 04-25-2012 09:15 AM

Are you sure you set UA to show? You need to specify that you want UA shown.

scottct1 04-25-2012 05:01 PM

I installed this today on my vBulletin 4.1.11 system.

I have it showing both the OS and the Browser. If I point the the browser it shows the browser version fine, however when I point to the OS icon it shows "User Info Left" in the pop up box.

If I go into settings and have the graphics shown in a different area then it shows the info for that area but not the OS version.

How do I fix this show it shows the version of the OS they are using?

nhawk 04-25-2012 06:11 PM

Quote:

Originally Posted by scottct1 (Post 2323427)
I installed this today on my vBulletin 4.1.11 system.

I have it showing both the OS and the Browser. If I point the the browser it shows the browser version fine, however when I point to the OS icon it shows "User Info Left" in the pop up box.

If I go into settings and have the graphics shown in a different area then it shows the info for that area but not the OS version.

How do I fix this show it shows the version of the OS they are using?

For now set 'Use CSS Sprites' to 'Yes'.

I'll release the fix for people not using sprites tomorrow.

scottct1 04-25-2012 07:04 PM

Quote:

Originally Posted by nhawk (Post 2323442)
For now set 'Use CSS Sprites' to 'Yes'.

I'll release the fix for people not using sprites tomorrow.

If I set CSS Sprites to Yes then the images do not show. (I am on a NGINX system instead of Apache)

scottct1 04-25-2012 07:12 PM

Quote:

Originally Posted by scottct1 (Post 2323466)
If I set CSS Sprites to Yes then the images do not show. (I am on a NGINX system instead of Apache)

Nevermind? I figured they are working now with Sprites on... I had to clear XCACHE to get the Sprites to show. :)

Gn_Snake 04-26-2012 06:32 PM

Hi,
i have installed this new version but i see nothing in postbit.
I use Vb4.1.12

nhawk 04-26-2012 08:16 PM

Quote:

Originally Posted by Gn_Snake (Post 2323816)
Hi,
i have installed this new version but i see nothing in postbit.
I use Vb4.1.12

Did you do this and if this wasn't an upgrade make a new post?

Quote:

NOTE 1: If you are upgrading from version 1.0.0 or 1.0.1 to 1.0.2 or higher the usergroup options have changed. You MUST go into ACP->Settings->Options->OS/Browser Display Settings and select which usergroups CAN view the OS/Browser icons.

NOTE 2: The icons only display in new posts. There is no way to get the OS/Browser used for old posts.

Gn_Snake 04-27-2012 10:51 AM

I made a new post and I have enabled the user group to view, but nothing.

The previous version worked....

???
Thanks

nhawk 04-27-2012 02:37 PM

Quote:

Originally Posted by Gn_Snake (Post 2324000)
I made a new post and I have enabled the user group to view, but nothing.

The previous version worked....

???
Thanks

Try changing 'Use CSS Sprites' to 'No' to see if that works.

If it does, then your server cache needs to be cleared.

If it doesn't and you want me to look at it, send me a temporary username and password for your admin.

Gn_Snake 04-28-2012 12:30 PM

Yeah now Work!!...but how do i clean the cache of the server?

nhawk 04-28-2012 07:24 PM

Quote:

Originally Posted by Gn_Snake (Post 2324293)
Yeah now Work!!...but how do i clean the cache of the server?

It all depends on what caching system you're using. The only cache system I use is xcache and that has an admin panel where you can clear the cache.

The absolute easiest way to do this would be to set the system back to use sprites and then re-boot or restart the server.

tidus78 05-01-2012 08:51 AM

Uh don't works for my 4.1.2...

Tried suggestions over but nothing,I have a custom postbit legacy is this the problem?

nhawk 05-01-2012 09:57 AM

Quote:

Originally Posted by tidus78 (Post 2325169)
Uh don't works for my 4.1.2...

Tried suggestions over but nothing,I have a custom postbit legacy is this the problem?

It could be the problem. If it doesn't include the proper posbit hooks this will not work.

Megaboost 05-01-2012 06:37 PM

Works Great with 4.1.12 but would be nice to have a header above Images. Superb Hack! Voted for MOTM. Awesome!

adambloch 05-01-2012 11:18 PM

I get a little problem when the I install the XML... It takes ages for it to install and when it has there is no OS in the settings... I'm on 4.1.10 pl1. It does let me unistall it and that seems to take forever..

Many thanks

Adam

hiepsi@ 05-02-2012 09:33 AM

4.1.9 no work :( plz help

hiepsi@ 05-02-2012 09:50 AM

working . :D
-> install
-> new post
-> working .

nhawk 05-02-2012 10:04 AM

Quote:

Originally Posted by adambloch (Post 2325363)
I get a little problem when the I install the XML... It takes ages for it to install and when it has there is no OS in the settings... I'm on 4.1.10 pl1. It does let me unistall it and that seems to take forever..

Many thanks

Adam

It does work with vB 4.1.10.

I don't understand what you mean by there is no OS in the settings.


All times are GMT. The time now is 09:19 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01392 seconds
  • Memory Usage 1,838KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (21)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete