Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
[HowTo] Store USERAGENT and ALTIP in posts Details »»
[HowTo] Store USERAGENT and ALTIP in posts
Version: 1.00, by Floris Floris is offline
Developer Last Online: Mar 2021 Show Printable Version Email this Page

Version: 3.0.0 Rating:
Released: 01-04-2004 Last Update: Never Installs: 19
 
No support by the author.

/*

[HowTo] Store USERAGENT and ALTIP in posts


# version
version 1.1 for vBulletin version 3.0.0 Release Candidate 1

# author
by floris (
http://www.vBulletin.nl/)

# credits
Thank you Kier for pointing me into the right direction


# description
This source code modification will store the
browser USERAGENT string and the ALT IP (behind proxy)
with each post made.Users with permission to view
the IP in a post, will now also see this string

# disclaimer
Nobody has permission to distribute or translate
this source code modification

*/

Show Your Support

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

Comments
  #12  
Old 05-09-2004, 05:45 AM
neocorteqz's Avatar
neocorteqz neocorteqz is offline
 
Join Date: May 2002
Location: Barefoot Bay Fl
Posts: 473
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

heh. just missing something in the code. for the postbit_ip template

this code

HTML Code:
<if condition="$show['ip']">
   	$vbphrase[ip]: $post[ip]
   <else />
 	<a href="postings.php?$session[sessionurl]do=getip&amp;p=$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_button]/ip.gif" alt="$vbphrase[ip]" title=" IP: $post[ip] 
    Alt IP: $post[altip] 
    Agent: $post[useragent] " border="0" />
   </if>
is missing a </a>

should be

HTML Code:
<if condition="$show['ip']">
   	$vbphrase[ip]: $post[ip]
   <else />
 	<a href="postings.php?$session[sessionurl]do=getip&amp;p=$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_button]/ip.gif" alt="$vbphrase[ip]" title=" IP: $post[ip] 
    Alt IP: $post[altip] 
    Agent: $post[useragent] " border="0" /></a>
   </if>
Nothing major, just cased the Img to have an underline underneath it.
Reply With Quote
  #13  
Old 05-11-2004, 05:38 PM
pablo pablo is offline
 
Join Date: Apr 2002
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

cheers floris ,
how about getting this for WOL too ?

I've recently had a few trolls using a college proxy, your hack helped me catch them !
Reply With Quote
  #14  
Old 05-13-2004, 03:03 AM
Aurous Aurous is offline
 
Join Date: Apr 2004
Posts: 138
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is it possible to store the ALT IP when user logs in? That way I will have the ALT IP of all users even if they dont post a message. Can someone please direct me on how to work around with this?
Reply With Quote
  #15  
Old 05-14-2004, 08:21 PM
ZeroZone ZeroZone is offline
 
Join Date: Jan 2004
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Could you please add an option in the "Search IP Address" that allows admins search for ALT IP?
Reply With Quote
  #16  
Old 05-14-2004, 10:48 PM
Jujimufu's Avatar
Jujimufu Jujimufu is offline
 
Join Date: Apr 2003
Location: Magicant
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Whoo, I guess I am good at following instructions / The hack works great! Thanks a lot Floris.
Reply With Quote
  #17  
Old 05-16-2004, 01:28 AM
ethics ethics is offline
 
Join Date: Feb 2002
Posts: 104
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

[QUOTE=floris]/*

[font=Courier New][HowTo] Store USERAGENT and ALTIP in posts


# version
version 1.1 for vBulletin version 3.0.0 Release Candidate 1
Not doing anything for the anonymizer. Lists it as a regular IP.
Reply With Quote
  #18  
Old 06-12-2004, 10:53 AM
kall's Avatar
kall kall is offline
 
Join Date: Apr 2004
Location: New Zealand
Posts: 2,608
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Absolutely flawless install on 3.0.1.

Easy to follow instructions, not one 'line not found error' in Editplus.

/me clicks install
Reply With Quote
  #19  
Old 10-17-2004, 09:46 PM
crd crd is offline
 
Join Date: Aug 2004
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

We have a troll jumping from proxy to proxy. We know it is him because he creates new accounts and the username always has a sig string in it. I see how this hack could help people who are using unrelated names for new accounts. But we know who our guy is. We can't just keep banning proxy ip's. I already tried miserable user on him. He just (I assume) deleted his cookies and created another new account. Banning free email addies is not an option. Any ideas?
Reply With Quote
  #20  
Old 01-23-2005, 07:15 PM
dwh's Avatar
dwh dwh is offline
 
Join Date: Feb 2002
Posts: 278
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Adding a field to the post table. Expensive. I wish there was another way to do this.
Reply With Quote
  #21  
Old 05-18-2005, 11:46 PM
Captain Nemo's Avatar
Captain Nemo Captain Nemo is offline
 
Join Date: Jan 2003
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It work! Thanks!
Reply With Quote
Reply


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 07:28 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07024 seconds
  • Memory Usage 2,302KB
  • Queries Executed 25 (?)
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
  • (2)bbcode_html
  • (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
  • (1)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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