Announcement

Collapse
No announcement yet.

dropdown menu for icons?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • dropdown menu for icons?

    ok, the posticons() function doesnt need to be modified, so this is considered more like a template mod...
    here it is what i want to do:

    i modified forumdisplay.php so it can act in certain forum id's as a news forum and list the content of the first post only beside the thread title.
    i also use a customized set of icons for that specific forum (i hacked the vb options to list an array there, so is easy to set whatever forums you want to display the news articles).
    when it comes to post a new thread i use a iif condition to select the correct forum array so the newthread.php file displays correctly the right set of icons.

    now, i need a little piece of java code to display the news icons in a dropdown menu, in newthread template.
    while selecting the dropdown, on the right side it will display the image, so if i have 285 icons for my news, it will not make it look like 5 pages long the newthread.php (like the way it is now).

    i really like the idea so i was wondering if kier or anyone else good with jave could help me on this matter.
    i searched the web for a relevant piece of code, but we need to keep the iconid values not the iconpaths, to display correctly the selection. so is a little more complicated.

    any help will be greatly apreciated.
    Floren Munteanu
    Axivo Inc.
    Axivo Searchlight - Turbocharge your web site

  • #2
    Have you looked at the avatar selection on the register page? It is a dropdown menu of avatars.

    Comment


    • #3
      thanks freddie.
      will do this. i will post here if i got it managed...
      Floren Munteanu
      Axivo Inc.
      Axivo Searchlight - Turbocharge your web site

      Comment


      • #4
        i got it freddie...
        all i have to do is add an extra query while performing the iconid change.. thanks alot for the tip.
        Floren Munteanu
        Axivo Inc.
        Axivo Searchlight - Turbocharge your web site

        Comment


        • #5
          i still have a little problem. i posted at vb.org....
          freddie or anyone, please take a look here:
          http://www.vbulletin.org/forum/showt...268#post301268

          there are all the steps listed.
          thank you for helping me out...
          Floren Munteanu
          Axivo Inc.
          Axivo Searchlight - Turbocharge your web site

          Comment

          widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
          Working...
          X