Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Intra-vanilla link preview
This discussion has been closed.
Comments
"This extension require also the Jquery library.
Download it at http://jquery.com/src/jquery-latest.pack.js and save in /vanillafolder/js/jquery.js
You also need to open extensions/PreviewBubble/previewbubble.js and edit the line 10:
var bubbleImagePath = '/Vanilla/extensions/PreviewBubble/bg.png';
Change it for the correct path."
Edit: Can you enable again the extension on your forum?
Do you think it could be because I'm using Vanilla 1.0?
Rated! Thanks again
http://images.websnapr.com/?url=undefined
That could be the problem. Should also note that thumbnails would not work in a private forum, since websnapr would need access to the pages to be able to thumbnail them.
Maybe it's the long string after the ? in the address that is not being followed.
Also, this URL comes up forbidden...
http://www.apple.com/getamac/
(I hope that's not blasphemous, I hear a little thunder in the distance)
Later: With a text link it works but with an image link it says FORBIDDEN, go figure.
See it here:
http://www.debono.com.au/forum/comments.php?DiscussionID=40
It's not exactly what I needed/envisioned though.
I want to read the text (pointing at intra-forum discussion or specific comment) while
hovering. No thumbnails required I think, nor thick/thinbox or jquere (?)
Hover -> ajaxy action to retrieve text stored in forum DB (URL points to discussion or
comment) -> shown this text in tooltip (with some stylesheet)
Possible? Anyone? I think it would make navigating vanilla forums much easier (and
add another competitive advantage to Vanilla over vBulletin c.s.).
Would there be a way to limit the bubble display for particular links? For example, I'm using Jazzman's attachments extension, and empty bubbles appear when hovering the attached files links. Also, would it be possible to make no preview for internal links? Previews of links related to other discussions are quite pointless in my opinion.
It would also be nice to add a "disable preview bubbles" checkbox in the account settings for people who will find this feature annoying - and I'm sure there will be some.
//remove previewlink class from external link for the forum $("div.CommentBody/a.previewlink[@href^='http://www.domain.com/vanilla/']").removeClass("previewlink"); //remove previewlink class from internal links with relative path starting with extensions/ $("div.CommentBody/a.previewlink[@href^='extensions/']").removeClass("previewlink"); //remove previewlink class from links with absolute path to the forum $("div.CommentBody/a.previewlink[@href^='/forum/']").removeClass("previewlink");
$("div.Attachments/ul/li/a.previewlink[@href^='http://www.domain.com/']").removeClass("previewlink");
I believe the reason is it has its own class, independantly from the .CommentBody class.
Thanks a lot for the hints
(clean simple, quick, no ads, graphics etc., just retrieve the discussion title & content, not the comments)
I'd like something like the amazon 'live' pop-up links at the bottom of this page, retrieving the referenced
discussion or comment (and nothing else, no browser chrome, images, etc.):
http://www.stnicholascenter.org/Brix?pageID=35