Changeset 1814078
- Timestamp:
- 02/02/2018 12:05:01 PM (8 years ago)
- Location:
- wp-upg
- Files:
-
- 117 added
- 5 edited
-
tags/1.42 (added)
-
tags/1.42/addon.php (added)
-
tags/1.42/css (added)
-
tags/1.42/css/admin.css (added)
-
tags/1.42/css/aristo.css (added)
-
tags/1.42/css/colorbox.css (added)
-
tags/1.42/css/grids-responsive-min.css (added)
-
tags/1.42/css/images (added)
-
tags/1.42/css/images/border.png (added)
-
tags/1.42/css/images/controls.png (added)
-
tags/1.42/css/images/loading.gif (added)
-
tags/1.42/css/images/loading_background.png (added)
-
tags/1.42/css/images/overlay.png (added)
-
tags/1.42/css/pure-min.css (added)
-
tags/1.42/css/style.css (added)
-
tags/1.42/help.php (added)
-
tags/1.42/images (added)
-
tags/1.42/images/index.htm (added)
-
tags/1.42/images/info.png (added)
-
tags/1.42/images/new.png (added)
-
tags/1.42/images/noimg.png (added)
-
tags/1.42/images/odude.png (added)
-
tags/1.42/images/remove.png (added)
-
tags/1.42/js (added)
-
tags/1.42/js/button_pop.js (added)
-
tags/1.42/js/common.js (added)
-
tags/1.42/js/jquery.colorbox-min.js (added)
-
tags/1.42/js/odude.png (added)
-
tags/1.42/js/upg_delete.js (added)
-
tags/1.42/languages (added)
-
tags/1.42/languages/wp-upg-de_DE.mo (added)
-
tags/1.42/languages/wp-upg-de_DE.po (added)
-
tags/1.42/languages/wp-upg-es-ES.mo (added)
-
tags/1.42/languages/wp-upg-es-ES.po (added)
-
tags/1.42/languages/wp-upg-hi_IN.mo (added)
-
tags/1.42/languages/wp-upg-hi_IN.po (added)
-
tags/1.42/languages/wp-upg.pot (added)
-
tags/1.42/layout (added)
-
tags/1.42/layout/button.php (added)
-
tags/1.42/layout/catalog.php (added)
-
tags/1.42/layout/edit.php (added)
-
tags/1.42/layout/form (added)
-
tags/1.42/layout/form/basic (added)
-
tags/1.42/layout/form/basic/basic_post_form.php (added)
-
tags/1.42/layout/form/basic/basic_post_youtube.php (added)
-
tags/1.42/layout/form/personal (added)
-
tags/1.42/layout/form/personal/personal_post_form.txt (added)
-
tags/1.42/layout/form/personal/personal_post_youtube.txt (added)
-
tags/1.42/layout/form/post_image.php (added)
-
tags/1.42/layout/form/post_youtube.php (added)
-
tags/1.42/layout/grid (added)
-
tags/1.42/layout/grid/basic (added)
-
tags/1.42/layout/grid/basic/basic.php (added)
-
tags/1.42/layout/grid/basic/basic_config.php (added)
-
tags/1.42/layout/grid/basic/basic_down.php (added)
-
tags/1.42/layout/grid/basic/basic_pick.php (added)
-
tags/1.42/layout/grid/basic/basic_up.php (added)
-
tags/1.42/layout/grid/flat (added)
-
tags/1.42/layout/grid/flat/flat.php (added)
-
tags/1.42/layout/grid/flat/flat_config.php (added)
-
tags/1.42/layout/grid/flat/flat_down.php (added)
-
tags/1.42/layout/grid/flat/flat_pick.php (added)
-
tags/1.42/layout/grid/flat/flat_up.php (added)
-
tags/1.42/layout/grid/list (added)
-
tags/1.42/layout/grid/list/list.php (added)
-
tags/1.42/layout/grid/list/list_config.php (added)
-
tags/1.42/layout/grid/list/list_down.php (added)
-
tags/1.42/layout/grid/list/list_pick.php (added)
-
tags/1.42/layout/grid/list/list_up.php (added)
-
tags/1.42/layout/grid/personal (added)
-
tags/1.42/layout/grid/personal/notes.txt (added)
-
tags/1.42/layout/grid/personal/personal.txt (added)
-
tags/1.42/layout/grid/personal/personal_config.php (added)
-
tags/1.42/layout/grid/personal/personal_down.txt (added)
-
tags/1.42/layout/grid/personal/personal_pick.txt (added)
-
tags/1.42/layout/grid/personal/personal_up.txt (added)
-
tags/1.42/layout/grid/personal/personal_wppost.php (added)
-
tags/1.42/layout/grid/personal/personal_wppost.txt (added)
-
tags/1.42/layout/grid/personal/personal_wppost_down.php (added)
-
tags/1.42/layout/grid/personal/personal_wppost_down.txt (added)
-
tags/1.42/layout/grid/personal/personal_wppost_up.php (added)
-
tags/1.42/layout/grid/personal/personal_wppost_up.txt (added)
-
tags/1.42/layout/index.htm (added)
-
tags/1.42/layout/media (added)
-
tags/1.42/layout/media/basic (added)
-
tags/1.42/layout/media/basic/basic.php (added)
-
tags/1.42/layout/media/header.php (added)
-
tags/1.42/layout/media/personal (added)
-
tags/1.42/layout/media/personal/personal.php (added)
-
tags/1.42/layout/media/personal/sample.txt (added)
-
tags/1.42/layout/pick.php (added)
-
tags/1.42/layout/wppost.php (added)
-
tags/1.42/layout/youtube.php (added)
-
tags/1.42/libs (added)
-
tags/1.42/libs/custom_column.php (added)
-
tags/1.42/libs/functions.php (added)
-
tags/1.42/libs/hooks.php (added)
-
tags/1.42/libs/index.htm (added)
-
tags/1.42/libs/install.php (added)
-
tags/1.42/libs/lib.php (added)
-
tags/1.42/libs/media.js (added)
-
tags/1.42/libs/metabox.php (added)
-
tags/1.42/libs/post_img.php (added)
-
tags/1.42/libs/taxonomy.php (added)
-
tags/1.42/libs/youtube_url.php (added)
-
tags/1.42/readme.txt (added)
-
tags/1.42/setting.php (added)
-
tags/1.42/ultimatemember.php (added)
-
tags/1.42/widgets (added)
-
tags/1.42/widgets/categories.php (added)
-
tags/1.42/wp-upg.php (added)
-
trunk/layout/grid/basic (added)
-
trunk/layout/grid/basic/basic.php (added)
-
trunk/layout/grid/basic/basic_config.php (added)
-
trunk/layout/grid/basic/basic_down.php (added)
-
trunk/layout/grid/basic/basic_pick.php (added)
-
trunk/layout/grid/basic/basic_up.php (added)
-
trunk/layout/media/header.php (modified) (2 diffs)
-
trunk/layout/media/personal/personal.php (modified) (1 diff)
-
trunk/libs/functions.php (modified) (3 diffs)
-
trunk/readme.txt (modified) (3 diffs)
-
trunk/wp-upg.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-upg/trunk/layout/media/header.php
r1688694 r1814078 4 4 $options = get_option( 'upg_settings','' ); 5 5 if(isset($options['upg_textarea_shortcode_1'])) 6 return do_shortcode( stripslashes($options['upg_textarea_shortcode_1'])) ."<br>";6 return do_shortcode( stripslashes($options['upg_textarea_shortcode_1'])); 7 7 else 8 8 return "" ; … … 12 12 $options = get_option( 'upg_settings','' ); 13 13 if(isset($options['upg_textarea_shortcode_2'])) 14 return do_shortcode( stripslashes($options['upg_textarea_shortcode_2'])) ."<br>";14 return do_shortcode( stripslashes($options['upg_textarea_shortcode_2'])); 15 15 else 16 16 return "" ; -
wp-upg/trunk/layout/media/personal/personal.php
r1772155 r1814078 12 12 ob_start (); 13 13 $image=upg_image_src('large',$post); 14 $image_medium=upg_image_src('medium',$post); 15 $image_full=upg_image_src('full',$post); 14 16 15 17 $author = get_user_by('id', get_the_author_meta( 'ID' )); -
wp-upg/trunk/libs/functions.php
r1807834 r1814078 112 112 if (empty($title)) $newPost['error'][] = 'required-title'; 113 113 if (empty($category)) $newPost['error'][] = 'required-category'; 114 if (empty($content)) $newPost['error'][] = 'required-description';114 //if (empty($content)) $newPost['error'][] = 'required-description'; 115 115 if (empty($url)) $newPost['error'][] = 'required-url'; 116 116 if ($category=='-1') $newPost['error'][] = 'required-category'; … … 164 164 if (empty($title)) $newPost['error'][] = 'required-title'; 165 165 if (empty($category)) $newPost['error'][] = 'required-category'; 166 if (empty($content)) $newPost['error'][] = 'required-description';166 //if (empty($content)) $newPost['error'][] = 'required-description'; 167 167 168 168 $newPost['error'][]=apply_filters('upg_verify_submit', ""); … … 300 300 301 301 if(has_filter('upg_add_icon_grid')) { 302 $list .= '<br>';303 302 $icon = apply_filters('upg_add_icon_grid', $icon); 304 303 } 305 304 305 if(count($icon)>0) 306 $list .= '<br>'; 307 306 308 for($r=0;$r<count($icon);$r++) 307 309 { -
wp-upg/trunk/readme.txt
r1807834 r1814078 5 5 Requires at least: 3.8 6 6 Tested up to: 4.9.1 7 Stable tag: 1.4 17 Stable tag: 1.42 8 8 License: GPLv3 9 9 License URI: http://www.gnu.org/licenses/gpl-3.0.html … … 56 56 For further questions feel free to drop a line at <a href="mailto:navneet@odude.com">navneet@odude.com</a>. 57 57 or 58 Go to our site to read full updated documentations and features at <a href="http://odude.com/demo/faq/">UPG FAQ</a>. The FAQ Knowledgebase system is also powered by UPG plugin.58 Go to our site to read full updated documentations and features at <a href="http://odude.com/demo/faq/">UPG FAQ</a>. 59 59 60 60 = Live Demo = 61 61 62 Click on the link to see the <a href="http://odude.com/demo/" target="_blank">Basic Demo built to display products</a>. 62 Used WP-UPG Plugin : <a href="http://odude.com/demo/photo/users-post-gallery/" target="_blank">Built for Photographers</a> 63 64 Used WP-UPG Plugin : <a href="http://odude.com/demo/faq/" target="_blank">FAQ System</a> 63 65 64 66 … … 116 118 == Changelog == 117 119 120 =1.42= 121 * Code optimized and added basic layout 122 118 123 =1.41= 119 124 * Logged in users can delete own uploded post. -
wp-upg/trunk/wp-upg.php
r1807834 r1814078 4 4 Plugin URI: http://odude.com/ 5 5 Description: UPG - User Post Gallery. User can post content/images from frontend. 6 Version: 1.4 16 Version: 1.42 7 7 Author: ODude Network 8 8 Author URI: http://odude.com/ … … 11 11 */ 12 12 13 define('UPG_PLUGIN_VERSION', '1.4 1');13 define('UPG_PLUGIN_VERSION', '1.42'); 14 14 15 15 define('upg_ROOT_URL', plugin_dir_url( __FILE__ ) ); … … 154 154 for ($x = 1; $x <= 5; $x++) 155 155 { 156 if(isset($_POST["upg_custom_field_".$x]) && $_POST["upg_custom_field_".$x]!="")157 {156 //if(isset($_POST["upg_custom_field_".$x]) && $_POST["upg_custom_field_".$x]!="") 157 //{ 158 158 update_post_meta($post->ID, "upg_custom_field_".$x, sanitize_text_field($_POST["upg_custom_field_".$x])); 159 }159 //} 160 160 } 161 161
Note: See TracChangeset
for help on using the changeset viewer.