Jump to content

Preview Post - Support


eden buganim

Recommended Posts

Posted
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.

:D 

Posted

The new update is out. Sorry for the delay, been a little busy :sweat:
 

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.
  • 2 weeks later...
Posted

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

Posted
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.

  • 2 months later...
Posted
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.

  • 5 weeks later...
  • 1 month later...
Posted
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 ^_^

  • 4 weeks later...
Posted

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! 

Posted

@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:

 

Posted
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.  

Posted
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...

Posted

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.

  • 7 months later...
Posted

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.

c109a3f5c1.png

  • 1 year later...

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...