astrasuite
Forum Replies Created
-
Forum: Plugins
In reply to: [Plugin Organizer] Nextgen Gallery Admin – Add ImagesYes, as well as https://www.abc.com/
Forum: Plugins
In reply to: [Plugin Organizer] Nextgen Gallery Admin – Add ImagesJust tried it, it doesn’t work still. I don’t have to enable by role, as I have “Disable Plugins by Role” off. My website is for example, abc.com. My wordpress is in abc.com/mywordpress/. I tried both in a plugin filter and no luck.
Should I enable role ? But I really don’t need it as I am the only admin.
My workaround for now is, when needed, to enable NGG globally and upload images, then disable again.
Forum: Plugins
In reply to: [Plugin Organizer] Nextgen Gallery Admin – Add ImagesHi, Jeff, yes, I have ignore URL arguments enabled. Is that right ?
I will try that. Just to be sure, your image really got uploaded ? NGG has a message that upload was successful, even if it was not. If it was not, there is a yellow triangle icon that shows briefly.
- This reply was modified 6 years, 4 months ago by astrasuite.
Forum: Plugins
In reply to: [Plugin Organizer] Nextgen Gallery Admin – Add ImagesThanks, Jeff,
I did that and unfortunately it didn’t work …
I saw this from your website :
“Contact Form 7 is a good example of this. When you submit the form it does not submit to the page you are on. It submits to the wp-json url of wordpress. So you’ll need to add that url to the list of permalinks in your plugin filter. Or create a plugin filter for that url if you didn’t use the plugin filter method.”How can I find out which url Nextgen Add function is submitting to ?
- This reply was modified 6 years, 4 months ago by astrasuite.
.
Thanks a lot, Becky !
looks like usp is unique selling point
I prefer snippets (with variable handling) though, less code for me, as I repeat a lot of php code in posts (just different variables). Now, just one line of snippet will do it.
I already moved all my insert_php code in hundreds of posts to snippets. Once I got started, I had to finish it. Took about 2 hours.
- This reply was modified 6 years, 4 months ago by astrasuite.
- This reply was modified 6 years, 4 months ago by astrasuite.
- This reply was modified 6 years, 4 months ago by astrasuite.
I think it should be :
echo “test”;
Forum: Plugins
In reply to: [CBX Currency Converter] Calculator Convert Button.
Forum: Plugins
In reply to: [CBX Currency Converter] Calculator Convert ButtonThanks, that screenshot taught me how to look at the Console of the Inspect ??
I found the culprit to be the Better WordPress Minify plugin (BWP). It is ok with CBCurrency lists, but not calculator. Disabling BWP just for this post using Plugin Organizer plugin fixed it.
https://www.astrasuite.com/astrablog/palmer-2-5-12-turntable/
Anyway, I will not yet use the calc, I was just testing it, at least I now know what to do. List is fine for me until I find a need to show a calculator.
- This reply was modified 6 years, 4 months ago by astrasuite.
- This reply was modified 6 years, 4 months ago by astrasuite.
Thanks, I found this on the web in one forum, how to debug. Just add these to the top of snippet or php file to include.
error_reporting(E_ALL);
ini_set(‘display_errors’, 1);So doing this, it told me about an error that a variable cannot be redeclared.
Searched again on the internet, someone said use include_once instead of include just to be sure. So I did this, and voila, it works.
It is still weird, however, as it was ok in No. 1. Anyway, it is resolved.
There is no security in No. 2, it is just like No. 1…
For the path, DOCUMENT_ROOT for 1 and 2 are not the same so I have to use /../ path.
No. 2 is basically a subfolder inside the main domain (my service provider calls it AddOn domain), but it is configured as it’s own domain – i.e. No. 1 and No. 2 have different domains, but they are in the same server.
For example :
/public_html/abc-wordpress-no-1/ – it would appear in browser as abc.com/abc-wordpress/
* DOCUMENT_ROOT is /public_html/public_html/xyz/xyz-wordpress-No-2/ – it would appear in browser as xyz.com/xyz-wordpress/
* DOCUMENT_ROOT is /public_html/xyzand the PHP code is in /public_html/php-code/php-routine/
It’s just puzzling. No 1 and No 2 are calling the same PHP program, the only difference is the path. It works if I use the plugin INSERT_PHP (php code is in between shortcode, not snippets).
Will be thankful for any ideas to look for … Of course, I can continue to use another plugin for No. 2, but I’d like to use yours for consistency, and I like the idea of snippets better than in between shortcode.
P.S. There is another plugin called Insert_PHP. In a WordPress post, we just insert the PHP code in between [insert_php] and [/insert_php].
I tried the code I have a problem with using this plugin, and it works perfectly.
So, I am puzzled why it does not work if I put it in a snippet, for No 2 WordPress installation. For No 1 WordPress installation, no problem.
Thanks
Thanks, useful info
.