PDA

View Full Version : Detailed Logging of Usergroup Changes in AdminCP 1.01


N9ne
04-11-2003, 10:00 PM
// Log Usergroup Changes in AdminCP
-- // A hack by N9ne, Created on 12th April 2003
-- // Copyright N9ne 2003+

// Description
-- // This hack will add a page to your adminCP where
a detailed log of usergroup changes made through
the adminCP are shown. Details that are shown:

- Userid of user changed
- Username of user changed
- Previous Usergroup
- New Usergroup
- Time of Change
- Changer's userid
- Changer's username

A link to the usergroup changes page is put in the 'Users' Category in the adminCP navigation.

// What needs to be done to install this hack
-- // Creation of one table in Database
-- // Some modification to admin/user.php
-- // A modification to admin/index.php

// Side Note
-- // I requested this hack a few months ago, and no one made it. A few people replied, but no one made it. I was in desperate need of it ;). Xenon replied, and I can't remember it exactly, but it was some 'other' way to do things, but it wasn't what I wanted, so Xenon, if you are reading this, remember, I made this request, and now I'm making it myself :D. Hehe I think this is the first time I'm answering one of my own requests!

// Change Log
-- // 1.01 - Instructions fixed - 2 occurances of same code in find in user.php

N9ne
04-12-2003, 03:42 PM
Screenshot.

Intex
04-12-2003, 04:33 PM
Nice1 N9ne. /me has added it to install list :).

Boofo
04-12-2003, 04:44 PM
This code appears twice in the file. Which one do we use?

echo "<p>You did not give this user an username</p>";
exit;
}

Zelda-King
04-12-2003, 05:01 PM
For some reason I'm not seeing anything listed in the headings. See attached;

EDIT: Today at 06:38 PM Boofo said this in Post #4 (https://vborg.vbsupport.ru/showthread.php?postid=381091#post381091)
This code appears twice in the file. Which one do we use?

echo "<p>You did not give this user an username</p>";
exit;
} I used the first. I will try the second...

EDIT: The second occurance gives me a database error.

Boofo
04-12-2003, 05:17 PM
You won't see anything until after you change someone now. It goes by the new query.

Zelda-King
04-12-2003, 05:19 PM
But I did change someone... several times.

Vb-Hispano
04-12-2003, 06:23 PM
is lol

N9ne
04-12-2003, 07:10 PM
Zelda-King: Make sure you ran the query, check in your DB to see if the table was actually created.

Vb-Hispano: Please don't spam in this thread (or anywhere on the forum really =/)

Boofo: It's the second occurance. I updated instructions to avoid confusion, I never realised that there were two exact same occurances, sorry about that :).

Zelda-King
04-12-2003, 07:43 PM
The table was created. Yes!

N9ne
04-12-2003, 07:45 PM
Are there any entries in the table?

Zelda-King
04-12-2003, 07:47 PM
No. It says 0 rows.

N9ne
04-12-2003, 07:57 PM
ZeldaKing, I just re-installed the hack on an unhacked vBulletin, and it works absolutely perfectly, with the instructions provided in the first post. Therefore there's something wrong on your end.

Please try re-installing the hack.

Zelda-King
04-12-2003, 08:03 PM
There is one difference in the vB code from when I upgraded to vB 2.3.0. Looking into it...

N9ne
04-12-2003, 08:28 PM
Let me know how it works out.

empreur76
04-12-2003, 09:25 PM
thx for this hack

N9ne
04-12-2003, 09:29 PM
Please click install empreur :)

ap0c
04-13-2003, 01:27 AM
good hack, thanks

ap0c
04-15-2003, 06:13 PM
Today at 07:21 PM Logik said this in Post #19 (https://vborg.vbsupport.ru/showthread.php?postid=382742#post382742)
Ap0c. Give the hacker support. Click install :)

since it says uninstall, I probably shouldnt click that button ;) Clicked when I posted the first time

Logik
04-15-2003, 10:21 PM
Ap0c. Give the hacker support. Click install :)

Hobbes
04-24-2003, 07:25 AM
hmmm.....but this logs all changes to a profile in the admin cp....

...this is de ja vu..i couldve sworn i've seen this somewhere >.>>>>> on here before O_O