kachan64
Forum Replies Created
-
Forum: Plugins
In reply to: [Email Before Download] Email not showing?Problem solved by changing SSL to TLS in SMTP mail plugin. Thanks
Forum: Plugins
In reply to: [Email Before Download] Email not showing?Thanks.
Here is the test download successfully:
https://snipboard.io/rHcYny.jpgAnd here is the test:
https://maxpak.com.au/logo-download/?v=3a1ed7090bfaForum: Plugins
In reply to: [E2Pdf - Export Pdf Tool for WordPress] merge data from 2nd formOh sorry for the late reply. I got all sorted thanks
Forum: Plugins
In reply to: [E2Pdf - Export Pdf Tool for WordPress] merge data from 2nd formHa, I guess I answered my own question.
So in the template for Form A I have a section where value changes depends on the data from Form B. I was able to use something like[frm-field-value field_id=122 user_id=current]
to retrieve last submitted data from current user on Form B.It is possible to attatch the original PDF again to email once people filled in Form B?
- This reply was modified 3 years, 3 months ago by kachan64.
Forum: Plugins
In reply to: [Email Before Download] Email not showing?The first one is where I got it working with email before download and download monitor:
https://snipboard.io/1Ur7TA.jpg
[email-download download_id="15682" contact_form_id="15703"]
This is just contact form 7
https://snipboard.io/JPlrhm.jpg
[contact-form-7 id="15703" title="Logo"]
No permission and link expired:
https://snipboard.io/78yq2B.jpg
https://snipboard.io/nZQEqU.jpgYes it is if you are still interested:
I took one of my other code which inserts a short code into profile edit pageadd_action('woocommerce_after_edit_account_form', 'custom_wc_after_edit_account_form'); function custom_wc_after_edit_account_form() { echo '<br><h2 class="screen-heading general-settings-screen">Avatar Settings</h2>'; echo do_shortcode('[avatar_upload]'); }
You will need to paste this into your functions and you should see avatar upload button.
Forum: Plugins
In reply to: [Advanced Classic Editor] use in frontendDoes something like that help?
https://codex.www.ads-software.com/Function_Reference/wp_editorForum: Plugins
In reply to: [WP Roles at Registration] assign validation as required fieldHere you go, I just wrote it myself:
add_filter( 'registration_errors', 'select_user_role_error', 10, 3 ); function select_user_role_error( $errors, $sanitized_user_login, $user_email ) { if(isset($_REQUEST['wp_rar_user_role']) && $_REQUEST['wp_rar_user_role'] == 'contributor') : $errors->add( 'policy_error', "<strong>ERROR</strong>: Please select an option." ); return $errors; endif; return $errors; }
Just change contributor to whatever your role is and should check if you have selected the right one.
Forum: Plugins
In reply to: [Co-Authors Plus] Search for an author only displays Admin users@ste_95 Thanks. I was wondering why wasn’t show up for my custom post type.
Forum: Plugins
In reply to: [Gutenberg] How do I use Font Awesome?Font Awesome is included in WP by default at least most of the theme you are using.I can see that you are already using Font Awesome by the looks of “Posted on” clock icon?
Forum: Plugins
In reply to: [DW Question & Answer] different staff label for admin and editorsYou can use https://www.ads-software.com/plugins/capability-manager-enhanced/ to rename the default label for those roles.
Forum: Plugins
In reply to: [WP w3all phpBB] Add topic poll as widgetYes is correct. I don’t think users will need that anyways. Only author, editor or admin may found this feature useful.
Right, so what I wrote above is the permission check. I was thinking that only admin can have full access and use the code and widget. Maybe author and editor as well but not guest or subscriber. hope that helps…
Forum: Plugins
In reply to: [WP w3all phpBB] Add topic poll as widgetFair enough
That what I thought:
Guest – No access/must be logged in
Logged In Users – Check poll to see if already voted
Admin – Full access
Editor – Wouldn’t editor just a regular users?- This reply was modified 7 years, 4 months ago by kachan64.
Forum: Plugins
In reply to: [WP w3all phpBB] Add topic poll as widgethave you check this out? https://blog.phpbb.com/2009/11/09/how-to-display-posts-and-topics-on-external-pages/ This allows phpbb posts to display to external pages.
Forum: Plugins
In reply to: [WP w3all phpBB] Add topic poll as widgetsorry for late reply, did not get email notification for some reason.
okay. thanks for the heads up and help.
yeah, bit like what wp polls plugin for wordpress does, but load the poll from a post id if the post has a poll created.