![]() |
|
Mod Options |
![]() |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||
Post Icons - drop down list (good for lots of icons!)
![]() Developer Last Online: Jun 2020 ![]() ![]() ![]() This modification is in the archives.
This hack will put all the post icons into a dropdown list instead, which will save lots of space especially if you have lots of post icons available (or WANT to have a lot of post icons available
![]() Look at attached screenshot to see how it looks like ![]() If you have a suggestion, let me know! ![]() Anyways, here we go ![]() Please make sure that all your icons have a title because this title will be shown in the dropdown menu! Otherwise it will be blank; it will still work and people can select it, but it doesn't help in knowing what the icon will show ![]() Instructions Open up includes/functions_newpost.php and find
Replace with
Find:
Below, add
Find:
Below, add
Open up posticons template and find
Replace it with
Find
Above, add
Create a new template called posticon_dropdown with the following content:
All done! ![]() I hope you enjoy this hack ![]() Download Now Only licensed members can download files, Click Here for more information. Screenshots Show Your Support
No members have liked this post.
|
Comments |
#2
|
|||
|
|||
how much good is this if it doesnt show the actual icons in the list?
No members have liked this post.
|
#3
|
||||
|
||||
If someone has the Javascript where I can display the image depending on the value selected, then I would be more than happy to add it in
![]() No members have liked this post.
|
#4
|
|||
|
|||
I dont think its possible with regular drop down menu's... Maybe its possible to use one of those vb3 dropdown menu's?
No members have liked this post.
|
#5
|
||||
|
||||
Nevermind I got it
![]() ![]() No members have liked this post.
|
#6
|
||||
|
||||
Okay updated
![]() No members have liked this post.
|
#7
|
|||
|
|||
cool hack!
No members have liked this post.
|
#8
|
||||||||||||
|
||||||||||||
Originally Posted by Gary W
Why not use this in includes/functions_newpost.php:
This in the posticons template:
This in the posticon_dropdown template:
That would use the correct SRC path for all icons and would also have the icon pre-selected if the post already had one (i.e. when editing). No members have liked this post.
|
#9
|
||||||||||||
|
||||||||||||
Originally Posted by Pikok
Okay I integrated your steps now
![]() No members have liked this post.
|
#10
|
||||
|
||||
This one is good for coding similiar hacks, great one!
No members have liked this post.
|
#11
|
|||
|
|||
ah nifty, forgot to think you could load the image next to it.
Good Work. No members have liked this post.
|
#12
|
|||
|
|||
For some reason, i now have dropdown AND the original list to chose from.
Any idea what could be wrong? No members have liked this post.
|
#13
|
||||
|
||||
Originally Posted by Fibe
You didn't follow instructions properly then
![]() The code you did wrong was in the posticons template. No members have liked this post.
|
#14
|
|||
|
|||
hmm i just double checked and everything is like it should be. afaik
![]()
No members have liked this post.
|
#15
|
||||
|
||||
Originally Posted by Fibe
Can I please see your forums then.
No members have liked this post.
|
![]() |
«
Previous Mod
|
Next Mod
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Mod Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 05:13.