Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[For 1.8] Post preview on threadlist
#11
Posted another nice example of what you can accomplish + code. Smile
Reply
#12
What is URL of your board?
[MyBB 1.8 Czech translation] [MyBB 1.8 plugins]: Prune old PMs + optimize DB plugin --- Thank you/like system
Reply
#13
I don't currently have one online, that screencap is from a local server. I am working on getting one live for forumonic but not sure when that will happen.
Reply
#14
I didn't get it work either Sad
I put the link of the js on the footer, the line modification on the template and the css but nothing happened.

You can check it out here
Reply
#15
I just checked, its working fine there:

[Image: screen.gif]
[Image: logo.svg.svg]
Reply
#16
Thats... weird... I recently check on a clear chrome browser (normally I use Opera) and nothing... maybe it's a caché thing so maybe I just need to wait to see results
Reply
#17
Hi Mixy,

I also experienced it not working on your forum and it seems to be Google translate that causes it, if you turn off translation it fixes it. You can fix this little bug by changing the event handler to something like this (simply adding [data-preview-post] * to the selector):

$(document).ready(function () {
    $("[data-preview-post], [data-preview-post] *").hover((e) => {
	  post_preview.preview(e);
    }, () => {
	  post_preview.remove_previews();
    })
});

This should fix it for translation purposes.
Reply
#18
Hi. Sorry for my English. How to display only pictures from a post without a description? For example, the first 5 pictures. I will be grateful for the help
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)