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 03-29-2012 10:00 PM

OS/Browser Display in Postbits
 
No longer available on vB.org.

nhawk 03-30-2012 05:08 PM

Any requests for new operating systems or browser types, or requests for corrections should include a complete useragent string from your server logs.

Any request without that will not be added or corrected.

SAMPLE USERAGENT:
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.142 Safari/535.19

Nirjonadda 03-30-2012 05:31 PM

Installed working on 4.1.10......you can try to add this Postbit: Display Location?

nhawk 03-30-2012 05:33 PM

Quote:

Originally Posted by Nirjonadda (Post 2315113)
Installed working on 4.1.10......you can try to add this Postbit: Display Location?

I don't understand what you mean by 'Display Location'.

Do you mean where the member is located, or where the icons should be displayed in the postbit?

Nirjonadda 03-30-2012 05:42 PM

yes....where the icons should be displayed in the postbit?

nhawk 03-30-2012 06:02 PM

Quote:

Originally Posted by Nirjonadda (Post 2315122)
yes....where the icons should be displayed in the postbit?

There aren't many places that they can go, but I'll have a look at it.

wally07 03-30-2012 07:12 PM

installed, 5 star'ed and nominated for MOTM :)

home9000 03-30-2012 08:13 PM

Can we have this Hack for 3.8 ?

nhawk 03-30-2012 08:14 PM

Quote:

Originally Posted by home9000 (Post 2315166)
Can we have this Hack for 3.8 ?

Other than bug fixes, I am no longer coding for vB 3.x.

Krusty1231 03-30-2012 08:18 PM

Did not work until I made a post after install. Just in case no one see's any changes immediately after install.

Any change I can get this centered?

Installed and Voted.

Thanks for this.

nhawk 03-30-2012 08:35 PM

Quote:

Originally Posted by Krusty1231 (Post 2315169)
Did not work until I made a post after install. Just in case no one see's any changes immediately after install.

Any change I can get this centered?

Installed and Voted.

Thanks for this.

That is correct. Only new posts will get the OS and Browser information. There's no way to go back in history to get the OS and Browser for old posts.

I'll look into centering with the next release. But, that may be a while depending on what feedback is received here.

Trevor Matthews 03-30-2012 08:53 PM

Excellent.
Rated 5 and nominated.
Many thanks.

Taurus1 03-30-2012 11:04 PM

Works great on 4.1.10. Thank you very much. I would also like to be able to move it to a different place in the postbit. And also have the option to center it. That would be awesome!

iask 03-31-2012 05:03 AM

Nice work ;)
nominated for MOTM

erosolmi 03-31-2012 06:21 AM

Installed and nominated MOTM

Skyrider 03-31-2012 07:33 AM

Would be nice to have the code to manually place the (where it'll display) in the template. But other than that.. installed!

Kraxell 03-31-2012 08:14 AM

Maybe the coder can make a variable for manual template-adding.

Does this mod make a high traffic or loadtime?

nhawk 03-31-2012 09:57 AM

Quote:

Originally Posted by Kraxell (Post 2315301)
Maybe the coder can make a variable for manual template-adding.

Does this mod make a high traffic or loadtime?

This mod adds one write query when a post is made. Other than that, no added queries are made. So, there is no significant increase in load time.

UKCE_Hitman 03-31-2012 10:33 AM

thanks works great..Installed

rhody401 03-31-2012 10:47 AM

Great idea!

It didn't work for me though, in 4.1.11

I am using postbit.legacy

Do I need to make changes to the template, too? All I did was upload the icons folder and install the xml

Are administrators perhaps exempt from displaying?

nhawk 03-31-2012 10:56 AM

Quote:

Originally Posted by rhody401 (Post 2315325)
Great idea!

It didn't work for me though, in 4.1.11

I am using postbit.legacy

Do I need to make changes to the template, too? All I did was upload the icons folder and install the xml

Are administrators perhaps exempt from displaying?

It should work with postbit.legacy (considering that's what is shown in the screenshot, and the screenshot is from vB 4.1.11). :)

Did you make a post after installing? There's no way for old posts to get the OS and Browser that was used when they were made.

rhody401 03-31-2012 11:09 AM

Thanks for the quick reply!

Yes I made multiple posts, and before doing so I went into the settings option and set everything to YES.

rhody401 03-31-2012 11:11 AM

I also tried posting with css sprites on and off.

nhawk 03-31-2012 11:13 AM

Quote:

Originally Posted by rhody401 (Post 2315335)
I also tried posting with css sprites on and off.

If you are willing to let me look at it, send me a PM with a temporary admin password with the URL to your site. Something must be different about your settings or styles.

Doctor Death 03-31-2012 11:30 AM

This works great and instantly on my 4.1.11.

For those who wondered, it works well with eTiKeT™ 2011 Posbit_legacy - Postbit mod.

The one thing it doesnt do is retain the background from the above mod... it is white instead of transparent. If you would like to look at this I can provide temporary credentials into my site.

Not to be the good-idea guy, but if you could add an option to "box it", another to center it, and another to put a title on it (like the MY SOCIAL NETWORKING mod). I do like the idea also of being able to place it somewhere else in the postbit.

Thanks for a great mod.

nhawk 03-31-2012 11:39 AM

Quote:

Originally Posted by Doctor Death (Post 2315343)
This works great and instantly on my 4.1.11.

For those who wondered, it works well with eTiKeT? 2011 Posbit_legacy - Postbit mod.

The one thing it doesnt do is retain the background from the above mod... it is white instead of transparent. If you would like to look at this I can provide temporary credentials into my site.

Not to be the good-idea guy, but if you could add an option to "box it", another to center it, and another to put a title on it (like the MY SOCIAL NETWORKING mod). I do like the idea also of being able to place it somewhere else in the postbit.

Thanks for a great mod.

If you could let me take a look I'd appreciate it because the images used in this mod do have a transparent background and shouldn't display as white.

rhody401 03-31-2012 11:50 AM

I have a modification to the .htaccess file (from do_not_upload folder), and am using mod rewrite friendly URLs.

example: http://www.mydomain.com/threads/425-...=2510#post2510

The site is also installed in the root, not in a sub folder. ex: www.mydomain.com not www.mydomain.com/forum/

www.mydomain.com/images/osbrowsericons/ is the true path (vs www.mydomain.com/threads/images/osbrowsericons/ virtual path)

I bet it has something to do with finding the full path, or assuming it to be the same as the rewritten url.

If you want to take a look, i'm fine with that, but I just wanted to run the above by you first; as a possibility.

General comment: The UNKNOWN LOCATION errors in the whos online problem I was having previously were due to it looking in the virtual path, rather than the actual. I fixed that one by changing the FAVICON variable to have the full path instead of just the filename. I guess it reads the "base path" as the virtual.

nhawk 03-31-2012 11:59 AM

Quote:

Originally Posted by rhody401 (Post 2315356)
I have a modification to the .htaccess file (from do_not_upload folder), and am using mod rewrite friendly URLs.

example: http://www.mydomain.com/threads/425-...=2510#post2510

The site is also installed in the root, not in a sub folder. ex: www.mydomain.com not www.mydomain.com/forum/

www.mydomain.com/images/osbrowsericons/ is the true path (vs www.mydomain.com/threads/images/osbrowsericons/ virtual path)

I bet it has something to do with finding the full path, or assuming it to be the same as the rewritten url.

If you want to take a look, i'm fine with that, but I just wanted to run the above by you first; as a possibility.

General comment: The UNKNOWN LOCATION errors in the whos online problem I was having previously were due to it looking in the virtual path, rather than the actual. I fixed that one by changing the FAVICON variable to have the full path instead of just the filename. I guess it reads the "base path" as the virtual.

Did someone tell you to upload that file?

In any case, that might be the problem and I would have to look at your site to see exactly what is going on.

rhody401 03-31-2012 01:12 PM

Thank you for taking a look. I really appreciate it!

Robru 03-31-2012 03:58 PM

Very nice for SysOps :) Thanks!

nhawk 03-31-2012 04:05 PM

For everyone's benefit, rhody401's problem is fixed.

Since it doesn't seem to be a common problem, I will wait until sometime next week to release an update. I may or may not include some of the suggestions with that update. It all depends on the time I have available to include them.

rhody401 03-31-2012 04:07 PM

The level of support you provided to troubleshoot this was nothing short of award worthy! :)

Thank you for the plugin, and for being such a nice person/providing extensive assistance with it :up:.

Rhody

wally07 03-31-2012 04:19 PM

hello nhawk,

How do I go about looking at my server logs to find the string to a certain browser? A small group of my users are using Pale Moon (an optimized Firefox-based browser.)

Thanks in advance.

edit:
I should mention that the Pale Moon users are showing up as Firefox users.

nhawk 03-31-2012 04:34 PM

Quote:

Originally Posted by wally07 (Post 2315433)
hello nhawk,

How do I go about looking at my server logs to find the string to a certain browser? A small group of my users are using Pale Moon (an optimized Firefox-based browser.)

Thanks in advance.

edit:
I should mention that the Pale Moon users are showing up as Firefox users.

Server access logs could be located in the /var/log/httpd or /var/log/access folders on your server. It all depends on your server configuration.

As an alternate, while someone that uses that browser is online go to the 'Who's Online' and change 'User Agent' to 'Yes'. Then click Display.

If the complete useragent is shown, that will do for my purposes.

ptceuro 03-31-2012 05:07 PM

wow, thats an awesome tutorial, thanks so much!!

faisaly.com 03-31-2012 08:19 PM

Working on vb4.1.3 after installing and making a new post... I will try to do a maintenance and see if it posts the OS display to older posts made...Thanks for this mod....

CharlieDelta 03-31-2012 10:24 PM

Excellent mod. Excellent support.
5 star rated!

Doctor Death 04-01-2012 01:45 AM

Nominated Mod of the Month. Really nice to see a developer who is in tune with users.

HHelp1 04-01-2012 03:34 AM

Is there any way i can put those icons under the postbit? I dont want it in middle postbit like this https://vborg.vbsupport.ru/ i want those display under my postbit. Thanks a lot!

nhawk 04-01-2012 09:21 AM

Quote:

Originally Posted by faisaly.com (Post 2315495)
Working on vb4.1.3 after installing and making a new post... I will try to do a maintenance and see if it posts the OS display to older posts made...Thanks for this mod....

It will not put the information in old posts. There is no way to obtain the OS and Browser used when the old posts were made.


All times are GMT. The time now is 06:42 AM.

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.01403 seconds
  • Memory Usage 1,819KB
  • 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
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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