[wp-testers] Two questions about wp-config.php

2008-12-08 Thread Xavier Borderie
While I am on the subject on the subject of salting values (see
previous post)...

1) Couldn't http://api.wordpress.org/secret-key/x.x/ be used to
automatically fill-in the unique phrases, instead of letting the use
open the file, copy/paste, and start the install.
(maybe it's already the case...)
WP has a superb installer that takes care of most things with a web
interface, and these salting values are the only things that still
require manually changing wp-config.php. It's an API, it should be
machine-to-machine, not machine-to-human-to-copy-paste-in-file :)

---

2) While translating setup-config.php yesterday for the fr_FR /dist, I
re-stumbled on a piece of code, and therefore remembered an old
question of mine:
http://trac.wordpress.org/browser/trunk/wp-admin/setup-config.php#L160
Obviously, this code replaces the putyourdbnamehere  co values with
the entries indicated by the user in the setup interface, by way of a
simple regex'ing (well, string replacement...).

Thing is, in fr_FR we do translate these putyourdbnamehere  co
values in our own /dist/wp-config-sample.php (i.e. putyourdbnamehere
becomes votre-nom-de-bdd), for obvious reasons: making it
understandable by francophones who have to read  fill the doc (we
also translate the whole phpDoc text, for the same reasons).

As I understand it, if one translator was to translate
putyourdbnamehere  co, he should also translate them exactly in
setup-config.php, or else the setup code would fail, right?

So, the question: would'nt it be safer to have the string replacement
be on another target than the original English text, instead of
risking making it all break just by lack of awareness of the whole
process? DB_NAME and friends seem excellent candidate, with the code
replacing the whole line instead of just the value itself. That would
require real-deal regexp, but it's no unheard-of in these parts,
right? :)


-- 
Xavier Borderie
___
wp-testers mailing list
wp-testers@lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-testers


[wp-testers] Uploading media problem in WP 2.7 RC1

2008-12-08 Thread Engel Sanchez
Hi, I am new to this list so sorry is a solution has already being
discussed.

There is a known problem with the upload media feature in WP 2.7 RC1?

I have a problem with that... it says it cannot locate temp directory
and  temp directory missing...

I already added this to wp-config.php :

define('WP_TEMP_DIR', '/tmp');

That dir exists and it is being used, e.g. wp-super-cache... so the dir
should be reachable to my wp config

Any quick solution to this?

I made the BIG mistake to upgrade a heavy traffic live site and as you can
imagine.. I am in a problem now... I have being uploading photos manually by
ftp.

Thanks in advanced.

Engel
___
wp-testers mailing list
wp-testers@lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-testers


Re: [wp-testers] Two questions about wp-config.php

2008-12-08 Thread Stefano Aglietti
On Mon, 8 Dec 2008 12:51:58 +0100, Xavier Borderie
[EMAIL PROTECTED] wrote:

1) Couldn't http://api.wordpress.org/secret-key/x.x/ be used to
automatically fill-in the unique phrases, instead of letting the use
open the file, copy/paste, and start the install.
(maybe it's already the case...)
WP has a superb installer that takes care of most things with a web
interface, and these salting values are the only things that still
require manually changing wp-config.php. It's an API, it should be
machine-to-machine, not machine-to-human-to-copy-paste-in-file :)

+100 great idea, tha interactive guided installation should get this
keys automatically, a warning these keys are not setted should appear
in some place on the dashboard, not sure what sections...

2) While translating setup-config.php yesterday for the fr_FR /dist, I
re-stumbled on a piece of code, and therefore remembered an old
question of mine:

...

So, the question: would'nt it be safer to have the string replacement
be on another target than the original English text, instead of
risking making it all break just by lack of awareness of the whole
process? DB_NAME and friends seem excellent candidate, with the code
replacing the whole line instead of just the value itself. That would
require real-deal regexp, but it's no unheard-of in these parts,
right? :)

+1 to this too... I suppose both won't appear on 2.7 but are good
candidates for 2.7.1... or very at least for 2.8.

-- 

Stefano Aglietti - StallonIt on IRCnet - ICQ#: 2078431
Email: [EMAIL PROTECTED] [EMAIL PROTECTED]
Sites: http://www.40annibuttati.it (personal blog)
   http://www.wordpress-it.it (WordPress Italia)
___
wp-testers mailing list
wp-testers@lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-testers


Re: [wp-testers] Verifying core update works for the real 2.7 to 2.7.1

2008-12-08 Thread Kirk M
Unless I'm grossly mistaken, the .#  versions are built on an as 
needed basis due to new security issues popping up (zero day hacks and 
the like) and/or a major issue or issues are found with the 2.7 series. 
Once a milestone release goes gold it shifts from trunk to branch and 
minor security/bug fix updates are made from that particular branch. 
There's no continuous development once 2.7-final is released and goes to 
branch that I know of.


On 12/8/2008 4:38 AM, Xavier Borderie wrote:

Okay, but what about when 2.7 is installed and before 2.7.1 becomes
available, what will normal (not testers) users see?
 


Well then you wouldn't be on trunk anymore, so I'm guessing there is
no development version for 2.7.x once 2.7 goes gold.
Unless, if course, a 2.7-dev code exists :)


   

___
wp-testers mailing list
wp-testers@lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-testers


Re: [wp-testers] Two questions about wp-config.php

2008-12-08 Thread Otto
On Mon, Dec 8, 2008 at 5:51 AM, Xavier Borderie [EMAIL PROTECTED] wrote:
 1) Couldn't http://api.wordpress.org/secret-key/x.x/ be used to
 automatically fill-in the unique phrases, instead of letting the use
 open the file, copy/paste, and start the install.
 (maybe it's already the case...)
 WP has a superb installer that takes care of most things with a web
 interface, and these salting values are the only things that still
 require manually changing wp-config.php. It's an API, it should be
 machine-to-machine, not machine-to-human-to-copy-paste-in-file :)

Bad idea. It'd be safer to write a really good random number generator
function into your installer program. Sending your secret keys over
the internet kind of defeats the point, really. The secret-key
generator on wp.org is a convenience, not intended to be the end-all
be-all of security.

Of course, this depends on how paranoid you truly are. ;-)

-Otto
___
wp-testers mailing list
wp-testers@lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-testers


Re: [wp-testers] Two questions about wp-config.php

2008-12-08 Thread Xavier Borderie
 Bad idea. It'd be safer to write a really good random number generator
 function into your installer program. Sending your secret keys over
 the internet kind of defeats the point, really. The secret-key
 generator on wp.org is a convenience, not intended to be the end-all
 be-all of security.

I thought of that, yeah :)
I imagine the secret-key generator is in PHP, so there would be little
work putting that into setup-config.
Still, having to open and edit wp-config should be a thing of the past.


-- 
Xavier Borderie
___
wp-testers mailing list
wp-testers@lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-testers


[wp-testers] Rich Text Editor Bug

2008-12-08 Thread Paleo Pat
Hi Gang,

I mentioned this before, and was basically told I didn't know what I was
talking about. But I will mention it again.

If I attempt to highlight a block of text and try and hit the quote button.
It will not move. I have to full screen the editor to get it to move.

It is still doing this and has been since 2.7 went into beta.

Could we please fix this, as it is a big pain the behind, especially for a
news/political blogger like me.

Thanks.

-Pat



-Paleo Pat
http://www.politicalbyline.com
___
wp-testers mailing list
wp-testers@lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-testers


[wp-testers] A bit more on the Rich Text Editor Bug

2008-12-08 Thread Paleo Pat
Here's some else strange I discovered. If you highlight and try to move a
single paragraph. It won't move. But if you highly multi-paragraphs. It
works.

It is obviously something strange, but it does not do this all the time.
I'll keep my eyes out. let everyone know what goes on here.

Not barking or being abusive, just pointing it out. :)

-Paleo Pat
http://www.politicalbyline.com
___
wp-testers mailing list
wp-testers@lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-testers


Re: [wp-testers] A bit more on the Rich Text Editor Bug

2008-12-08 Thread Chris Moody
I'm not one of the developers, but for bugs like this the following 
information is usually critical in finding what is causing it:


What OS are you running?
What Browser(s) have you had this trouble in? (if its just one obscure 
browser probably no one will care)



Paleo Pat wrote:

Here's some else strange I discovered. If you highlight and try to move a
single paragraph. It won't move. But if you highly multi-paragraphs. It
works.

It is obviously something strange, but it does not do this all the time.
I'll keep my eyes out. let everyone know what goes on here.

Not barking or being abusive, just pointing it out. :)

-Paleo Pat
http://www.politicalbyline.com
___
wp-testers mailing list
wp-testers@lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-testers
  


___
wp-testers mailing list
wp-testers@lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-testers


Re: [wp-testers] A bit more on the Rich Text Editor Bug

2008-12-08 Thread Paleo Pat
Windows Vista Basic SP1

It's happened in FireFox 3.04. I haven't posted enough in Chrome or IE to
notice if it does it nor not.

Thanks for the reminder. I haven't had my coffee yet. Long night Last
Night. #_#

-Paleo Pat
http://www.politicalbyline.com




On Mon, Dec 8, 2008 at 2:02 PM, Chris Moody [EMAIL PROTECTED] wrote:

 I'm not one of the developers, but for bugs like this the following
 information is usually critical in finding what is causing it:

 What OS are you running?
 What Browser(s) have you had this trouble in? (if its just one obscure
 browser probably no one will care)


 Paleo Pat wrote:

 Here's some else strange I discovered. If you highlight and try to move a
 single paragraph. It won't move. But if you highly multi-paragraphs. It
 works.

 It is obviously something strange, but it does not do this all the time.
 I'll keep my eyes out. let everyone know what goes on here.

 Not barking or being abusive, just pointing it out. :)

 -Paleo Pat
 http://www.politicalbyline.com
 ___
 wp-testers mailing list
 wp-testers@lists.automattic.com
 http://lists.automattic.com/mailman/listinfo/wp-testers



 ___
 wp-testers mailing list
 wp-testers@lists.automattic.com
 http://lists.automattic.com/mailman/listinfo/wp-testers

___
wp-testers mailing list
wp-testers@lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-testers


Re: [wp-testers] Rich Text Editor Bug

2008-12-08 Thread Will Garcia
Tried to dupe the issue but I can't. Also using FF3.0.4, but on XP. No
issues in Linux also.

Are you using the Visual Editor? I tried it also and it seems to be working
fine.

I'm suspecting a WP plugin is causing this OR a FF extension.

Anyone else able to duplicate the issue?

On Tue, Dec 9, 2008 at 2:41 AM, Paleo Pat [EMAIL PROTECTED] wrote:

 Hi Gang,

 I mentioned this before, and was basically told I didn't know what I was
 talking about. But I will mention it again.

 If I attempt to highlight a block of text and try and hit the quote button.
 It will not move. I have to full screen the editor to get it to move.

 It is still doing this and has been since 2.7 went into beta.

 Could we please fix this, as it is a big pain the behind, especially for a
 news/political blogger like me.

 Thanks.

 -Pat



 -Paleo Pat
 http://www.politicalbyline.com
 ___
 wp-testers mailing list
 wp-testers@lists.automattic.com
 http://lists.automattic.com/mailman/listinfo/wp-testers




-- 
Will Garcia
http://will.ph/
___
wp-testers mailing list
wp-testers@lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-testers


Re: [wp-testers] Rich Text Editor Bug

2008-12-08 Thread Paleo Pat
That's the one I mean, the visual editor. Rich editor, whatever you call it.


It might be a flash thing too... anyhow, it's just annoying... I wish I had
a tool that would let me do capture what goes on my screen, video capture...
would be nice.

-Paleo Pat
http://www.politicalbyline.com




On Mon, Dec 8, 2008 at 2:36 PM, Will Garcia [EMAIL PROTECTED] wrote:

 Tried to dupe the issue but I can't. Also using FF3.0.4, but on XP. No
 issues in Linux also.

 Are you using the Visual Editor? I tried it also and it seems to be working
 fine.

 I'm suspecting a WP plugin is causing this OR a FF extension.

 Anyone else able to duplicate the issue?

 On Tue, Dec 9, 2008 at 2:41 AM, Paleo Pat [EMAIL PROTECTED] wrote:

  Hi Gang,
 
  I mentioned this before, and was basically told I didn't know what I was
  talking about. But I will mention it again.
 
  If I attempt to highlight a block of text and try and hit the quote
 button.
  It will not move. I have to full screen the editor to get it to move.
 
  It is still doing this and has been since 2.7 went into beta.
 
  Could we please fix this, as it is a big pain the behind, especially for
 a
  news/political blogger like me.
 
  Thanks.
 
  -Pat
 
 
 
  -Paleo Pat
  http://www.politicalbyline.com
  ___
  wp-testers mailing list
  wp-testers@lists.automattic.com
  http://lists.automattic.com/mailman/listinfo/wp-testers
 



 --
 Will Garcia
 http://will.ph/
 ___
 wp-testers mailing list
 wp-testers@lists.automattic.com
 http://lists.automattic.com/mailman/listinfo/wp-testers

___
wp-testers mailing list
wp-testers@lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-testers


[wp-testers] Wierd ads thing happening

2008-12-08 Thread Paul Robinson
Hi,

So I was wondering if anyone had noticed this. When using WordPress 2.7 with
Google Adsense I have noticed that sometimes the ad block with go a bright
blue color. By bright I mean rgb(0,0,255) blue. I've only noticed it with
Firefox  Google Chrome in Vista  XP. It has never happened in a 2.6.5 blog
so I'm not sure if it's WP or Adsense.

Just thought I'd ask if anyone had noticed it. I thought I was going mad.
:-)

Paul.
___
wp-testers mailing list
wp-testers@lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-testers


Re: [wp-testers] Two questions about wp-config.php

2008-12-08 Thread Otto
The problem is that there's no good way to get truly random numbers.
-Reading /dev/urandom works okay on Linux boxes, but not on Windows.
-Windows can have the COM class available to it, which would let you
call CAPICOM.Utilities.1-GetRandom() from the Windows Cryptography
COM library. That would give secure bytes. You'd have to check for
class_exists on COM first.
-PHP 5.3 contains openssl_random_psuedo_bytes, so that could be an
option as well if that function_exists.

Maybe a generic function designed to return secure random bytes under
a number of platforms is called for? This has to already exist
somewhere, can't we just reuse somebody else's code?


On Mon, Dec 8, 2008 at 11:07 AM, Xavier Borderie [EMAIL PROTECTED] wrote:
 Bad idea. It'd be safer to write a really good random number generator
 function into your installer program. Sending your secret keys over
 the internet kind of defeats the point, really. The secret-key
 generator on wp.org is a convenience, not intended to be the end-all
 be-all of security.

 I thought of that, yeah :)
 I imagine the secret-key generator is in PHP, so there would be little
 work putting that into setup-config.
 Still, having to open and edit wp-config should be a thing of the past.


 --
 Xavier Borderie
 ___
 wp-testers mailing list
 wp-testers@lists.automattic.com
 http://lists.automattic.com/mailman/listinfo/wp-testers

___
wp-testers mailing list
wp-testers@lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-testers


Re: [wp-testers] Customize placement of Reply link

2008-12-08 Thread Bryan Harley
Well I found out the class for reply is... reply.  But so does that mean if
I want it to appear next to the date/time meta, I'm going to have to
position:relative and move it?

That seems sloppy.


On Mon, Dec 8, 2008 at 4:35 AM, Jeff Chandler [EMAIL PROTECTED] wrote:

 Indeed but I have not seen a list of classes which can be configured or
 edited to allow the manipulation of how threaded comments are displayed. I
 heard their are a ton of CSS classes for the threaded comments area which is
 why I decided to jump ship and keep on using my easily configurable
 non-threaded comment layout. However, if anyone knows of a resource that has
 all of the information necessary to edit the presentation of the threaded
 comments, please share as in my opinion, they look like an eye sore out of
 the box.


 Rick Boatright wrote:

 that's what CSS is for?

 On Sun, Dec 7, 2008 at 6:44 PM, Bryan Harley [EMAIL PROTECTED]
 wrote:



 When using wp_list_comments, it automatically places the reply link at
 the
 end of the comment.  Is there anyway to customize the placement of the
 reply link?
 ___
 wp-testers mailing list
 wp-testers@lists.automattic.com
 http://lists.automattic.com/mailman/listinfo/wp-testers



 ___
 wp-testers mailing list
 wp-testers@lists.automattic.com
 http://lists.automattic.com/mailman/listinfo/wp-testers




 ___
 wp-testers mailing list
 wp-testers@lists.automattic.com
 http://lists.automattic.com/mailman/listinfo/wp-testers

___
wp-testers mailing list
wp-testers@lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-testers


Re: [wp-testers] Customize placement of Reply link

2008-12-08 Thread Ryan Boren
On Mon, Dec 8, 2008 at 12:26 PM, Bryan Harley [EMAIL PROTECTED] wrote:
 Well I found out the class for reply is... reply.  But so does that mean if
 I want it to appear next to the date/time meta, I'm going to have to
 position:relative and move it?

 That seems sloppy.

Use the 'callback'argument to wp_list_comments() to specify your own
comment template.  There are lots of examples out there.  Prologue for
one:

http://svn.automattic.com/wpcom-themes/prologue/comments.php
http://svn.automattic.com/wpcom-themes/prologue/functions.php
___
wp-testers mailing list
wp-testers@lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-testers


Re: [wp-testers] Customize placement of Reply link

2008-12-08 Thread Jeff Chandler
By the way, their is a great thread on the WordPress.org forums 
discussing how to edit and manipulate the style of threaded comments in 
2.7 - http://wordpress.org/support/topic/221693?replies=28 boy are their 
alot of CSS classes :P


Bryan Harley wrote:

Well I found out the class for reply is... reply.  But so does that mean if
I want it to appear next to the date/time meta, I'm going to have to
position:relative and move it?

That seems sloppy.


On Mon, Dec 8, 2008 at 4:35 AM, Jeff Chandler [EMAIL PROTECTED] wrote:

  

Indeed but I have not seen a list of classes which can be configured or
edited to allow the manipulation of how threaded comments are displayed. I
heard their are a ton of CSS classes for the threaded comments area which is
why I decided to jump ship and keep on using my easily configurable
non-threaded comment layout. However, if anyone knows of a resource that has
all of the information necessary to edit the presentation of the threaded
comments, please share as in my opinion, they look like an eye sore out of
the box.


Rick Boatright wrote:



that's what CSS is for?

On Sun, Dec 7, 2008 at 6:44 PM, Bryan Harley [EMAIL PROTECTED]
wrote:



  

When using wp_list_comments, it automatically places the reply link at
the
end of the comment.  Is there anyway to customize the placement of the
reply link?
___
wp-testers mailing list
wp-testers@lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-testers





___
wp-testers mailing list
wp-testers@lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-testers



  

___
wp-testers mailing list
wp-testers@lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-testers



___
wp-testers mailing list
wp-testers@lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-testers

  


___
wp-testers mailing list
wp-testers@lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-testers


Re: [wp-testers] Two questions about wp-config.php

2008-12-08 Thread Stefano Aglietti
On Mon, 8 Dec 2008 10:51:12 -0600, Otto [EMAIL PROTECTED] wrote:

Bad idea. It'd be safer to write a really good random number generator
function into your installer program. Sending your secret keys over
the internet kind of defeats the point, really. The secret-key
generator on wp.org is a convenience, not intended to be the end-all
be-all of security.

What's the difference about the actual method to have tan URL that
send you back a page with the keys?

-- 

Stefano Aglietti - StallonIt on IRCnet - ICQ#: 2078431
Email: [EMAIL PROTECTED] [EMAIL PROTECTED]
Sites: http://www.40annibuttati.it (personal blog)
   http://www.wordpress-it.it (WordPress Italia)
___
wp-testers mailing list
wp-testers@lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-testers


Re: [wp-testers] Rich Text Editor Bug

2008-12-08 Thread Kirk M
Pat, there's a snipping tool built into Vista unfortunately I use XP and 
couldn't tell you where it might be or how to use it. A lot of help ain't I?


On 12/8/2008 2:47 PM, Paleo Pat wrote:

That's the one I mean, the visual editor. Rich editor, whatever you call it.


It might be a flash thing too... anyhow, it's just annoying... I wish I had
a tool that would let me do capture what goes on my screen, video capture...
would be nice.

-Paleo Pat
http://www.politicalbyline.com
   

___
wp-testers mailing list
wp-testers@lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-testers


Re: [wp-testers] Customize placement of Reply link

2008-12-08 Thread Bryan Harley
Perfect!  This is what I needed.  Thanks Ryan.

On Mon, Dec 8, 2008 at 12:35 PM, Ryan Boren [EMAIL PROTECTED] wrote:

 On Mon, Dec 8, 2008 at 12:26 PM, Bryan Harley [EMAIL PROTECTED]
 wrote:
  Well I found out the class for reply is... reply.  But so does that mean
 if
  I want it to appear next to the date/time meta, I'm going to have to
  position:relative and move it?
 
  That seems sloppy.

 Use the 'callback'argument to wp_list_comments() to specify your own
 comment template.  There are lots of examples out there.  Prologue for
 one:

 http://svn.automattic.com/wpcom-themes/prologue/comments.php
 http://svn.automattic.com/wpcom-themes/prologue/functions.php
 ___
 wp-testers mailing list
 wp-testers@lists.automattic.com
 http://lists.automattic.com/mailman/listinfo/wp-testers

___
wp-testers mailing list
wp-testers@lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-testers


Re: [wp-testers] Two questions about wp-config.php

2008-12-08 Thread Otto
On Mon, Dec 8, 2008 at 2:36 PM, Stefano Aglietti [EMAIL PROTECTED] wrote:
 What's the difference about the actual method to have tan URL that
 send you back a page with the keys?

Hitting a URL to get the keys means that the transmission of those
keys across the network could be intercepted, and therefore
compromised. The point of a secret key is that it is a *secret*.

Like I said, paranoia, man. ;-)

-Otto
___
wp-testers mailing list
wp-testers@lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-testers


Re: [wp-testers] Customize placement of Reply link

2008-12-08 Thread Otto
On Sun, Dec 7, 2008 at 6:44 PM, Bryan Harley [EMAIL PROTECTED] wrote:
 When using wp_list_comments, it automatically places the reply link at the
 end of the comment.  Is there anyway to customize the placement of the
 reply link?

You probably don't want to do that. The Reply link is where the Reply
form comes to, via javascript, when you click the button. Moving it
around will change where the form goes.
___
wp-testers mailing list
wp-testers@lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-testers


Re: [wp-testers] Two questions about wp-config.php

2008-12-08 Thread Dan Coulter
On Mon, Dec 8, 2008 at 2:57 PM, Otto [EMAIL PROTECTED] wrote:

 Hitting a URL to get the keys means that the transmission of those
 keys across the network could be intercepted, and therefore
 compromised.


At least until they let you access that API call via https.



-- 
Dan Coulter
http://dancoulter.com/
http://phpflickr.com/
http://blogsforbands.com/

Hey, I got nothing to do today but smile
-Simon and Garfunkel
___
wp-testers mailing list
wp-testers@lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-testers


Re: [wp-testers] Change Attached to Gallery?

2008-12-08 Thread Paul Robinson
Hi,

By galleries I assume you mean two posts? So that you can show the same
image in two posts galleries?

No, I don't think so. I'm not even sure if it's a planned feature. It would
probably take quite a change to the database to store multiple parent
associations for images. I could be wrong though.

Galleries tend to be hard to build especially without some coding knowledge.
In my experience anyway. My sister is an artist and I had to custom build
her portfolio for her.

I would definitely support such a feature, but I think it would be a 2.8,
2.9 or even 3.0 feature. Again if I'm wrong and you can do this please
correct me.

Sorry. :(

Paul.

2008/12/8 Emily Lysyk [EMAIL PROTECTED]

 I'm an artist, and I would adore to use the Gallery function to create my
 portfolio.  Unfortunately, there doesn't seem to be a way to attach an
 image
 to two galleries at the same time.  Is there a manual way to do this?

 Thanks,
 Emma
 ___
 wp-testers mailing list
 wp-testers@lists.automattic.com
 http://lists.automattic.com/mailman/listinfo/wp-testers

___
wp-testers mailing list
wp-testers@lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-testers


RE: [wp-testers] Two questions about wp-config.php

2008-12-08 Thread Musing Minds
With my host I have to open and edit wp-config for the database information
anyway. Localhost only works with my xampp not with production blogs...
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Xavier
Borderie
Sent: Monday, December 08, 2008 11:08 AM
To: wp-testers@lists.automattic.com
Subject: Re: [wp-testers] Two questions about wp-config.php

 Bad idea. It'd be safer to write a really good random number generator
 function into your installer program. Sending your secret keys over
 the internet kind of defeats the point, really. The secret-key
 generator on wp.org is a convenience, not intended to be the end-all
 be-all of security.

I thought of that, yeah :)
I imagine the secret-key generator is in PHP, so there would be little
work putting that into setup-config.
Still, having to open and edit wp-config should be a thing of the past.


-- 
Xavier Borderie
___
wp-testers mailing list
wp-testers@lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-testers

___
wp-testers mailing list
wp-testers@lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-testers


Subject: Re: [wp-testers] Change Attached to Gallery?

2008-12-08 Thread Emily Lysyk
Paul,

Thanks for your response :)

I wouldn't think it'd be hard to just add extra id's to a single object, but
then again, my webdev experience doesn't encompass databases.  I don't know.

Hopefully it can be added later on.  It would make my life a lot easier!

Thanks again,
Emma
___
wp-testers mailing list
wp-testers@lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-testers


Re: Subject: Re: [wp-testers] Change Attached to Gallery?

2008-12-08 Thread Paul Robinson
Hi,

I wouldn't think it'd be hard to just add extra id's to a single object...


Well yes, but no. Thinking about it a little more, you could use a
serialized array which would allow you to store more that one ID in a single
field, but the problem would then be the code that would understand that
array, At the minute it only takes one ID, but it would have to be able to
take multiple ID's. Then you would need to build some sort of extention to
the admin... Sorry, sometimes I end up getting away with myself.

I would love for WP to add it in a later version, but for the minute it is
just a dream. :(

You might have just given me a great idea for a plugin though. Hmmm. :)

Thanks.

Paul
___
wp-testers mailing list
wp-testers@lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-testers


Re: Subject: Re: [wp-testers] Change Attached to Gallery?

2008-12-08 Thread DD32
2.8 or 2.9 its likely i would suggest :)

Media handling will be getting an overhaul for 2.8/2.9, i'm not sure how
much of it will show through in 2.8 though.. depends on how much work gets
done (There wasn't enough time in 2.7 for it)

Using a serialized array is really bad for performance in this case, as you
cant quickly look it up when theres a high number of attachments.

The current attachment-post is based on the post_parent field in the
database, which limits it to having 1 parent.

I'm working on using the Taxonomy system as a Gallery system, I've got the
core-parts working, just need to get around to finalising the UI and
releasing it, I'll offer it up for inclusion into the Core for 2.8, but
someone else will probably have thought of a better way to manage it during
the redesign anyway :) - I should note, that ShaneF attempted to get
multi-gallery support into 2.7, But there wasnt much of a following behind
getting it in in its then current state.

2008/12/9 Paul Robinson [EMAIL PROTECTED]

 Hi,

 I wouldn't think it'd be hard to just add extra id's to a single object...
 

 Well yes, but no. Thinking about it a little more, you could use a
 serialized array which would allow you to store more that one ID in a
 single
 field, but the problem would then be the code that would understand that
 array, At the minute it only takes one ID, but it would have to be able to
 take multiple ID's. Then you would need to build some sort of extention to
 the admin... Sorry, sometimes I end up getting away with myself.

 I would love for WP to add it in a later version, but for the minute it is
 just a dream. :(

 You might have just given me a great idea for a plugin though. Hmmm. :)

 Thanks.

 Paul
 ___
 wp-testers mailing list
 wp-testers@lists.automattic.com
 http://lists.automattic.com/mailman/listinfo/wp-testers

___
wp-testers mailing list
wp-testers@lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-testers


Re: [wp-testers] Two questions about wp-config.php

2008-12-08 Thread DD32
It highly depends on the servers security configurations, Some hosts the
auto-creator will work perfectly, On others it wont work at all.

This was the exact reason i worked FTP into the Plugin updater/installer,
sometimes security is too high for other methods, It'd be nice to see the
WordPress installer also use FTP if available for the configuration, We'll
see what happens in time :)

2008/12/9 Musing Minds [EMAIL PROTECTED]

 With my host I have to open and edit wp-config for the database information
 anyway. Localhost only works with my xampp not with production blogs...
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Xavier
 Borderie
 Sent: Monday, December 08, 2008 11:08 AM
 To: wp-testers@lists.automattic.com
 Subject: Re: [wp-testers] Two questions about wp-config.php

  Bad idea. It'd be safer to write a really good random number generator
  function into your installer program. Sending your secret keys over
  the internet kind of defeats the point, really. The secret-key
  generator on wp.org is a convenience, not intended to be the end-all
  be-all of security.

 I thought of that, yeah :)
 I imagine the secret-key generator is in PHP, so there would be little
 work putting that into setup-config.
 Still, having to open and edit wp-config should be a thing of the past.


 --
 Xavier Borderie
 ___
 wp-testers mailing list
 wp-testers@lists.automattic.com
 http://lists.automattic.com/mailman/listinfo/wp-testers

 ___
 wp-testers mailing list
 wp-testers@lists.automattic.com
 http://lists.automattic.com/mailman/listinfo/wp-testers

___
wp-testers mailing list
wp-testers@lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-testers


Re: [wp-testers] Uploading media problem in WP 2.7 RC1

2008-12-08 Thread DD32
WP_TEMP_DIR only affects the Upgrader/Installer features i believe.

I have a feeling that the errors you're hitting might be related to the
permissions on the upload folder, Quite often you need to chmod it to 777
for you to be able to write to the uploads folder..

I cant actually think of a reason this would've broken between 2.6 and 2.7,
IIRC there were no changes to media uploading, so thats the reason its
pushed my response to the filesystem issues.

2008/12/9 Engel Sanchez [EMAIL PROTECTED]

 Hi, I am new to this list so sorry is a solution has already being
 discussed.

 There is a known problem with the upload media feature in WP 2.7 RC1?

 I have a problem with that... it says it cannot locate temp directory
 and  temp directory missing...

 I already added this to wp-config.php :

 define('WP_TEMP_DIR', '/tmp');

 That dir exists and it is being used, e.g. wp-super-cache... so the dir
 should be reachable to my wp config

 Any quick solution to this?

 I made the BIG mistake to upgrade a heavy traffic live site and as you can
 imagine.. I am in a problem now... I have being uploading photos manually
 by
 ftp.

 Thanks in advanced.

 Engel
 ___
 wp-testers mailing list
 wp-testers@lists.automattic.com
 http://lists.automattic.com/mailman/listinfo/wp-testers

___
wp-testers mailing list
wp-testers@lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-testers


Re: Subject: Re: [wp-testers] Change Attached to Gallery?

2008-12-08 Thread Paul Robinson
I thought there was a reason someone hadn't already used a serialized array
 there it was ready to smack me in the face like a house brick. :)

I hope it does come in by 2.8 I can think of some really usefull things for
it. ;)

I use a custom query to gather the first attachment for each post, it uses
the menu_order that way you can customize the image it pulls up using the
reorderer (Is that a word?) in the gallery. Not quite as complex as what
Emily was asking, but I suppose it shows that you can still do some good
things with the current db layout.

It's a pity that time ran out, gives us a reason to test 2.8 though. :)

Thanks.

Paul.

2008/12/9 DD32 [EMAIL PROTECTED]

 2.8 or 2.9 its likely i would suggest :)

 Media handling will be getting an overhaul for 2.8/2.9, i'm not sure how
 much of it will show through in 2.8 though.. depends on how much work gets
 done (There wasn't enough time in 2.7 for it)

 Using a serialized array is really bad for performance in this case, as you
 cant quickly look it up when theres a high number of attachments.

 The current attachment-post is based on the post_parent field in the
 database, which limits it to having 1 parent.

 I'm working on using the Taxonomy system as a Gallery system, I've got the
 core-parts working, just need to get around to finalising the UI and
 releasing it, I'll offer it up for inclusion into the Core for 2.8, but
 someone else will probably have thought of a better way to manage it during
 the redesign anyway :) - I should note, that ShaneF attempted to get
 multi-gallery support into 2.7, But there wasnt much of a following behind
 getting it in in its then current state.

 2008/12/9 Paul Robinson [EMAIL PROTECTED]

  Hi,
 
  I wouldn't think it'd be hard to just add extra id's to a single
 object...
  
 
  Well yes, but no. Thinking about it a little more, you could use a
  serialized array which would allow you to store more that one ID in a
  single
  field, but the problem would then be the code that would understand that
  array, At the minute it only takes one ID, but it would have to be able
 to
  take multiple ID's. Then you would need to build some sort of extention
 to
  the admin... Sorry, sometimes I end up getting away with myself.
 
  I would love for WP to add it in a later version, but for the minute it
 is
  just a dream. :(
 
  You might have just given me a great idea for a plugin though. Hmmm. :)
 
  Thanks.
 
  Paul
  ___
  wp-testers mailing list
  wp-testers@lists.automattic.com
  http://lists.automattic.com/mailman/listinfo/wp-testers
 
 ___
 wp-testers mailing list
 wp-testers@lists.automattic.com
 http://lists.automattic.com/mailman/listinfo/wp-testers

___
wp-testers mailing list
wp-testers@lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-testers


Re: [wp-testers] Uploading media problem in WP 2.7 RC1

2008-12-08 Thread Paul Robinson
I had a similar problem  it turned out it was the uploads directory being
wrong in the misc settings. I generally got a permissions not sufficent
error but now and again it would change to a temp directory error. Can't
remember exactly, but it's worth a check.

Paul.

2008/12/9 DD32 [EMAIL PROTECTED]

 WP_TEMP_DIR only affects the Upgrader/Installer features i believe.

 I have a feeling that the errors you're hitting might be related to the
 permissions on the upload folder, Quite often you need to chmod it to 777
 for you to be able to write to the uploads folder..

 I cant actually think of a reason this would've broken between 2.6 and 2.7,
 IIRC there were no changes to media uploading, so thats the reason its
 pushed my response to the filesystem issues.

 2008/12/9 Engel Sanchez [EMAIL PROTECTED]

  Hi, I am new to this list so sorry is a solution has already being
  discussed.
 
  There is a known problem with the upload media feature in WP 2.7 RC1?
 
  I have a problem with that... it says it cannot locate temp directory
  and  temp directory missing...
 
  I already added this to wp-config.php :
 
  define('WP_TEMP_DIR', '/tmp');
 
  That dir exists and it is being used, e.g. wp-super-cache... so the dir
  should be reachable to my wp config
 
  Any quick solution to this?
 
  I made the BIG mistake to upgrade a heavy traffic live site and as you
 can
  imagine.. I am in a problem now... I have being uploading photos manually
  by
  ftp.
 
  Thanks in advanced.
 
  Engel
  ___
  wp-testers mailing list
  wp-testers@lists.automattic.com
  http://lists.automattic.com/mailman/listinfo/wp-testers
 
 ___
 wp-testers mailing list
 wp-testers@lists.automattic.com
 http://lists.automattic.com/mailman/listinfo/wp-testers

___
wp-testers mailing list
wp-testers@lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-testers


Re: [wp-testers] Uploading media problem in WP 2.7 RC1

2008-12-08 Thread Engel Sanchez
It is 777 already... I even thought it was my server .. and installed a
brand new 2.6.5 and it worked just fine...

What I did notice remembering now is that before I upgraded to 2.7 RC1... I
was having uploading file issues in the site (WP 2.6.5).. the reason to
upgrade was that

Besides file permissions in the wp folders what can be?

/tmp is 777

Engel


2008/12/8 DD32 [EMAIL PROTECTED]

 WP_TEMP_DIR only affects the Upgrader/Installer features i believe.

 I have a feeling that the errors you're hitting might be related to the
 permissions on the upload folder, Quite often you need to chmod it to 777
 for you to be able to write to the uploads folder..

 I cant actually think of a reason this would've broken between 2.6 and 2.7,
 IIRC there were no changes to media uploading, so thats the reason its
 pushed my response to the filesystem issues.

 2008/12/9 Engel Sanchez [EMAIL PROTECTED]

  Hi, I am new to this list so sorry is a solution has already being
  discussed.
 
  There is a known problem with the upload media feature in WP 2.7 RC1?
 
  I have a problem with that... it says it cannot locate temp directory
  and  temp directory missing...
 
  I already added this to wp-config.php :
 
  define('WP_TEMP_DIR', '/tmp');
 
  That dir exists and it is being used, e.g. wp-super-cache... so the dir
  should be reachable to my wp config
 
  Any quick solution to this?
 
  I made the BIG mistake to upgrade a heavy traffic live site and as you
 can
  imagine.. I am in a problem now... I have being uploading photos manually
  by
  ftp.
 
  Thanks in advanced.
 
  Engel
  ___
  wp-testers mailing list
  wp-testers@lists.automattic.com
  http://lists.automattic.com/mailman/listinfo/wp-testers
 
 ___
 wp-testers mailing list
 wp-testers@lists.automattic.com
 http://lists.automattic.com/mailman/listinfo/wp-testers




-- 
Engel Sanchez
Solunion Group||   Esfera Digital
www.solunion.com   ||   www.esferadigital.com
E-mail: [EMAIL PROTECTED]
___
wp-testers mailing list
wp-testers@lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-testers


Re: [wp-testers] Uploading media problem in WP 2.7 RC1

2008-12-08 Thread Ryan Boren
On Mon, Dec 8, 2008 at 5:05 PM, Engel Sanchez [EMAIL PROTECTED] wrote:
 It is 777 already... I even thought it was my server .. and installed a
 brand new 2.6.5 and it worked just fine...

 What I did notice remembering now is that before I upgraded to 2.7 RC1... I
 was having uploading file issues in the site (WP 2.6.5).. the reason to
 upgrade was that

 Besides file permissions in the wp folders what can be?

What is the error message exactly? Is it Missing a temporary folder?
 If so, that error is returned from php's upload handler and there's
not much we can do about it.  Maybe /tmp is full?
___
wp-testers mailing list
wp-testers@lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-testers


Re: [wp-testers] Uploading media problem in WP 2.7 RC1

2008-12-08 Thread Engel Sanchez
 Directory full that is a good tip... I will check that
Since several weeks ago my traffic is 10 times what it was...  and I have
being getting problem with wp-supercache... it caches pages without
categories and posts and that is related to /tmp getting full because of
wp-supercache I dont know HOW to tell wp-supercache to cache in another
custom directory... or to clear /tmp more frecuently

Because of this I move the tmp dir.. for mysql to /home/mysql

Strange as it may sound but right now I cannot even login to the wp admin
because I am suffering a DIGG like efect,, and it just give me bad login
messages...or last hours to load...just unusable the wp admin right now...

Configuration of VPS Server... NO SHARE HOSTING...

PHP 5.2 / Mysql 5.1 / PHP eAccelerator
4 GB Burst RAM
1 GB Guaranteed RAM
Hardware RAID
40 GB Storage

So After this mess of traffic...

1) I will disable wp-supercache and delete all files it generated at the
/tmp to see is a full /tmp dir is my problem with uploading media...as Ryan
said.
2) And will check the setting location for uploading files as Paul said...
(I think they are correct now).

And lastly point me to some place where I can find resources to install
memcached for wordpress.

Just getting crazy I am right now like a shopping center with 1,000s
people waiting to buy someting from my store at the same time and I just
cannot serve them... frustrating... The hosting company have just upgrade
the hosting plan 2 times today..

Engel


2008/12/8 Ryan Boren [EMAIL PROTECTED]

 On Mon, Dec 8, 2008 at 5:05 PM, Engel Sanchez [EMAIL PROTECTED] wrote:
  It is 777 already... I even thought it was my server .. and installed a
  brand new 2.6.5 and it worked just fine...
 
  What I did notice remembering now is that before I upgraded to 2.7 RC1...
 I
  was having uploading file issues in the site (WP 2.6.5).. the reason to
  upgrade was that
 
  Besides file permissions in the wp folders what can be?

 What is the error message exactly? Is it Missing a temporary folder?
  If so, that error is returned from php's upload handler and there's
 not much we can do about it.  Maybe /tmp is full?
 ___
 wp-testers mailing list
 wp-testers@lists.automattic.com
 http://lists.automattic.com/mailman/listinfo/wp-testers




-- 
Engel Sanchez
Solunion Group||   Esfera Digital
www.solunion.com   ||   www.esferadigital.com
E-mail: [EMAIL PROTECTED]
___
wp-testers mailing list
wp-testers@lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-testers


Re: [wp-testers] Uploading media problem in WP 2.7 RC1

2008-12-08 Thread Engel Sanchez
Solved:  Ryan Boren was right it was the /tmp dir full but to get
this clear I have to disable wp-super-cache

Now I just need how to to use some kind of cache...  or tell wp-super-cache
to store tmp site in another location.

If someone have info about memcached for wordpress send me a link please...

Engel

2008/12/8 Engel Sanchez [EMAIL PROTECTED]

  Directory full that is a good tip... I will check that
 Since several weeks ago my traffic is 10 times what it was...  and I have
 being getting problem with wp-supercache... it caches pages without
 categories and posts and that is related to /tmp getting full because of
 wp-supercache I dont know HOW to tell wp-supercache to cache in another
 custom directory... or to clear /tmp more frecuently

 Because of this I move the tmp dir.. for mysql to /home/mysql

 Strange as it may sound but right now I cannot even login to the wp admin
 because I am suffering a DIGG like efect,, and it just give me bad login
 messages...or last hours to load...just unusable the wp admin right now...

 Configuration of VPS Server... NO SHARE HOSTING...

 PHP 5.2 / Mysql 5.1 / PHP eAccelerator
 4 GB Burst RAM
 1 GB Guaranteed RAM
 Hardware RAID
 40 GB Storage

 So After this mess of traffic...

 1) I will disable wp-supercache and delete all files it generated at the
 /tmp to see is a full /tmp dir is my problem with uploading media...as Ryan
 said.
 2) And will check the setting location for uploading files as Paul said...
 (I think they are correct now).

 And lastly point me to some place where I can find resources to install
 memcached for wordpress.

 Just getting crazy I am right now like a shopping center with 1,000s
 people waiting to buy someting from my store at the same time and I just
 cannot serve them... frustrating... The hosting company have just upgrade
 the hosting plan 2 times today..

 Engel


 2008/12/8 Ryan Boren [EMAIL PROTECTED]

 On Mon, Dec 8, 2008 at 5:05 PM, Engel Sanchez [EMAIL PROTECTED] wrote:
  It is 777 already... I even thought it was my server .. and installed a
  brand new 2.6.5 and it worked just fine...
 
  What I did notice remembering now is that before I upgraded to 2.7
 RC1... I
  was having uploading file issues in the site (WP 2.6.5).. the reason to
  upgrade was that
 
  Besides file permissions in the wp folders what can be?

 What is the error message exactly? Is it Missing a temporary folder?
  If so, that error is returned from php's upload handler and there's
 not much we can do about it.  Maybe /tmp is full?
 ___
 wp-testers mailing list
 wp-testers@lists.automattic.com
 http://lists.automattic.com/mailman/listinfo/wp-testers




 --
 Engel Sanchez
 Solunion Group||   Esfera Digital
 www.solunion.com   ||   www.esferadigital.com
 E-mail: [EMAIL PROTECTED]




-- 
Engel Sanchez
Solunion Group||   Esfera Digital
www.solunion.com   ||   www.esferadigital.com
E-mail: [EMAIL PROTECTED]
___
wp-testers mailing list
wp-testers@lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-testers


Re: [wp-testers] Change Attached to Gallery?

2008-12-08 Thread Will Garcia
You can use the URL of the file you uploaded on one gallery and use it on
the new gallery, but instead of uploading, you put it in the File URL
section. Or I just might be talking gibberish. My apologies if I don't make
any sense. I blame lack of sleep.

HTH

On Tue, Dec 9, 2008 at 7:04 AM, Emily Lysyk [EMAIL PROTECTED] wrote:

 I'm an artist, and I would adore to use the Gallery function to create my
 portfolio.  Unfortunately, there doesn't seem to be a way to attach an
 image
 to two galleries at the same time.  Is there a manual way to do this?

 Thanks,
 Emma
 ___
 wp-testers mailing list
 wp-testers@lists.automattic.com
 http://lists.automattic.com/mailman/listinfo/wp-testers




-- 
Will Garcia
http://will.ph/
___
wp-testers mailing list
wp-testers@lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-testers