pdlbibek
Forum Replies Created
-
Thanks, It worked. Now, I want to hide certain fields on certain pages but currently can’t. how can we hide those custom fields from the shortcode using hide=””?
I am using the latest version of Site Reviews (v3.5.4). Replaced the $fieldName as mentioned and it works.
Also, the filter to change the review stars to review count + label works flawlessly. Thanks
Another Query:
I have created a few custom fields via `add_filter( ‘site-reviews/config/forms/submission-form’, function( $config ) {}’. Now, how can I display them in the backend reviews list?Thanks for the reply.
I just tried the filter hook to add my own CSS class. It just throws a fatal error.
atal error: Method GeminiLabs\SiteReviews\Modules\Html\Field::__toString() must not throw an exception, caught Error: Call to undefined function glsr_get() in /home/servgr1allaboutc/public_html/ryp-reviews-custom/wp-content/plugins/site-reviews/plugin/Modules/Html/Partials/SiteReviewsForm.php on line 0
Also I want to change the way the review count is displayed (the stars) on individual reviews and wanted to show just the number and its corresponding value. eg instead of 2 stars images, I wanted to show the rating number 2 with its label “Average”.
Forum: Plugins
In reply to: [Site Reviews] Additional fields in the Site Reviews formCan you please let me know how to rearrange some of the fields into various columns instead of using a custom template? This link is expired.
https://pastebin.com/6ZHwa77Q
Thank you
Popup Builder Silver – Version 4.0.1
Unfortunately, the client asked me to disable the plugin because of various issues and late support.
We already solved the issue.
What we did:
1. Checked if all the setup/configuration is correct on the Moodle site.
2. Checked the connection via hard request URL:https://[moodlesitehere]/webservice/rest/server.php?wstoken=[token-here]&wsfunction=core_course_get_courses&moodlewsrestformat=json
3. Checked the connection from a test page within our site using WordPress function.
wp_remote_get( $request_url ); //request url above mentioned
4. Checked if the server was blocking our request. Contacted server support team as well.
5. Checked if our site is able to find moodle hosted site via the curl request provided above
6. Checked if we can get the connection successfully via a different serverResult
Moodle configuration were all correct, We did received data via the raw request URL but a 404 error via wp_remote_get(), Server support team said there were no recorded blocks on the server, curl test was successfull and We could connect successfully from a different server. There was a messsage from the error log which sayclient denied by server configuration
Conclusion
Our test directed us towards the core server environment and because we could connect via direct url and even from a different server, we thought our Moodle site and our main site (both hosted on the same server but different domain) config was not the problem at all. Turns out there is this web-server configuration issue which was blocking our GET/POST request.Allowing GET, POST, PUT and DELETE requests through the .htaccess (web-server configuration) file of moodle.yoursite.com website did the magic here.
<Limit GET POST PUT DELETE> order deny,allow allow from all </Limit>
I wonder why we were able to connect via different server but not via this same server where the Moodle site was hosted. I believe the GET/PUT request permission within the server was different than for a request from a different server.
Hope this will be helpful for plugin development and many other users experiencing similar problems in the future.
That’s Great!
Also, There is an issue regarding the close button image. Neither custom image nor default cross image is set after updating/saving the changes. preview area displays a blank box.
Let me know if I’ve to do anything from my end to fix this issue.