Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons

Reply
 
Thread Tools
Append User Agent String to New Threads and Posts Details »»
Append User Agent String to New Threads and Posts
Version: 0.0.3c, by dartho dartho is offline
Developer Last Online: Oct 2023 Show Printable Version Email this Page

Category: New Posting Features - Version: 3.7.2 Rating:
Released: 07-21-2008 Last Update: 02-24-2009 Installs: 23
Uses Plugins
Is in Beta Stage  
No support by the author.

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

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #32  
Old 01-23-2009, 12:27 PM
CR_TurboGuy CR_TurboGuy is offline
 
Join Date: Feb 2003
Location: Iowa
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, that's fine. Someone else had asked about it in the iPhone optimized skin thread.

--JOsh
Reply With Quote
  #33  
Old 05-19-2009, 12:17 PM
kawzaki kawzaki is offline
 
Join Date: Nov 2005
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

very very very NICE!

I was looking for this hack and was about to create one my self after losing hope to find one already made (could not believe nobody has created it yet, any rational webmaster needs such a good info to track spammers).

my addition is to allow USERGROUPS to view this info,
PHP Code:
<if condition="in_array($bbuserinfo[usergroupid], array(1,3,4))">
This is not a registration or login page and this person is not a fully registered forum member.
</if> 
1,2,3,4 can be specified by the user in the admincp
(if u add a textbox field)

milto grace
Reply With Quote
  #34  
Old 05-19-2009, 11:21 PM
kawzaki kawzaki is offline
 
Join Date: Nov 2005
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Successfully installed and running with vbulletin 3.6.8 and 3.7.5

it works as expected except for one situation in 3.6 that I am trying to understand why..
with 3.7, the problem does not happen.

The code does not append the UA to the message
when the FORUM has (Moderate new Posts/Threads ). that is, new threads or replies need moderator's approval.

Sorry if can't support it, but thought someone could shed a light here while searching..
could it be related to HOOK order ?
Reply With Quote
  #35  
Old 05-20-2009, 02:54 AM
dartho dartho is offline
 
Join Date: Sep 2005
Location: Australia
Posts: 2,303
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sounds like a hook issue. I'd guess that the hooks used aren't called for moderated posts/threads ...
Reply With Quote
  #36  
Old 06-09-2009, 08:16 PM
dancue dancue is offline
 
Join Date: Feb 2008
Posts: 569
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any way I can have this in the postbit_legacy under Location or Join date?
Reply With Quote
  #37  
Old 06-25-2009, 02:00 PM
froglips froglips is offline
 
Join Date: Sep 2008
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Love this mod, one minor question on the version.

I downloaded the 0.0.3c xml file, but the contents of the file show this line:

<version>0.0.3a</version>

Filename is product-ua37-0.0.3c.xml

Thanks,
Jim
Reply With Quote
  #38  
Old 06-25-2009, 09:38 PM
dartho dartho is offline
 
Join Date: Sep 2005
Location: Australia
Posts: 2,303
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The version is an oversight on my behalf - that is the correct file.
Reply With Quote
  #39  
Old 04-01-2010, 04:33 PM
vbreal vbreal is offline
 
Join Date: Dec 2005
Posts: 441
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is there a vb 4.0 version?
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:21 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.07988 seconds
  • Memory Usage 2,277KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (8)postbit
  • (9)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete