ninofrenn
Forum Replies Created
-
hey, just found a way for my problem
i added one conditional code in wpuf-edit-post.phpelse if ($post->post_status == "publish") { $can_edit = 'no'; $info = 'You cannot Editing this post anymore! Cheating huh?'; }@professor
set the “default” for user can edit or delete will disable subscribe to edit or delete their pending/offline post.What I need exactly is
1. User (in any role included subcriber) can edit or even delete their post if the post still pending/unapprove. But if their post have been published/approve then these option (edit & delete) should be disable at all in wpuf default editor ( but any backend accesibility user still could edit published post such admin and editor).Forum: Plugins
In reply to: [SEO Facebook Comment] Hide facebook comment in wp comment defaultbut if you want to not save facebook comment to wp comment database. Then don’t use this plugin. because it will surely save fb comment to standard wp comment. This the main reason why they called it SEO because its crawable by search engine
Forum: Plugins
In reply to: [SEO Facebook Comment] Hide facebook comment in wp comment defaultI don’t know exactly what you want.
facebook comment and wp comment are definetly different comment system database.
if you use this plugin, it will save (not duplicate as you said above) the comment made by facebook to wp comment database. Because everyone know that fb comment use iframe (iframe are not crawable by search engine). That’s the default setting created by this plugin ( you cant change it).you only have two option.
1. You can set the comment to auto or manually saved to your wp comment default.
2. You able to choose whether to show or not the default wp comment side. If you set to not show, then only fb comment will appears to visitor. The wp comment default will be hidden but still crawable by search engine (good for seo).hi tareq,
is it able to add edit or delete option to only draft and pending post.
Then the publish post user cannot edit or delete.I’ve found solution here http://wordpress.org/support/topic/security-problem-doesnt-observe-user-capabilities?replies=7
but its only hidden the link edit or delete, the user still can acces the edit page if they know the post-IDthis only hide the edit and delete link at the dashboard, but users still can edit and (surely) delete post if they know the post ID…
I think a few wp conditional tags (publish, draft, or pending) need to implement in wpuf-edit-post.php
Forum: Plugins
In reply to: [Nextend Social Login and Register] Fix incompability with other fb pluginsthankyou so much
you safe my hard time searching for other not worked fix…Forum: Plugins
In reply to: [Nextend Social Login and Register] Fix incompability with other fb pluginswhere the right place to enter those code,
please, Im a newbieForum: Plugins
In reply to: [Popular Posts Tabbed Widget for Jetpack] Please Fix the css code@joe
look for class pptwj-tabs-wrap on plugin css files, then find all code similar like background or color. Then change the html color as you like.. You can also use right-click “inspect element” on Chrome browser. Thats much easierbtw, anyone could help my problem
like I said, this widget will cause an error to others. Every widget placing below it, they will pushed to the bottom of page@jonathan
Is the function above do the same process for “tags input” ?
Then, I’m wondering just change the way in category option select with the input tagsi.e maybe like this
<label for=”custom_tags”>Title <span class=”required”>*</span></label>
<input class=”requiredField” value=”” name=”custom_tags” id=”custom_tags” minlength=”2″ type=”text”>I like this plugin, full disabling wp default login
what so careless!!!
I love you Jonathan, it’s working properly now!
@all of you
go here wordpress.org/support/topic/plugin-wp-user-frontend-custom-taxonomies-1they have a solution!!
feeling stuck about this one, they don’t save
here is mine/** * Add a select dropdown for a custom taxonomy * in WP User Frontend add/edit frontend form * * @uses wpuf_add_post_form_after_description action hook * * @param string $post_type the post type of the post add screen * @param object|null $post the post object */ function wpufe_add_taxonomy_select( $post_type, $post = null) { ?> <label for="about"> About <span class="required">*</span> </label> <?php // Add security nonce check wp_nonce_field( __FILE__, 'taxonomy_noncename' ); // Get all taxonomy terms $taxonomies = get_terms('about', 'hide_empty=0'); // You can also use - see below: // $taxonomies = wp_get_object_terms( $post->ID, 'about', array('fields' => 'ids') ); ?> <?php // Here is another way to create your dropdown select with WordPress: // wp_dropdown_categories('taxonomy=about&hide_empty=0&orderby=name&name=about&show_option_none=Select Taxonomy&selected='.$taxonomies[0]); ?> <select name='about' id='about' class="requiredField"> <option value='' <?php if (!count($taxonomies)) echo "selected='selected'";?>>Select an item</option> <?php foreach ($taxonomies as $taxonomy) { $selected = (has_term($taxonomy->slug, 'about', $post->ID)) ? ' selected="selected" ' : ''; echo "<option value='" . $taxonomy->name . "' " . $selected . ">" . $taxonomy->name . "</option>\n"; } ?> </select> <?php } /** * Input the media data after submitting */ if (function_exists('wpufe_add_taxonomy_select')) { add_action('save_post', 'save_taxonomy_data'); } add_action( 'wpuf_add_post_form_after_description', 'wpufe_add_taxonomy_select', 10, 2 ); function save_taxonomy_data($post_id) { // verify this came from our screen and with proper authorization. if ( !wp_verify_nonce( $_POST['taxonomy_noncename'], __FILE__ )) { return $post_id; } // verify if this is an auto save routine. If it is our form has not been submitted, so we dont want to do anything if ( defined('DOING_AUTOSAVE') && DOING_AUTOSAVE ) return $post_id; // Check permissions if ( 'questions' == $_POST['post_type'] ) { if ( !current_user_can( 'edit_page', $post_id ) ) return $post_id; } else { if ( !current_user_can( 'edit_post', $post_id ) ) return $post_id; } // OK, we're authenticated: we need to find and save the data $post = get_post($post_id); if ($post->post_type == 'questions') { $select_name = $_POST['about']; wp_set_object_terms( $post_id, $select_name, 'questions' ); } }any help??
hey, the custom post type submission work well but that tag won’t saved! I have post type called “question” and the tags for it.
I have manually added tags besides admin panel instead of user frontend