Not signed in (Sign In)

Categories

Vanilla 1.1.4 is a product of Lussumo. More Information: Documentation, Community Support.

Help keep Vanilla free:
Welcome Guest!
Want to take part in these discussions? If you have an account, sign in now.
If you don't have an account, apply for one now.
    • CommentAuthorwohoo
    • CommentTimeApr 30th 2008
     # 1
    I want to change the "Bookmark this discussion", "Sink this discussion" etc from text links to little images but can't seem to locate the files where I could make the appropriate changes.

    Could someone point me to the files that require changes?
  1.  # 2
    Use CSS. the ID of the link is #SetBookmark (case sensitive). You can view the source of the page to get other selectors. For techniques, search for CSS Image Replacement. One that seems to be promising is Yet Another Image Replacement Method by evotech.net
    • CommentAuthorfysicsluvr
    • CommentTimeApr 30th 2008
     # 3
    Couldn't you also edit the language definitions to (image) html instead of plain text?
    • CommentAuthorwohoo
    • CommentTimeMay 1st 2008
     # 4
    Great, never imagined one could do that. Just tried it out and it works. Thanks fysicsluvr! And thanks for your suggestion as well sirlancelot.
    • CommentAuthorwohoo
    • CommentTimeMay 1st 2008
     # 5
    This doesn't quite work actually.

    Changing 'BookmarkThisDiscussion' works fine, but to give 'UnBookmarkThisDiscussion' and 'BookmarkText' (which displays the second "Bookmark this discussion" link that gets displayed after the user unbookmarks) an image displays part of the code as text instead since the bookmark/unbookmark link is inserted like this:

    <a href="./" id="SetBookmark" onclick="SetBookmark('/tvgbtest/forums/ajax/switch.php', 0, '20', '<img src="http://www.blabla.com/BookmarkText.jpg">', '<img src="http://www.blabla.com/UnBookmarkThisDiscussion.jpg">', '65f15581fe608ff01b9460756634e26d'); return false;"><img src="http://www.blabla.com/BookmarkThisDiscussion.jpg"></a>
  2.  # 6
    Hmmm... I guess I can't help you there.
Add your comments
    Username Password
  • Format comments as