Paul
Forum Replies Created
-
Forum: Plugins
In reply to: [Simple Social Icons] Colors wont changeResolved
Forum: Plugins
In reply to: [Simple Social Icons] Colors wont changeNever mind I altered the default values in simple-social-icons.php in order to achieve the colour change.
@esmi It must be the way the files are structured then.
Could I not trick it somewhere and give phpmailersub.php the permanent link of: https://damtech.it/demo/etap/wp-content/plugins/phpmailersub.php?
I guess I could try and find a plugin but it just seemed a shame when I had the exact code write there.
@andrew Yeah it was just a suggestion from a guy on the stack wordpress forum it pointed to a bit of template code he told me to put in phpmailersub.php. I just had action=”phpmailersub.php” originally which didnt work either. How do I point it?
@esmi Its just so simple using normal HTML. That was a suggestion by another member but I really do not have the skills to write a plugin.
Any other options? I just need form data to send to address A and an auto response with a fixed message and an attached .pdf file.
Right my friend…
I wish to action some PHP script using PHPMailer. It sends the message and an autoresponse containing various attachments. The script works fantastically using plain HTML. (Possibly because the page and script are stored in the same folder, I dunno)
I have stored both phpmailersub.php and class.phpmailer.php in https://damtech.it/demo/etap/wp-content/plugins/phpmailersub.php
My code to action the form looks like this:
<form class="contact_form" action="<?php bloginfo('https://damtech.it/demo/etap/wp-content/plugins/'); ?><p>/phpmailersub.php" enctype="multipart/form-data" method="post" name="contact_form" onsubmit="return validateForm()"> FIELDS </form>
When I action the form I just get a 404 error and at the following URL: https://damtech.it/demo/etap/contact-test/%3C?php%20bloginfo%28%27https://damtech.it/demo/etap/wp-content/plugins/phpmailersub.php%27%29;%20?%3E%3Cp%3E/phpmailersub.php (which obviously isnt where this file is).
I realise there is a lot of content here but it is the only way to articulate what I mean. Thanks for your help buddy.
well I pasted that code directly from the FTP. Its definitely the correct path.
No it found phpmailersub.php which used class.phpmailer.php which were stored in the same folder sent then the two emails, totally successfully, which is why I am so confused about this.
The code I used was a flat HTML type directory structure. At present the phpmailersub.php and class.phpmailer.php are stored in https://damtech.it/demo/etap/wp-content/plugins/phpmailersub.php.
That’s what I get upon submit… obviously its not looking in the correct place but how do I rectify this problem?
The problem is, im sure, that the URL path in action=”” is wrong but that is the correct path copied from the FTP client, my lack of expertise is to blame.
I just get the same 404 error – file not found… I do not know where to store the file, just say plugins… but then even when I enter the path into form action=”” it still cannot find the file.
https://damtech.it/demo/etap/wp-content/plugins/phpmailersub.php
Thanks man this has been driving me nuts. I will try option 2 as I already have the page I wish to use it in. I literally just wish to know where the best place to store the file is and then what goes into form action=””.
So hopefully your method is as easy to implement as it sounds.
Forum: Plugins
In reply to: [WooCommerce] WooCommerce Theme (Magique) Intergration via HooksVery insightful help WooCommerce. Thanks for that.
Forum: Plugins
In reply to: [Blogger Importer] Setting featured image by defaultHi
I actioned your recommendation.
I deleted all existing posts, categories and images.
I then re-uploaded the posts and this time the upload process went all the way through without stopping to the end for the first time, which is great.
However, the images did not show up automatically on the blog and still needs updating from the full page editor and bulk quick edit has no effect.
Forum: Plugins
In reply to: [Blogger Importer] Setting featured image by defaultjust a quick note as well that might add a clue.
The image only appears on the blog page if it is update from the full editor page, an update from the quick edit does not work.
Forum: Plugins
In reply to: [Blogger Importer] Setting featured image by defaultWell thanks for your help anyways buddy, I am sure I will get to the bottom of it.