![]() |
Username & Post Decorations Hack
This hack was an old idea I had a long time ago that I kind of made a hack for, but it was kinda messed up.
What this hack does is allow usernames to be of different colors, with backgrounds and borders on the names. This also works for posts. The hack is done for an actual post, and includes instructions on how to make the decorated name in the Memberlist and on the thread listing. It is also controlled through the Admin CP. Installing this hack requires 2 New tables (created and populated by a script) 2 New Files 3 File Edits (Optional 5) 3 New Templates 1 Template Edit (Optional 3) It is relatively easy, nothing too confusing. I will provide as much support as I can. This should work for newer versions, but I'm not positive if it does. I will post 4 screenshots, 1 of the new posts, 1 of the Admin CP, 1 of the thread listing, and 1 of the Memberlist. Good luck and have fun! [5/9] A few bugs fixed, zip updated [7/8] Zip updated to possibly fix install |
Screenshot of the actual posts
|
Screenshot of the Admin CP
|
Screenshot of the Thread Listing
|
Screenshot of the Member List.
That's all, have fun! |
On step 3:
// do ip adresses should be: // do ip addresses :) |
I installed it but no matter who changes "their" colors, it changes everyones.
If I choose my colors etc for my username, everyones username will appear like that |
Fixed it...
************ ** Step 3 ** ************ Edit the file admin/function.php Find the following line: // do ip adresses And add before it: global $DB_site; $custom = $DB_site->query_first("SELECT * FROM custom WHERE userid=$bbuserinfo[userid]"); Save the file and upload it to your admin folder. SHOULD BE: ************ ** Step 3 ** ************ Edit the file admin/function.php Find the following line: // do ip addresses And add before it: global $DB_site; $custom = $DB_site->query_first("SELECT * FROM custom WHERE userid=$post[userid]"); Save the file and upload it to your admin folder. |
I rewrote a little bit of it to do this...
1.) Users to change there colors, etc via the "Edit Profile" 2.) Admins can view/edit each users Colors via the Admin CP. 3.) Few bugs I found fixed With the authors permission I will post it. |
Quote:
Yes, please post the stuff. I can login to phpMyAdmin so doing the 2nd thing was useless for me. I'll fix the zip file to change the instructions for the bug fixes, thanks guys. |
All times are GMT. The time now is 01: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:
|