bhagwad
Forum Replies Created
-
Forum: Plugins
In reply to: [Calculate Values with Shortcodes] Calculate Values from Favorite Post PluginGlad to know it’s resolved.
Forum: Plugins
In reply to: [Calculate Values with Shortcodes] Calculating value in gravity formThere’s something weird about the Gravity form expressions you’re using. “[Price:84]” isn’t a shortcode, it’s something else.
Here’s what a Gravity form shortcode should look like: https://docs.gravityforms.com/shortcodes/
Let me know if this helps!
Forum: Plugins
In reply to: [Calculate Values with Shortcodes] Calculate Values from Favorite Post PluginI just made an update. Let me know if it works!
Forum: Plugins
In reply to: [Calculate Values with Shortcodes] Calculate Values from Favorite Post PluginIf you’re familiar with PHP, you can try and use this function by modifying the code of the plugin: https://www.php.net/manual/en/function.strip-tags.php
If not, just wait a while and I’ll try and update the plugin myself with a new version.
Forum: Plugins
In reply to: [Calculate Values with Shortcodes] Calculate Values from Favorite Post PluginThat’s the thing. If the shortcode you use returns anything other than a number, the [calcuate] function will fail.
I think I may need to update the plugin to strip all HTML code before parsing. Let me think about it…
Forum: Plugins
In reply to: [Calculate Values with Shortcodes] Calculate Values from Favorite Post PluginThanks for the debug. Is the HTML:
<span data-favorites-post-count-id=”9675″ data-siteid=””>
Inside or outside the [calculate] shortcode?
Basically when you type:
[calculate] 5 + [favorite_count] [/calculate]
Does it become:
[calculate]5+1[/calculate]
or
[calculate]5+<span data-favorites-post-count-id=”9675″ data-siteid=””>1</span>[/calculate] ?
Forum: Plugins
In reply to: [Calculate Values with Shortcodes] int= attribute overriding dec= attributeHi! Sorry for the delay. I’m not getting notifications of support threads to my e-mail. I’ll look into this!
Forum: Plugins
In reply to: [Calculate Values with Shortcodes] Not working?Hey, sorry for the delay in responding. I’m not getting notified of new support threads. Are you still having this problem?
Forum: Plugins
In reply to: [Calculate Values with Shortcodes] Calculating value in gravity formHi. The curly brackets inside won’t work. You need to use shortcodes with square brackets [] .
Forum: Plugins
In reply to: [Calculate Values with Shortcodes] Calculate Values from Favorite Post PluginHi!
When you use [favorite_count] outside of the plugin, do you get a plain number, or is it wrapped in some HTML? Try this – use the [favorite_count] shortcode and display the result. Then check the source code of the page. Is it just the number, or are there additional characters surrounding it?
Can confirm this happens for me as well. Memcached in the SG Optimizer plugin randomly turns itself off.
Forum: Requests and Feedback
In reply to: Request: Paragraph breaks in blocksBut as for the act of writing, it makes no difference to you or anybody else if a paragraph is a block or not.
There is one difference though. If two paragraphs are in two separate blocks, then I can’t select half a paragraph and a full paragraph at the same time. I’m forced to select complete blocks only.
This is important, because often multiple paragraphs are one “logical” unit. I think the core of what @gokumew2 is saying that sometimes several paragraphs are a whole, and it’s disorienting for them to be treated separately.
Personally, I don’t think <p> should be a block level element. Writers like me don’t regard paragraphs as “blocks” – just a pause in thought. When writing a 1,000 word article, everything flows together. It’s a complete whole, not a series of “blocks” from a logical point of view.
- This reply was modified 5 years, 10 months ago by bhagwad.
Forum: Plugins
In reply to: [Calculate Values with Shortcodes] TroubleshootingHi! Sorry for the delayed response – vacation in Argentina ??
I’ll need to take a look at your site to fix the problem. Could you send me some test login credentials?
Got this message for the first time today after updating to 5.0.8:
“SG Optimizer has detected that Memcached was turned off. If you want to use it, please enable it from cPanel first.”
I’ve checked my cPanel and memcached is turned on.
Forum: Plugins
In reply to: [Calculate Values with Shortcodes] Can it work with mycredYou’ll need to include these attributes in your mycred shortcodes:
wrapper=0 balance_el=”
These remove the <div> elements surrounding the final number.