maddog107_merged Posted December 8, 2015 Share Posted December 8, 2015 Was opcache breaking it, sorry! Once I flushed it all was good again. Link to comment
ehku Posted December 8, 2015 Share Posted December 8, 2015 11 hours ago, eden buganim said: Yeah, you always knew how to get me workin' I am adding window-resize capabilities to the next update as well. Link to comment
eden buganim Posted December 10, 2015 Author Share Posted December 10, 2015 The new update is out. Sorry for the delay, been a little busy Bug Fixes: img BBCode format fixed to [img=img_link][/img] Button is no longer aimlessly attached to the popup template. New Features: Preview popup can be resized. Toggle BBCode and resize functionality from plugin settings. Link to comment
maddog107_merged Posted December 10, 2015 Share Posted December 10, 2015 @eden buganimThanks for the updated file! Link to comment
Photo Club Paris Posted December 14, 2015 Share Posted December 14, 2015 hi, i'm problem for download file : version is 1.0.1 (10001) (Sorry don't speak english ) Thanks, Link to comment
Robiss767 Posted December 22, 2015 Share Posted December 22, 2015 Hey there, @eden buganim I have downloaded the latest version and for some reason it consists of exactly the same features as version 1.0.1, no changes seem to be made. Can you confirm that the latest version is actually uploaded? It seems to be the same version as 1.0.1 because I cannot see any plugin settings nor fixes (button not appearing where unnecessary). Thanks Link to comment
Fnuxle Posted December 23, 2015 Share Posted December 23, 2015 11 hours ago, Robiss767 said: Hey there, @eden buganim I have downloaded the latest version and for some reason it consists of exactly the same features as version 1.0.1, no changes seem to be made. Can you confirm that the latest version is actually uploaded? It seems to be the same version as 1.0.1 because I cannot see any plugin settings nor fixes (button not appearing where unnecessary). Thanks The funny thing is that it WAS v1.0.1! Thanks Robiss and Ugo, I've updated the file. Link to comment
Photo Club Paris Posted December 26, 2015 Share Posted December 26, 2015 Thanks ! Top module ! Link to comment
cane_cc72 Posted March 1, 2016 Share Posted March 1, 2016 Is it possible to make the button look like the submit button on this default ips theme? Link to comment
Fnuxle Posted March 1, 2016 Share Posted March 1, 2016 16 hours ago, cane_cc72 said: Is it possible to make the button look like the submit button on this default ips theme? Yeah sure, there are two simple ways to do this: CSS way - can get to the files through ACP, but messy and requires per theme edit: Find postpreview.css in your theme's CSS view (through ACP > Themes > Edit HTML / CSS) and add the following: a[data-ipspreviewpost].ipsButton_link { background: #37474f; color: #ffffff; border: 1px solid rgba(0,0,0,0.1); } a[data-ipspreviewpost].ipsButton_link:hover { cursor: pointer; text-decoration: none; background-image: -moz-linear-gradient(top, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.08) 100%); background-image: -webkit-linear-gradient(top, rgba(255,255,255,0.08) 0%,rgba(255,255,255,0.08) 100%); background-image: -o-linear-gradient(top, rgba(255,255,255,0.08) 0%,rgba(255,255,255,0.08) 100%); background-image: -ms-linear-gradient(top, rgba(255,255,255,0.08) 0%,rgba(255,255,255,0.08) 100%); background-image: linear-gradient(to bottom, rgba(255,255,255,0.08) 0%,rgba(255,255,255,0.08) 100%); } HTML way - requires FTP access to the php hook files, but is quick and reliable: 1. Find the files "formsThemeHook.php" and "topicThemeHook.php" on your FTP. They should be in _ips_root/plugins/previewpost/hooks 2. For both files replace all occurrences of "ipsButton_link" with "ipsButton_primary" ( there should be 2 occurrences in the first, and 1 in the other ) and save. 3. Restart the plugin and you're good to go. Link to comment
cane_cc72 Posted March 2, 2016 Share Posted March 2, 2016 Good deal thank you very much. Link to comment
ehku Posted March 31, 2016 Share Posted March 31, 2016 Hi @eden buganim, The button does not appear when editing posts that are not the first post of the topic. Could you please check? Thanks a lot! Link to comment
Fnuxle Posted May 1, 2016 Share Posted May 1, 2016 On 3/31/2016 at 4:23 PM, ehku said: Hi @eden buganim, The button does not appear when editing posts that are not the first post of the topic. Could you please check? Thanks a lot! v1.0.3 has just been released and should resolve this bug Link to comment
pilotguy Posted May 25, 2016 Share Posted May 25, 2016 Button does not show up in 4.1.12 - Could you look into this because the "button" IPS has supplied is garbage and this plugin is a life saver! Link to comment
Nathan Explosion Posted May 26, 2016 Share Posted May 26, 2016 @Fnuxle If you want to incorporate an admin option in your plugin to invoke the now native preview functionality via the same button (so use either the existing functionality, or invoke the IPS functionality) then I've popped some JS code in to the following post: Link to comment
Joel R Posted May 26, 2016 Share Posted May 26, 2016 11 hours ago, Nathan Explosion said: @Fnuxle If you want to incorporate an admin option in your plugin to invoke the now native preview functionality via the same button (so use either the existing functionality, or invoke the IPS functionality) then I've popped some JS code in to the following post: Thank you @Nathan Explosion for offering this code snippet to the community. Link to comment
Fnuxle Posted May 27, 2016 Share Posted May 27, 2016 On 5/26/2016 at 1:42 PM, Nathan Explosion said: @Fnuxle If you want to incorporate an admin option in your plugin to invoke the now native preview functionality via the same button (so use either the existing functionality, or invoke the IPS functionality) then I've popped some JS code in to the following post: Thanks for that. I'll soon update my dev system and see where is this plugin going... Link to comment
Nathan Explosion Posted May 27, 2016 Share Posted May 27, 2016 No problem - I think a combination of both options (your existing preview, plus the new IPS functionality) in to your button (instead of the button in the editor alone) would alleviate a few of the pain points that have come up as a result of this new functionality. Allow the admin to choose which option to make available on the site, and all should be good. Note: it will still be required that an admin put the ipsPreview button in to the editor, otherwise the plugin won't be loaded in to ckeditor. Link to comment
Nicholas Ward Posted January 19, 2017 Share Posted January 19, 2017 This looks like it's not working for this version of IPB (latest one), and I've cleared the cache, uninstalled and reinstalled it as well. It's showing the box that it would show the preview but nothing else. Link to comment
seba stian Posted October 6, 2018 Share Posted October 6, 2018 is it possible to switch these two buttons around Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.