Alex Hempton-Smith | 23 Apr 18:32 2014
Picon

Mass-Import Process to run in background

Hi all,

I have large amounts of CSV data (around about 7k rows) to import, each row
being a new post (CPT) and various meta fields.

I can open and print out the contents of the file to the browser fine, but
I just know running that import will time-out.

Within a WordPress plugin, how do a run a large process like that? And even
better, provide some kind of 'percentage complete' feedback to the user?

Thanks,
Alex
Paul Menard | 22 Apr 17:30 2014

wordpress.org profile no longer lists my plugins

Apologies as I'm sure this is not the correct place to ask this question.

I've not checked in a long while. This morning when I go to my profile on
wordpress.org ( https://profiles.wordpress.org/pmenard/ ) I no longer see
my plugins listed. If I check the plugins individually I'm still shown as
the owner.

To where/whom should I post this issue?

Thanks in advance.

Paul
Adam LaBarge | 22 Apr 05:55 2014
Picon

Re: wp-hackers Digest, Vol 111, Issue 12


Hi Cris - 
Thanks for those links.  
ialocin's code in the second link:
http://wordpress.stackexchange.com/questions/123240/rename-image-uploads-replacing-width-and-height-in-filename-with-medium
worked out.
I added a default case with just img_size['width'] to catch any possible custom image sizes that don't need
a small/medium/large name replacement.
I also rearranged the file naming to filename-wordSizeInsteadofImageSize.extention.
This code seems to add and delete the created files correctly.  
I'm going to work on modifying it some so the small/medium/large images are put in their own directors under
the standard year/month of the uploads folder.
Thanks all for the help.  Solved as of now.

> From: wp-hackers-request <at> lists.automattic.com
> Subject: wp-hackers Digest, Vol 111, Issue 12
> To: wp-hackers <at> lists.automattic.com
> Date: Sat, 19 Apr 2014 12:00:01 +0000
> 
> Send wp-hackers mailing list submissions to
> 	wp-hackers <at> lists.automattic.com
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://lists.automattic.com/mailman/listinfo/wp-hackers
> or, via email, send a message with subject or body 'help' to
> 	wp-hackers-request <at> lists.automattic.com
> 
> You can reach the person managing the list at
> 	wp-hackers-owner <at> lists.automattic.com
> 
(Continue reading)

Phillip Lord | 17 Apr 17:58 2014
Picon
Picon

Tested up to:, how does that work?


I've been trying to follow this advice, to update my plugin version
Tested status:

"If your plugin is compatible, you don't even need to release a new version --
just change the readme value."

Now I think that I have done this. My readme.txt reads:

Requires at least: 3.0
Tested up to: 3.9

http://plugins.svn.wordpress.org/kcite/trunk/readme.txt

And, yet, the webpage says "3.3.2"

http://wordpress.org/plugins/kcite/

Rather confused. Have I done something wrong? Or do I need to update the
readme on the latest tag?

http://plugins.svn.wordpress.org/kcite/tags/1.6.3/readme.txt

I am guessing not as this read "3.3.1".

Or does it just take a while.

Phil
Adam LaBarge | 17 Apr 05:57 2014
Picon

specific file name for uploaded images - -small.jpg instead of 300x300.jpg

I would like to be able to save a file similar to how WP does, but instead of the file size at the end of the file I
want specific words.
Best I can find via searching online is: https://codex.wordpress.org/Class_Reference/WP_Image_Editor
And frankly I don't know if this is right or much less how to use it.  Even the examples online are not very
flushed out.http://wordpress.stackexchange.com/questions/91038/how-can-i-use-wp-save-image-editor-file-filterhttp://qandasys.info/hook-for-saving-an-image-after-editing/
Basically, I want for a custom image size the file to save instead of -300x300.jpg to be -small.jpg
Ideas?

  		 	   		  
Dino Termini | 16 Apr 16:26 2014
Picon

How do you "version" content?

Hello list,

I am setting up a git repo to manage my WordPress "stuff". I have a 
somewhat clear idea of how to setup my environment.
However I would like to hear from the experts on what the best practices 
are to synchronize and reconcile content.
In other words, how do you keep your dev/stg/prd databases in synch? 
(both directions)

Thank you,
Dino.
Ryan B | 15 Apr 19:27 2014
Picon

Change "Error Establishing a Database Connection" error message

I am wanting to change this error message to something a little more useful
to an end user, and also have it trigger an email alert to me if this error
occurs. Is there a hook or filter I could use to change the output given to
the user when a database connection error occurs?
Haluk Karamete | 15 Apr 03:51 2014
Picon

query question

I'm just curious, in this WP query, what is the number "5" referring to?

[request] => SELECT SQL_CALC_FOUND_ROWS  wp_posts.ID FROM wp_posts  WHERE
1=1  AND ( (
                    SELECT COUNT(1)
                    FROM wp_term_relationships
                    WHERE term_taxonomy_id IN (31,32,33,34,35)
                    AND object_id = wp_posts.ID
                ) = 5 ) AND wp_posts.post_type = 'post' AND
(wp_posts.post_status = 'publish' OR wp_posts.post_status = 'private')
GROUP BY wp_posts.ID ORDER BY wp_posts.post_date DESC LIMIT 0, 10
Amandeep Singh | 14 Apr 18:35 2014
Picon

GSOC 2014

No updates regarding project acceptance..
I would like to know how many slots are allotted btw ?

--

-- 
_________________________________________________________
Amandeep Singh Mundra
http://about.me/aman.adsm
http://kodevelop.com/
Mike Walsh | 9 Apr 14:54 2014
Picon

Running WordPress "offline"?

I recall this question coming previously but  I must not be phrasing my
Google query correctly because I can't find an answer.

I have WordPress running in a Virtual Machine which I use for development.
 The majority of the time this works well for me.  However, there are times
when I find myself without an Internet connection (e.g. yesterday on a 5+
hour airplane flight) where I can still get work done locally but WordPress
is verrrrrrrrrry sloooooooow because it is constantly reaching out for
resources (e.g. Gravatar, WordPress.org update server, etc.).

Is there a setting or hook or something that will cause the external
connections to either fail much quicker or not be attempted at all?

Mike
--

-- 
Mike Walsh - mpwalsh8 <at> gmail.com
David Anderson | 9 Apr 14:28 2014
Picon

Re: When shady people resell your work...

> Have you ever heard of Easy Digital Downloads or CodeCanyon?  We
> basically use the same business model, which seems to be in compliance
> with the whole GPL/WP business. Am I wrong?
Ultimately, all legal questions are resolved by lawyers and by court 
cases. Up until that point, nothing more than hot air exists. I like to 
do a bit of armchair punditry as much as anyone... but none of it 
changes the game being played on the pitch.

I say this as someone with every sympathy. Regardless of GPL issues (and 
all my WordPress products are 100% GPL, whether free or commercial), 
some people will see an opportunity to leech money from your hard work, 
and you need a strategy for that that is more than "tell them they're 
not allowed to". That's an overly optimistic strategy on this side of 
the end of the world.

In my view, the two main safeguards are a) continuous innovation b) top 
quality support. If you keep doing these, then the amount of new 
customers, and the purchases of happy repeat customers, will offset your 
losses to the leeches.

Best wishes,
David

--

-- 
UpdraftPlus - best WordPress backups - http://updraftplus.com
WordShell - WordPress fast from the CLI - http://wordshell.net

> Have you ever heard of Easy Digital Downloads or CodeCanyon?  We
> basically use the same business model, which seems to be in compliance
> with the whole GPL/WP business. Am I wrong?
(Continue reading)


Gmane