yuri6
Forum Replies Created
-
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] chage premium ads colorStill opened question, how to do looks different featured ads. ( color, label or..)
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] chage premium ads colorNothing change, empty. Click documentation, empty page http://wpadverts.com/documentation/featured-ads/
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] chage premium ads colorHi. i am using v. 1.0.5 and maps v.1.0 or possible latest
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Limit listingGreg, super
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] chage premium ads colorI mean this page empty for me, no any info, or it is something with my browser?
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] chage premium ads colorThis page exist or not http://wpadverts.com/documentation/featured-ads/
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Limit listingIt is looks like limit works for all users, if one user had reach limit, another can’t put anything
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Limits number of files, size, adsHi. Greg. Works as it need, Thank you for great support.
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Limits number of files, size, adsI put as you recommend, was first image with limit, but second without. i did dublicate , it works fine, but i not very sure it is correct, or possible some bugs afterwards
if( $post_id < 1 ) {
// first image upload.if( $file[“size”] >= 100000 ) {
$file[“error”] = “Your file is to big.”;
}
return $file;}
$attachments = get_children( array( ‘post_parent’ => $post_id ) );
$images = count( $attachments );if( $images >= LIMIT_FILE_UPLOADS ) {
$file[“error”] = sprintf( “You cannot upload more than %d images.”, LIMIT_FILE_UPLOADS );
}if( $file[“size”] >= 100000 ) {
$file[“error”] = “Your file is to big.”;
}
return $file;
}Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Limits number of files, size, adssame problem. i think problem with this line if( $file[“size”] >= 1000000 ) if i am changing file size if( $file[“size”] >= 1000 ) it is 1000kb, then upload first image ex. 35kb and second same small size, message “Your file is to big.” what is 1000000 kb or. where define for sizes, how it to be compared with some parameters
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Limits number of files, size, adsIf first image big size, it is show as downloading in process without stop.
If first image small and second big it is works fine , second image will show error.Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Limits number of files, size, adsHi. Greg. Now no errors but is not works size limit, may be because define(“LIMIT_FILE_UPLOADS”, 2); may be need make define like define(“LIMIT_FILE_UPLOADS”, 2, 1000000); i mean size without define
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Limits number of files, size, adsOk about this. How i can set fixed limit file number and file size. if i use (wpadverts-snippets/limit-file-uploads/limit-file-uploads.php) and
`add_filter(“adverts_gallery_upload_prefilter”, “limit_file_uploads”);function limit_file_uploads( $file ) {
if ( !isset($file[“name”]) || !isset($file[“type”]) ) {
return $file;
}
if ( !isset( $_POST[“post_id”] ) ) {
$post_id = 0;
} else {
$post_id = intval($_POST[“post_id”]);
}if( $file[“size”] >= 1000000 ) {
$file[“error”] = “Your file is to big.”;
}return $file;
}
They have conflict.Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Notification and WP Adverts pluginThanks for very quick answer. may be know which email plugin will work?
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Notification and WP Adverts pluginHi. i want realise idea send notification to subscribers group ( group by city ). Example user sent add to category “city1” and subscribers from “city1” have email notification. But i did check few notifications plugins, now i am use Email Subscribers plugin, and plugin can’t see categories, only ‘advert’. Could you advise how i can realise this idea.
Thanks
Yuri