![]() |
Latest Admin Actions on Admin CP Index
Latest Admin Actions on Admin CP Index
Developer: derekivey Version: 1.0.3 (Fixed Several Bugs). vBulletin Version: 3.0.13 File Edits: 1 Template Edits: 0 New Phrases: 1 Difficulty: Easy Description: This hack adds a table on the index of the Admin CP that shows the latest admin actions. It only shows it to super admins, but you can have it show up for regular admins by removing the if statement. It's setup to show the latest 10 actions as default, but you can change that by editing the variable in the code. This hack is for vBulletin 3.0.13. If you are using vBulletin 3.5, use this hack I am still learning php, and will try and help you if you have any problems with this hack. I have added a screen shot of this hack in action below. Please click https://vborg.vbsupport.ru/ If you installed this hack. Thanks! |
Im probably just tired...but for those comming behind me...the sql hes talking about is in the code for the adminCP NOT a query :p (just in case)
It works fine on 3.0.7 incedentally ;) *Installed |
Yeah, sorry if I wasn't clear lol.
|
Thank you for sharing your work. If you would make the following change, it would be more compliant to how vB handle queries, and a table prefix would automatically be use:
Old: PHP Code:
[php]$sql = "SELECT * FROM " . TABLE_PREFIX . "adminlog ORDER BY adminlogid DESC LIMIT $number_of_actions"; $sqlr = $DB_site->query($sql); while($sr = $DB_site->fetch_array($sqlr)) { /[php] |
Thanks,
I just got vBulletin, so I still need to figure all of this stuff out. I will change it to that for the next release of this mod. I also want to try to convert the userid to the username, but not sure how yet. Derek |
Updated hack to version 1.0.1. The only change in it is, it is more complient with vBulletin, I made the changes Marco suggested.
|
Good hack!
|
Thanks :)
|
Ok, I have updated this mod to version 1.0.2. I added an extra query to show the username of the admin instead of the userid. If anyone has any problems with it let me know.
Derek |
Hack updated to fix a few bugs. Please see the txt file on how to upgrade.
|
All times are GMT. The time now is 08:41 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|