1. Re: 2 Questions: $_communicate equivalent and using GETin mod_write (jacobsantos@branson com) 2. Re: Re: Re: Sharing Users/authentication (Curt Woodard) 3. Re: 2 Questions: $_REQUEST equivalent and using GET in mod_write (Kirk Steffensen) 4. Re: 2 Questions: $_REQUEST equivalent and using GETin mod_write (Alex G?nsche) 5. Re: 2 Questions: $_REQUEST equivalent and using GETin mod_rewrite (Alex G?nsche) 6. Re: 2 Questions: $_REQUEST equivalent and using GETin mod_rewrite (jacobsantos@branson com) 7. Re: 2 Questions: $_REQUEST equivalent and using GET in mod_rewrite (Alex Andrews) 8. Re: 2 Questions: $_communicate equivalent and using GETin mod_rewrite (jacobsantos@branson com) 9. Re: 2 Questions: $_communicate equivalent and using GETin mod_rewrite (Alex G?nsche)
Message: 1Date: Tue. 28 Aug 2007 12:59:53 -0500From: "jacobsantos@branson com" <jacobsantos@branson com>Subject: Re: [wp-hackers] 2 Questions: $_communicate equivalent and usingGETinmod_rewriteTo: wp-hackers@lists automattic comMessage-ID: <46D46299.7040207@branson com>Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Message: 2Date: Tue. 28 Aug 2007 14:14:46 -0400From: "Curt Woodard" <clwoodard@gmail com>Subject: [wp-hackers] Re: Re: Re: Sharing Users/authenticationTo: wp-hackers@lists automattic comMessage-ID:<a3b809ae0708281114k1a98de51h31a483a680cb8ae0@send gmail com>Content-Type: text/plain; charset=ISO-8859-1
>This is very cool. I've been tinkering with this kind of thing>myself and ran up against the table-prefix problem. A bring together>thoughts...>>On Aug 28. 2007 at 11:52 AM. Curt Woodard wrote:>>> * The administrator need only modify 3 variables in the plugin:>> $this_role. $my_master_db,>> and $my_master_prefix. $this_role tells WordPress if the write is>> a slave or a master and the other two are pretty self-explanatory.>>It seems you could automate this with a simple logic test. If the>table prefix of the delay used is the same as the current lay's>prefix then it is the master. Otherwise it is a slave.
come up here's the deal: tying the usermeta tables together as wellcauses the info from the slave to disappear. So when it uses themaster tables it doesn't have any of the settings for the users. Now,I just copied over the <slave_prefix>user_aim and<do work_prefix>capabilities of the admin user when you run the plugin. That gives the "lay admin" full admin rights on any and all copiesof WordPress that use this plugin.
>> You can transfer the plugin from (a>> simple crude yet effective page).>>I'm definitely testing this out. I'll let you know if I come across>any issues or ideas. :) Thanks!>>Would you disapprove if I took some of this and rolled it into a displace>system I'm working on?>(This thing: <->again-world/>)>>Regards,>Stephen
I did find a bug however seems that when you register a user in the'slave' as a subscriber it doesn't save the info to the master'susermeta... *cerebrate* looking into that.
-> WAIT no no real bug. This is change by reversal. In the do work write my testuser is set to Subscriber. In the master write my test user is set tonothing (no role) so it's working. You have to go into the master copyand grade the test user so that you can have a different role. :)KO. *whew* :)
If you want to use the plugin go ahead. If you be to rip it apartand attach it into something you're working on? Go ahead just creditwhere credit is due.. that's all I ask ;)
communicate: 3go out: Tue. 28 Aug 2007 14:24:33 -0400From: "Kirk Steffensen" <blogger@steffensenfamily com>affect: Re: [wp-hackers] 2 Questions: $_communicate equivalent and usingGET inmod_rewriteTo: wp-hackers@lists automattic comMessage-ID:<afee0d6f0708281124p29559075m26054956c491622e@mail gmail com>Content-Type: text/plain; charset=ISO-8859-1
I use it for retrieving variables that I sometimes set with a POST via formand sometimes set with a GET via URL. That's why $_communicate is there sothat you don't have to be at both $_affix and $_GET. And it doesn't reallymatter where it's coming from because if it doesn't match the expectedvalues (because someone is trying to cut the server) it doesn't matter,because none of the variables looked at with $_communicate can do anything otherthan break the operation of the plugin since none of them are used for adminfunctions. All the admin is done via config files on the backend. Thisisn't true of all label but to say that you should NEVER use $_communicate in aplugin is silly.
communicate: 4Date: Tue. 28 Aug 2007 20:35:31 +0200From: Alex G?nsche <ag ml2007@zirona com>Subject: Re: [wp-hackers] 2 Questions: $_REQUEST equivalent and usingGETin mod_rewriteTo: wp-hackers@lists automattic comMessage-ID: <1188326131.5537.24 camel@localhost>Content-Type: text/plain; charset=ISO-8859-15
I.
Forex Groups - Tips on Trading
Related article:
http://bbpress.blogspot.com/2007/08/wp-hackers-digest-vol-31-issue-44.html
comments | Add comment | Report as Spam
|