Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
November 25, 20159 yr @eden buganim: Thanks for the plugin. Is there a way to call a js script after the preview is displayed?
November 25, 20159 yr Author Just now, ehku said: @eden buganim: Thanks for the plugin. Is there a way to call a js script after the preview is displayed? Sure, I suppose the most simple way would be to stick it directly into the popup template, which should be in your global > plugins directory. If you've access to dev mode you could create a JS data-controller, or edit the one I'd already included~
November 25, 20159 yr 2 minutes ago, eden buganim said: Sure, I suppose the most simple way would be to stick it directly into the popup template, which should be in your global > plugins directory. Could you please be more specific?
November 25, 20159 yr Author @ehku, sure thing: There should be a postPreview or a previewPost template in there ^In case it's not clear, go to ACP > Customization > Themes and edit it in HTML/CSS mode. The above list is taken from 'templates'.
November 25, 20159 yr 9 minutes ago, eden buganim said: @ehku, sure thing: There should be a postPreview or a previewPost template in there ^In case it's not clear, go to ACP > Customization > Themes and edit it in HTML/CSS mode. The above list is taken from 'templates'. Thanks, I added MathJax script to postPreview to it does not seem to work
November 25, 20159 yr Author 12 minutes ago, ehku said: Thanks, I added MathJax script to postPreview to it does not seem to work I'll take a look right now!
November 25, 20159 yr Author @ehku added this to the template, at the top: <head> <script type="text/javascript" src="//cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"> </script> </head> Also, make sure you clear cache!
November 25, 20159 yr @eden buganim: I have added that code to the template, clear IPS cache using Support, clear browser cache, still not working Could you please have a look at my site?
November 25, 20159 yr Author 1 minute ago, ehku said: @eden buganim: I have added that code to the template, clear IPS cache using Support, clear browser cache, still not working Could you please have a look at my site? Sure, hit me up on pm with the necessary info and I'll take a look.
November 27, 20159 yr Upgraded to 1.0.1. I feel that it's faster than before Suggestion: the width of the popup should match the width of the actual post content width.
November 28, 20159 yr Author 7 hours ago, ehku said: Upgraded to 1.0.1. I feel that it's faster than before Suggestion: the width of the popup should match the width of the actual post content width. You mean the same exact width it would be after posting the message, right? I'll try looking into that, I suppose the popup is a bit "thinner" than the actual feed!
November 30, 20159 yr Author 1 hour ago, Stefan Johansson_72643 said: Would be great also have a preview of database articles too! Not sure I know what that means XD" Care to be more specific?
December 1, 20159 yr Sorry, we have a database of "Articles" that we publish on "Home" (www.99nicu.org) - would it be possible to add a "preview" also there? Not the plugin seems to add preview functionality to forum topics and comments. (which is great )
December 1, 20159 yr Author 5 minutes ago, Stefan Johansson_72643 said: Sorry, we have a database of "Articles" that we publish on "Home" (www.99nicu.org) - would it be possible to add a "preview" also there? Not the plugin seems to add preview functionality to forum topics and comments. (which is great ) Since I am not running 'Pages' app on my dev system, I can't tell for sure yet, but I'll definitely take a look and see if it can be done
December 7, 20159 yr @eden buganim Thanks this is great. One little bug if you dont mind fixing. So in the preview something of the format: [img=http://i.imgbox.com/15NcVmeY.jpg] Shows empty, but if you hit submit reply it parses it correctly. Also is there any way we can make a donation for this great add on?
December 7, 20159 yr Author 2 hours ago, maddog107_merged said: @eden buganim Thanks this is great. One little bug if you dont mind fixing. So in the preview something of the format: [img=http://i.imgbox.com/15NcVmeY.jpg] Shows empty, but if you hit submit reply it parses it correctly. Also is there any way we can make a donation for this great add on? Yup, I'll make an update today. It will still require an end tag though: [img=http://i.imgbox.com/15NcVmeY.jpg][/img] I appreciate the thought, but it never occurred to me to collect donations for this plugin
December 7, 20159 yr On 11/28/2015, 5:01:52, eden buganim said: You mean the same exact width it would be after posting the message, right? I'll try looking into that, I suppose the popup is a bit "thinner" than the actual feed! Yes. By this we can see if the width of some elements (like images or formulas...) fit the page. The current popup is larger.
December 7, 20159 yr @eden buganim Can you verify it works with 4.1.5? The preview button disappeared after the upgrade even after enabling and disabling.
December 7, 20159 yr 2 hours ago, maddog107_merged said: @eden buganim Can you verify it works with 4.1.5? The preview button disappeared after the upgrade even after enabling and disabling. On my site the button is still there and working after the upgrade.
December 7, 20159 yr Author 8 hours ago, ehku said: Yes. By this we can see if the width of some elements (like images or formulas...) fit the page. The current popup is larger. Yeah, you always knew how to get me workin' I am adding window-resize capabilities to the next update as well. 4 hours ago, maddog107_merged said: @eden buganim Can you verify it works with 4.1.5? The preview button disappeared after the upgrade even after enabling and disabling. As @ehku said, the button should still be there, even after the upgrade. Try uninstalling the plugin altogether and installing fresh!
December 8, 20159 yr Hello. I want to address one issue regarding this plugin. This preview post button is seeable literally everywhere where editor is involved. This is partially good, however when a moderator tries to move a topic, he can see this button for no reason. Once clicked, it displays nothing. It's not a big issue, just I'd suggest to keep it on when a user is making a topic/reply.
Archived
This topic is now archived and is closed to further replies.