vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   New Posting Features - Append User Agent String to New Threads and Posts (https://vborg.vbsupport.ru/showthread.php?t=185987)

dartho 07-21-2008 10:00 PM

Append User Agent String to New Threads and Posts
 
Description
This add-on will append a user's browser's User Agent String to new posts/threads.

Version Information
0.0.1 - Initial Release
0.0.2 - Added ability to only append User Agent Sting to posts/threads in specified forums.
0.0.3 - Fixed bug where previewing a post adds UA multiple times
0.0.3c - Fixed possible HTML injection vulnerability

Options
You can optionally configure it to append alternative text or BBCode (Such as IMG tags) rather than the literal User Agent String for specific User Agent Strings (or parts of).

You can configure it to not appended anything under certain styles

You can change the way the string is displayed with BBCode

(0.0.2) You can specify to only append User Agent String to posts/threads in specific forums.

Limitations
1. The User Agent String (or alternative BBCode/Text) is appended to the post text itself. There is nothing to stop the user from then editing the post and removing it. As such it will also show by default when quoted.

2. Turning the add-on OFF will not stop the display of User Agent Strings for past posts, it will only stop new posts/threads having it appended.

The upside of these is that there are no additional queries added to display this.


Screen Shots
https://vborg.vbsupport.ru/attachmen...7&d=1216700936

bxbigt 07-22-2008 04:46 AM

Sweet!!!

M-Tuning 07-22-2008 09:58 AM

Nice!

digicom 07-24-2008 07:00 AM

thanks installed :up:

GreasySpoon 07-24-2008 07:47 AM

Is it possible to configure it just for special forums, not for all?

Q-v-n-s-Q 07-24-2008 08:20 AM

perfect, thanks

dartho 07-24-2008 10:02 AM

Quote:

Originally Posted by GreasySpoon (Post 1582910)
Is it possible to configure it just for special forums, not for all?

Yes you could do that buy editing the plugins for this addon and adding another conditional based on the forum ID. I can see value in this - I'll look into making it a feature. Would be especially good in say a 'site problems' forum so you can see exactly what browser is causing people issues....

GreasySpoon 07-24-2008 01:25 PM

Quote:

Originally Posted by dartho (Post 1582984)
Would be especially good in say a 'site problems' forum so you can see exactly what browser is causing people issues....

Yes, this is exactly the reason why i have asked for this feature ;)

dartho 07-25-2008 03:04 AM

I've now added the ability to specify forums in which the User Agent String will be appended to posts.

GreasySpoon 07-25-2008 02:59 PM

Quote:

Originally Posted by dartho (Post 1583544)
I've now added the ability to specify forums in which the User Agent String will be appended to posts.

Great, thank you. I will give it a try.


All times are GMT. The time now is 06:26 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.01044 seconds
  • Memory Usage 1,733KB
  • 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_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
  • (10)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