justinvempeny
Forum Replies Created
-
Thanks dear,
Okey Now.
I used country restriction on my page. Removed country restrictions and working fine..Thank brother.
Dear Support,
I noticed one thing
Plugin working with some pages
https://www.facebook.com/jemanthi/
https://www.facebook.com/idukkiassociation/but not working on other pages like
https://www.facebook.com/kuwaitcityads/Please advise
Thanks
JustinDear thank you for your reply,
The issue happened with my website because iam using one classified theme have different posts settings than wordpress default posts.
I reduced number of thumbnails created by the theme code by editing theme code and wordpress code.Also i enabled your plugin, did some changes in the database tables.
Now its working with me…Thank You
So much for your plugin and supportDear could you pls tell about this line (Line number: 133)
$time = ($post->post_date == '0000-00-00 00:00:00') ? $time : strtotime($post->post_date);
i just displayed this code
REQUEST_TIME=1348595913
time()=1348595914
time varible=1348595913
post->post_date:2012-08-11 12:55:49
strtotime(post->post_date):1344689749
time varible=1344689749here i can’t understand from where post->post_date coming with 2012-08-11 12:55:49. From where??
Please suggest…..Ohh man…
this line$date = explode(" ", date('Y m d H i s', $time));
making the issue with me.this code working correctly in a simple code with correct values, but didnt get correct values in plugin code ?? ??
Dear pls have a look on these values, i just var_dump the vales ..
$time=string(10) "1348590061" tags array=array(10) { [0]=> string(9) "%post_id%" [1]=> string(10) "%postname%" [2]=> string(11) "%post_type%" [3]=> string(6) "%year%" [4]=> string(10) "%monthnum%" [5]=> string(7) "%month%" [6]=> string(5) "%day%" [7]=> string(6) "%hour%" [8]=> string(8) "%minute%" [9]=> string(8) "%second%" } replace array=array(10) { [0]=> int(7) [1]=> string(7) "add-new" [2]=> string(4) "page" [3]=> string(4) "2012" [4]=> string(2) "08" [5]=> string(2) "08" [6]=> string(2) "11" [7]=> string(2) "12" [8]=> string(2) "55" [9]=> string(2) "49" } customdir=/%year%/%monthnum%/%day% //after $customdir = str_replace($tags, $replace, $customdir); //do all cheap replacements in one go. customdir=/2012/08/11
Pls check the values after str_replace function…
Dear iam using Godaddy linux shared hosting.
i am going through the code in custom_upload_dir.php file `$date = explode(” “, date(‘Y m d H i s’, $time));
$tags = array(‘%post_id%’,’%postname%’,’%post_type%’,’%year%’,’%monthnum%’,’%month%’, ‘%day%’,’%hour%’,’%minute%’,’%second%’);
$replace = array($post_id, $post_name, $post_type, $date[0], $date[1], $date[1], $date[2], $date[3], $date[4], $date[5]);`
.. i’m trying to solve the issue….. ?? new to programing… ??Dear ulfben, i installed custom custom-upload-dir plugin, my site is new, i dont have old images, so i can try more test with the plugin.
After plugin installation im using /%year%/%monthnum%/%day% as my upload folder structure, but my current date detail are September 24, 2012, 2:24 pm. but the folder created in wrong way..folder created like this way
wp-content/uploads/2012/08/11. How i can solve my issue and how can create wp-content/uploads/2012/09/24 (Year/Month/Date)structure…
PLease suggest..
Thanks in advance …
Justin Joseph