View Full Version : Message Icons for Only Admins or Mods
amykhar
02-06-2003, 10:00 PM
This little hack will allow you to reserve a posting icon for only admins or mods to use. For example, I reserve a tiny flame for admins and mods to mark borderline threads.
It's a 5 second hack, but quite useful.
A screenshot won't do much good for this one. Neither will an example.
amykhar
02-07-2003, 09:42 PM
If the mood strikes, I might create a control panel interface to set the icons to modonly. However, as I only have 1 icon reserved I have no real need for this interface.
Derek
02-07-2003, 10:32 PM
How about a screenshot? Do you mean with the icons that users have when posting new threads?
amykhar
02-07-2003, 10:55 PM
Not sure a screenshot will help much, but here ya go.
Yes, these are the posting or message icons. Not smilies.
empreur76
02-08-2003, 10:44 AM
hello
but where i change modonly to 1 !??
thx
Roody
02-08-2003, 12:42 PM
So let me see if I understand you correctly. This hack basically gives us icons that we can use as Admin/Mods that wouldnt be available to anyone else?
Chris M
02-08-2003, 01:54 PM
@Roody - Yes - I believe that is so:)
Satan
Roody
02-08-2003, 02:23 PM
Thanks Hellsatan, just wanted to be sure. :)
amykhar
02-08-2003, 03:00 PM
Originally posted by empreur76
hello
but where i change modonly to 1 !??
thx
The easiest way is to use phpMyadmin. The query would be UPDATE icon set modonly=1 where iconid=x;
x, of course is the icon that you want to reserve for admins and mods.
Amy
empreur76
02-08-2003, 03:30 PM
scuse me but i don't understand !
i put this via phpmyadmin:
ALTER TABLE `vbulletin`.`icon` ADD `modonly` TINYINT NOT NULL
make the change in function.php !
but after when i'm going in my control panel ( modify icon ) i don't see modonly !?
help
thx
amykhar
02-08-2003, 03:48 PM
It's not in the control panel. You have to do it via phpmyadmin.
Chris M
02-08-2003, 06:37 PM
@amykhar - You might want to change the query to run to:
ALTER TABLE `icon` ADD `modonly` TINYINT NOT NULL
;)
You may also consider creating some Control Panel "radio checkbox" option to make it easier to change:)
Satan
amykhar
02-08-2003, 06:41 PM
OOPS. Thanks for the catch on the query :D I wasn't paying attention when I copied and pasted.
With regards to the control panel, I mentioned above that I might do it in the future. However, it's a trivial thing for me to update it in phpmyadmin and it's not a setting I change often at all.
Amy
Chris M
02-08-2003, 07:02 PM
I suppose:)
Its just a nice little addon:p
Satan
empreur76
02-08-2003, 07:12 PM
ok i make the query but after how i change the icon !
after it's the same for me ( admin or user) i see the same icon
do i have to rename a icon in modonly !?
i really don't understand !!
very thanx for your help
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.