vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   ipInfo -- Extra user IP information (https://vborg.vbsupport.ru/showthread.php?t=96834)

Zachariah 09-30-2005 03:42 PM

Changelog:

1.1
- Added option If the user that posts is a guest use the old standard VB IP info page.
- To upgrade replace postbit_ip template with new code.
-------------------------------------------------------*/

Boofo 09-30-2005 04:11 PM

Where's the file?

ippocrate 09-30-2005 04:25 PM

Quote:

Originally Posted by Boofo
Where's the file?

I don't see the file. Have you remove it? Problems?

Zachariah 09-30-2005 04:42 PM

Quote:

Originally Posted by Boofo
Where's the file?

Opps? lol - updated

1.0 to 1.1

The basic is:

Template: postbit_ip:

== REPLACE WITH: ================================================== =======
Code:

<if condition="$show['ip']">
        $vbphrase[ip]: $post[ip]
<else />
<if condition="$post['userid'] > 0">
<a href="ipinfo.php?$session[sessionurl]p=$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_button]/ip.gif" alt="$vbphrase[ip]" title="$post[ip]" border="0" /></a>
<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="$post[ip]" border="0" /></a>
</if>
</if>

I placed an option to show the old VB style page if a guest posts.

Reason:

Quote:

Originally Posted by WNxWakko
I found a major problem on this mod. When you click the IP on an unregistered user who posted in a forum it takes minutes to load and the reason is, after its done loading it generates what seems to be hundreds of IP's under the All IP's for this user. Im assuming it pulls all ips for the name unregistered user.

Can you modify this so it wont pull any additional IP's for unregistered posts?


XtremeOffroad 09-30-2005 06:00 PM

Great work
Clicks Install

WNxWakko 10-01-2005 12:00 AM

oh thank you very much. Works perfectly.

imported_magjr 10-03-2005 12:06 AM

haha I have a contest where I pay 100.00 cash, I'm amazed and saddened at the number of people who created fake names and voted for themselves.

*clicks install*

Zachariah 10-03-2005 12:46 AM

Quote:

Originally Posted by imported_magjr
haha I have a contest where I pay 100.00 cash, I'm amazed and saddened at the number of people who created fake names and voted for themselves.

*clicks install*

Glad to hear it worked for you.
It sucks people are not honest. :ermm:

cmiller1014 10-03-2005 01:48 AM

Quote:

Originally Posted by WNxWakko
When I try to import product I get this,


Warning: xml_get_error_code(): 18 is not a valid XML Parser resource in \includes\class_xml.php on line 276

Warning: xml_get_current_line_number(): 18 is not a valid XML Parser resource in \includes\class_xml.php on line 266

Question: I have a major problem with people registering with false info and then accessing restricted info that is only meant for certain usergroups. These individuals arent worried about posting, but instead access info that isnt meant for them. I try to audit accounts on a weekly basis but the default VB admin doesnt give me much to work with.

Will your hack help with this? Keep in mind these people use false info to sign up so that they can access info that is meant ONLY for other users.

WNxWakko 10-03-2005 01:53 AM

Quote:

Originally Posted by imported_magjr
haha I have a contest where I pay 100.00 cash, I'm amazed and saddened at the number of people who created fake names and voted for themselves.

*clicks install*


That is why I have my board setup so members cant vote on polls until they have been a member for 30days. :)

Zachariah 10-03-2005 02:17 AM

Quote:

Originally Posted by cmiller1014
Question: I have a major problem with people registering with false info and then accessing restricted info that is only meant for certain usergroups. These individuals arent worried about posting, but instead access info that isnt meant for them. I try to audit accounts on a weekly basis but the default VB admin doesnt give me much to work with.

Will your hack help with this? Keep in mind these people use false info to sign up so that they can access info that is meant ONLY for other users.


This hack gets it's info from post IP's.

add this to your Admin Tools also :)
https://vborg.vbsupport.ru/showthread.php?t=91633

Avalon111 10-03-2005 05:10 AM

Quote:

Originally Posted by Zachariah
So basicly every user's post ip must be reset. This hack looks @ the IP recorded on each post. If all your posts have the same IP then we could Null the posts that are currently on you forum to "enpty or blank" value and all the new posts will be ok.

Code:

UPDATE `post` SET `ipaddress` = '' WHERE `ipaddress` ='xxx.xxx.xxx.xxx';
xxx.xxx.xxx.xxx fill in the IP you want to remove.

thank you!
but where do i have to add this code?

***edit***
i got it. its ans sql command

anyone knows where the registration ip adresses were stored? i need do clear this ip there too.

Zachariah 10-03-2005 02:03 PM

Quote:

Originally Posted by Avalon111
thank you!
but where do i have to add this code?

***edit***
i got it. its ans sql command

anyone knows where the registration ip adresses were stored? i need do clear this ip there too.

Code:

UPDATE `user` SET `ipaddress` = '' WHERE `ipaddress` ='xxx.xxx.xxx.xxx';
The next time the member looks @ your site "loged in" the site will update their new IP.

Avalon111 10-03-2005 03:14 PM

Quote:

Originally Posted by Zachariah
Code:

UPDATE `user` SET `ipaddress` = '' WHERE `ipaddress` ='xxx.xxx.xxx.xxx';
The next time the member looks @ your site "loged in" the site will update their new IP.

thank you!! worked!

cmiller1014 10-04-2005 04:42 AM

Quote:

Originally Posted by Zachariah
This hack gets it's info from post IP's.

add this to your Admin Tools also :)
https://vborg.vbsupport.ru/showthread.php?t=91633

Good stuff! Thank you :)

glorify 10-04-2005 04:28 PM

Thank you. A must for a sports fan site :)

Keyser S?ze 10-04-2005 06:28 PM

what about adding the feature that tells u if the users IP is based off a proxie, and maybe if possible telling their real IP

Zachariah 10-04-2005 06:58 PM

Quote:

Originally Posted by Keyser S?ze
what about adding the feature that tells u if the users IP is based off a proxie, and maybe if possible telling their real IP

I'll talk to Paul M, he coded "real IP" hack vs. proxy and see what I can do.

csidlernet 10-05-2005 02:34 AM

thanks!!!
/me installs

Oblivion Knight 10-15-2005 06:08 AM

What an incredibly useful tool.! Installed and running flawlessly.. :D

Andyrew 10-15-2005 07:54 AM

Thanks, installed works great.

RobK 10-19-2005 03:30 PM

Nice work, but my mysql-server needs a long to query's the database 1200k+ posts). would ne nice to limit the number of total showed ip to XX month oder XX posts.

Zachariah 10-19-2005 05:24 PM

Quote:

Originally Posted by RobK
Nice work, but my mysql-server needs a long to query's the database 1200k+ posts). would ne nice to limit the number of total showed ip to XX month oder XX posts.

Good idea I'll poke around w/ the code.

RobK 10-19-2005 05:35 PM

Quote:

Originally Posted by Zachariah
Good idea I'll poke around w/ the code.

Sounds nice, I'm looking forward to the new release :)

Zachariah 10-23-2005 07:09 PM

Shameless Plug

HOTM ? - Perhaps ?
https://vborg.vbsupport.ru/showthread.php?t=98444

ipInfo -- Extra user IP information :rolleyes:

The VB3.0 Ver. made by Jordeh has 202 Installs.

I have a lot of use out of this. Thanks Jordeh.

SnowBot 10-31-2005 06:22 AM

Works greak, thanks very much

RobK 10-31-2005 06:37 AM

well, there are still different bugs. i.e. with the rewrite-mod its no longer possible to join 2 threads together in a new one :/

I'll look forward to fix this in the next days ..

Zachariah 10-31-2005 12:09 PM

Quote:

Originally Posted by RobK
well, there are still different bugs. i.e. with the rewrite-mod its no longer possible to join 2 threads together in a new one :/

I'll look forward to fix this in the next days ..

Unsure I understand. Did you post of the wrong thread ? Was this an error in the VB3.0 ver. I missed ?

RobK 10-31-2005 12:20 PM

Uhhh, sorry. Yes I did ;)

mark99 11-01-2005 11:53 AM

Quote:

Originally Posted by Zachariah
Good idea I'll poke around w/ the code.

Managed to find a way of doing this yet? The mod is wonderful, but I'm too scared to install it on my public forum due to how many posts there are =).

Zachariah 11-01-2005 11:36 PM

Quote:

Originally Posted by mark99
Managed to find a way of doing this yet? The mod is wonderful, but I'm too scared to install it on my public forum due to how many posts there are =).

Working on that now ;D

Zachariah 11-04-2005 02:39 AM

https://vborg.vbsupport.ru/external/...chmentid=36995

Changelog:

1.2
- added option to limit how far back to get posts.


AdminCP => vBulletin Options => vBulletin Options => Message Posting and Editing Options
=> IP Info

Down @ the bottem. => Input Days. IE: 60
This will be how far the posts from NOWTIME -> back XX Days.

All IPs for this user - 60 Days

This should put less of a toll on the server.

Add what you want - 30,60,180,365 Days - The 1st ver of this script went to the "start" of all posts. This killed the server w/ a huge load.

Kihon Kata 11-04-2005 03:02 AM

Quote:

Originally Posted by Zachariah
https://vborg.vbsupport.ru/attachmen...chmentid=36995

Changelog:

1.2
- added option to limit how far back to get posts.


AdminCP => vBulletin Options => vBulletin Options => Message Posting and Editing Options
=> IP Info

Down @ the bottem. => Input Days. IE: 60
This will be how far the posts from NOWTIME -> back XX Days.

All IPs for this user - 60 Days

This should put less of a toll on the server.

Add what you want - 30,60,180,365 Days - The 1st ver of this script went to the "start" of all posts. This killed the server w/ a huge load.

What is the best way to update it? Uninstall and reinstall this one?

Zachariah 11-04-2005 03:14 AM

Quote:

Originally Posted by TonysDesigns
What is the best way to update it? Uninstall and reinstall this one?

1)
Import XML-product - over the old one.

2)
upload ipinfo.php over old.

3)
AdminCP => vBulletin Options => vBulletin Options => Message Posting and Editing Options => IP Info
** by default it will be blank - set w/ a value in number of Days. (IE: 60)

The template edit in the readme.txt - you can skip.

Kihon Kata 11-04-2005 04:20 AM

Quote:

Originally Posted by Zachariah
1)
Import XML-product - over the old one.

2)
upload ipinfo.php over old.

3)
AdminCP => vBulletin Options => vBulletin Options => Message Posting and Editing Options => IP Info
** by default it will be blank - set w/ a value in number of Days. (IE: 60)

The template edit in the readme.txt - you can skip.

Thank you very much for the details on how to update this. I worked like a charm!

SnowBot 11-04-2005 06:05 AM

Great update, thanks very much :)

lairnoc 11-04-2005 07:44 AM

this hack works perfect!!!! thanx a lot

Oblivion Knight 11-04-2005 07:46 AM

Flawless upgrade, many thanks.! :)

RobK 11-06-2005 06:27 AM

Thx a lot, my database-server really loves it :)

Sculli 11-06-2005 07:45 AM

I am new at this, and I really don't know what this means:

Code:

## TEMPLATE MODIFICATIONS

Template: postbit_ip:

I know I am using postbit legacy, but I have no idea what file I need to edit and where it is located. Any help would be appreciated.


All times are GMT. The time now is 09:56 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.01668 seconds
  • Memory Usage 1,832KB
  • 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
  • (5)bbcode_code_printable
  • (20)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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