Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

Reply
 
Thread Tools
Detailed Logging of Usergroup Changes in AdminCP 1.01 Details »»
Detailed Logging of Usergroup Changes in AdminCP 1.01
Version: 1.00, by N9ne N9ne is offline
Developer Last Online: Jul 2019 Show Printable Version Email this Page

Version: 2.3.x Rating:
Released: 04-11-2003 Last Update: Never Installs: 9
 
No support by the author.

// 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 . 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

Show Your Support

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

Comments
  #2  
Old 04-12-2003, 03:42 PM
N9ne N9ne is offline
 
Join Date: Feb 2002
Posts: 1,495
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Screenshot.
Reply With Quote
  #3  
Old 04-12-2003, 04:33 PM
Intex Intex is offline
 
Join Date: Apr 2002
Posts: 576
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice1 N9ne. /me has added it to install list .
Reply With Quote
  #4  
Old 04-12-2003, 04:44 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This code appears twice in the file. Which one do we use?

PHP Code:
        echo "<p>You did not give this user an username</p>";
        exit;
    } 
Reply With Quote
  #5  
Old 04-12-2003, 05:01 PM
Zelda-King's Avatar
Zelda-King Zelda-King is offline
 
Join Date: Nov 2002
Location: London, England
Posts: 674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For some reason I'm not seeing anything listed in the headings. See attached;

EDIT:
Quote:
Today at 06:38 PM Boofo said this in Post #4
This code appears twice in the file. Which one do we use?

PHP Code:
        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.
Reply With Quote
  #6  
Old 04-12-2003, 05:17 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You won't see anything until after you change someone now. It goes by the new query.
Reply With Quote
  #7  
Old 04-12-2003, 05:19 PM
Zelda-King's Avatar
Zelda-King Zelda-King is offline
 
Join Date: Nov 2002
Location: London, England
Posts: 674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

But I did change someone... several times.
Reply With Quote
  #8  
Old 04-12-2003, 06:23 PM
Vb-Hispano's Avatar
Vb-Hispano Vb-Hispano is offline
 
Join Date: Feb 2003
Location: Barcelona Spain
Posts: 136
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is lol
Reply With Quote
  #9  
Old 04-12-2003, 07:10 PM
N9ne N9ne is offline
 
Join Date: Feb 2002
Posts: 1,495
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 .
Reply With Quote
  #10  
Old 04-12-2003, 07:43 PM
Zelda-King's Avatar
Zelda-King Zelda-King is offline
 
Join Date: Nov 2002
Location: London, England
Posts: 674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The table was created. Yes!
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:50 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.04433 seconds
  • Memory Usage 2,288KB
  • 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
  • (2)bbcode_php
  • (1)bbcode_quote
  • (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
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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