Announcement

Collapse
No announcement yet.

Smilies and Icon paths.

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

  • Smilies and Icon paths.

    Is there anyway to change the smilie, icon, attachment, and poll paths per style? This would allow a user to create a folder under the images directory named "Whatever per your style" and it would house say:

    /images/whateveryourstylenameis/icons
    /images/whateveryourstylenameis/smilies
    /images/whateveryourstylenameis/attachments
    /images/whateveryourstylenameis/polls

    where would one do this?

  • #2
    Because of the way smilies and icons are currently handled that wouldn't be possible.
    For attachments, as long as you specify a different {imagesfolder} per style, it will work automatically. Same for polls.

    Comment


    • #3
      hmmm..this seemed to work.

      Originally posted by tubedogg
      Because of the way smilies and icons are currently handled that wouldn't be possible.
      For attachments, as long as you specify a different {imagesfolder} per style, it will work automatically. Same for polls.
      Well at the first dissapointing sight of this response, I took a step back and started to drudge through all the templates and here's what I did to successfuly accomplish this:

      In POSTBITICON per EACH Style:
      Code:
      <input type="radio" name="iconid" value="$iconid" $iconchecked>&nbsp;<img src="/vbPortal/forums/images/STYLENAME/$iconpath" height="15" width="15" align="middle" alt="$alttext">&nbsp;&nbsp;&nbsp;&nbsp;
      In SMILIEBIT per EACH Style:
      Code:
      <tr align="center">
      	<td bgcolor="{firstaltcolor}"><normalfont>$smilie[smilietext]</normalfont></td>
      	<td bgcolor="{firstaltcolor}"><normalfont>$smilie[title]</normalfont></td>
      	<td bgcolor="{firstaltcolor}"><img src="/forums/vbPortal/STYLENAME/$smilie[smiliepath]" border="0" alt="$smilie[title]"></td>
      </tr>
      Then I created a folder based upon the style name underneath my /forums/images directory.

      For example:

      I created a directory called Havoc-Flak underneath /forums/images. I then created a style set called Havoc-Flak and changed all the image directories to /images/Havoc-Flak/images/. All the altered images were then uploaded to /images/Havoc-Flak/images so that there was the "base" image directory as well as, /polls, /attachments, /icons,/smilies.

      This does double the space required per style since you have to double the amount of images for each one, BUT it does work.

      Comment

      Loading...
      Working...
      X