The Arcive of vBulletin Modifications Site. |
|
View Post Icons As Drop-Down Details »»
|
|||||||||||||||||||||||||
Requested At : https://vborg.vbsupport.ru/showthrea...&postid=335209
This hack allows the administrator to change the display of message icons in the post new thread and reply screens so that you select one from a drop-down box as opposed to using radio buttons. A preview image to the right displays the currently selected icon. This can be toggled via the admin control panel and I will post screenshots in a minute. This is designed for vBulletin Version 2.2.9, although that's not a choice on the version field, the script will not run on an older version, although you can override the saftey feature if you really want to install it on a different version. Be sure to run the install script in your admin directory. Edit : Revision 2 is now avilable. This adds the new display for the edit screen and the private message screen. Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
Screenshots :
![]() You can toggle between the two modes of display in the control panel. ![]() Screenshot of the post icon area when you have it set to be a drop-down. The preview image is updated with Javascript. |
|
#3
|
||||
|
||||
|
Looking great, I will add this to my quick reply, with a slight modification to it
![]() Great Job |
|
#4
|
|||
|
|||
|
Awesome hack!
Screenshots look great! I'm loading it to my test board immediately... I'll be back with a report! |
|
#5
|
|||
|
|||
|
uh oh... Problem... My board is a 2.2.8 board...
I hope it works... *ulp* |
|
#6
|
||||
|
||||
|
Erm...?
This is for a 2.2.8 board... ![]() Looks good Won't use it, but great idea!![]() Satan |
|
#7
|
|||
|
|||
|
Ok... I set up a completely new test board to see if it might be backward compatible to 2.2.8...
*crossing fingers* |
|
#8
|
|||
|
|||
|
If you are setting up a new board, you should use 2.2.9 as 2.2.8 has a security hole in it.
It will most likely work with 2.2.8 but you'll have to override the scripts to do so. It's for a 2.2.9 board, I just can't select that as an option. |
|
#9
|
|||
|
|||
|
WOOOO HOOO!!!
So far so good... It works in principle on 2.2.8! One thing... I *think* you made a slight error in your directions in two places... You said that we should find and replace this code: Code:
if ($foruminfo[allowicons]) {
$posticonsdropdown=chooseicons($iconid);
} else {
$posticons="";
}
Code:
if ($foruminfo[allowicons]) {
$posticons=chooseicons($iconid);
} else {
$posticons="";
}
|
|
#10
|
|||
|
|||
|
Good work man! Icons are uploading just perfectly in it!
One quick question... Is there a way to make it so that the drop down icons are sorted in alphabetical order? |
![]() |
|
|