The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
AdminCP: search posts for user and ip.
Greetings!
Looking for a mod the will add a new "search" feature to the "Threads & Posts" section of the AdminCP. Not really a search, but a simple query that finds all posts by user and filters for an IP address. SELECT * FROM post WHERE userid=x and ipaddress=xx.xx.xx.xx --RayJ |
#2
|
||||
|
||||
Are you looking to find the IPs for that user? If that's all you are after, then go to Users > IPs and input the username and it will spit out all the IPs that user has posted under.
|
#3
|
||||
|
||||
Actually I am looking for posts by a user that matches both the userid and an ip address. I already have the Ipinfo mod installed. I have bungled a few queries on the post table ( causing the server to be overloaded for 10+ minutes!), so I hunted through the vB code to find the query they use and modified it thus:
Code:
SELECT postid FROM post AS post INNER JOIN thread AS thread ON(thread.threadid = post.threadid) WHERE post.userid = '' and ipaddress = '' ORDER BY post.dateline DESC or for fewer ip octets : ipaddress like '127.0.0%' --RayJ |
#4
|
||||
|
||||
I have finally tried my hand at creating a mod.
I allows admins to search the post table for ip address and user id. Once I get it debugged (and polished), I may post it! --RayJ |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|