Robert D Payne
Forum Replies Created
-
Thank you for the contribution.
Forum: Plugins
In reply to: [RDP Wiki Embed] Unable to locate body of wiki content@joevansteen There is a place in the code where I force HTTP if the source URL doesn’t have a scheme, after using the parse_url PHP function. Technically, it should never happen.
Regarding the site security guidelines error message, you need to visit the plugin settings page, and add all domains from which the plugin may draw content to the input field, under Security.
I have not been able to reproduce the error.
If you go to https://www.cannaqa.com/wiki/ and click the images, they load as embeds like they should.Forum: Plugins
In reply to: [RDP Wiki Embed] Unable to locate body of wiki contentMight be a problem with PHP.
Someone reported that he got the error with PHP 7.3.
But, when he downgraded to 7.2, the error went away.Please provide a copy of the shortcode you are using on a page/post.
Forum: Plugins
In reply to: [RDP Wiki Embed] mw-jump-linkYou’re welcome!
Forum: Plugins
In reply to: [RDP Wiki Embed] Plugin Website InaccessibleI’m not sure what happened, but my site is back up, now.
Forum: Plugins
In reply to: [RDP Wiki Embed] Wiki not showingThe page you reference is gone. Do you still want help with this?
Forum: Plugins
In reply to: [RDP Wiki Embed] mw-jump-linkYou can add a remove attribute to the shortcode:
[rdp-wiki-embed url=’https://en.wikipedia.org’ remove=’.mw-jump-link’]Forum: Plugins
In reply to: [RDP Wiki Embed] add icon for different languagesThat would likely involve custom JavaScript coding.
Forum: Plugins
In reply to: [RDP Wiki Embed] hide infobox nowraplinksGo to the settings for the plugin via Settings > RDP Wiki and make sure the checkbox for ‘Display info boxes’ is unchecked. That should do it.
- This reply was modified 6 years, 3 months ago by Robert D Payne.
- This reply was modified 6 years, 3 months ago by Robert D Payne.
- This reply was modified 6 years, 3 months ago by Robert D Payne.
Forum: Plugins
In reply to: [RDP Wiki Embed] Embed first paragraphOnly way, currently, is with JavaScript.
Two options:
1) Add PHP code that uses the RDP_WE_SCRUB_REMOVE_ELEMENTS_FILTER or RDP_WE_PRERENDER_REMOVE_ELEMENTS_FILTER
2) Add remove attribute to the shortcode with value equal to a comma separated list of CSS selectors for HTML elements you want to remove.
Forum: Plugins
In reply to: [RDP Wiki Embed] Remove HyperlinksIf you want to remove the entire link (including the text) you and use the remove attribute to target the appropriate HTML selectors.
Otherwise, you will need to use some custom coding.
I’m not sure what’s going on… never ran into that sort of error, before.
Might be some sort of security issue.